unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#40161] [PATCH] gnu: Add midori.
@ 2020-03-21  8:57 Rene via Guix-patches via
  2020-03-21 13:59 ` Mathieu Othacehe
  2020-04-20 19:25 ` bug#40161: " Mathieu Othacehe
  0 siblings, 2 replies; 5+ messages in thread
From: Rene via Guix-patches via @ 2020-03-21  8:57 UTC (permalink / raw)
  To: 40161

[-- Attachment #1: Type: text/plain, Size: 84 bytes --]

Hi Guix,

this patch is for adding midori, a web browser.


Thank you
Rene


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-midori.patch --]
[-- Type: text/x-patch; name="0001-gnu-Add-midori.patch", Size: 3024 bytes --]

From 58af41ec0a78d7146a45c74a2598035050cf6a92 Mon Sep 17 00:00:00 2001
From: Rene Saavedra <pacoon@protonmail.com>
Date: Sat, 21 Mar 2020 02:47:21 -0600
Subject: [PATCH] gnu: Add midori.

* gnu/packages/web-browsers.scm (midori): New variable.
---
 gnu/packages/web-browsers.scm | 40 +++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

diff --git a/gnu/packages/web-browsers.scm b/gnu/packages/web-browsers.scm
index 8a6ffaeef1..21a5361bcd 100644
--- a/gnu/packages/web-browsers.scm
+++ b/gnu/packages/web-browsers.scm
@@ -10,6 +10,7 @@
 ;;; Copyright © 2018 Pierre Neidhardt <mail@ambrevar.xyz>
 ;;; Copyright © 2019 Clément Lassieur <clement@lassieur.org>
 ;;; Copyright © 2019 Brett Gilio <brettg@gnu.org>
+;;; Copyright © 2020 Rene Saavedra <pacoon@protonmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -30,10 +31,12 @@
   #: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 glib)
   #:use-module (gnu packages gtk)
   #:use-module (gnu packages gnupg)
   #:use-module (gnu packages libevent)
@@ -57,6 +60,7 @@
   #: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)
@@ -630,3 +634,39 @@ key-bindings and is fully configurable and extensible in Common Lisp.")
 
 (define-public sbcl-next
   (deprecated-package "sbcl-next" next))
+
+(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)
+    (native-inputs
+     `(("glib" ,glib "bin")
+       ("intltool" ,intltool)
+       ("pkg-config" ,pkg-config)
+       ("vala" ,vala)))
+    (inputs
+     `(("gcr" ,gcr)
+       ("gtk+" ,gtk+)
+       ("json-glib" ,json-glib)
+       ("libarchive" ,libarchive)
+       ("libpeas" ,libpeas)
+       ("libsoup" ,libsoup)
+       ("sqlite" ,sqlite)
+       ("webkitgtk" ,webkitgtk)))
+    (home-page "https://www.midori-browser.org")
+    (synopsis "Lightweight graphical web browser")
+    (description
+     "Midori is a lightweight Webkit-based web browser.  It features are support
+for integration with GTK+3, configurable web search engine, bookmark management,
+extensions such as advertisement blocker and colorful tabs.")
+    (license license:lgpl2.1+)))
-- 
2.21.0


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [bug#40161] [PATCH] gnu: Add midori.
  2020-03-21  8:57 [bug#40161] [PATCH] gnu: Add midori Rene via Guix-patches via
@ 2020-03-21 13:59 ` Mathieu Othacehe
  2020-03-22  7:52   ` Rene via Guix-patches via
  2020-03-22 10:30   ` Ricardo Wurmus
  2020-04-20 19:25 ` bug#40161: " Mathieu Othacehe
  1 sibling, 2 replies; 5+ messages in thread
From: Mathieu Othacehe @ 2020-03-21 13:59 UTC (permalink / raw)
  To: Rene; +Cc: 40161


Hello Rene,

I was about to push your patch when I noticed that HTTPS urls don't
work. I tried to add:

--8<---------------cut here---------------start------------->8---
("glib-networking" ,glib-networking)
--8<---------------cut here---------------end--------------->8---

to inputs without improving the situation.

Could you try to see what's going wrong?

Thanks,

Mathieu

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [bug#40161] [PATCH] gnu: Add midori.
  2020-03-21 13:59 ` Mathieu Othacehe
@ 2020-03-22  7:52   ` Rene via Guix-patches via
  2020-03-22 10:30   ` Ricardo Wurmus
  1 sibling, 0 replies; 5+ messages in thread
From: Rene via Guix-patches via @ 2020-03-22  7:52 UTC (permalink / raw)
  To: Mathieu Othacehe; +Cc: 40161@debbugs.gnu.org

Hi Mathieu,

I use midori and I have not noticed this problem, I will continue testing.

Thank you
Rene



‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Saturday, March 21, 2020 7:59 AM, Mathieu Othacehe <m.othacehe@gmail.com> wrote:

> Hello Rene,
>
> I was about to push your patch when I noticed that HTTPS urls don't
> work. I tried to add:
>
> --8<---------------cut here---------------start------------->8---
> ("glib-networking" ,glib-networking)
> --8<---------------cut here---------------end--------------->8---
>
> to inputs without improving the situation.
>
> Could you try to see what's going wrong?
>
> Thanks,
>
> Mathieu

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [bug#40161] [PATCH] gnu: Add midori.
  2020-03-21 13:59 ` Mathieu Othacehe
  2020-03-22  7:52   ` Rene via Guix-patches via
@ 2020-03-22 10:30   ` Ricardo Wurmus
  1 sibling, 0 replies; 5+ messages in thread
From: Ricardo Wurmus @ 2020-03-22 10:30 UTC (permalink / raw)
  To: Mathieu Othacehe; +Cc: Rene, 40161


Mathieu Othacehe <m.othacehe@gmail.com> writes:

> Hello Rene,
>
> I was about to push your patch when I noticed that HTTPS urls don't
> work. I tried to add:
>
> --8<---------------cut here---------------start------------->8---
> ("glib-networking" ,glib-networking)
> --8<---------------cut here---------------end--------------->8---
>
> to inputs without improving the situation.
>
> Could you try to see what's going wrong?

This may be the same mechanism used by Epiphany and Eolie.  You may need
to wrap the executable in GI_TYPELIB_PATH.

-- 
Ricardo

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#40161: [PATCH] gnu: Add midori.
  2020-03-21  8:57 [bug#40161] [PATCH] gnu: Add midori Rene via Guix-patches via
  2020-03-21 13:59 ` Mathieu Othacehe
@ 2020-04-20 19:25 ` Mathieu Othacehe
  1 sibling, 0 replies; 5+ messages in thread
From: Mathieu Othacehe @ 2020-04-20 19:25 UTC (permalink / raw)
  To: Rene via Guix-patches via; +Cc: Rene, 40161-done


Closing as resolved by 40712.

Thanks,

Mathieu

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-04-20 19:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-21  8:57 [bug#40161] [PATCH] gnu: Add midori Rene via Guix-patches via
2020-03-21 13:59 ` Mathieu Othacehe
2020-03-22  7:52   ` Rene via Guix-patches via
2020-03-22 10:30   ` Ricardo Wurmus
2020-04-20 19:25 ` bug#40161: " Mathieu Othacehe

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).