2012-12-18 23:09:07 +00:00
|
|
|
# Created by: Michael Johnson <ahze@FreeBSD.org>
|
2008-03-24 03:52:36 +00:00
|
|
|
# $FreeBSD$
|
2013-03-13 07:59:13 +00:00
|
|
|
|
2008-03-24 03:52:36 +00:00
|
|
|
PORTNAME= webkit
|
2016-05-05 16:08:08 +00:00
|
|
|
PORTVERSION= 2.4.11
|
www/webkit-gtk{2,3}: use ASCII quotes to unbreak python3 build
GEN DerivedSources/WebCore/XMLViewerCSS.h
GEN DerivedSources/WebCore/XMLViewerJS.h
Traceback (most recent call last):
File "./Source/JavaScriptCore/inspector/scripts/cssmin.py", line 44, in <module>
sys.stdout.write(cssminify(sys.stdin.read()))
File "/usr/local/lib/python3.4/encodings/ascii.py", line 26, in decode
return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 642: ordinal not in range(128)
gmake: *** [GNUmakefile:82114: DerivedSources/WebCore/XMLViewerCSS.h] Error 1
gmake: *** Waiting for unfinished jobs....
Traceback (most recent call last):
File "./Source/JavaScriptCore/inspector/scripts/jsmin.py", line 237, in <module>
minifier.minify()
File "./Source/JavaScriptCore/inspector/scripts/jsmin.py", line 106, in minify
previous = read(1)
File "/usr/local/lib/python3.4/encodings/ascii.py", line 26, in decode
return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 696: ordinal not in range(128)
gmake: *** [GNUmakefile:82119: DerivedSources/WebCore/XMLViewerJS.h] Error 1
offlineasm: offset extractor DerivedSources/JavaScriptCore/LLIntDesiredOffsets.h successfully generated.
PR: 197316
Submitted by: olivier@cochard.me
Approved by: maintainer timeout (1.5 years)
MFH: 2016Q3
2016-07-25 21:09:58 +00:00
|
|
|
PORTREVISION= 3
|
2008-03-24 03:52:36 +00:00
|
|
|
CATEGORIES= www
|
2013-03-13 07:59:13 +00:00
|
|
|
MASTER_SITES= http://webkitgtk.org/releases/
|
2008-03-24 03:52:36 +00:00
|
|
|
PKGNAMESUFFIX= -gtk2
|
2014-12-25 19:12:08 +00:00
|
|
|
DISTNAME= ${PORTNAME}gtk-${PORTVERSION}
|
2008-03-24 03:52:36 +00:00
|
|
|
|
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
2014-12-25 19:12:08 +00:00
|
|
|
COMMENT= Opensource browser engine using the GTK+ 2 toolkit
|
2008-03-24 03:52:36 +00:00
|
|
|
|
2016-04-01 14:33:55 +00:00
|
|
|
BUILD_DEPENDS= gtkdoc-rebase:textproc/gtk-doc \
|
|
|
|
p5-Switch>0:lang/p5-Switch \
|
|
|
|
geoclue>=0:net/geoclue
|
|
|
|
LIB_DEPENDS= libenchant.so:textproc/enchant \
|
|
|
|
libsecret-1.so:security/libsecret \
|
|
|
|
libicutu.so:devel/icu \
|
|
|
|
libharfbuzz.so:print/harfbuzz \
|
|
|
|
libwebp.so:graphics/webp \
|
|
|
|
libcurl.so:ftp/curl \
|
|
|
|
libsoup-2.4.so:devel/libsoup
|
|
|
|
RUN_DEPENDS= geoclue>=0:net/geoclue
|
2014-12-25 19:12:08 +00:00
|
|
|
|
2016-07-25 21:09:40 +00:00
|
|
|
PORTSCOUT= limit:^2\.4\.
|
2015-01-15 17:17:32 +00:00
|
|
|
|
2014-12-25 19:12:08 +00:00
|
|
|
USE_GSTREAMER1= yes
|
|
|
|
USE_XORG= xt xdamage xcomposite
|
2016-05-05 16:08:08 +00:00
|
|
|
USES= bison compiler:c++11-lib gettext gmake gperf libtool localbase \
|
2016-01-10 16:19:37 +00:00
|
|
|
perl5 pkgconfig shebangfix sqlite tar:xz
|
2014-12-25 19:12:08 +00:00
|
|
|
USE_RUBY= yes
|
|
|
|
RUBY_NO_RUN_DEPENDS=yes
|
|
|
|
USE_GNOME= cairo gtk20 introspection:build libxslt
|
Update webkit-gtk[23] to 1.4.8.
Switch webkit-gtk3 to compiler:c++11-lib instead of homegrown clang code [2].
This unbreaks the build on 8.x.
Axe WEBGL and WEBAUDIO options and turn them on by default (like upstream
intended). Disabling them leads to wierd build failures, due to untested
build paths. [1]
Only set -Qunused-arguments if the compiler is clang [2]
Fix SSL connection issues with some websites after the POODLE vulnerability fix.
MFH: 2015Q1
PR: 196333 [1], 196031 [2], 195628 [2], 196296 [1]
Submitted by: peo@bsdlabs.com and david@catwhisker.org [1], truckman@ [2]
Security: e9ccdb28-9802-11e4-9d9c-bcaec565249c
Security: CVE-2014-1344, CVE-2014-1384, CVE-2014-1385, CVE-2014-1386
Security: CVE-2014-1387, CVE-2014-1388, CVE-2014-1389, CVE-2014-1390
2015-01-09 13:37:56 +00:00
|
|
|
USE_GL= gl
|
2014-12-25 19:12:08 +00:00
|
|
|
USE_PERL5= build
|
2008-03-24 03:52:36 +00:00
|
|
|
USE_LDCONFIG= yes
|
Presenting GNOME 2.28.1 for FreeBSD. The official release notes for this
release can be found at http://library.gnome.org/misc/release-notes/2.28/ .
Officially, this is mostly a polishing release in preparation for GNOME 3.0
due in about a year.
On the FreeBSD front, though, a lot went into this release. Major thanks
goes to kwm and avl who did a lot of the porting work for this release.
In particular, kwm brought in Evolution MAPI support for better Microsoft
Exchange integration. Avl made sure that the new gobject introspection
repository ports were nicely compartmentalized so that large dependencies
aren't brought in wholesale.
But, every GNOME team member (ahze, avl, bland, kwm, mezz, and myself)
contributed to this release.
Other major improvements include an updated HAL with better volume
probing code, ufsid integration, and support for volume names containing
spaces (big thanks to J.R. Oldroyd); a new WebKit; updated AbiWord;
an updated Gimp; and a preview of the new GNOME Shell project (thanks to
Pawel Worach).
The FreeBSD GNOME Team would like to that the following additional
contributors to this release whose patches and testing really helped
make it a success:
Andrius Morkunas
Dominique Goncalves
Eric L. Chen
J.R. Oldroyd
Joseph S. Atkinson
Li
Pawel Worach
Romain Tartière
Thomas Vogt
Yasuda Keisuke
Rui Paulo
Martin Wilke
(and an extra shout out to miwi and pav for pointyhat runs)
We would like to send this release out to Alexander Loginov (avl) in
hopes that he feels better soon.
PR: 136676
136967
138872 (obsolete with new epiphany-webkit)
139160
134737
139941
140097
140838
140929
2009-11-28 20:06:37 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2016-05-05 16:08:08 +00:00
|
|
|
CONFIGURE_ENV= AR=/usr/bin/ar \
|
|
|
|
ac_cv_path_DOLT_BASH=""
|
2014-09-01 18:21:50 +00:00
|
|
|
INSTALL_TARGET= install-strip
|
2013-03-13 07:59:13 +00:00
|
|
|
CONFIGURE_ARGS= --with-gtk=2.0 \
|
|
|
|
--enable-svg-fonts \
|
2014-12-25 19:12:08 +00:00
|
|
|
--enable-geolocation \
|
|
|
|
--enable-introspection \
|
|
|
|
--disable-webkit2 \
|
|
|
|
--with-html-dir=${PREFIX}/share/gtk-doc/html/webkit1
|
2008-03-24 03:52:36 +00:00
|
|
|
MAKEFILE= GNUmakefile
|
2014-12-25 19:12:08 +00:00
|
|
|
MAKE_ENV= XDG_CACHE_HOME=${WRKDIR}
|
|
|
|
|
2016-08-18 23:22:23 +00:00
|
|
|
BROKEN_sparc64= attempts to use x86 assembler
|
|
|
|
|
2014-12-25 19:12:08 +00:00
|
|
|
CONFIGURE_ARGS+=--disable-egl \
|
|
|
|
--disable-gles2
|
2016-05-05 16:08:08 +00:00
|
|
|
SHEBANG_FILES= \
|
2014-12-25 19:12:08 +00:00
|
|
|
Source/JavaScriptCore/create_hash_table \
|
|
|
|
Source/JavaScriptCore/inspector/scripts/xxd.pl \
|
|
|
|
Source/WebCore/css/*.pl \
|
|
|
|
Source/WebCore/dom/*.pl \
|
|
|
|
Source/WebCore/make-hash-tools.pl \
|
|
|
|
Source/WebCore/page/make_settings.pl \
|
|
|
|
Source/WebCore/platform/text/mac/make-charset-table.pl \
|
|
|
|
Source/WebKit2/Scripts/generate-forwarding-headers.pl \
|
|
|
|
Source/WebCore/bindings/scripts/*.p[lm] \
|
|
|
|
Source/JavaScriptCore/create_hash_table
|
|
|
|
|
2016-05-05 16:08:08 +00:00
|
|
|
BROWSER_PLUGINS_DIR?= ${LOCALBASE}/lib/browser_plugins/symlinks/webkit-gtk2
|
2009-01-10 05:22:13 +00:00
|
|
|
#_BROWSER_PLUGINS_DIR= ${BROWSER_PLUGINS_DIR:S|^/|"|:S|/|", "|g}",
|
|
|
|
|
Update webkit-gtk[23] to 1.4.8.
Switch webkit-gtk3 to compiler:c++11-lib instead of homegrown clang code [2].
This unbreaks the build on 8.x.
Axe WEBGL and WEBAUDIO options and turn them on by default (like upstream
intended). Disabling them leads to wierd build failures, due to untested
build paths. [1]
Only set -Qunused-arguments if the compiler is clang [2]
Fix SSL connection issues with some websites after the POODLE vulnerability fix.
MFH: 2015Q1
PR: 196333 [1], 196031 [2], 195628 [2], 196296 [1]
Submitted by: peo@bsdlabs.com and david@catwhisker.org [1], truckman@ [2]
Security: e9ccdb28-9802-11e4-9d9c-bcaec565249c
Security: CVE-2014-1344, CVE-2014-1384, CVE-2014-1385, CVE-2014-1386
Security: CVE-2014-1387, CVE-2014-1388, CVE-2014-1389, CVE-2014-1390
2015-01-09 13:37:56 +00:00
|
|
|
OPTIONS_DEFINE= DEBUG FULLDEBUG
|
2014-12-25 19:12:08 +00:00
|
|
|
DEBUG_DESC= Just enable debug symbols
|
|
|
|
FULLDEBUG_DESC= Enable asserts and other debug support
|
2009-01-10 05:22:13 +00:00
|
|
|
|
2014-12-25 19:12:08 +00:00
|
|
|
FULLDEBUG_CONFIGURE_ENABLE= debug
|
|
|
|
DEBUG_CONFIGURE_ON= --enable-debug-symbols=yes
|
|
|
|
DEBUG_CONFIGURE_OFF= --disable-debug-symbols
|
2008-03-31 10:33:05 +00:00
|
|
|
|
2014-12-25 19:12:08 +00:00
|
|
|
.include <bsd.port.options.mk>
|
2013-03-13 07:59:13 +00:00
|
|
|
|
2014-11-19 11:49:04 +00:00
|
|
|
.if ${ARCH} == powerpc64
|
|
|
|
CFLAGS+= -mminimal-toc
|
|
|
|
.endif
|
|
|
|
|
2013-03-13 07:59:13 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2014-12-25 19:12:08 +00:00
|
|
|
.if ${OSVERSION} < 1000033
|
2016-04-01 14:33:55 +00:00
|
|
|
BUILD_DEPENDS+= flex>=0:textproc/flex
|
2014-12-25 19:12:08 +00:00
|
|
|
CONFIGURE_ENV+= FLEX="${LOCALBASE}/bin/flex"
|
|
|
|
.endif
|
|
|
|
|
Update webkit-gtk[23] to 1.4.8.
Switch webkit-gtk3 to compiler:c++11-lib instead of homegrown clang code [2].
This unbreaks the build on 8.x.
Axe WEBGL and WEBAUDIO options and turn them on by default (like upstream
intended). Disabling them leads to wierd build failures, due to untested
build paths. [1]
Only set -Qunused-arguments if the compiler is clang [2]
Fix SSL connection issues with some websites after the POODLE vulnerability fix.
MFH: 2015Q1
PR: 196333 [1], 196031 [2], 195628 [2], 196296 [1]
Submitted by: peo@bsdlabs.com and david@catwhisker.org [1], truckman@ [2]
Security: e9ccdb28-9802-11e4-9d9c-bcaec565249c
Security: CVE-2014-1344, CVE-2014-1384, CVE-2014-1385, CVE-2014-1386
Security: CVE-2014-1387, CVE-2014-1388, CVE-2014-1389, CVE-2014-1390
2015-01-09 13:37:56 +00:00
|
|
|
.if ${CHOSEN_COMPILER_TYPE} == clang
|
2015-03-11 18:27:17 +00:00
|
|
|
CXXFLAGS+= -Wno-c++11-extensions # Shutup warning spam
|
Update webkit-gtk[23] to 1.4.8.
Switch webkit-gtk3 to compiler:c++11-lib instead of homegrown clang code [2].
This unbreaks the build on 8.x.
Axe WEBGL and WEBAUDIO options and turn them on by default (like upstream
intended). Disabling them leads to wierd build failures, due to untested
build paths. [1]
Only set -Qunused-arguments if the compiler is clang [2]
Fix SSL connection issues with some websites after the POODLE vulnerability fix.
MFH: 2015Q1
PR: 196333 [1], 196031 [2], 195628 [2], 196296 [1]
Submitted by: peo@bsdlabs.com and david@catwhisker.org [1], truckman@ [2]
Security: e9ccdb28-9802-11e4-9d9c-bcaec565249c
Security: CVE-2014-1344, CVE-2014-1384, CVE-2014-1385, CVE-2014-1386
Security: CVE-2014-1387, CVE-2014-1388, CVE-2014-1389, CVE-2014-1390
2015-01-09 13:37:56 +00:00
|
|
|
CXXFLAGS+= -Qunused-arguments
|
|
|
|
.endif
|
|
|
|
|
2008-03-24 03:52:36 +00:00
|
|
|
post-patch:
|
2009-01-10 05:22:13 +00:00
|
|
|
@${REINPLACE_CMD} -e 's|%%BROWSER_PLUGINS_DIR%%|${BROWSER_PLUGINS_DIR}|' \
|
2011-08-23 18:32:20 +00:00
|
|
|
${WRKSRC}/Source/WebCore/plugins/PluginDatabase.cpp
|
2016-05-05 16:08:08 +00:00
|
|
|
# Since ruby 2.2 there is no ruby symlink
|
|
|
|
@${REINPLACE_CMD} -e 's|ruby|${RUBY_NAME}|g' \
|
|
|
|
${WRKSRC}/configure
|
2014-12-25 19:12:08 +00:00
|
|
|
@${FIND} ${WRKSRC} -name GNUmakefile.in | ${XARGS} ${REINPLACE_CMD} -e \
|
2008-03-24 03:52:36 +00:00
|
|
|
's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g'
|
2014-12-25 19:12:08 +00:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/Programs/GtkLauncher \
|
|
|
|
${STAGEDIR}${PREFIX}/bin/GtkLauncher-1
|
2008-03-24 03:52:36 +00:00
|
|
|
|
2008-03-31 10:33:05 +00:00
|
|
|
.include <bsd.port.post.mk>
|