pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

firefox45-hg: use more stuff from firefox-hg to avoid duplication.



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Fri Jan 22 13:06:54 2016 +0100
Changeset:	d922443f3f2073bc9d6485e21f70fbc90758f57a

Modified Files:
	firefox45-hg/Makefile
Removed Files:
	firefox45-hg/TODO
	firefox45-hg/files/desktop.in
	firefox45-hg/mozilla-common.mk
	firefox45-hg/options.mk
	firefox45-hg/xpi.mk

Log Message:
firefox45-hg: use more stuff from firefox-hg to avoid duplication.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=d922443f3f2073bc9d6485e21f70fbc90758f57a

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 firefox45-hg/Makefile          |  93 +------------------
 firefox45-hg/TODO              |   1 -
 firefox45-hg/files/desktop.in  | 191 --------------------------------------
 firefox45-hg/mozilla-common.mk | 202 -----------------------------------------
 firefox45-hg/options.mk        |  95 -------------------
 firefox45-hg/xpi.mk            |  25 -----
 6 files changed, 3 insertions(+), 604 deletions(-)

diffs:
diff --git a/firefox45-hg/Makefile b/firefox45-hg/Makefile
index e4b43f8..ef046d5 100644
--- a/firefox45-hg/Makefile
+++ b/firefox45-hg/Makefile
@@ -1,99 +1,12 @@
 # $NetBSD: Makefile,v 1.9 2015/08/17 07:30:47 thomasklausner Exp $
 
-FIREFOX_VER=	${MOZ_BRANCH}${MOZ_BRANCH_MINOR}
 MOZ_BRANCH=	45.0a1
-MOZ_BRANCH_MINOR=
+HG_TAG=		FIREFOX_AURORA_45_BASE
 
-DISTNAME=	firefox45-${FIREFOX_VER}.source
-PKGNAME=	firefox45-${MOZ_BRANCH}${MOZ_BRANCH_MINOR:S/b/beta/:S/esr//}
-CATEGORIES=	www
-MASTER_SITES=	${MASTER_SITE_MOZILLA:=firefox/releases/${FIREFOX_VER}/source/}
-MASTER_SITES+=	${MASTER_SITE_MOZILLA_ALL:=firefox/releases/${FIREFOX_VER}/source/}
-EXTRACT_SUFX=	.tar.bz2
+.include "../../wip/firefox-hg/Makefile.common"
 
-HG_REPOSITORIES=	mozilla
-HG_REPO.mozilla=	https://hg.mozilla.org/mozilla-central
-HG_TAG=			FIREFOX_AURORA_45_BASE
+PKGNAME=	firefox45-${MOZ_BRANCH}${MOZ_BRANCH_MINOR:S/b/beta/:S/esr//}
 
-MAINTAINER=	wiz%NetBSD.org@localhost
-HOMEPAGE=	http://www.mozilla.com/en-US/firefox/
 COMMENT=	Web browser with support for extensions (hg version, 45.x branch)
-LICENSE=	mpl-1.1
-
-WRKSRC=		${WRKDIR}/mozilla
-MOZILLA_DIR=	# empty
-
-BUILD_DEPENDS+=	yasm-[0-9]*:../../devel/yasm
-
-CONFIGURE_ARGS+=	--enable-application=browser
-
-# workround for link of libxul.so etc.
-LDFLAGS+=		${COMPILER_RPATH_FLAG}${PREFIX}/lib/firefox-${MOZ_BRANCH} ${COMPILER_RPATH_FLAG}${PREFIX}/lib
-LDFLAGS.SunOS+=		-lm
-
-PLIST_SUBST+=	VERSION=${MOZ_BRANCH}
-PRINT_PLIST_AWK+=	{ gsub(/${MOZ_BRANCH}/, "$${VERSION}") }
-
-ALL_ENV+=		MOZILLA_PKG_NAME=firefox
-
-.include "../../mk/bsd.prefs.mk"
-
-# Avoid ld "invalid section index" errors.
-.if ${OPSYS} == "SunOS"
-BUILDLINK_TRANSFORM+=	rm:-fdata-sections
-BUILDLINK_TRANSFORM+=	rm:-ffunction-sections
-.endif
-BUILDLINK_TRANSFORM+=	rm:-Werror
-BUILDLINK_TRANSFORM+=	rm:-Werror=[A-z0-9_-]*
-
-LDFLAGS.DragonFly=	-lplc4 -lnspr4
-LDFLAGS.FreeBSD=	-lplc4 -lnspr4
-LDFLAGS.Linux=		-lnspr4
-
-.include "mozilla-common.mk"
-.include "options.mk"
-
-CHECK_INTERPRETER_SKIP+=lib/firefox-sdk/sdk/bin/header.py
-CHECK_INTERPRETER_SKIP+=lib/firefox-sdk/sdk/bin/typelib.py
-CHECK_INTERPRETER_SKIP+=lib/firefox-sdk/sdk/bin/xpidl.py
-CHECK_INTERPRETER_SKIP+=lib/firefox-sdk/sdk/bin/xpt.py
-
-MOZILLA=firefox
-MOZILLA_ICON=	${WRKSRC}/${OBJDIR}/dist/firefox/browser/chrome/icons/default/default48.png
-.if !empty(PKG_OPTIONS:Mofficial-mozilla-branding)
-MOZILLA_NAME=	Firefox
-.else
-MOZILLA_NAME=	Browser
-.endif
-
-SUBST_CLASSES+=		sys-dic
-SUBST_STAGE.sys-dic=	pre-configure
-SUBST_MESSAGE.sys-dic=	Reference to system hunspell dictionaries.
-SUBST_FILES.sys-dic=	extensions/spellcheck/hunspell/glue/mozHunspell.cpp
-SUBST_VARS.sys-dic=	PREFIX
-
-pre-configure:
-	cd ${WRKSRC} && mkdir ${OBJDIR}
-	cd ${WRKSRC} && autoconf
-	cd ${WRKSRC}/js/src && autoconf
-# XXX Makefile is broken? When libxul is provided from devel/xulrunner,
-# XXX please remove this.
-	mkdir ${WRKSRC}/js/src/.deps
-
-post-build:
-	${SED} -e 's|@MOZILLA@|${MOZILLA}|g'				\
-	  -e 's|@MOZILLA_NAME@|${MOZILLA_NAME}|g'			\
-	  -e 's|@FIREFOX_ICON@|${MOZILLA}.png|g'			\
-	  < ${FILESDIR}/desktop.in					\
-	  > ${WRKDIR}/desktop
-
-INSTALLATION_DIRS+=	share/applications share/pixmaps
-post-install:
-	${INSTALL_DATA} ${WRKDIR}/desktop				\
-	  ${DESTDIR}${PREFIX}/share/applications/${MOZILLA}.desktop
-	${INSTALL_DATA} ${MOZILLA_ICON}					\
-	  ${DESTDIR}${PREFIX}/share/pixmaps/${MOZILLA}.png
 
-.include "../../sysutils/desktop-file-utils/desktopdb.mk"
-.include "../../wip/mk/hg-package.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/firefox45-hg/TODO b/firefox45-hg/TODO
deleted file mode 100644
index c8a4fc6..0000000
--- a/firefox45-hg/TODO
+++ /dev/null
@@ -1 +0,0 @@
-configure: error: System SQLite library is not compiled with SQLITE_ENABLE_DBSTAT_VTAB.
diff --git a/firefox45-hg/files/desktop.in b/firefox45-hg/files/desktop.in
deleted file mode 100644
index d72090e..0000000
--- a/firefox45-hg/files/desktop.in
+++ /dev/null
@@ -1,191 +0,0 @@
-[Desktop Entry]
-Encoding=UTF-8
-Name=@MOZILLA_NAME@ Web Browser
-Name[am]=
-Name[ar]=
-Name[az]=@MOZILLA_NAME@ Veb Səyyahı
-Name[be]=
-Name[bg]=Интернет браузър @MOZILLA_NAME@
-Name[bn]=
-Name[bs]=@MOZILLA_NAME@ web preglednik
-Name[ca]=Navegador web @MOZILLA_NAME@
-Name[cs]=Prohlížeč WWW @MOZILLA_NAME@
-Name[cy]=Y Porwr Gwe @MOZILLA_NAME@
-Name[da]=@MOZILLA_NAME@ - internetsurfning
-Name[de]=@MOZILLA_NAME@ Webbrowser
-Name[el]=Περιηγητής Διαδικτύου @MOZILLA_NAME@
-Name[en_CA]=@MOZILLA_NAME@ Web Browser
-Name[en_GB]=@MOZILLA_NAME@ Web Browser
-Name[es]=Navegador Web @MOZILLA_NAME@
-Name[et]=@MOZILLA_NAME@ veebibrauser
-Name[eu]=@MOZILLA_NAME@ web arakatzailea
-Name[fi]=@MOZILLA_NAME@, WWW-selain
-Name[fr]=Navigateur Web @MOZILLA_NAME@
-Name[ga]=Brabhsálaí Lín @MOZILLA_NAME@
-Name[gu]=એપીફની વૅબ બ્રાઉઝર
-Name[he]=דפדפן @MOZILLA_NAME@
-Name[hi]=
-Name[hr]=@MOZILLA_NAME@ Web preglednik
-Name[hu]=@MOZILLA_NAME@ webböngésző
-Name[id]=Web Browser @MOZILLA_NAME@
-Name[it]=Browser web @MOZILLA_NAME@
-Name[ja]=@MOZILLA_NAME@ ウェブ・ブラウザ
-Name[ko]=@MOZILLA_NAME@ 웹 브라우저
-Name[li]=@MOZILLA_NAME@ Web Browser
-Name[lt]=@MOZILLA_NAME@ web naršyklė
-Name[mk]=@MOZILLA_NAME@ веб прелистувач
-Name[ml]=എപ്പിഫാനി വെബ്ബ് ബ്രൌസ‌ര്
-Name[mn]=@MOZILLA_NAME@ веб хөтөч
-Name[ms]=Pelungsur Web @MOZILLA_NAME@
-Name[nb]=@MOZILLA_NAME@ nettleser
-Name[nl]=@MOZILLA_NAME@ Webbrowser
-Name[nn]=@MOZILLA_NAME@ nettlesar
-Name[no]=@MOZILLA_NAME@ nettleser
-Name[pa]=ਏਪੀਫਾਨੀ ਵੈੱਬ ਬਰਾਊਜ਼ਰ
-Name[pl]=Przeglądarka WWW @MOZILLA_NAME@
-Name[pt]=Navegador Web @MOZILLA_NAME@
-Name[pt_BR]=Navegador Web @MOZILLA_NAME@
-Name[ro]=Navigatorul @MOZILLA_NAME@
-Name[ru]=Веб-браузер @MOZILLA_NAME@
-Name[sk]=
-Name[sl]=Spletni brskalnik @MOZILLA_NAME@
-Name[sq]=@MOZILLA_NAME@ - Shfletuesi Web
-Name[sr]=
-Name[sr@Latn]=Veb čitač Spoznaja
-Name[sv]=Webbläsaren @MOZILLA_NAME@
-Name[ta]=எபிபனி வலை உலாவி
-Name[tk]=@MOZILLA_NAME@ Web Ahtarçisi
-Name[tr]=@MOZILLA_NAME@ Web Tarayıcı
-Name[uk]=Переглядач web @MOZILLA_NAME@
-Name[vi]=Trình Duyệt Web @MOZILLA_NAME@
-Name[wa]=Betchteu waibe epiphany
-Name[zh_CN]=@MOZILLA_NAME@ Web 浏览器
-Name[zh_TW]=@MOZILLA_NAME@ 網頁瀏覽器
-GenericName=Web Browser
-GenericName[ar]=متصفّح الانترنت
-GenericName[az]=Veb Səyyahı
-GenericName[be]=Вандроўнік па павуціньню
-GenericName[bg]=Браузър
-GenericName[bn]=ওয়েব ব্রাউজার
-GenericName[bs]=Web preglednik
-GenericName[ca]=Navegador web
-GenericName[cs]=Prohlížeč WWW
-GenericName[cy]=Porwr Gwe
-GenericName[da]=Internetsurfning
-GenericName[de]=Webbrowser
-GenericName[el]=Περιηγητής Ιστοσελίδων
-GenericName[en_CA]=Web Browser
-GenericName[en_GB]=Web Browser
-GenericName[es]=Navegador web
-GenericName[et]=Veebilehitseja
-GenericName[eu]=Web arakatzailea
-GenericName[fi]=WWW-selain
-GenericName[fr]=Navigateur Web @MOZILLA_NAME@
-GenericName[ga]=Brabhsálaí Lín
-GenericName[gu]=વેબ બ્રાઉઝર
-GenericName[he]=דפדפן אינטרנט
-GenericName[hi]=वेब ब्राउज़र
-GenericName[hr]=Web preglednik
-GenericName[hu]=Webböngésző
-GenericName[id]=Browser Web
-GenericName[it]=Browser web
-GenericName[ja]=GNOME ウェブ・ブラウザ
-GenericName[ko]=웹 브라우저
-GenericName[li]=Wèb Browser
-GenericName[lt]=Web naršyklė
-GenericName[mk]=Веб прелистувач
-GenericName[mn]=Веб хөтөч
-GenericName[ms]=Pelungsur Web
-GenericName[nb]=Nettleser
-GenericName[nl]=Web-browser
-GenericName[nn]=Nettlesar
-GenericName[no]=Nettleser
-GenericName[pa]=ਵੈਬ ਬਰਾਊਜ਼
-GenericName[pl]=Przeglądarka WWW
-GenericName[pt]=Navegador Web
-GenericName[pt_BR]=Navegador Web
-GenericName[ro]=Navigator Internet
-GenericName[ru]=Веб-браузер
-GenericName[sk]=WWW prehliadač
-GenericName[sl]=Spletni brskalnik
-GenericName[sq]=Shfletuesi Web
-GenericName[sr]=Веб читач
-GenericName[sr@Latn]=Veb čitač
-GenericName[sv]=Webbläsare
-GenericName[ta]=வலை உலாவி
-GenericName[th]=เว็บบราวเซอร์
-GenericName[tk]=Web Ahtarçysy
-GenericName[tr]=Web Tarayıcı
-GenericName[uk]=Переглядач web-сторінок
-GenericName[vi]=Trình duyệt Web
-GenericName[wa]=Betchteu waibe
-GenericName[zh_CN]=Web 浏览器
-GenericName[zh_TW]=網頁瀏覽器
-Comment=Browse the web
-Comment[ar]=تصفح الانترنت
-Comment[az]=Vebi gəzin
-Comment[be]=Вандраваць па павуціньню
-Comment[bg]=Сърфиране в интернет
-Comment[bn]=ওয়েব ব্রাউজ করুন
-Comment[bs]=Pregledaj na internetu
-Comment[ca]=Navegueu per la web
-Comment[cs]=Prohlížet WWW
-Comment[cy]=Pori'r we
-Comment[da]=Surf på internettet
-Comment[de]=Im Web surfen
-Comment[el]=Περιήγηση στον παγκόσμιο ιστό
-Comment[en_CA]=Browse the web
-Comment[en_GB]=Browse the web
-Comment[es]=Navegar por la web
-Comment[et]=Sirvi veebi
-Comment[eu]=Arakatu web-a
-Comment[fi]=Selaa WWW:tä
-Comment[fr]=Naviguer sur Internet
-Comment[ga]=Brabhsáil an Líon
-Comment[gu]=વેબમાં શોધો
-Comment[he]=גלוש ברשת
-Comment[hi]=वेब ब्राउज़ करें
-Comment[hr]=Pregledaj Web
-Comment[hu]=A világháló böngészése
-Comment[id]=Jelajah web
-Comment[it]=Esplora il web
-Comment[ja]=ウェブを閲覧します
-Comment[ko]=웹을 돌아 다닙니다
-Comment[li]=Blajere op internet
-Comment[lt]=Naršyti internete
-Comment[mk]=Прелистувајте на веб
-Comment[ml]=വലക്കെട്ട് തിരയുക
-Comment[mn]=Веб броузе хийх
-Comment[ms]=Layari web
-Comment[nb]=Surf på nettet
-Comment[nl]=Websurfen
-Comment[nn]=Surf på nettet
-Comment[no]=Surf på nettet
-Comment[pa]=ਵੈਬ ਬਰਾਊਜ਼
-Comment[pl]=Przeglądanie stron WWW
-Comment[pt]=Navegar na web
-Comment[pt_BR]=Navegar na web
-Comment[ro]=Navigare Internet
-Comment[ru]=Веб-браузер
-Comment[sk]=Prehliadať internet
-Comment[sl]=Brskaj po spletu
-Comment[sq]=Eksploro web-in
-Comment[sr]=Прегледај веб
-Comment[sr@Latn]=Pregledaj veb
-Comment[sv]=Surfa på nätet
-Comment[ta]=வலையில் உலாவு
-Comment[th]=ใช้งานเว็บบราวเซอร์ @MOZILLA_NAME@
-Comment[tk]=Webi Ahtar
-Comment[tr]=Web'e Gözat
-Comment[uk]=Програма перегляду web-сторінок
-Comment[vi]=Duyệt web
-Comment[wa]=Naivyî avå les waibes
-Comment[zh_CN]=浏览 Web
-Comment[zh_TW]=瀏覽網頁
-Exec=@MOZILLA@ %u
-Icon=@FIREFOX_ICON@
-StartupNotify=false
-Terminal=false
-Type=Application
-Categories=Application;Network;
-MimeType=text/html;text/xml;application/xhtml+xml;application/vnd.mozilla.xul+xml;text/mml;
diff --git a/firefox45-hg/mozilla-common.mk b/firefox45-hg/mozilla-common.mk
deleted file mode 100644
index 3f4c4d0..0000000
--- a/firefox45-hg/mozilla-common.mk
+++ /dev/null
@@ -1,202 +0,0 @@
-# $NetBSD: mozilla-common.mk,v 1.7 2015/08/17 07:30:48 thomasklausner Exp $
-#
-# common Makefile fragment for mozilla packages based on gecko 2.0.
-#
-# used by www/firefox/Makefile
-# used by www/seamonkey/Makefile
-
-GNU_CONFIGURE=		yes
-USE_TOOLS+=		pkg-config perl gmake autoconf213 unzip zip
-USE_LANGUAGES+=		c99 c++
-UNLIMIT_RESOURCES+=	datasize
-
-.include "../../mk/bsd.prefs.mk"
-# tar(1) of OpenBSD 5.5 has no --exclude command line option.
-.if ${OPSYS} == "OpenBSD"
-TOOLS_PLATFORM.tar=	${TOOLS_PREFIX.bsdtar}/bin/bsdtar
-USE_TOOLS+=		bsdtar
-.endif
-# gcc45-4.5.3 of lang/gcc45 does not generate proper binary,
-# but gcc 4.5.4 of NetBSD 6.99 generates working binary.
-# gcc45 has no OpenBSD support, and gcc46 has it.
-.if !empty(MACHINE_PLATFORM:MNetBSD-5.*) || !empty(MACHINE_PLATFORM:MOpenBSD*)
-GCC_REQD+=		4.6
-.  if ${MACHINE_ARCH} == "i386"
-# Fix for PR pkg/48152.
-CPPFLAGS+=		-march=i486
-.  endif
-.else
-GCC_REQD+=		4.5
-.endif
-
-CHECK_PORTABILITY_SKIP+=${MOZILLA_DIR}js/src/tests/update-test262.sh
-CHECK_PORTABILITY_SKIP+=${MOZILLA_DIR}intl/icu/source/configure
-CHECK_PORTABILITY_SKIP+=${MOZILLA_DIR}security/nss/tests/libpkix/libpkix.sh
-CHECK_PORTABILITY_SKIP+=${MOZILLA_DIR}security/nss/tests/multinit/multinit.sh
-
-CONFIGURE_ARGS+=	--disable-tests
-CONFIGURE_ARGS+=	--disable-pedantic
-CONFIGURE_ARGS+=	--enable-crypto
-CONFIGURE_ARGS+=	--with-pthreads
-CONFIGURE_ARGS+=	--enable-default-toolkit=cairo-gtk2
-CONFIGURE_ARGS+=	--enable-gstreamer=1.0
-#CONFIGURE_ARGS+=	--disable-gstreamer
-CONFIGURE_ARGS+=	--enable-svg
-CONFIGURE_ARGS+=	--enable-mathml
-CONFIGURE_ARGS+=	--enable-pango
-CONFIGURE_ARGS+=	--enable-system-cairo
-CONFIGURE_ARGS+=	--enable-system-pixman
-CONFIGURE_ARGS+=	--with-system-libvpx
-CONFIGURE_ARGS+=	--enable-system-hunspell
-CONFIGURE_ARGS+=	--enable-system-ffi
-CONFIGURE_ARGS+=	--with-system-icu
-CONFIGURE_ARGS+=	--with-system-nss
-CONFIGURE_ARGS+=	--with-system-nspr
-CONFIGURE_ARGS+=	--with-system-jpeg
-CONFIGURE_ARGS+=	--with-system-zlib
-CONFIGURE_ARGS+=	--with-system-bz2
-CONFIGURE_ARGS+=	--with-system-graphite2
-CONFIGURE_ARGS+=	--with-system-harfbuzz
-CONFIGURE_ARGS+=	--with-system-libevent=${BUILDLINK_PREFIX.libevent}
-#configure: error: System SQLite library is not compiled with SQLITE_ENABLE_DBSTAT_VTAB.
-#CONFIGURE_ARGS+=	--enable-system-sqlite
-CONFIGURE_ARGS+=	--disable-crashreporter
-CONFIGURE_ARGS+=	--disable-libnotify
-CONFIGURE_ARGS+=	--disable-necko-wifi
-CONFIGURE_ARGS+=	--enable-chrome-format=flat
-CONFIGURE_ARGS+=	--disable-libjpeg-turbo
-
-CONFIGURE_ARGS+=	--disable-elf-hack
-CONFIGURE_ARGS+=	--disable-elf-dynstr-gc
-CONFIGURE_ARGS+=	--disable-gconf
-CONFIGURE_ARGS+=	--enable-gio
-CONFIGURE_ARGS+=	--enable-extensions=gio
-CONFIGURE_ARGS+=	--disable-mochitest
-CONFIGURE_ARGS+=	--enable-canvas
-#CONFIGURE_ARGS+=	--enable-readline
-CONFIGURE_ARGS+=	--disable-installer
-CONFIGURE_ARGS+=	--enable-url-classifier
-#CONFIGURE_ARGS+=	--enable-startup-notification
-# Disabled from https://bugzilla.mozilla.org/show_bug.cgi?id=977400
-#CONFIGURE_ARGS+=	--enable-shared-js
-CONFIGURE_ARGS+=	--disable-icf
-CONFIGURE_ARGS+=	--disable-necko-wifi
-CONFIGURE_ARGS+=	--disable-updater
-
-SUBST_CLASSES+=			fix-paths
-SUBST_STAGE.fix-paths=		pre-configure
-SUBST_MESSAGE.fix-paths=	Fixing absolute paths.
-SUBST_FILES.fix-paths+=		${MOZILLA_DIR}xpcom/io/nsAppFileLocationProvider.cpp
-SUBST_SED.fix-paths+=		-e 's,/usr/lib/mozilla/plugins,${PREFIX}/lib/netscape/plugins,g'
-
-CONFIG_GUESS_OVERRIDE+=		${MOZILLA_DIR}build/autoconf/config.guess
-CONFIG_GUESS_OVERRIDE+=		${MOZILLA_DIR}js/src/build/autoconf/config.guess
-CONFIG_GUESS_OVERRIDE+=		${MOZILLA_DIR}nsprpub/build/autoconf/config.guess
-CONFIG_GUESS_OVERRIDE+=		${MOZILLA_DIR}/js/ctypes/libffi/config.guess
-CONFIG_SUB_OVERRIDE+=		${MOZILLA_DIR}build/autoconf/config.sub
-CONFIG_SUB_OVERRIDE+=		${MOZILLA_DIR}js/src/build/autoconf/config.sub
-CONFIG_SUB_OVERRIDE+=		${MOZILLA_DIR}nsprpub/build/autoconf/config.sub
-CONFIG_SUB_OVERRIDE+=		${MOZILLA_DIR}/js/ctypes/libffi/config.sub
-
-PYTHON_VERSIONS_ACCEPTED=	27
-PYTHON_FOR_BUILD_ONLY=		yes
-PYTHON_VERSIONS_INCOMPATIBLE=	33 34 35 # py-sqlite2
-.include "../../lang/python/application.mk"
-CONFIGURE_ENV+=		PYTHON=${PYTHONBIN:Q}
-
-#BUILD_MAKE_FLAGS+=		MOZ_WEBRTC_IN_LIBXUL=1
-
-# Build outside ${WRKSRC}
-# Try to avoid conflict with config/makefiles/xpidl/Makefile.in
-OBJDIR=			../build
-CONFIGURE_DIRS=		${OBJDIR}
-CONFIGURE_SCRIPT=	${WRKSRC}/configure
-
-PLIST_VARS+=	sps glskia throwwrapper mozglue
-
-.include "../../mk/endian.mk"
-.if ${MACHINE_ENDIAN} == "little"
-PLIST.glskia=	yes
-.endif
-
-.if ${MACHINE_ARCH} != "sparc64"
-# For some reasons the configure test for GCC bug 26905 still triggers on
-# sparc64, which makes mozilla skip the installation of a few wrapper headers.
-# Other archs end up with one additional file in the SDK headers
-PLIST.throwwrapper=	yes
-.endif
-
-.if !empty(MACHINE_PLATFORM:S/i386/x86/:MLinux-*-x86*)
-PLIST.sps=	yes
-.endif
-
-# See ${WRKSRC}/mozglue/build/moz.build: libmozglue is built and
-# installed as a shared library on these platforms.
-.if ${OPSYS} == "Cygwin" || ${OPSYS} == "Darwin" # or Android
-PLIST.mozglue=	yes
-.endif
-
-#
-# pysqlite2 is used by xulrunner's Python virtualenv.  If pysqlite2 isn't
-# installed at build time it will attempt to download it instead, so the
-# problem is stealthy in a networked environment, and obvious in an
-# offline environment.
-#
-BUILD_DEPENDS+=	${PYPKGPREFIX}-sqlite2-[0-9]*:../../databases/py-sqlite2
-
-# Makefiles sometimes call "rm -f" without more arguments. Kludge around ...
-.PHONY: create-rm-wrapper
-pre-configure: create-rm-wrapper
-create-rm-wrapper:
-	printf '#!/bin/sh\n[ "$$*" = "-f" ] && exit 0\nexec /bin/rm $$@\n' > \
-	  ${WRAPPER_DIR}/bin/rm
-	chmod +x ${WRAPPER_DIR}/bin/rm
-
-.include "../../mk/bsd.prefs.mk"
-
-.if ${OPSYS} == "NetBSD"
-# The configure test for __thread succeeds, but later we end up with:
-# dist/bin/libxul.so: undefined reference to `__tls_get_addr'
-CONFIGURE_ENV+=	ac_cv_thread_keyword=no
-.endif
-
-.if ${OPSYS} == "SunOS"
-# native libbz2.so hides BZ2_crc32Table
-PREFER.bzip2?=	pkgsrc
-.endif
-
-.if ${OPSYS} == "OpenBSD"
-PLIST_SUBST+=	DLL_SUFFIX=".so.1.0"
-.elif ${OPSYS} == "Darwin"
-PLIST_SUBST+=	DLL_SUFFIX=".dylib"
-.else
-PLIST_SUBST+=	DLL_SUFFIX=".so"
-.endif
-
-.include "../../archivers/bzip2/buildlink3.mk"
-#BUILDLINK_API_DEPENDS.sqlite3+=	sqlite3>=3.8.8.2
-#CONFIGURE_ENV+=	ac_cv_sqlite_secure_delete=yes	# c.f. patches/patch-al
-#.include "../../databases/sqlite3/buildlink3.mk"
-BUILDLINK_API_DEPENDS.libevent+=	libevent>=1.1
-.include "../../devel/libevent/buildlink3.mk"
-.include "../../devel/libffi/buildlink3.mk"
-.include "../../wip/nspr-hg/buildlink3.mk"
-.include "../../textproc/icu/buildlink3.mk"
-.include "../../wip/nss-hg/buildlink3.mk"
-.include "../../devel/zlib/buildlink3.mk"
-.include "../../mk/jpeg.buildlink3.mk"
-.include "../../graphics/MesaLib/buildlink3.mk"
-BUILDLINK_API_DEPENDS.cairo+=	cairo>=1.10.2nb4
-.include "../../graphics/cairo/buildlink3.mk"
-.include "../../graphics/graphite2/buildlink3.mk"
-BUILDLINK_API_DEPENDS.libvpx+=	libvpx>=1.3.0
-.include "../../multimedia/libvpx/buildlink3.mk"
-.include "../../net/libIDL/buildlink3.mk"
-.include "../../textproc/hunspell/buildlink3.mk"
-BUILDLINK_API_DEPENDS.gtk2+=	gtk2+>=2.18.3nb1
-.include "../../x11/gtk2/buildlink3.mk"
-.include "../../multimedia/gstreamer1/buildlink3.mk"
-.include "../../multimedia/gst-plugins1-base/buildlink3.mk"
-.include "../../x11/libXt/buildlink3.mk"
-BUILDLINK_API_DEPENDS.pixman+= pixman>=0.25.2
-.include "../../x11/pixman/buildlink3.mk"
diff --git a/firefox45-hg/options.mk b/firefox45-hg/options.mk
deleted file mode 100644
index 8caefef..0000000
--- a/firefox45-hg/options.mk
+++ /dev/null
@@ -1,95 +0,0 @@
-# $NetBSD: options.mk,v 1.2 2015/02/07 09:43:30 thomasklausner Exp $
-
-PKG_OPTIONS_VAR=	PKG_OPTIONS.firefox
-PKG_SUPPORTED_OPTIONS=	official-mozilla-branding
-PKG_SUPPORTED_OPTIONS+=	alsa debug debug-info mozilla-jemalloc gnome pulseaudio webrtc
-
-PLIST_SRC+=	PLIST
-
-.if ${OPSYS} == "Linux"
-PKG_SUGGESTED_OPTIONS+=	alsa mozilla-jemalloc
-.else
-PKG_SUGGESTED_OPTIONS+= pulseaudio
-.endif
-
-# On NetBSD/amd64 6.99.21 libxul.so is invalid when --enable-webrtc is set.
-.if ${OPSYS} == "Linux"
-PKG_SUGGESTED_OPTIONS+=	webrtc
-.endif
-
-.include "../../mk/bsd.options.mk"
-
-.if !empty(PKG_OPTIONS:Malsa)
-CONFIGURE_ARGS+=	--enable-alsa
-.include "../../audio/alsa-lib/buildlink3.mk"
-.else
-CONFIGURE_ARGS+=	--disable-alsa
-.endif
-
-.if !empty(PKG_OPTIONS:Mgnome)
-.include "../../devel/libgnomeui/buildlink3.mk"
-.include "../../sysutils/gnome-vfs/buildlink3.mk"
-.include "../../sysutils/libnotify/buildlink3.mk"
-CONFIGURE_ARGS+=	--enable-gnomevfs --enable-dbus --enable-gnomeui
-CONFIGURE_ARGS+=	--enable-libnotify
-CONFIGURE_ARGS+=	--enable-extensions=gnomevfs
-PLIST_SRC+=		PLIST.gnome
-.else
-CONFIGURE_ARGS+=	--disable-gnomevfs --disable-dbus --disable-gnomeui
-CONFIGURE_ARGS+=	--disable-libnotify
-.endif
-
-.if !empty(PKG_OPTIONS:Mmozilla-jemalloc)
-CONFIGURE_ARGS+=	--enable-jemalloc
-.else
-CONFIGURE_ARGS+=	--disable-jemalloc
-.endif
-
-.include "../../mk/compiler.mk"
-.if !empty(PKGSRC_COMPILER:Mgcc)
-.if ${CC_VERSION:S/gcc-//:S/.//g} >= 480
-# Modern gcc does not run any "tracking" passes when compiling with -O0,
-# which makes the generated debug info mostly useless. So explicitly
-# request them.
-O0TRACKING=-fvar-tracking-assignments -fvar-tracking
-.endif
-.endif
-
-.if !empty(PKG_OPTIONS:Mdebug)
-CONFIGURE_ARGS+=	--enable-debug="-g -O0 ${O0TRACKING}" --enable-debug-symbols --disable-optimize
-CONFIGURE_ARGS+=	--disable-install-strip
-.else
-.if !empty(PKG_OPTIONS:Mdebug-info)
-CONFIGURE_ARGS+=	--enable-debug-symbols
-.else
-CONFIGURE_ARGS+=	--disable-debug-symbols
-.endif
-CONFIGURE_ARGS+=	--disable-debug
-CONFIGURE_ARGS+=	--enable-optimize=-O2
-CONFIGURE_ARGS+=	--enable-install-strip
-.endif
-
-.if !empty(PKG_OPTIONS:Mpulseaudio)
-.include "../../audio/pulseaudio/buildlink3.mk"
-CONFIGURE_ARGS+=	--enable-pulseaudio
-.else
-CONFIGURE_ARGS+=	--disable-pulseaudio
-.endif
-# XXX end
-
-.if !empty(PKG_OPTIONS:Mofficial-mozilla-branding)
-CONFIGURE_ARGS+=	--enable-official-branding
-LICENSE=		mozilla-trademark-license
-RESTRICTED=		Trademark holder prohibits distribution of modified versions.
-NO_BIN_ON_CDROM=	${RESTRICTED}
-NO_BIN_ON_FTP=		${RESTRICTED}
-.else
-PLIST_SRC+=		PLIST.nobranding
-.endif
-
-.if !empty(PKG_OPTIONS:Mwebrtc)
-.include "../../graphics/libv4l/buildlink3.mk"
-CONFIGURE_ARGS+=	--enable-webrtc
-.else
-CONFIGURE_ARGS+=	--disable-webrtc
-.endif
diff --git a/firefox45-hg/xpi.mk b/firefox45-hg/xpi.mk
deleted file mode 100644
index d883c89..0000000
--- a/firefox45-hg/xpi.mk
+++ /dev/null
@@ -1,25 +0,0 @@
-# $NetBSD: xpi.mk,v 1.1 2014/09/29 10:46:23 thomasklausner Exp $
-#
-# common logic for repackaging mozilla extensions (.xpi files)
-# Used by the {firefox,seamonkey,thunderbird}-l10n packages.
-
-USE_TOOLS+=	unzip pax
-
-post-extract: extract-xpi
-
-.PHONY: extract-xpi
-extract-xpi:
-.for f in ${XPI_FILES}
-	${RUN} ${MKDIR} ${WRKDIR}/${f:S/.xpi//} && cd ${WRKDIR}/${f:S/.xpi//} && ${UNZIP_CMD} -aqo "${WRKDIR}/${f}"
-.endfor
-
-do-install: install-xpi
-
-.PHONY: install-xpi
-install-xpi:
-.for f in ${XPI_FILES}
-	id=$$(${AWK} '/em:id=/ {sub("^.*em:id=\"", "");sub("\".*$$","");print $$0}' < ${WRKDIR}/${f:S/.xpi//}/install.rdf);	\
-	  ${MKDIR} ${DESTDIR}${EXTENSIONS_DIR}/$${id} && \
-	  cd ${WRKDIR}/${f:S/.xpi//} &&		\
-	  pax -rw . ${DESTDIR}${EXTENSIONS_DIR}/$${id}
-.endfor


Home | Main Index | Thread Index | Old Index