Gentoo Archives: gentoo-commits

From: "Jeroen Roovers (jer)" <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in www-client/surf: surf-9999.ebuild ChangeLog surf-0.6-r1.ebuild
Date: Fri, 04 Oct 2013 14:52:15
Message-Id: 20131004145210.5B1902004C@flycatcher.gentoo.org
1 jer 13/10/04 14:52:10
2
3 Modified: surf-9999.ebuild ChangeLog surf-0.6-r1.ebuild
4 Log:
5 Sync 0.6-r1 changes. Clean up 0.6-r1 some more.
6
7 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key A792A613)
8
9 Revision Changes Path
10 1.2 www-client/surf/surf-9999.ebuild
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/surf/surf-9999.ebuild?rev=1.2&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/surf/surf-9999.ebuild?rev=1.2&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/surf/surf-9999.ebuild?r1=1.1&r2=1.2
15
16 Index: surf-9999.ebuild
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/www-client/surf/surf-9999.ebuild,v
19 retrieving revision 1.1
20 retrieving revision 1.2
21 diff -u -r1.1 -r1.2
22 --- surf-9999.ebuild 12 Sep 2013 15:33:09 -0000 1.1
23 +++ surf-9999.ebuild 4 Oct 2013 14:52:10 -0000 1.2
24 @@ -1,6 +1,6 @@
25 # Copyright 1999-2013 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27 -# $Header: /var/cvsroot/gentoo-x86/www-client/surf/surf-9999.ebuild,v 1.1 2013/09/12 15:33:09 jer Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/www-client/surf/surf-9999.ebuild,v 1.2 2013/10/04 14:52:10 jer Exp $
29
30 EAPI=5
31 inherit eutils git-2 savedconfig toolchain-funcs
32 @@ -13,18 +13,22 @@
33 SLOT="0"
34 KEYWORDS=""
35
36 -DEPEND="
37 +COMMON_DEPEND="
38 dev-libs/glib
39 net-libs/libsoup
40 net-libs/webkit-gtk:2
41 x11-libs/gtk+:2
42 x11-libs/libX11
43 "
44 +DEPEND="
45 + ${COMMON_DEPEND}
46 + virtual/pkgconfig
47 +"
48 RDEPEND="
49 !sci-chemistry/surf
50 + ${COMMON_DEPEND}
51 x11-apps/xprop
52 x11-misc/dmenu
53 - ${DEPEND}
54 "
55
56 pkg_setup() {
57 @@ -41,20 +45,13 @@
58 }
59
60 src_prepare() {
61 + epatch "${FILESDIR}"/${P}-gentoo.patch
62 epatch_user
63 - sed -i \
64 - -e 's|{|(|g;s|}|)|g' \
65 - -e 's|\t@|\t|g;s|echo|@&|g' \
66 - -e 's|^LIBS.*|LIBS = $(GTKLIB) -lgthread-2.0|g' \
67 - -e 's|^LDFLAGS.*|LDFLAGS += $(LIBS)|g' \
68 - -e 's|^CC.*|CC ?= gcc|g' \
69 - -e 's|^CFLAGS.*|CFLAGS += -std=c99 -pedantic -Wall $(INCS) $(CPPFLAGS)|g' \
70 - config.mk Makefile || die
71 restore_config config.h
72 - tc-export CC
73 + tc-export CC PKG_CONFIG
74 }
75
76 src_install() {
77 - emake DESTDIR="${D}" PREFIX="/usr" install
78 + default
79 save_config config.h
80 }
81
82
83
84 1.32 www-client/surf/ChangeLog
85
86 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/surf/ChangeLog?rev=1.32&view=markup
87 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/surf/ChangeLog?rev=1.32&content-type=text/plain
88 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/surf/ChangeLog?r1=1.31&r2=1.32
89
90 Index: ChangeLog
91 ===================================================================
92 RCS file: /var/cvsroot/gentoo-x86/www-client/surf/ChangeLog,v
93 retrieving revision 1.31
94 retrieving revision 1.32
95 diff -u -r1.31 -r1.32
96 --- ChangeLog 4 Oct 2013 14:35:29 -0000 1.31
97 +++ ChangeLog 4 Oct 2013 14:52:10 -0000 1.32
98 @@ -1,6 +1,10 @@
99 # ChangeLog for www-client/surf
100 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
101 -# $Header: /var/cvsroot/gentoo-x86/www-client/surf/ChangeLog,v 1.31 2013/10/04 14:35:29 jer Exp $
102 +# $Header: /var/cvsroot/gentoo-x86/www-client/surf/ChangeLog,v 1.32 2013/10/04 14:52:10 jer Exp $
103 +
104 + 04 Oct 2013; Jeroen Roovers <jer@g.o> surf-0.6-r1.ebuild,
105 + surf-9999.ebuild, files/surf-0.6-gentoo.patch, +files/surf-9999-gentoo.patch:
106 + Sync 0.6-r1 changes. Clean up 0.6-r1 some more.
107
108 04 Oct 2013; Jeroen Roovers <jer@g.o> surf-0.6-r1.ebuild:
109 Determine REPLACING_VERSIONS to conditionally call ewarn.
110
111
112
113 1.5 www-client/surf/surf-0.6-r1.ebuild
114
115 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/surf/surf-0.6-r1.ebuild?rev=1.5&view=markup
116 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/surf/surf-0.6-r1.ebuild?rev=1.5&content-type=text/plain
117 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/surf/surf-0.6-r1.ebuild?r1=1.4&r2=1.5
118
119 Index: surf-0.6-r1.ebuild
120 ===================================================================
121 RCS file: /var/cvsroot/gentoo-x86/www-client/surf/surf-0.6-r1.ebuild,v
122 retrieving revision 1.4
123 retrieving revision 1.5
124 diff -u -r1.4 -r1.5
125 --- surf-0.6-r1.ebuild 4 Oct 2013 14:35:29 -0000 1.4
126 +++ surf-0.6-r1.ebuild 4 Oct 2013 14:52:10 -0000 1.5
127 @@ -1,6 +1,6 @@
128 # Copyright 1999-2013 Gentoo Foundation
129 # Distributed under the terms of the GNU General Public License v2
130 -# $Header: /var/cvsroot/gentoo-x86/www-client/surf/surf-0.6-r1.ebuild,v 1.4 2013/10/04 14:35:29 jer Exp $
131 +# $Header: /var/cvsroot/gentoo-x86/www-client/surf/surf-0.6-r1.ebuild,v 1.5 2013/10/04 14:52:10 jer Exp $
132
133 EAPI=5
134 inherit eutils savedconfig toolchain-funcs
135 @@ -12,7 +12,6 @@
136 LICENSE="MIT"
137 SLOT="0"
138 KEYWORDS="~amd64 ~x86"
139 -IUSE=""
140
141 COMMON_DEPEND="
142 dev-libs/glib
143 @@ -26,8 +25,8 @@
144 virtual/pkgconfig
145 "
146 RDEPEND="
147 - ${COMMON_DEPEND}
148 !sci-chemistry/surf
149 + ${COMMON_DEPEND}
150 x11-apps/xprop
151 x11-misc/dmenu
152 "
153 @@ -40,20 +39,20 @@
154 elog "installed to support the download function."
155 elog "Without those, downloads will fail (gracefully)."
156 elog "You can fix this by:"
157 - elog " 1) Installing these packages, or"
158 - elog " 2) Setting USE=savedconfig and changing config.h accordingly."
159 + elog "1) Installing these packages, or"
160 + elog "2) Setting USE=savedconfig and changing config.h accordingly."
161 fi
162 }
163
164 src_prepare() {
165 - epatch_user
166 epatch "${FILESDIR}"/${P}-gentoo.patch
167 + epatch_user
168 restore_config config.h
169 tc-export CC PKG_CONFIG
170 }
171
172 src_install() {
173 - emake DESTDIR="${D}" install
174 + default
175 save_config config.h
176 }