Date:2012-04-04 06:55:31 (8 years 1 month ago)
Author:kyak
Commit:a328712f2103693c94d905ac90cc585c4d4cbbfc
Message:netsurf: update to 2.9

Well, this is the huge update of netsurf libraries and netsurf itself.
Previously, SDL interface wasn't usable (not without keymouse), because
all netsurf keybindings only work in gtk (or something like that). At
some point of time (before this commit), netsurf wasn't buildable at
all. Now it at least builds and shows up the interface on Ben. However,
there are two problems: it crashes when i press arrow keys and
it "fails to parse" an HTML page.
So i'm commiting this because from the quality of point view, netsurf package
hasn't become worse (it's compilable and somewhat startable) - so
somebody who is interested may contact netsurf developers to report bugs
or ask for a help.
Files: nanonote-files/script-files/root/.netsurf/Choices-fb (1 diff)
netsurf/Makefile (4 diffs)
netsurf/files/Choices (1 diff)
netsurf/files/Makefile.config (1 diff)

Change Details

nanonote-files/script-files/root/.netsurf/Choices-fb
1fb_input_devpath:/dev/input
2fb_input_glob:event*
3window_width:320
4window_height:240
5fb_depth:32
6fb_toolbar_layout:cblfsrut
netsurf/Makefile
44include $(TOPDIR)/rules.mk
55
66PKG_NAME:=netsurf
7PKG_VERSION:=r10948
7PKG_VERSION:=2.9
88PKG_RELEASE:=1
99
10PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
11PKG_SOURCE_URL:=http://www.netsurf-browser.org/downloads/development/
12PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
13
14PKG_INSTALL:=1
10PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-src.tar.gz
11PKG_SOURCE_URL:=http://www.netsurf-browser.org/downloads/releases/
12PKG_MD5SUM:=d5d9d21a9a14f7e9cc502cc617298baa
1513
1614include $(INCLUDE_DIR)/package.mk
1715
...... 
2220    CATEGORY:=Network
2321    TITLE:=netsurf
2422    URL:=http://www.netsurf-browser.org/
25    DEPENDS:=+libsdl +libcss +libhubbub +libparserutils +libnsfb +libxml2 +libcurl +libfreetype
23    DEPENDS:=+libsdl +libcss +libhubbub +libparserutils +libnsfb +libxml2 +libcurl +libfreetype +libnsbmp +libnsgif
2624endef
2725
2826define Package/netsurf/description
...... 
3129
3230MAKE_FLAGS += "TARGET=framebuffer" \
3331              "PREFIX=/usr"
32#MAKE_FLAGS += "TARGET=gtk" \
33# "PREFIX=/usr"
3434
3535TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include/SDL
36#TARGET_CFLAGS += "-I$(STAGING_DIR)/usr/include/gtk-2.0"
3637TARGET_LDFLAGS += -Wl,-rpath-link=$(STAGING_DIR)/usr/lib
3738
3839define Build/Prepare
...... 
4546        $(1)/usr/bin $(1)/usr/share/netsurf
4647
4748    $(INSTALL_BIN) \
48        $(PKG_INSTALL_DIR)/usr/bin/netsurf \
49        $(1)/usr/bin/
49        $(PKG_BUILD_DIR)/nsfb \
50        $(1)/usr/bin/netsurf
51
52    cp -rfL \
53        $(PKG_BUILD_DIR)/framebuffer/res/* \
54        $(1)/usr/share/netsurf/
5055
5156    $(INSTALL_DATA) \
52        $(PKG_INSTALL_DIR)/usr/share/netsurf/* \
57        $(FILES_DIR)/Choices \
5358        $(1)/usr/share/netsurf/
59
60    #That's really dirty... For some reason overriding font paths from Makefile doesn't work
61    mkdir -p $(1)/usr/share/netsurf/usr/share/fonts
62    ln -s ../../../../fonts/ttf-dejavu $(1)/usr/share/netsurf/usr/share/fonts/ttf-dejavu
63endef
64
65define Package/netsurf/postinst
66#!/bin/sh
67mkdir -p $${IPKG_INSTROOT}/root/.netsurf && cp $${IPKG_INSTROOT}/usr/share/netsurf/Choices $${IPKG_INSTROOT}/root/.netsurf/Choices
5468endef
5569
5670$(eval $(call BuildPackage,netsurf))
netsurf/files/Choices
1fb_input_devpath:/dev/input
2fb_input_glob:event*
3window_width:320
4window_height:240
5fb_depth:32
6fb_toolbar_layout:cblfsrut
netsurf/files/Makefile.config
1111# For example, by default, NetSurf builds with BMP support. If you
1212# wish to disable this, then uncomment the following line.
1313
14override NETSURF_USE_BMP := NO
15override NETSURF_USE_GIF := NO
1614override NETSURF_USE_MNG := NO
1715override NETSURF_FB_FONTLIB := freetype
1816

Archive Download the corresponding diff file



interactive