From owner-svn-ports-head@freebsd.org Sat Nov 24 13:35:44 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D3238114F29F; Sat, 24 Nov 2018 13:35:43 +0000 (UTC) (envelope-from philip@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6D68979182; Sat, 24 Nov 2018 13:35:43 +0000 (UTC) (envelope-from philip@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 366616AC0; Sat, 24 Nov 2018 13:35:43 +0000 (UTC) (envelope-from philip@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id wAODZgfB089849; Sat, 24 Nov 2018 13:35:42 GMT (envelope-from philip@FreeBSD.org) Received: (from philip@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id wAODZg8o089848; Sat, 24 Nov 2018 13:35:42 GMT (envelope-from philip@FreeBSD.org) Message-Id: <201811241335.wAODZg8o089848@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: philip set sender to philip@FreeBSD.org using -f From: Philip Paeps Date: Sat, 24 Nov 2018 13:35:42 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r485772 - in head/www/cliqz: . files X-SVN-Group: ports-head X-SVN-Commit-Author: philip X-SVN-Commit-Paths: in head/www/cliqz: . files X-SVN-Commit-Revision: 485772 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 6D68979182 X-Spamd-Result: default: False [1.45 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_SPAM_LONG(0.66)[0.661,0]; NEURAL_SPAM_SHORT(0.06)[0.055,0]; NEURAL_SPAM_MEDIUM(0.73)[0.730,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Nov 2018 13:35:44 -0000 Author: philip Date: Sat Nov 24 13:35:42 2018 New Revision: 485772 URL: https://svnweb.freebsd.org/changeset/ports/485772 Log: www/cliqz: fix build on i386 Submitted by: Santhosh Raju (maintainer) Modified: head/www/cliqz/Makefile head/www/cliqz/files/patch-mozilla-release_browser_config_cliqz.mozconfig Modified: head/www/cliqz/Makefile ============================================================================== --- head/www/cliqz/Makefile Sat Nov 24 13:35:19 2018 (r485771) +++ head/www/cliqz/Makefile Sat Nov 24 13:35:42 2018 (r485772) @@ -50,7 +50,8 @@ BUILD_DEPENDS= autoconf-2.13:devel/autoconf213 \ yasm:devel/yasm \ zip:archivers/zip -USES= tar:xz gmake pkgconfig gnome python desktop-file-utils +USES= tar:xz gmake pkgconfig gnome python desktop-file-utils \ + compiler:c11 USE_GNOME= gconf2 gtk20 gtk30 cairo gdkpixbuf2 @@ -83,6 +84,9 @@ post-extract: ${DISTDIR}/${DIST_SUBDIR}/https-everywhere@cliqz.com.xpi \ ${DISTDIR}/${DIST_SUBDIR}/gdprtool@cliqz.com.xpi \ ${WRKSRC}/obj/dist/bin/browser/features + +.include + post-patch: @${CP} ${MOZ_DESKTOP} ${CLIQZ_DESKTOP} @${REINPLACE_CMD} -e 's/@MOZ_APP_DISPLAYNAME@/Cliqz Internet/g' \ @@ -90,6 +94,12 @@ post-patch: -e '/Icon=${PORTNAME}/ s/${PORTNAME}/${CLIQZ_ICON}/' \ -e '/StartupWMClass/d' \ ${CLIQZ_DESKTOP} +.if ${ARCH} == "i386" + # This prevents linker exhausting memory in i386 builds + @${ECHO_CMD} 'export LDFLAGS="-Wl,--no-keep-memory"' >> \ + ${WRKSRC}/mozilla-release/browser/config/cliqz.mozconfig +.endif + do-build: (cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./magic_build_and_package.sh) @@ -106,4 +116,4 @@ post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/share/pixmaps @${CP} ${CLIQZ_ICON_SRC} ${STAGEDIR}${PREFIX}/share/pixmaps/${CLIQZ_ICON} -.include +.include Modified: head/www/cliqz/files/patch-mozilla-release_browser_config_cliqz.mozconfig ============================================================================== --- head/www/cliqz/files/patch-mozilla-release_browser_config_cliqz.mozconfig Sat Nov 24 13:35:19 2018 (r485771) +++ head/www/cliqz/files/patch-mozilla-release_browser_config_cliqz.mozconfig Sat Nov 24 13:35:42 2018 (r485772) @@ -1,11 +1,12 @@ --- mozilla-release/browser/config/cliqz.mozconfig.orig 2018-11-16 08:40:07 UTC +++ mozilla-release/browser/config/cliqz.mozconfig -@@ -10,6 +10,8 @@ ac_add_options --enable-official-brandin +@@ -10,6 +10,9 @@ ac_add_options --enable-official-brandin ac_add_options --with-app-name=cliqz # name for binaries ac_add_options --enable-crashreporter ac_add_options --enable-js-shell +ac_add_options --disable-crashreporter +ac_add_options --disable-updater ++ac_add_options --disable-tests export MOZ_APP_PROFILE=CLIQZ export MOZ_AUTOMATION_UPLOAD=1