From mboxrd@z Thu Jan 1 00:00:00 1970 From: Al McElrath Subject: [PATCH] gnu: Add surf. Date: Mon, 09 May 2016 01:05:54 -0700 Message-ID: <878tzjirkt.fsf@atonesir.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53213) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1azgCx-0007yz-5H for guix-devel@gnu.org; Mon, 09 May 2016 04:06:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1azgCs-00070a-QP for guix-devel@gnu.org; Mon, 09 May 2016 04:06:27 -0400 Received: from atonesir.com ([23.239.4.175]:58833 helo=mail.atonesir.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1azgCs-0006yJ-Ih for guix-devel@gnu.org; Mon, 09 May 2016 04:06:22 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.atonesir.com (Postfix) with ESMTPSA id BB6CF220ED for ; Mon, 9 May 2016 08:05:58 +0000 (UTC) List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org --=-=-= Content-Type: text/plain Attached is a patch to add surf, a simple WebKit browser. The suckless.org site doesn't support HTTPS. --=-=-= Content-Type: text/x-diff; charset=utf-8 Content-Disposition: inline; filename=0001-gnu-Add-surf.patch Content-Transfer-Encoding: quoted-printable >From c637648e94b947258a09986a2364002f801053a6 Mon Sep 17 00:00:00 2001 From: Al McElrath Date: Sat, 7 May 2016 19:59:00 -0700 Subject: [PATCH] gnu: Add surf. * gnu/packages/suckless.scm (surf): New variable. --- gnu/packages/suckless.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/suckless.scm b/gnu/packages/suckless.scm index c921f8e..81e89fb 100644 --- a/gnu/packages/suckless.scm +++ b/gnu/packages/suckless.scm @@ -1,6 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright =C2=A9 2013 Cyril Roelandt ;;; Copyright =C2=A9 2015 Amirouche Boubekki +;;; Copyright =C2=A9 2016 Al McElrath ;;; ;;; This file is part of GNU Guix. ;;; @@ -26,6 +27,7 @@ #:use-module (gnu packages xorg) #:use-module (gnu packages fonts) #:use-module (gnu packages pkg-config) + #:use-module (gnu packages webkit) #:use-module (gnu packages fontutils)) =20 (define-public dwm @@ -189,3 +191,36 @@ implements 256 colors, most VT10X escape sequences, ut= f8, X11 copy/paste, antialiased fonts (using fontconfig), fallback fonts, resizing, and line drawing.") (license license:x11))) + +(define-public surf + (package + (name "surf") + (version "0.7") + (source + (origin + (method url-fetch) + (uri (string-append "http://dl.suckless.org/surf/surf-" + version ".tar.gz")) + (sha256 + (base32 + "0jj93izd8fizxfa6ln9w1h9bwki81sz5dhskh5x1rl34zd38aq4m")))) + (build-system gnu-build-system) + (arguments + '(#:tests? #f ; no tests + #:make-flags (list "CC=3Dgcc" + (string-append "PREFIX=3D" %output)) + #:phases + (modify-phases %standard-phases + (delete 'configure)))) + (inputs + `(("webkitgtk/gtk+-2" ,webkitgtk/gtk+-2))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (home-page "http://surf.suckless.org/") + (synopsis "Simple web browser") + (description + "Surf is a simple web browser based on WebKit/GTK+. It is able to +display websites and follow links. It supports the XEmbed protocol which +makes it possible to embed it in another application. Furthermore, one can +point surf to another URI by setting its XProperties.") + (license license:x11))) --=20 2.6.3 --=-=-=--