mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-24 15:29:45 +03:00
191d876e41
svn://source.netsurf-browser.org/branches/takkaria/netsurf-hubbub ........ r4860 | takkaria | 2008-08-02 03:51:35 +0100 (Sat, 02 Aug 2008) | 2 lines A really horribly rough first go at integrating hubbub with NetSurf. Segfaults, but I'm not sure what I've done wrong. ........ r4861 | jmb | 2008-08-02 05:01:19 +0100 (Sat, 02 Aug 2008) | 3 lines Fix segfault caused by mismatched struct layout expectations. Fix warnings, too. ........ r4862 | jmb | 2008-08-02 05:11:02 +0100 (Sat, 02 Aug 2008) | 2 lines Destroy parser as soon as it's no longer needed, and flag this so that html_destroy doesn't cause things to trample all over the heap. ........ r4863 | takkaria | 2008-08-02 15:30:34 +0100 (Sat, 02 Aug 2008) | 2 lines Remove deugging printf()s, add Aliases file, add script { display: none; } block. ........ r4868 | takkaria | 2008-08-02 22:14:55 +0100 (Sat, 02 Aug 2008) | 2 lines Fix a segfault bug. ........ r4869 | takkaria | 2008-08-02 22:17:58 +0100 (Sat, 02 Aug 2008) | 2 lines Add gtk/res/Aliases as a symlink to the one in !NS/Resources ........ r4870 | takkaria | 2008-08-02 22:26:31 +0100 (Sat, 02 Aug 2008) | 2 lines Fix symlink. ........ r4885 | jmb | 2008-08-03 23:26:54 +0100 (Sun, 03 Aug 2008) | 2 lines Make multiple parallel parser instances work correctly. ........ r4886 | tlsa | 2008-08-04 00:21:29 +0100 (Mon, 04 Aug 2008) | 1 line Don't display contents of STYLE. ........ r4891 | jmb | 2008-08-04 01:18:07 +0100 (Mon, 04 Aug 2008) | 5 lines Fix reparent_children to actually work Make get_parent_node pay attention to the element_only flag Fixup node referencing when appending a text child Make clone_node clone attributes and namespace information in the non-deep case ........ r4918 | jmb | 2008-08-05 15:27:03 +0100 (Tue, 05 Aug 2008) | 2 lines Fix debug target ........ r4944 | takkaria | 2008-08-07 12:56:50 +0100 (Thu, 07 Aug 2008) | 2 lines Use talloc to allocate space for Hubbub. ........ r4993 | takkaria | 2008-08-10 17:49:47 +0100 (Sun, 10 Aug 2008) | 2 lines Stub out the encoding change callback so NS-hubbub compiles again. ........ r4994 | takkaria | 2008-08-10 18:02:33 +0100 (Sun, 10 Aug 2008) | 2 lines Tell Hubbub the encoding that HTTP gives us, if we have one. ........ r5001 | takkaria | 2008-08-11 02:53:24 +0100 (Mon, 11 Aug 2008) | 2 lines First go at implementing proper <meta charset> support in NetSurf, amongst some refactoring. Probably works, but I have no pages around to test it on. ........ r5002 | takkaria | 2008-08-11 02:56:35 +0100 (Mon, 11 Aug 2008) | 2 lines Fix (I hope) a 64-bit compiler warning. ........ r5012 | takkaria | 2008-08-11 08:40:28 +0100 (Mon, 11 Aug 2008) | 2 lines Fix some nits from jmb. (Remove const from html->encoding, set encoding_source to something about right.) ........ r5013 | takkaria | 2008-08-11 08:48:50 +0100 (Mon, 11 Aug 2008) | 2 lines Properly fix <meta charset> handling, by passing in the right thing as the context. No idea how this worked before. :) (credit: jmb) ........ r5017 | jmb | 2008-08-11 09:13:22 +0100 (Mon, 11 Aug 2008) | 7 lines Pedantic typo fix. Make Hubbub YES when building for RISC OS. Make Hubbub AUTO when building for GTK Ignore the presence of Hubbub on other platforms. Remove the explicit libparserutils pkg-config stuff from the makefile (see r5016) Add some logic that means Hubbub gets enabled correctly when building on RISC OS and when cross-compiling for it. (This is ugly and will go away when pkg-config is available on RO) ........ svn path=/trunk/netsurf/; revision=5019
143 lines
4.5 KiB
Makefile
143 lines
4.5 KiB
Makefile
#
|
|
# NetSurf build configuration
|
|
#
|
|
# Some of these options support an 'AUTO' option, as well as YES and NO. If
|
|
# AUTO is available, the Makefile will attempt to detect if that feature is
|
|
# available when such is used.
|
|
|
|
# ----------------------------------------------------------------------------
|
|
# Options relating to all versions of NetSurf
|
|
# ----------------------------------------------------------------------------
|
|
|
|
# Enable NetSurf's built-in BMP support
|
|
# Valid options: YES, NO
|
|
NETSURF_USE_BMP := YES
|
|
|
|
# Enable NetSurf's built-in GIF support
|
|
# Valid options: YES, NO
|
|
NETSURF_USE_GIF := YES
|
|
|
|
# Enable NetSurf's use of IJG's libjpeg
|
|
# Valid options: YES, NO
|
|
NETSURF_USE_JPEG := YES
|
|
|
|
# Enable NetSurf's use of libmng for displaying MNGs and PNGs
|
|
# Valid options: YES, NO
|
|
NETSURF_USE_MNG := YES
|
|
|
|
# Use libharu to enable PDF export and GTK printing support. There is no
|
|
# auto-detection available for this, as it does not have a pkg-config file
|
|
# Valid options: YES, NO
|
|
NETSURF_USE_HARU_PDF := YES
|
|
|
|
# Enable stripping the NetSurf binary
|
|
# Valid options: YES, NO
|
|
NETSURF_STRIP_BINARY := NO
|
|
|
|
# Template used for constructing the User Agent: string. The first two
|
|
# replacements are major/minor version, second two are OS and architecture.
|
|
# Please don't be tempted to mention Mozilla here! Let's let that lie die.
|
|
NETSURF_UA_FORMAT_STRING := "NetSurf/%d.%d (%s; %s)"
|
|
|
|
# Default home page if one is not defined. Note that this does not apply to
|
|
# the RISC OS version, as it has its own local home page, and it can be changed
|
|
# by editing the end of gui_init2() in riscos/gui.c
|
|
NETSURF_HOMEPAGE := "http://www.netsurf-browser.org/welcome/"
|
|
|
|
# Force using glibc internal iconv implementation instead of external libiconv
|
|
# Valid options: YES, NO
|
|
NETSURF_USE_LIBICONV_PLUG := YES
|
|
|
|
# ----------------------------------------------------------------------------
|
|
# RISC OS-specific options
|
|
# ----------------------------------------------------------------------------
|
|
ifeq ($(TARGET),riscos)
|
|
|
|
# Enable using Hubbub to parse HTML rather than libxml2
|
|
# Valid options: YES, NO
|
|
NETSURF_USE_HUBBUB := YES
|
|
|
|
# Use James Bursa's libsvgtiny for rendering SVG images
|
|
# Valid options: YES, NO
|
|
NETSURF_USE_NSSVG := YES
|
|
|
|
# Use pencil to enable export to Drawfile
|
|
# Valid options: YES, NO
|
|
NETSURF_USE_DRAW := YES
|
|
|
|
# Enable NetSurf's RISC OS Sprite support via Tinct
|
|
# Valid options: YES, NO
|
|
NETSURF_USE_SPRITE := YES
|
|
|
|
# Enable NetSurf's ArtWorks support via AWRender
|
|
# Valid options: YES, NO
|
|
NETSURF_USE_ARTWORKS := YES
|
|
|
|
# Enable support for the Acorn plugin protocol
|
|
# Valid options: YES, NO
|
|
NETSURF_USE_PLUGINS := NO
|
|
|
|
endif
|
|
|
|
# ----------------------------------------------------------------------------
|
|
# GTK-specific options
|
|
# ----------------------------------------------------------------------------
|
|
ifeq ($(TARGET),gtk)
|
|
|
|
# Where to search for NetSurf's resources after looking in ~/.netsurf and
|
|
# $NETSURFRES. It must have a trailing /
|
|
NETSURF_GTK_RESOURCES := /usr/local/share/netsurf/
|
|
|
|
# Where to install the netsurf binary
|
|
NETSURF_GTK_BIN := /usr/local/bin/
|
|
|
|
# Enable using Hubbub to parse HTML rather than libxml2
|
|
# Valid options: YES, NO, AUTO
|
|
NETSURF_USE_HUBBUB := AUTO
|
|
|
|
# Use librsvg in conjunction with Cairo to render SVG images
|
|
# Valid options: YES, NO, AUTO
|
|
NETSURF_USE_RSVG := AUTO
|
|
|
|
# Use James Shaw's librosprite for rendering RISC OS Sprites
|
|
# Valid options: YES, NO, AUTO
|
|
NETSURF_USE_ROSPRITE := AUTO
|
|
|
|
endif
|
|
|
|
# ----------------------------------------------------------------------------
|
|
# BeOS-specific options
|
|
# ----------------------------------------------------------------------------
|
|
ifeq ($(TARGET),beos)
|
|
|
|
# Use James Shaw's librosprite for rendering RISC OS Sprites
|
|
# Valid options: YES, NO, AUTO
|
|
NETSURF_USE_ROSPRITE := AUTO
|
|
|
|
# Use libharu to enable PDF export and GTK printing support.
|
|
# Valid options: YES, NO
|
|
NETSURF_USE_HARU_PDF := NO
|
|
|
|
# Force using glibc internal iconv implementation instead of external libiconv
|
|
# Valid options: YES, NO
|
|
NETSURF_USE_LIBICONV_PLUG := NO
|
|
endif
|
|
|
|
# ----------------------------------------------------------------------------
|
|
# Amiga-specific options
|
|
# ----------------------------------------------------------------------------
|
|
ifeq ($(TARGET),amiga)
|
|
|
|
# Use James Shaw's librosprite for rendering RISC OS Sprites
|
|
# Valid options: YES, NO, AUTO
|
|
NETSURF_USE_ROSPRITE := YES
|
|
|
|
# Use libharu to enable PDF export and GTK printing support.
|
|
# Valid options: YES, NO
|
|
NETSURF_USE_HARU_PDF := NO
|
|
|
|
endif
|
|
|
|
# Include any local overrides
|
|
-include Makefile.config.override
|