OpenWrt packages
Sign in or create your account | Project List | Help
OpenWrt packages Commit Details
Date: | 2012-04-04 06:55:31 (8 years 10 months 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 | ||
---|---|---|
1 | fb_input_devpath:/dev/input | |
2 | fb_input_glob:event* | |
3 | window_width:320 | |
4 | window_height:240 | |
5 | fb_depth:32 | |
6 | fb_toolbar_layout:cblfsrut |
netsurf/Makefile | ||
---|---|---|
4 | 4 | include $(TOPDIR)/rules.mk |
5 | 5 | |
6 | 6 | PKG_NAME:=netsurf |
7 | PKG_VERSION:=r10948 | |
7 | PKG_VERSION:=2.9 | |
8 | 8 | PKG_RELEASE:=1 |
9 | 9 | |
10 | PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz | |
11 | PKG_SOURCE_URL:=http://www.netsurf-browser.org/downloads/development/ | |
12 | PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME) | |
13 | ||
14 | PKG_INSTALL:=1 | |
10 | PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-src.tar.gz | |
11 | PKG_SOURCE_URL:=http://www.netsurf-browser.org/downloads/releases/ | |
12 | PKG_MD5SUM:=d5d9d21a9a14f7e9cc502cc617298baa | |
15 | 13 | |
16 | 14 | include $(INCLUDE_DIR)/package.mk |
17 | 15 | |
... | ... | |
22 | 20 | CATEGORY:=Network |
23 | 21 | TITLE:=netsurf |
24 | 22 | 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 | |
26 | 24 | endef |
27 | 25 | |
28 | 26 | define Package/netsurf/description |
... | ... | |
31 | 29 | |
32 | 30 | MAKE_FLAGS += "TARGET=framebuffer" \ |
33 | 31 | "PREFIX=/usr" |
32 | #MAKE_FLAGS += "TARGET=gtk" \ | |
33 | # "PREFIX=/usr" | |
34 | 34 | |
35 | 35 | TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include/SDL |
36 | #TARGET_CFLAGS += "-I$(STAGING_DIR)/usr/include/gtk-2.0" | |
36 | 37 | TARGET_LDFLAGS += -Wl,-rpath-link=$(STAGING_DIR)/usr/lib |
37 | 38 | |
38 | 39 | define Build/Prepare |
... | ... | |
45 | 46 | $(1)/usr/bin $(1)/usr/share/netsurf |
46 | 47 | |
47 | 48 | $(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/ | |
50 | 55 | |
51 | 56 | $(INSTALL_DATA) \ |
52 | $(PKG_INSTALL_DIR)/usr/share/netsurf/* \ | |
57 | $(FILES_DIR)/Choices \ | |
53 | 58 | $(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 | |
63 | endef | |
64 | ||
65 | define Package/netsurf/postinst | |
66 | #!/bin/sh | |
67 | mkdir -p $${IPKG_INSTROOT}/root/.netsurf && cp $${IPKG_INSTROOT}/usr/share/netsurf/Choices $${IPKG_INSTROOT}/root/.netsurf/Choices | |
54 | 68 | endef |
55 | 69 | |
56 | 70 | $(eval $(call BuildPackage,netsurf)) |
netsurf/files/Choices | ||
---|---|---|
1 | fb_input_devpath:/dev/input | |
2 | fb_input_glob:event* | |
3 | window_width:320 | |
4 | window_height:240 | |
5 | fb_depth:32 | |
6 | fb_toolbar_layout:cblfsrut |
netsurf/files/Makefile.config | ||
---|---|---|
11 | 11 | # For example, by default, NetSurf builds with BMP support. If you |
12 | 12 | # wish to disable this, then uncomment the following line. |
13 | 13 | |
14 | override NETSURF_USE_BMP := NO | |
15 | override NETSURF_USE_GIF := NO | |
16 | 14 | override NETSURF_USE_MNG := NO |
17 | 15 | override NETSURF_FB_FONTLIB := freetype |
18 | 16 |