Netsurf browser 2.1
PATCH 1/1 Netsurf browser 2.1
Today (well, yesterday) Netsurf 2.1 has been released, so I guess it's the right time to submit this work for review. Recipes were tested for compilation with Angstrom distro and then compiled netsurf 2.1 binary was tested on hx4700 (previous version 2.0 was tested also on h2200 - although usage on QVGA have some problems, it's not impossible)
Here's obligatory screenshots:
http://mad.is-a-geek.org/netsurf/
Dmitry Artamonow (6):
checksums.ini: add checksums for netsurf-2.1 and related libs
libnsbmp: add recipe for version 0.0.1
libnsgif: add recipe for version 0.0.1
libparserutils: add recipe for version 0.0.1
hubbub: add recipe for version 0.0.1
netsurf: add recipe for version 2.1
conf/checksums.ini | 20 +++++++ recipes/netsurf/hubbub_0.0.1.bb | 28 ++++++++++ recipes/netsurf/libnsbmp_0.0.1.bb | 24 +++++++++ recipes/netsurf/libnsgif_0.0.1.bb | 24 +++++++++ recipes/netsurf/libparserutils_0.0.1.bb | 36 +++++++++++++ recipes/netsurf/netsurf-2.1/Makefile.config | 9 +++ recipes/netsurf/netsurf-2.1/debugxml_fix.patch | 64 ++++++++++++++++++++++++ recipes/netsurf/netsurf-2.1/fix_makefile.patch | 12 +++++ recipes/netsurf/netsurf-2.1/netsurf.desktop | 10 ++++ recipes/netsurf/netsurf-2.1/netsurf.png | Bin 0 -> 9329 bytes recipes/netsurf/netsurf_2.1.bb | 32 ++++++++++++ 11 files changed, 259 insertions(+), 0 deletions(-) create mode 100644 recipes/netsurf/hubbub_0.0.1.bb create mode 100644 recipes/netsurf/libnsbmp_0.0.1.bb create mode 100644 recipes/netsurf/libnsgif_0.0.1.bb create mode 100644 recipes/netsurf/libparserutils_0.0.1.bb create mode 100644 recipes/netsurf/netsurf-2.1/Makefile.config create mode 100644 recipes/netsurf/netsurf-2.1/debugxml_fix.patch create mode 100644 recipes/netsurf/netsurf-2.1/fix_makefile.patch create mode 100644 recipes/netsurf/netsurf-2.1/netsurf.desktop create mode 100644 recipes/netsurf/netsurf-2.1/netsurf.png create mode 100644 recipes/netsurf/netsurf_2.1.bb
PATCH 1/1 checksums.ini: add checksums for netsurf-2.1 and related libs
Full list:
* netsurf-2.1
* hubbub-0.0.1
* libparserutils-0.0.1
* libnsbmp-0.0.1
* libnsgif-0.0.1
--- conf/checksums.ini | 20 ++++++++++++++++++++ 1 files changed, 20 insertions(+), 0 deletions(-)
conf/checksums.ini +20 -0
@@ -10574,6 +10574,10 @@ sha256=bedfd45364948a08ecaa212c5eda6667a83ac8bb547e2eb8478ade885898cad7 md5=f720686c841e9fefc06db76458fd9908 sha256=1f8259a3a8ae583170816f5028329f3a7157f87f927da9c0a911a5fb9be263a1 +[http://www.netsurf-browser.org/projects/releases/hubbub-0.0.1-src.tar.gz] +md5=58c6e2b5a5906f3f0bf136c0c71b5403 +sha256=3ba0bdf71376429bb3ce8ae51595fc25e6a5147cdcc26e47b6da17386eb78cdf + [http://cvs.haskell.org/Hugs/downloads/Nov2003/hugs98-Nov2003.tar.gz] md5=e80a6739ead9a260087fe4d3fc6a8359 sha256=9f90613de73e1b8e90d9bbcb09046e83680f15a46fc630c3e26e9aa4ca0e6a1d
@@ -13806,6 +13810,14 @@ sha256=15b0492ac252f6e8ce57c106bda0722413196d16d198c97f20a05908d1b977af md5=ba76f68b7e3bd284ac2c2a1b9c5ecb06 sha256=2389a9b8220f776033f728a8d46352cfee5c8705066e34887bfb188f9f0d3856 +[http://www.netsurf-browser.org/projects/releases/libnsbmp-0.0.1-src.tar.gz] +md5=61e1e5703580c1bc7d950a1aacea7bad +sha256=424d12aae7a6ea8c90438cf4ccff486dc01a3a2a7b68eb602ee2b8c28178b6d1 + +[http://www.netsurf-browser.org/projects/releases/libnsgif-0.0.1-src.tar.gz] +md5=a547da766fccacd00fd05190baf644da +sha256=54f316f530caaacd55dc23f546537759382a45ac6378ead249b5a5d51cf4db52 + [http://www2.autistici.org/bakunin/libnxml/libnxml-0.16.tar.gz] md5=85b6a42a9e17a23c01b2f2ed0ece0563 sha256=6154872089834b0ffd34e92612d07e2d1ccec572698bd861da752eeeaab7ca78
@@ -14018,6 +14030,10 @@ sha256=7a61e8b686ae7d659835175018da3a1baa959329b77c18e6e9381a197937296f md5=7075f580606a84e63b7d6d9fa3124c31 sha256=7ff5f355bb254a3d4ed4541377e6304432ee8678e7c9ec29e7d43488903004c9 +[http://www.netsurf-browser.org/projects/releases/libparserutils-0.0.1-src.tar.gz] +md5=5999c2d52f8c07eeef2a8808fee4f858 +sha256=5aed4edfd2023ed3ccd566fe76131d10faf43c8c3efa2e90978eed37c5503165 + [http://www.at.tcpdump.org/release/libpcap-0.9.3.tar.gz] md5=0ad921c881fdd3d278046afcd352a151 sha256=f20d19b1f32e4ee465169ff1e17a3755bfda8c697cfed11fe36cbf6959c80441
@@ -17258,6 +17274,10 @@ sha256=844ba97e745a0b9f37afc7daa323cafcef00108cd0254667da0a00558eb323a7 md5=36f7b3120e00c9c74cb6619334de419f sha256=6eed89b661ae9f2ac0d383414ca964abea8a115f8fba0f7ab37b49b565ffb2a8 +[http://www.netsurf-browser.org/downloads/releases/netsurf-2.1-src.tar.gz] +md5=f0a34fd076b492c1a13b45432e8d7e49 +sha256=cda2cf41c852938c226c47c2b995d527387120141f68b416ea745e50a7165a81 + [http://ftp.gnome.org/pub/GNOME/sources/network-manager-applet/0.6/network-manager-applet-0.6.5.tar.bz2] md5=1c94a41e2399d261985a75f0cd3b895b sha256=9cca3e34e23f00c82bc5e7237aa81639874e90d43a689e26fbfd938279ca31c9
Signature · 1 line
1.6.0.6
PATCH 1/1 libnsbmp: add recipe for version 0.0.1
libnsbmp is BMP and ICO decoding library.
Currently only Netsurf browser is using it, so we build just static library.
--- recipes/netsurf/libnsbmp_0.0.1.bb | 24 ++++++++++++++++++++++++ 1 files changed, 24 insertions(+), 0 deletions(-) create mode 100644 recipes/netsurf/libnsbmp_0.0.1.bb
recipes/netsurf/libnsbmp_0.0.1.bb new file +24 -0
@@ -0,0 +1,24 @@ +DESCRIPTION = "Libnsbmp is a decoding library for the BMP and ICO image file formats" +HOMEPAGE = "http://www.netsurf-browser.org/projects/libnsbmp/" +SECTION = "libs" +PRIORITY = "optional" +LICENSE = "MIT" + +SRC_URI = "http://www.netsurf-browser.org/projects/releases/libnsbmp-${PV}-src.tar.gz" + +inherit pkgconfig + +EXTRA_OEMAKE = "CURDIR=${S} DESTDIR=${D} PREFIX=${prefix} BUILDDIR=build-OE" + +# NOTE: we're using default buildmode here, which results in building only +# static libraries (.a) Not a problem as libnsbmp is only used by Netsurf +# at the moment + +do_stage() { + oe_libinstall -a -C build-OE/ libnsbmp ${STAGING_LIBDIR} + install -m 0644 include/*.h ${STAGING_INCDIR}/ +} + +do_install() { + oe_runmake install +}
Signature · 1 line
1.6.0.6
PATCH 1/1 libnsgif: add recipe for version 0.0.1
libnsgif is GIF decoding library.
Currently only Netsurf browser is using it, so we build just static library.
--- recipes/netsurf/libnsgif_0.0.1.bb | 24 ++++++++++++++++++++++++ 1 files changed, 24 insertions(+), 0 deletions(-) create mode 100644 recipes/netsurf/libnsgif_0.0.1.bb
recipes/netsurf/libnsgif_0.0.1.bb new file +24 -0
@@ -0,0 +1,24 @@ +DESCRIPTION = "Libnsgif is a decoding library for the GIF image file format" +HOMEPAGE = "http://www.netsurf-browser.org/projects/libnsgif/" +SECTION = "libs" +PRIORITY = "optional" +LICENSE = "MIT" + +SRC_URI = "http://www.netsurf-browser.org/projects/releases/libnsgif-${PV}-src.tar.gz" + +inherit pkgconfig + +EXTRA_OEMAKE = "CURDIR=${S} DESTDIR=${D} PREFIX=${prefix} BUILDDIR=build-OE" + +# NOTE: we're using default buildmode here, which results in building only +# static libraries (.a) Not a problem as libnsbmp is only used by Netsurf +# at the moment + +do_stage() { + oe_libinstall -a -C build-OE/ libnsgif ${STAGING_LIBDIR} + install -m 0644 include/*.h ${STAGING_INCDIR}/ +} + +do_install() { + oe_runmake install +}
Signature · 1 line
1.6.0.6
PATCH 1/1 libparserutils: add recipe for version 0.0.1
LibParserUtils is a library for building efficient parsers. Currently only Netsurf browser is using it (via hubbub), so we build just static library.
Please note that this build doesn't use external iconv(), so only few built-in charsets are supported (UTF-8/16, windows-125x, iso-8859-*) We may revisit this later, if there's a need.
--- recipes/netsurf/libparserutils_0.0.1.bb | 36 +++++++++++++++++++++++++++++++ 1 files changed, 36 insertions(+), 0 deletions(-) create mode 100644 recipes/netsurf/libparserutils_0.0.1.bb
recipes/netsurf/libparserutils_0.0.1.bb new file +36 -0
@@ -0,0 +1,36 @@ +DESCRIPTION = "LibParserUtils is a library for building efficient parsers" +HOMEPAGE = "http://www.netsurf-browser.org/projects/libparserutils/" +SECTION = "libs" +PRIORITY = "optional" +LICENSE = "MIT" + +SRC_URI = "http://www.netsurf-browser.org/projects/releases/libparserutils-${PV}-src.tar.gz" + +inherit pkgconfig + +EXTRA_OEMAKE = "CURDIR=${S} DESTDIR=${D} PREFIX=${prefix} BUILDDIR=build-OE" + +# NOTE: we're using default buildmode here, which results in building only +# static libraries (.a) Not a problem as libparserutils is only used by Netsurf +# at the moment + +do_stage () { + oe_libinstall -a -C build-OE/ libparserutils ${STAGING_LIBDIR} + + install -d ${STAGING_INCDIR}/parserutils + install -d ${STAGING_INCDIR}/parserutils/charset + install -d ${STAGING_INCDIR}/parserutils/input + install -d ${STAGING_INCDIR}/parserutils/utils + install -m 0644 include/parserutils/*.h ${STAGING_INCDIR}/parserutils + install -m 0644 include/parserutils/charset/*.h \ + ${STAGING_INCDIR}/parserutils/charset + install -m 0644 include/parserutils/input/*.h \ + ${STAGING_INCDIR}/parserutils/input + install -m 0644 include/parserutils/utils/*.h \ + ${STAGING_INCDIR}/parserutils/utils +} + + +do_install() { + oe_runmake install +}
Signature · 1 line
1.6.0.6
PATCH 1/1 hubbub: add recipe for version 0.0.1
Hubbub is an HTML5 compliant parsing library, written in C. Currently only Netsurf browser is using it, so we build just static library.
--- recipes/netsurf/hubbub_0.0.1.bb | 28 ++++++++++++++++++++++++++++ 1 files changed, 28 insertions(+), 0 deletions(-) create mode 100644 recipes/netsurf/hubbub_0.0.1.bb
recipes/netsurf/hubbub_0.0.1.bb new file +28 -0
@@ -0,0 +1,28 @@ +DESCRIPTION = "Hubbub is an HTML5 compliant parsing library" +HOMEPAGE = "http://www.netsurf-browser.org/projects/hubbub/" +SECTION = "libs" +PRIORITY = "optional" +LICENSE = "MIT" +DEPENDS = "libparserutils" + +SRC_URI = "http://www.netsurf-browser.org/projects/releases/hubbub-${PV}-src.tar.gz" + +inherit pkgconfig + +EXTRA_OEMAKE = "CURDIR=${S} DESTDIR=${D} PREFIX=${prefix} BUILDDIR=build-OE" + +# NOTE: we're using default buildmode here, which results in building only +# static libraries (.a) Not a problem as hubbub is only used by Netsurf +# at the moment + +do_stage() { + oe_libinstall -a -C build-OE/ libhubbub ${STAGING_LIBDIR} + + install -d ${STAGING_INCDIR}/hubbub + install -m 0644 include/hubbub/*.h ${STAGING_INCDIR}/hubbub +} + + +do_install() { + oe_runmake install +}
Signature · 1 line
1.6.0.6
PATCH 1/1 netsurf: add recipe for version 2.1
It's gtk+ version built with GIF,JPEG,PNG and without SVG,MNG and PDF printing support.
--- recipes/netsurf/netsurf-2.1/Makefile.config | 9 +++ recipes/netsurf/netsurf-2.1/debugxml_fix.patch | 64 ++++++++++++++++++++++++ recipes/netsurf/netsurf-2.1/fix_makefile.patch | 12 +++++ recipes/netsurf/netsurf-2.1/netsurf.desktop | 10 ++++ recipes/netsurf/netsurf-2.1/netsurf.png | Bin 0 -> 9329 bytes recipes/netsurf/netsurf_2.1.bb | 32 ++++++++++++ 6 files changed, 127 insertions(+), 0 deletions(-) create mode 100644 recipes/netsurf/netsurf-2.1/Makefile.config create mode 100644 recipes/netsurf/netsurf-2.1/debugxml_fix.patch create mode 100644 recipes/netsurf/netsurf-2.1/fix_makefile.patch create mode 100644 recipes/netsurf/netsurf-2.1/netsurf.desktop create mode 100644 recipes/netsurf/netsurf-2.1/netsurf.png create mode 100644 recipes/netsurf/netsurf_2.1.bb
recipes/netsurf/netsurf-2.1/Makefile.config new file +9 -0
@@ -0,0 +1,9 @@ +override NETSURF_USE_BMP := YES +override NETSURF_USE_GIF := YES +override NETSURF_USE_JPEG := YES +override NETSURF_USE_PNG := YES +override NETSURF_USE_MNG := NO +override NETSURF_USE_HARU_PDF := NO +override NETSURF_USE_RSVG := NO +override NETSURF_USE_ROSPRITE := NO +
recipes/netsurf/netsurf-2.1/debugxml_fix.patch new file +64 -0
64 lines not on this page · raw message
recipes/netsurf/netsurf-2.1/fix_makefile.patch new file +12 -0
@@ -0,0 +1,12 @@ +Index: Makefile +=================================================================== +--- a/Makefile (revision 7536) ++++ b/Makefile (working copy) +@@ -820,7 +820,6 @@ + @cp -vRL gtk/res/netsurf-16x16.xpm $(DESTDIR)$(NETSURF_GTK_RESOURCES) + @cp -vRL gtk/res/throbber/*.png $(DESTDIR)$(NETSURF_GTK_RESOURCES)/throbber + @cp -vRL gtk/res/Aliases $(DESTDIR)$(NETSURF_GTK_RESOURCES) +- @cp -vrL gtk/res/docs $(DESTDIR)/$(NETSURF_GTK_RESOURCES) + gzip -9v < gtk/res/messages > $(DESTDIR)$(NETSURF_GTK_RESOURCES)messages + gzip -9v < gtk/res/downloads.glade > $(DESTDIR)$(NETSURF_GTK_RESOURCES)downloads.glade + gzip -9v < gtk/res/netsurf.glade > $(DESTDIR)$(NETSURF_GTK_RESOURCES)netsurf.glade
recipes/netsurf/netsurf-2.1/netsurf.desktop new file +10 -0
@@ -0,0 +1,10 @@ +[Desktop Entry] +Type=Application +Name=NetSurf +Comment=NetSurf Web Browser +GenericName=Web Browser +Icon=netsurf +Exec=netsurf +Terminal=false +StartupNotify=false +Categories=Network;WebBrowser;
recipes/netsurf/netsurf-2.1/netsurf.png new file binary +0 -0
recipes/netsurf/netsurf_2.1.bb new file +32 -0
@@ -0,0 +1,32 @@ +DESCRIPTION = "Lightweight web browser capable of handling many of the \ +web standards in use today." +HOMEPAGE = "http://www.netsurf-browser.org/" +SECTION = "x11/network" +LICENSE = "GPLv2" + +SRC_URI = "http://www.netsurf-browser.org/downloads/releases/netsurf-${PV}-src.tar.gz \ + file://fix_makefile.patch;patch=1 \ + file://debugxml_fix.patch;patch=1 \ + file://netsurf.png \ + file://netsurf.desktop \ + file://Makefile.config" + +# Workaround for 2.1 tarball (unpacks into netsurf/, not netsurf-2.1/ ) +S = "${WORKDIR}/netsurf" + +DEPENDS = "gtk+ (>=2.12.0) lemon-native re2c-native jpeg openssl curl libxml2 \ + libglade (>=2.0) hubbub libnsgif libnsbmp lcms" + +EXTRA_OEMAKE = "CURDIR=${S} DESTDIR=${D} PREFIX=${prefix}" + +do_configure() { + cp ${WORKDIR}/Makefile.config ${S}/ +} + +do_install() { + oe_runmake install + install -d ${D}/${datadir}/applications + install -d ${D}/${datadir}/pixmaps + install -m 0644 ${WORKDIR}/netsurf.png ${D}/${datadir}/pixmaps/ + install -m 0644 ${WORKDIR}/netsurf.desktop ${D}/${datadir}/applications/ +}
Signature · 1 line
1.6.0.6
Re: [PATCH] netsurf: add recipe for version 2.1
On Sun, May 24, 2009 at 12:35:20AM +0400, Dmitry Artamonow wrote:
[snip]
Quoted 1 line
+++ b/recipes/netsurf/netsurf_2.1.bb
[snip]
recipes/netsurf/netsurf_2.1.bb line 18
Quoted 2 lines
recipes/netsurf/netsurf_2.1.bb new file +2
-0+DEPENDS = "gtk+ (>=2.12.0) lemon-native re2c-native jpeg openssl curl libxml2 \ + libglade (>=2.0) hubbub libnsgif libnsbmp lcms"
You can't currently do versioned dependancies. While this didn't error out, it's not doing what you think.
Signature · 1 line
Tom Rini
Re: [PATCH] netsurf: add recipe for version 2.1
Quoted 10 lines · Tom Rini
On Sun, May 24, 2009 at 12:35:20AM +0400, Dmitry Artamonow wrote:
[snip]
Quoted 1 line
+++ b/recipes/netsurf/netsurf_2.1.bb
[snip]
recipes/netsurf/netsurf_2.1.bb line 18
Quoted 2 lines
recipes/netsurf/netsurf_2.1.bb new file +2
-0+DEPENDS = "gtk+ (>=2.12.0) lemon-native re2c-native jpeg openssl curl libxml2 \ + libglade (>=2.0) hubbub libnsgif libnsbmp lcms"You can't currently do versioned dependancies. While this didn't error out, it's not doing what you think.
OK. Then better drop versions for now - updated patch follows.
BTW, is there any work in this direction? I think it's important feature missing. It would solve some problems with recipes broken with certain PREFERRED_VERSIONs of toolchain/toolkit/etc in distro.conf or local.conf, and working well with another...
Signature · 2 lines
Best regards, Dmitry "MAD" Artamonow
PATCH v2 1/1 netsurf: add recipe for version 2.1
In reply to Tom RiniIt's gtk+ version built with GIF,JPEG,PNG and without SVG,MNG and PDF printing support.
---
Changes after v1:
* removed versioned dependancies, as they're not supported by OE at the moment
recipes/netsurf/netsurf-2.1/Makefile.config | 9 +++ recipes/netsurf/netsurf-2.1/debugxml_fix.patch | 64 ++++++++++++++++++++++++ recipes/netsurf/netsurf-2.1/fix_makefile.patch | 12 +++++ recipes/netsurf/netsurf-2.1/netsurf.desktop | 10 ++++ recipes/netsurf/netsurf-2.1/netsurf.png | Bin 0 -> 9329 bytes recipes/netsurf/netsurf_2.1.bb | 32 ++++++++++++ 6 files changed, 127 insertions(+), 0 deletions(-) create mode 100644 recipes/netsurf/netsurf-2.1/Makefile.config create mode 100644 recipes/netsurf/netsurf-2.1/debugxml_fix.patch create mode 100644 recipes/netsurf/netsurf-2.1/fix_makefile.patch create mode 100644 recipes/netsurf/netsurf-2.1/netsurf.desktop create mode 100644 recipes/netsurf/netsurf-2.1/netsurf.png create mode 100644 recipes/netsurf/netsurf_2.1.bb
recipes/netsurf/netsurf-2.1/Makefile.config new file +9 -0
@@ -0,0 +1,9 @@ +override NETSURF_USE_BMP := YES +override NETSURF_USE_GIF := YES +override NETSURF_USE_JPEG := YES +override NETSURF_USE_PNG := YES +override NETSURF_USE_MNG := NO +override NETSURF_USE_HARU_PDF := NO +override NETSURF_USE_RSVG := NO +override NETSURF_USE_ROSPRITE := NO +
recipes/netsurf/netsurf-2.1/debugxml_fix.patch new file +64 -0
64 lines not on this page · raw message
recipes/netsurf/netsurf-2.1/fix_makefile.patch new file +12 -0
@@ -0,0 +1,12 @@ +Index: Makefile +=================================================================== +--- a/Makefile (revision 7536) ++++ b/Makefile (working copy) +@@ -820,7 +820,6 @@ + @cp -vRL gtk/res/netsurf-16x16.xpm $(DESTDIR)$(NETSURF_GTK_RESOURCES) + @cp -vRL gtk/res/throbber/*.png $(DESTDIR)$(NETSURF_GTK_RESOURCES)/throbber + @cp -vRL gtk/res/Aliases $(DESTDIR)$(NETSURF_GTK_RESOURCES) +- @cp -vrL gtk/res/docs $(DESTDIR)/$(NETSURF_GTK_RESOURCES) + gzip -9v < gtk/res/messages > $(DESTDIR)$(NETSURF_GTK_RESOURCES)messages + gzip -9v < gtk/res/downloads.glade > $(DESTDIR)$(NETSURF_GTK_RESOURCES)downloads.glade + gzip -9v < gtk/res/netsurf.glade > $(DESTDIR)$(NETSURF_GTK_RESOURCES)netsurf.glade
recipes/netsurf/netsurf-2.1/netsurf.desktop new file +10 -0
@@ -0,0 +1,10 @@ +[Desktop Entry] +Type=Application +Name=NetSurf +Comment=NetSurf Web Browser +GenericName=Web Browser +Icon=netsurf +Exec=netsurf +Terminal=false +StartupNotify=false +Categories=Network;WebBrowser;
recipes/netsurf/netsurf-2.1/netsurf.png new file binary +0 -0
recipes/netsurf/netsurf_2.1.bb new file +32 -0
@@ -0,0 +1,32 @@ +DESCRIPTION = "Lightweight web browser capable of handling many of the \ +web standards in use today." +HOMEPAGE = "http://www.netsurf-browser.org/" +SECTION = "x11/network" +LICENSE = "GPLv2" + +SRC_URI = "http://www.netsurf-browser.org/downloads/releases/netsurf-${PV}-src.tar.gz \ + file://fix_makefile.patch;patch=1 \ + file://debugxml_fix.patch;patch=1 \ + file://netsurf.png \ + file://netsurf.desktop \ + file://Makefile.config" + +# Workaround for 2.1 tarball (unpacks into netsurf/, not netsurf-2.1/ ) +S = "${WORKDIR}/netsurf" + +DEPENDS = "gtk+ lemon-native re2c-native jpeg openssl curl libxml2 \ + libglade hubbub libnsgif libnsbmp lcms" + +EXTRA_OEMAKE = "CURDIR=${S} DESTDIR=${D} PREFIX=${prefix}" + +do_configure() { + cp ${WORKDIR}/Makefile.config ${S}/ +} + +do_install() { + oe_runmake install + install -d ${D}/${datadir}/applications + install -d ${D}/${datadir}/pixmaps + install -m 0644 ${WORKDIR}/netsurf.png ${D}/${datadir}/pixmaps/ + install -m 0644 ${WORKDIR}/netsurf.desktop ${D}/${datadir}/applications/ +}
Signature · 1 line
1.6.0.6
Re: [PATCH v2] netsurf: add recipe for version 2.1
Quoted 4 lines · Dmitry Artamonow
It's gtk+ version built with GIF,JPEG,PNG and without SVG,MNG and PDF printing support.
Signed-off-by Dmitry Artamonow <[email protected]>
Do you have commit access?
Quoted 372 lines
---
Changes after v1:* removed versioned dependancies, as they're not supported by OE at the moment
recipes/netsurf/netsurf-2.1/Makefile.config | 9 +++ recipes/netsurf/netsurf-2.1/debugxml_fix.patch | 64 ++++++++++++++++++++++++ recipes/netsurf/netsurf-2.1/fix_makefile.patch | 12 +++++ recipes/netsurf/netsurf-2.1/netsurf.desktop | 10 ++++ recipes/netsurf/netsurf-2.1/netsurf.png | Bin 0 -> 9329 bytes recipes/netsurf/netsurf_2.1.bb | 32 ++++++++++++ 6 files changed, 127 insertions(+), 0 deletions(-) create mode 100644 recipes/netsurf/netsurf-2.1/Makefile.config create mode 100644 recipes/netsurf/netsurf-2.1/debugxml_fix.patch create mode 100644 recipes/netsurf/netsurf-2.1/fix_makefile.patch create mode 100644 recipes/netsurf/netsurf-2.1/netsurf.desktop create mode 100644 recipes/netsurf/netsurf-2.1/netsurf.png create mode 100644 recipes/netsurf/netsurf_2.1.bbrecipes/netsurf/netsurf-2.1/Makefile.config new file +9
-0@@ -0,0 +1,9 @@ +override NETSURF_USE_BMP := YES +override NETSURF_USE_GIF := YES +override NETSURF_USE_JPEG := YES +override NETSURF_USE_PNG := YES +override NETSURF_USE_MNG := NO +override NETSURF_USE_HARU_PDF := NO +override NETSURF_USE_RSVG := NO +override NETSURF_USE_ROSPRITE := NO +recipes/netsurf/netsurf-2.1/debugxml_fix.patch new file +64
-0@@ -0,0 +1,64 @@ +--- netsurf-2.0/gtk/gtk_scaffolding.c.orig 2009-05-15 01:18:44.000000000 +0400 ++++ netsurf-2.0/gtk/gtk_scaffolding.c 2009-05-15 01:24:32.000000000 +0400 +@@ -22,7 +22,6 @@ + #include <stdlib.h> + #include <string.h> + #include <gtk/gtk.h> +-#include <libxml/debugXML.h> + #include "content/content.h" + #include "desktop/browser.h" + #include "desktop/history_core.h" +@@ -1040,52 +1039,7 @@ + + MENUHANDLER(save_dom_tree) + { +- GtkWidget *save_dialog; +- struct gtk_scaffolding *gw = (struct gtk_scaffolding *)g; +- +- save_dialog = gtk_file_chooser_dialog_new("Save File", gw->window, +- GTK_FILE_CHOOSER_ACTION_SAVE, +- GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, +- GTK_STOCK_SAVE, GTK_RESPONSE_ACCEPT, +- NULL); +- +- gtk_file_chooser_set_current_folder(GTK_FILE_CHOOSER(save_dialog), +- getenv("HOME") ? getenv("HOME") : "/"); +- +- gtk_file_chooser_set_current_name(GTK_FILE_CHOOSER(save_dialog), +- "domtree.txt"); +- +- if (gtk_dialog_run(GTK_DIALOG(save_dialog)) == GTK_RESPONSE_ACCEPT) { +- gchar *filename = gtk_file_chooser_get_filename( +- GTK_FILE_CHOOSER(save_dialog)); +- FILE *fh; +- LOG(("Saving dom tree to %s...\n", filename)); +- +- fh = fopen((const char *) filename, "w"); +- if (fh == NULL) { +- warn_user("Error saving box tree dump.", +- "Unable to open file for writing."); +- } else { +- struct browser_window *bw; +- bw = nsgtk_get_browser_window(gw->top_level); +- +- if (bw->current_content && +- bw->current_content->type == +- CONTENT_HTML) { +- xmlDebugDumpDocument(fh, +- bw->current_content-> +- data.html.document); +- } +- +- fclose(fh); +- } +- +- g_free(filename); +- } +- +- gtk_widget_destroy(save_dialog); +- +- return TRUE; ++ return FALSE; + } + +recipes/netsurf/netsurf-2.1/fix_makefile.patch new file +12
-0@@ -0,0 +1,12 @@ +Index: Makefile +=================================================================== +--- a/Makefile (revision 7536) ++++ b/Makefile (working copy) +@@ -820,7 +820,6 @@ + @cp -vRL gtk/res/netsurf-16x16.xpm $(DESTDIR)$(NETSURF_GTK_RESOURCES) + @cp -vRL gtk/res/throbber/*.png $(DESTDIR)$(NETSURF_GTK_RESOURCES)/throbber + @cp -vRL gtk/res/Aliases $(DESTDIR)$(NETSURF_GTK_RESOURCES) +- @cp -vrL gtk/res/docs $(DESTDIR)/$(NETSURF_GTK_RESOURCES) + gzip -9v < gtk/res/messages > $(DESTDIR)$(NETSURF_GTK_RESOURCES)messages + gzip -9v < gtk/res/downloads.glade > $(DESTDIR)$(NETSURF_GTK_RESOURCES)downloads.glade + gzip -9v < gtk/res/netsurf.glade > $(DESTDIR)$(NETSURF_GTK_RESOURCES)netsurf.gladerecipes/netsurf/netsurf-2.1/netsurf.desktop new file +10
-0@@ -0,0 +1,10 @@ +[Desktop Entry] +Type=Application +Name=NetSurf +Comment=NetSurf Web Browser +GenericName=Web Browser +Icon=netsurf +Exec=netsurf +Terminal=false +StartupNotify=false +Categories=Network;WebBrowser;recipes/netsurf/netsurf-2.1/netsurf.png new file binary +0
-0recipes/netsurf/netsurf_2.1.bb new file +32
-0@@ -0,0 +1,32 @@ +DESCRIPTION = "Lightweight web browser capable of handling many of the \ +web standards in use today." +HOMEPAGE = "http://www.netsurf-browser.org/" +SECTION = "x11/network" +LICENSE = "GPLv2" + +SRC_URI = "http://www.netsurf-browser.org/downloads/releases/netsurf-${PV}-src.tar.gz \ + file://fix_makefile.patch;patch=1 \ + file://debugxml_fix.patch;patch=1 \ + file://netsurf.png \ + file://netsurf.desktop \ + file://Makefile.config" + +# Workaround for 2.1 tarball (unpacks into netsurf/, not netsurf-2.1/ ) +S = "${WORKDIR}/netsurf" + +DEPENDS = "gtk+ lemon-native re2c-native jpeg openssl curl libxml2 \ + libglade hubbub libnsgif libnsbmp lcms" + +EXTRA_OEMAKE = "CURDIR=${S} DESTDIR=${D} PREFIX=${prefix}" + +do_configure() { + cp ${WORKDIR}/Makefile.config ${S}/ +} + +do_install() { + oe_runmake install + install -d ${D}/${datadir}/applications + install -d ${D}/${datadir}/pixmaps + install -m 0644 ${WORKDIR}/netsurf.png ${D}/${datadir}/pixmaps/ + install -m 0644 ${WORKDIR}/netsurf.desktop ${D}/${datadir}/applications/ +}Signature · 7 lines
1.6.0.6 _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Signature · 1 line
Tom Rini
Re: [PATCH v2] netsurf: add recipe for version 2.1
Quoted 9 lines · Tom Rini
Quoted 4 lines · Dmitry Artamonow
It's gtk+ version built with GIF,JPEG,PNG and without SVG,MNG and PDF printing support.
Signed-off-by Dmitry Artamonow <[email protected]>Acked-by Tom Rini <[email protected]>Do you have commit access?
No.
Signature · 2 lines
best regards, Dmitry "MAD" Artamonow
Re: [PATCH v2] netsurf: add recipe for version 2.1
Quoted 5 lines · Dmitry Artamonow
Quoted 4 lines · Tom Rini
Quoted 3 lines · Dmitry Artamonow
It's gtk+ version built with GIF,JPEG,PNG and without SVG,MNG and PDF printing support.
Quoted 7 lines
Quoted 5 lines
Quoted 1 line
Signed-off-by Dmitry Artamonow <[email protected]>Acked-by Tom Rini <[email protected]>Do you have commit access?
No.
Sorry for the delay, pushed.
Signature · 1 line
Tom Rini
Re: [PATCH] hubbub: add recipe for version 0.0.1
In reply to Dmitry ArtamonowQuoted 4 lines · Dmitry Artamonow
Hubbub is an HTML5 compliant parsing library, written in C. Currently only Netsurf browser is using it, so we build just static library.
Signed-off-by Dmitry Artamonow <[email protected]>
Quoted 48 lines
--- recipes/netsurf/hubbub_0.0.1.bb | 28 ++++++++++++++++++++++++++++ 1 files changed, 28 insertions(+), 0 deletions(-) create mode 100644 recipes/netsurf/hubbub_0.0.1.bbrecipes/netsurf/hubbub_0.0.1.bb new file +28
-0@@ -0,0 +1,28 @@ +DESCRIPTION = "Hubbub is an HTML5 compliant parsing library" +HOMEPAGE = "http://www.netsurf-browser.org/projects/hubbub/" +SECTION = "libs" +PRIORITY = "optional" +LICENSE = "MIT" +DEPENDS = "libparserutils" + +SRC_URI = "http://www.netsurf-browser.org/projects/releases/hubbub-${PV}-src.tar.gz" + +inherit pkgconfig + +EXTRA_OEMAKE = "CURDIR=${S} DESTDIR=${D} PREFIX=${prefix} BUILDDIR=build-OE" + +# NOTE: we're using default buildmode here, which results in building only +# static libraries (.a) Not a problem as hubbub is only used by Netsurf +# at the moment + +do_stage() { + oe_libinstall -a -C build-OE/ libhubbub ${STAGING_LIBDIR} + + install -d ${STAGING_INCDIR}/hubbub + install -m 0644 include/hubbub/*.h ${STAGING_INCDIR}/hubbub +} + + +do_install() { + oe_runmake install +}Signature · 7 lines
1.6.0.6 _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Signature · 1 line
Tom Rini
Re: [PATCH] libparserutils: add recipe for version 0.0.1
In reply to Dmitry ArtamonowQuoted 7 lines · Dmitry Artamonow
LibParserUtils is a library for building efficient parsers. Currently only Netsurf browser is using it (via hubbub), so we build just static library.
Please note that this build doesn't use external
iconv(), so only few built-in charsets are supported (UTF-8/16, windows-125x, iso-8859-*) We may revisit this later, if there's a need.
Quoted 58 lines
Signed-off-by Dmitry Artamonow <[email protected]>--- recipes/netsurf/libparserutils_0.0.1.bb | 36 +++++++++++++++++++++++++++++++ 1 files changed, 36 insertions(+), 0 deletions(-) create mode 100644 recipes/netsurf/libparserutils_0.0.1.bbrecipes/netsurf/libparserutils_0.0.1.bb new file +36
-0@@ -0,0 +1,36 @@ +DESCRIPTION = "LibParserUtils is a library for building efficient parsers" +HOMEPAGE = "http://www.netsurf-browser.org/projects/libparserutils/" +SECTION = "libs" +PRIORITY = "optional" +LICENSE = "MIT" + +SRC_URI = "http://www.netsurf-browser.org/projects/releases/libparserutils-${PV}-src.tar.gz" + +inherit pkgconfig + +EXTRA_OEMAKE = "CURDIR=${S} DESTDIR=${D} PREFIX=${prefix} BUILDDIR=build-OE" + +# NOTE: we're using default buildmode here, which results in building only +# static libraries (.a) Not a problem as libparserutils is only used by Netsurf +# at the moment + +do_stage () { + oe_libinstall -a -C build-OE/ libparserutils ${STAGING_LIBDIR} + + install -d ${STAGING_INCDIR}/parserutils + install -d ${STAGING_INCDIR}/parserutils/charset + install -d ${STAGING_INCDIR}/parserutils/input + install -d ${STAGING_INCDIR}/parserutils/utils + install -m 0644 include/parserutils/*.h ${STAGING_INCDIR}/parserutils + install -m 0644 include/parserutils/charset/*.h \ + ${STAGING_INCDIR}/parserutils/charset + install -m 0644 include/parserutils/input/*.h \ + ${STAGING_INCDIR}/parserutils/input + install -m 0644 include/parserutils/utils/*.h \ + ${STAGING_INCDIR}/parserutils/utils +} + + +do_install() { + oe_runmake install +}Signature · 7 lines
1.6.0.6 _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Signature · 1 line
Tom Rini
Re: [PATCH] libnsgif: add recipe for version 0.0.1
In reply to Dmitry ArtamonowQuoted 5 lines · Dmitry Artamonow
libnsgif is GIF decoding library.
Currently only Netsurf browser is using it, so we build just static library.Signed-off-by Dmitry Artamonow <[email protected]>
Quoted 44 lines
--- recipes/netsurf/libnsgif_0.0.1.bb | 24 ++++++++++++++++++++++++ 1 files changed, 24 insertions(+), 0 deletions(-) create mode 100644 recipes/netsurf/libnsgif_0.0.1.bbrecipes/netsurf/libnsgif_0.0.1.bb new file +24
-0@@ -0,0 +1,24 @@ +DESCRIPTION = "Libnsgif is a decoding library for the GIF image file format" +HOMEPAGE = "http://www.netsurf-browser.org/projects/libnsgif/" +SECTION = "libs" +PRIORITY = "optional" +LICENSE = "MIT" + +SRC_URI = "http://www.netsurf-browser.org/projects/releases/libnsgif-${PV}-src.tar.gz" + +inherit pkgconfig + +EXTRA_OEMAKE = "CURDIR=${S} DESTDIR=${D} PREFIX=${prefix} BUILDDIR=build-OE" + +# NOTE: we're using default buildmode here, which results in building only +# static libraries (.a) Not a problem as libnsbmp is only used by Netsurf +# at the moment + +do_stage() { + oe_libinstall -a -C build-OE/ libnsgif ${STAGING_LIBDIR} + install -m 0644 include/*.h ${STAGING_INCDIR}/ +} + +do_install() { + oe_runmake install +}Signature · 7 lines
1.6.0.6 _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Signature · 1 line
Tom Rini
Re: [PATCH] libnsbmp: add recipe for version 0.0.1
In reply to Dmitry ArtamonowQuoted 4 lines · Dmitry Artamonow
libnsbmp is BMP and ICO decoding library.
Currently only Netsurf browser is using it, so we build just static library.Signed-off-by Dmitry Artamonow <[email protected]>
Quoted 44 lines
--- recipes/netsurf/libnsbmp_0.0.1.bb | 24 ++++++++++++++++++++++++ 1 files changed, 24 insertions(+), 0 deletions(-) create mode 100644 recipes/netsurf/libnsbmp_0.0.1.bbrecipes/netsurf/libnsbmp_0.0.1.bb new file +24
-0@@ -0,0 +1,24 @@ +DESCRIPTION = "Libnsbmp is a decoding library for the BMP and ICO image file formats" +HOMEPAGE = "http://www.netsurf-browser.org/projects/libnsbmp/" +SECTION = "libs" +PRIORITY = "optional" +LICENSE = "MIT" + +SRC_URI = "http://www.netsurf-browser.org/projects/releases/libnsbmp-${PV}-src.tar.gz" + +inherit pkgconfig + +EXTRA_OEMAKE = "CURDIR=${S} DESTDIR=${D} PREFIX=${prefix} BUILDDIR=build-OE" + +# NOTE: we're using default buildmode here, which results in building only +# static libraries (.a) Not a problem as libnsbmp is only used by Netsurf +# at the moment + +do_stage() { + oe_libinstall -a -C build-OE/ libnsbmp ${STAGING_LIBDIR} + install -m 0644 include/*.h ${STAGING_INCDIR}/ +} + +do_install() { + oe_runmake install +}Signature · 7 lines
1.6.0.6 _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Signature · 1 line
Tom Rini
Re: [PATCH] checksums.ini: add checksums for netsurf-2.1 and related libs
In reply to Dmitry ArtamonowQuoted 8 lines · Dmitry Artamonow
Full list:
* netsurf-2.1
* hubbub-0.0.1
* libparserutils-0.0.1
* libnsbmp-0.0.1
* libnsgif-0.0.1Signed-off-by Dmitry Artamonow <[email protected]>
Quoted 65 lines
--- conf/checksums.ini | 20 ++++++++++++++++++++ 1 files changed, 20 insertions(+), 0 deletions(-)conf/checksums.ini +20
-0@@ -10574,6 +10574,10 @@ sha256=bedfd45364948a08ecaa212c5eda6667a83ac8bb547e2eb8478ade885898cad7 md5=f720686c841e9fefc06db76458fd9908 sha256=1f8259a3a8ae583170816f5028329f3a7157f87f927da9c0a911a5fb9be263a1 +[http://www.netsurf-browser.org/projects/releases/hubbub-0.0.1-src.tar.gz] +md5=58c6e2b5a5906f3f0bf136c0c71b5403 +sha256=3ba0bdf71376429bb3ce8ae51595fc25e6a5147cdcc26e47b6da17386eb78cdf + [http://cvs.haskell.org/Hugs/downloads/Nov2003/hugs98-Nov2003.tar.gz] md5=e80a6739ead9a260087fe4d3fc6a8359 sha256=9f90613de73e1b8e90d9bbcb09046e83680f15a46fc630c3e26e9aa4ca0e6a1d@@ -13806,6 +13810,14 @@ sha256=15b0492ac252f6e8ce57c106bda0722413196d16d198c97f20a05908d1b977af md5=ba76f68b7e3bd284ac2c2a1b9c5ecb06 sha256=2389a9b8220f776033f728a8d46352cfee5c8705066e34887bfb188f9f0d3856 +[http://www.netsurf-browser.org/projects/releases/libnsbmp-0.0.1-src.tar.gz] +md5=61e1e5703580c1bc7d950a1aacea7bad +sha256=424d12aae7a6ea8c90438cf4ccff486dc01a3a2a7b68eb602ee2b8c28178b6d1 + +[http://www.netsurf-browser.org/projects/releases/libnsgif-0.0.1-src.tar.gz] +md5=a547da766fccacd00fd05190baf644da +sha256=54f316f530caaacd55dc23f546537759382a45ac6378ead249b5a5d51cf4db52 + [http://www2.autistici.org/bakunin/libnxml/libnxml-0.16.tar.gz] md5=85b6a42a9e17a23c01b2f2ed0ece0563 sha256=6154872089834b0ffd34e92612d07e2d1ccec572698bd861da752eeeaab7ca78@@ -14018,6 +14030,10 @@ sha256=7a61e8b686ae7d659835175018da3a1baa959329b77c18e6e9381a197937296f md5=7075f580606a84e63b7d6d9fa3124c31 sha256=7ff5f355bb254a3d4ed4541377e6304432ee8678e7c9ec29e7d43488903004c9 +[http://www.netsurf-browser.org/projects/releases/libparserutils-0.0.1-src.tar.gz] +md5=5999c2d52f8c07eeef2a8808fee4f858 +sha256=5aed4edfd2023ed3ccd566fe76131d10faf43c8c3efa2e90978eed37c5503165 + [http://www.at.tcpdump.org/release/libpcap-0.9.3.tar.gz] md5=0ad921c881fdd3d278046afcd352a151 sha256=f20d19b1f32e4ee465169ff1e17a3755bfda8c697cfed11fe36cbf6959c80441@@ -17258,6 +17274,10 @@ sha256=844ba97e745a0b9f37afc7daa323cafcef00108cd0254667da0a00558eb323a7 md5=36f7b3120e00c9c74cb6619334de419f sha256=6eed89b661ae9f2ac0d383414ca964abea8a115f8fba0f7ab37b49b565ffb2a8 +[http://www.netsurf-browser.org/downloads/releases/netsurf-2.1-src.tar.gz] +md5=f0a34fd076b492c1a13b45432e8d7e49 +sha256=cda2cf41c852938c226c47c2b995d527387120141f68b416ea745e50a7165a81 + [http://ftp.gnome.org/pub/GNOME/sources/network-manager-applet/0.6/network-manager-applet-0.6.5.tar.bz2] md5=1c94a41e2399d261985a75f0cd3b895b sha256=9cca3e34e23f00c82bc5e7237aa81639874e90d43a689e26fbfd938279ca31c9Signature · 7 lines
1.6.0.6 _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Signature · 1 line
Tom Rini