NetSurf: update to 3.6 (and all dependencies)

Fixes many bugs, runs even faster, render more pages properly.
This commit is contained in:
Adrien Destugues
2016-12-21 22:19:54 +01:00
parent 1592a02862
commit 75cdba91bb
27 changed files with 112 additions and 1286 deletions

View File

@@ -1,60 +0,0 @@
SUMMARY="An implementation of SVG Tiny written in C"
DESCRIPTION="The overall idea of the library is to take some SVG as input, \
and return a list of paths and texts which can be rendered easily. The \
library does not do the actual rendering."
HOMEPAGE="http://www.netsurf-browser.org/projects/libsvgtiny"
COPYRIGHT="2003-2014 The NetSurf Developers"
LICENSE="MIT"
REVISION="1"
SOURCE_URI="http://download.netsurf-browser.org/libs/releases/libsvgtiny-$portVersion-src.tar.gz"
CHECKSUM_SHA256="0835de639ae0266c394824fa78dc210013c5eeddef222d8b6485edb7fe0ddcd6"
PATCHES="libsvgtiny-$portVersion.patchset"
ARCHITECTURES="x86_gcc2 x86 x86_64"
PROVIDES="
libsvgtiny = $portVersion
"
REQUIRES="
haiku
"
PROVIDES_devel="
libsvgtiny_devel = $portVersion
devel:libsvgtiny = $portVersion
"
REQUIRES_devel="
libsvgtiny$secondaryArchSuffix == $portVersion base
"
BUILD_REQUIRES="
haiku_devel
devel:libwapcaplet
devel:libdom
"
BUILD_PREREQUIRES="
netsurf_buildsystem
cmd:gcc
cmd:gperf
cmd:make
cmd:pkg_config
"
BUILD()
{
make PREFIX=$prefix NSSHARED=/system/data/netsurf-buildsystem \
INCLUDEDIR=$relativeIncludeDir
}
INSTALL()
{
make PREFIX=$prefix NSSHARED=/system/data/netsurf-buildsystem \
INCLUDEDIR=$relativeIncludeDir install
prepareInstalledDevelLib libsvgtiny
fixPkgconfig
# devel package
packageEntries devel \
$developDir
}

View File

@@ -1,61 +0,0 @@
SUMMARY="An implementation of SVG Tiny written in C"
DESCRIPTION="The overall idea of the library is to take some SVG as input, \
and return a list of paths and texts which can be rendered easily. The \
library does not do the actual rendering."
HOMEPAGE="http://www.netsurf-browser.org/projects/libsvgtiny"
COPYRIGHT="2003-2014 The NetSurf Developers"
LICENSE="MIT"
REVISION="1"
SOURCE_URI="http://download.netsurf-browser.org/libs/releases/libsvgtiny-$portVersion-src.tar.gz"
CHECKSUM_SHA256="a5ad4ba467e2ba10ac13fb881937655c5d0ef8e9582ede6a2c73447c87d06e90"
PATCHES="libsvgtiny-0.1.1.patchset"
ARCHITECTURES="x86_gcc2 x86 x86_64"
PROVIDES="
libsvgtiny = $portVersion
"
REQUIRES="
haiku
"
PROVIDES_devel="
libsvgtiny_devel = $portVersion
devel:libsvgtiny = $portVersion
"
REQUIRES_devel="
libsvgtiny$secondaryArchSuffix == $portVersion base
"
BUILD_REQUIRES="
haiku_devel
devel:libwapcaplet
devel:libdom
devel:libhubbub
devel:libparserutils
"
BUILD_PREREQUIRES="
netsurf_buildsystem
cmd:gcc
cmd:gperf
cmd:make
cmd:pkg_config
"
BUILD()
{
make PREFIX=$prefix NSSHARED=/system/data/netsurf-buildsystem \
INCLUDEDIR=$relativeIncludeDir
}
INSTALL()
{
make PREFIX=$prefix NSSHARED=/system/data/netsurf-buildsystem \
INCLUDEDIR=$relativeIncludeDir install
prepareInstalledDevelLib libsvgtiny
fixPkgconfig
# devel package
packageEntries devel $developDir
}

View File

@@ -3,12 +3,11 @@ DESCRIPTION="The overall idea of the library is to take some SVG as input, \
and return a list of paths and texts which can be rendered easily. The \
library does not do the actual rendering."
HOMEPAGE="http://www.netsurf-browser.org/projects/libsvgtiny"
COPYRIGHT="2003-2014 The NetSurf Developers"
COPYRIGHT="2003-2016 The NetSurf Developers"
LICENSE="MIT"
REVISION="2"
REVISION="1"
SOURCE_URI="http://download.netsurf-browser.org/libs/releases/libsvgtiny-$portVersion-src.tar.gz"
CHECKSUM_SHA256="cbdc024743a56ccacbfa6d6bbce135ab6d701d38609f4a1ac56c2842457e5dff"
PATCHES="libsvgtiny-0.1.1.patchset"
CHECKSUM_SHA256="0ab9b13132b82596e0956daf4235fbcb1193433f84272d30255fe9d0d352b070"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86"

View File

@@ -1,35 +0,0 @@
From 9dd8bfc5652cfa089bc2381385631818cb09453f Mon Sep 17 00:00:00 2001
From: Adrien Destugues <pulkomandy@pulkomandy.tk>
Date: Mon, 9 Jun 2014 20:32:12 +0200
Subject: Fix paths for Haiku.
diff --git a/Makefile b/Makefile
index 392d9da..6925cab 100644
--- a/Makefile
+++ b/Makefile
@@ -45,7 +45,7 @@ endif
include $(NSBUILD)/Makefile.top
# Extra installation rules
-I := /include
+I := /$(INCLUDEDIR)
INSTALL_ITEMS := $(INSTALL_ITEMS) $(I):include/svgtiny.h
INSTALL_ITEMS := $(INSTALL_ITEMS) /$(LIBDIR)/pkgconfig:lib$(COMPONENT).pc.in
INSTALL_ITEMS := $(INSTALL_ITEMS) /$(LIBDIR):$(OUTPUT)
diff --git a/libsvgtiny.pc.in b/libsvgtiny.pc.in
index a3021f6..c9ca402 100644
--- a/libsvgtiny.pc.in
+++ b/libsvgtiny.pc.in
@@ -1,7 +1,7 @@
prefix=PREFIX
exec_prefix=${prefix}
libdir=${exec_prefix}/LIBDIR
-includedir=${prefix}/include
+includedir=${prefix}/INCLUDEDIR
Name: libsvgtiny
Description: SVG Tiny 1.1 rendering library
--
1.8.3.4