public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Jeroen Roovers" <jer@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/surf/
Date: Mon, 13 Feb 2017 15:17:21 +0000 (UTC)	[thread overview]
Message-ID: <1486999039.8409d3195a71a22be4dae5cf0a661a9facb24d97.jer@gentoo> (raw)

commit:     8409d3195a71a22be4dae5cf0a661a9facb24d97
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 13 15:16:51 2017 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Mon Feb 13 15:17:19 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8409d319

www-client/surf: EAPI 6.

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 .../surf/{surf-9999.ebuild => surf-0.7-r1.ebuild}  | 26 ++++++++++++++++------
 www-client/surf/surf-9999.ebuild                   | 15 ++++++++-----
 2 files changed, 29 insertions(+), 12 deletions(-)

diff --git a/www-client/surf/surf-9999.ebuild b/www-client/surf/surf-0.7-r1.ebuild
similarity index 67%
copy from www-client/surf/surf-9999.ebuild
copy to www-client/surf/surf-0.7-r1.ebuild
index cf2697d9a9..ea3c9d8472 100644
--- a/www-client/surf/surf-9999.ebuild
+++ b/www-client/surf/surf-0.7-r1.ebuild
@@ -1,17 +1,17 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=5
-inherit eutils git-2 savedconfig toolchain-funcs
+EAPI=6
+inherit savedconfig toolchain-funcs
 
 DESCRIPTION="a simple web browser based on WebKit/GTK+"
 HOMEPAGE="http://surf.suckless.org/"
-EGIT_REPO_URI="git://git.suckless.org/surf"
+SRC_URI="http://dl.suckless.org/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS=""
+KEYWORDS="~amd64 ~x86"
 
 COMMON_DEPEND="
 	dev-libs/glib:2
@@ -34,6 +34,9 @@ RDEPEND="
 		x11-terms/st
 	)
 "
+PATCHES=(
+	"${FILESDIR}"/${PN}-0.7-gentoo.patch
+)
 
 pkg_setup() {
 	if ! use savedconfig; then
@@ -49,13 +52,22 @@ pkg_setup() {
 }
 
 src_prepare() {
-	epatch "${FILESDIR}"/${P}-gentoo.patch
-	epatch_user
+	default
+
 	restore_config config.h
+
 	tc-export CC PKG_CONFIG
 }
 
 src_install() {
 	default
+
 	save_config config.h
 }
+
+pkg_postinst() {
+	if [[ ${REPLACING_VERSIONS} ]] && [[ ${REPLACING_VERSIONS} < 0.4.1-r1 ]]; then
+		ewarn "Please correct the permissions of your \$HOME/.surf/ directory"
+		ewarn "and its contents to no longer be world readable (see bug #404983)"
+	fi
+}

diff --git a/www-client/surf/surf-9999.ebuild b/www-client/surf/surf-9999.ebuild
index cf2697d9a9..e685de4fba 100644
--- a/www-client/surf/surf-9999.ebuild
+++ b/www-client/surf/surf-9999.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=5
-inherit eutils git-2 savedconfig toolchain-funcs
+EAPI=6
+inherit git-r3 savedconfig toolchain-funcs
 
 DESCRIPTION="a simple web browser based on WebKit/GTK+"
 HOMEPAGE="http://surf.suckless.org/"
@@ -34,6 +34,9 @@ RDEPEND="
 		x11-terms/st
 	)
 "
+PATCHES=(
+	"${FILESDIR}"/${P}-gentoo.patch
+)
 
 pkg_setup() {
 	if ! use savedconfig; then
@@ -49,13 +52,15 @@ pkg_setup() {
 }
 
 src_prepare() {
-	epatch "${FILESDIR}"/${P}-gentoo.patch
-	epatch_user
+	default
+
 	restore_config config.h
+
 	tc-export CC PKG_CONFIG
 }
 
 src_install() {
 	default
+
 	save_config config.h
 }


             reply	other threads:[~2017-02-13 15:17 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-13 15:17 Jeroen Roovers [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-03-14  9:38 [gentoo-commits] repo/gentoo:master commit in: www-client/surf/ Joonas Niilola
2023-03-14  9:23 Joonas Niilola
2023-02-10 19:18 Matt Turner
2022-10-01 17:16 Matt Turner
2022-06-09  7:38 Florian Schmaus
2022-06-09  7:38 Florian Schmaus
2021-10-13  6:02 Agostino Sarubbo
2021-10-13  5:54 Agostino Sarubbo
2021-09-28 14:53 Yixun Lan
2021-09-16 19:11 Sam James
2021-07-12 15:32 Joonas Niilola
2021-06-07 11:05 Joonas Niilola
2021-06-07 11:05 Joonas Niilola
2021-03-18 16:16 Joonas Niilola
2021-03-18 11:15 Joonas Niilola
2019-04-29  7:59 Jeroen Roovers
2019-02-07 11:16 Jeroen Roovers
2019-02-07 11:13 Jeroen Roovers
2018-07-26  5:31 Jeroen Roovers
2017-09-11 21:55 Gilles Dartiguelongue
2017-09-10 21:47 Jeroen Roovers
2017-08-31 10:33 Jeroen Roovers
2017-07-02 20:38 Jeroen Roovers
2017-03-30  7:47 Jeroen Roovers
2017-03-30  6:46 Jeroen Roovers
2017-03-30  6:46 Jeroen Roovers
2017-03-29  4:19 Jeroen Roovers
2017-02-13  5:57 Jeroen Roovers
2015-12-28  7:38 Jeroen Roovers

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1486999039.8409d3195a71a22be4dae5cf0a661a9facb24d97.jer@gentoo \
    --to=jer@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox