Merged in tgkokk/haikuports/tgkokk_bezilla (pull request #328)

Add Bezilla port
This commit is contained in:
Adrien Destugues
2014-12-13 21:16:16 +01:00
2 changed files with 103 additions and 0 deletions

View File

@@ -0,0 +1,72 @@
SUMMARY="Bezilla is a version of Firefox 2 for Haiku"
DESCRIPTION="Bezilla is an open source web browser. \
It achieves balance between ease of use and customization, catering to the \
needs of both casual and power users."
HOMEPAGE="https://github.com/mmadia/bezilla"
SRC_URI="git+https://github.com/mmadia/bezilla.git#686254"
REVISION="1"
LICENSE="MPL v1.1"
COPYRIGHT="1998-1999 Netscape Communications Corporation"
ARCHITECTURES="x86_gcc2 x86 ?arm"
SECONDARY_ARCHITECTURES="x86_gcc2 x86 ?arm"
PROVIDES="
bezilla$secondaryArchSuffix = $portVersion
app:Bezilla$secondaryArchSuffix = $portVersion
cmd:Bezilla_config$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion
"
BUILD_REQUIRES="
devel:libidl$secondaryArchSuffix
devel:libglib$secondaryArchSuffix
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
cmd:gcc$secondaryArchSuffix
cmd:make
cmd:m4
cmd:gawk
cmd:perl
cmd:xargs
cmd:tar
cmd:autoconf_2.13$secondaryArchSuffix
"
PATCHES="bezilla-git.patchset"
BUILD()
{
cd mozilla
autoconf-2.13
cd nsprpub
autoconf-2.13
cd ..
cd directory/c-sdk
autoconf-2.13
cd ../..
runConfigure --omit-dirs 'docDir dataRootDir' ./configure \
--enable-application=browser --disable-canvas \
--disable-svg --disable-updater
make
}
INSTALL()
{
cd mozilla
make install
mkdir $appsDir
mv $binDir/firefox $appsDir/Bezilla
mv $libDir/firefox-2.0.0.22pre/firefox-bin $libDir/firefox-2.0.0.22pre/Bezilla-bin
mv $binDir/firefox-config $binDir/Bezilla-config
}

View File

@@ -0,0 +1,31 @@
From 7b84740f39ed0292e8f726705590ba24581c2c52 Mon Sep 17 00:00:00 2001
From: Theodore Kokkoris <t.kokkoris@gmail.com>
Date: Fri, 12 Dec 2014 13:45:46 +0200
Subject: [PATCH] Enable Haiku support in configure.in
---
mozilla/configure.in | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/mozilla/configure.in b/mozilla/configure.in
index 23cc7e7..9bd8cb5 100755
--- a/mozilla/configure.in
+++ b/mozilla/configure.in
@@ -885,12 +885,8 @@ if test -n "$CROSS_COMPILE"; then
mingw*) OS_ARCH=WINNT ;;
wince*) OS_ARCH=WINCE ;;
darwin*) OS_ARCH=Darwin OS_TARGET=Darwin ;;
- beos* | haiku*) OS_ARCH=BeOS OS_TARGET=BeOS ;;
-dnl -------------------------------------------------------
-dnl Cross-compiling-haiku - This should probably be
-dnl beos*) OS_ARCH=BeOS OS_TARGET=BeOS ;;
-dnl haiku*) OS_ARCH=Haiku OS_TARGET=Haiku ;;
-dnl -------------------------------------------------------
+ beos*) OS_ARCH=BeOS OS_TARGET=BeOS ;;
+ haiku*) OS_ARCH=Haiku OS_TARGET=Haiku ;;
esac
else
OS_TARGET=`uname -s`
--
1.8.3.4