netsurf: new package
PATCH v5 1/1 netsurf: new package
--- DEVELOPERS | 1 + package/Config.in | 1 + .../0001-avoid-system-perl-dependencies.patch | 29 ++++++++ package/netsurf/Config.in | 42 ++++++++++++ package/netsurf/netsurf.hash | 3 + package/netsurf/netsurf.mk | 67 +++++++++++++++++++ 6 files changed, 143 insertions(+) create mode 100644 package/netsurf/0001-avoid-system-perl-dependencies.patch create mode 100644 package/netsurf/Config.in create mode 100644 package/netsurf/netsurf.hash create mode 100644 package/netsurf/netsurf.mk
DEVELOPERS +1 -0
@@ -821,6 +821,7 @@ F: package/lua* F: package/lunit/ F: package/lzlib/ F: package/moarvm/ +F: package/netsurf/ F: package/perl* F: package/pkg-perl.mk F: package/pkg-luarocks.mk
package/Config.in +1 -0
@@ -267,6 +267,7 @@ comment "Graphic applications" source "package/kmscube/Config.in" source "package/libva-utils/Config.in" source "package/mesa3d-demos/Config.in" + source "package/netsurf/Config.in" source "package/pngquant/Config.in" source "package/qt5cinex/Config.in" source "package/rrdtool/Config.in"
package/netsurf/0001-avoid-system-perl-dependencies.patch new file +29 -0
@@ -0,0 +1,29 @@ +From b42e4b5bfca030965dcfca993a47a6ddaa941287 Mon Sep 17 00:00:00 2001 +From: Francois Perrad <[email protected]> +Date: Sun, 25 Nov 2018 18:27:54 +0100 +Subject: [PATCH] avoid system perl dependencies + +this subroutine format is used for android target. +with eval the load of HTML::Entities is deferred. + +Signed-off-by: Francois Perrad <[email protected]> +--- + netsurf/utils/split-messages.pl | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/netsurf/utils/split-messages.pl b/netsurf/utils/split-messages.pl +index 4b50dde..e47dded 100644 +--- a/netsurf/utils/split-messages.pl ++++ b/netsurf/utils/split-messages.pl +@@ -311,7 +311,7 @@ TXT + sub footer { qq|</resources>| } + sub format + { +- use HTML::Entities qw(encode_entities); ++ eval q|use HTML::Entities qw(encode_entities);|; + my $escaped = encode_entities( $_[1], '<>&"' ); + qq| <string name="$_[0]">$escaped</string>\n|; + } +-- +2.17.1 +
package/netsurf/Config.in new file +42 -0
42 lines not on this page · raw message
package/netsurf/netsurf.hash new file +3 -0
@@ -0,0 +1,3 @@ +# Locally computed +sha256 eb4864d4459d6f9958dd10a3301c272ea7f5df72667a7db0aad5bc5ae06c0e10 netsurf-all-3.8.tar.gz +sha256 55c4a7ae3953d720a462e69d1f128a20004933d12538be5314a33f8821675378 netsurf/COPYING
package/netsurf/netsurf.mk new file +67 -0
67 lines not on this page · raw message
Signature · 1 line
2.17.1
Thomas Petazzoni
AppliedPATCH v5 1/1 netsurf: new package
Hello,
Quoted 13 lines · Francois Perrad
Signed-off-by Francois Perrad <[email protected]>--- DEVELOPERS | 1 + package/Config.in | 1 + .../0001-avoid-system-perl-dependencies.patch | 29 ++++++++ package/netsurf/Config.in | 42 ++++++++++++ package/netsurf/netsurf.hash | 3 + package/netsurf/netsurf.mk | 67 +++++++++++++++++++ 6 files changed, 143 insertions(+) create mode 100644 package/netsurf/0001-avoid-system-perl-dependencies.patch create mode 100644 package/netsurf/Config.in create mode 100644 package/netsurf/netsurf.hash create mode 100644 package/netsurf/netsurf.mk
Applied to master with the following changes:
[Thomas:
- rename BR2_PACKAGE_NETSURF_FRAMEBUFFER to BR2_PACKAGE_NETSURF_SDL, and use "sdl" everywhere instead of "framebuffer", since really SDL can display on something else than the framebuffer
- use a "depends on BR2_PACKAGE_LIBGTK2" instead of a "depends on BR2_PACKAGE_XORG7 + many other depends on + select BR2_PACKAGE_LIBGTK2"
- use PKG_CONFIG_HOST_BINARY for the pkg-config path]
Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
PATCH v5 1/1 netsurf: new package
In reply to Francois PerradHello Fran?ois,
Quoted 13 lines · Francois Perrad
Signed-off-by Francois Perrad <[email protected]>--- DEVELOPERS | 1 + package/Config.in | 1 + .../0001-avoid-system-perl-dependencies.patch | 29 ++++++++ package/netsurf/Config.in | 42 ++++++++++++ package/netsurf/netsurf.hash | 3 + package/netsurf/netsurf.mk | 67 +++++++++++++++++++ 6 files changed, 143 insertions(+) create mode 100644 package/netsurf/0001-avoid-system-perl-dependencies.patch create mode 100644 package/netsurf/Config.in create mode 100644 package/netsurf/netsurf.hash create mode 100644 package/netsurf/netsurf.mk
A few build failures have popped up:
http://autobuild.buildroot.net/?reason=netsurf-3.8
Best regards,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com