debian/0000755000000000000000000000000011757131632007174 5ustar debian/netsurf-gtk.postinst0000644000000000000000000000037211554116073013251 0ustar #!/bin/sh set -e if [ "$1" = "configure" ]; then update-alternatives --install /usr/bin/netsurf netsurf-browser /usr/bin/netsurf-gtk 80 --slave /usr/share/man/man1/netsurf.1.gz netsurf-manual /usr/share/man/man1/netsurf-gtk.1.gz fi #DEBHELPER# debian/patches/0000755000000000000000000000000011756701724010627 5ustar debian/patches/set-netsurf-config.patch0000644000000000000000000000016711756701724015376 0ustar --- /dev/null +++ b/netsurf-2.9/Makefile.config @@ -0,0 +1,2 @@ +NETSURF_USE_MNG := NO +NETSURF_FB_FONTLIB := freetype debian/patches/nsfb-linkfix0000644000000000000000000000363711756466410013155 0ustar --- a/netsurf-2.9/framebuffer/Makefile.target +++ b/netsurf-2.9/framebuffer/Makefile.target @@ -2,6 +2,24 @@ # Framebuffer target setup # ---------------------------------------------------------------------------- +ifeq ($(HOST),mint) + # freemint does not support pkg-config for libcurl + CFLAGS += $(shell curl-config --cflags) + + LDFLAGS += $(shell curl-config --libs) + LDFLAGS += $(shell $(PKG_CONFIG) --libs libhubbub openssl libcss) + # xml-config returns -lsocket which is not needed and does not + # exist on all systems. because of that - hardcoded reference to + # libxml-2.0 here. + LDFLAGS += -L/usr/lib/ -lxml2 -lz -liconv + LDFLAGS += -lm +else + CFLAGS += $(shell $(PKG_CONFIG) --cflags libcurl) + + LDFLAGS += $(shell $(PKG_CONFIG) --libs libxml-2.0 libcurl libhubbub openssl) + LDFLAGS += $(shell $(PKG_CONFIG) --libs libcss) +endif + $(eval $(call feature_enabled,MNG,-DWITH_MNG,-lmng,PNG/MNG/JNG (libmng))) $(eval $(call feature_enabled,PNG,-DWITH_PNG,-lpng,PNG (libpng) )) @@ -49,24 +67,6 @@ LDFLAGS += -lm -Wl,--whole-archive $(shell $(PKG_CONFIG) --libs libnsfb) -Wl,--no-whole-archive -ifeq ($(HOST),mint) - # freemint does not support pkg-config for libcurl - CFLAGS += $(shell curl-config --cflags) - - LDFLAGS += $(shell curl-config --libs) - LDFLAGS += $(shell $(PKG_CONFIG) --libs libhubbub openssl libcss) - # xml-config returns -lsocket which is not needed and does not - # exist on all systems. because of that - hardcoded reference to - # libxml-2.0 here. - LDFLAGS += -L/usr/lib/ -lxml2 -lz -liconv - LDFLAGS += -lm -else - CFLAGS += $(shell $(PKG_CONFIG) --cflags libcurl) - - LDFLAGS += $(shell $(PKG_CONFIG) --libs libxml-2.0 libcurl libhubbub openssl) - LDFLAGS += $(shell $(PKG_CONFIG) --libs libcss) -endif - # ---------------------------------------------------------------------------- # built-in resource setup debian/patches/libnsfb-xcb-fix0000644000000000000000000000705211756454633013537 0ustar --- a/libnsfb-0.0.2/Makefile +++ b/libnsfb-0.0.2/Makefile @@ -32,16 +32,41 @@ endif ifeq ($(NSFB_XCB_AVAILABLE),yes) - $(eval $(call pkg_config_package_min_version,NSFB_XCB_NEW_API,xcb,0.23)) + # Size hint allocators were removed in xcb-icccm 0.3.0 + $(eval $(call pkg_config_package_min_version,NSFB_XCB_ICCCM_SIZE_HINTS,xcb-icccm,0.3.0)) + ifeq ($(NSFB_XCB_ICCCM_SIZE_HINTS),yes) + CFLAGS := $(CFLAGS) -DNSFB_NEED_HINTS_ALLOC + endif + + # xcb-icccm 0.3.8 introduced an additional "icccm_" in function names + $(eval $(call pkg_config_package_min_version,NSFB_XCB_ICCCM_API_PREFIX,xcb-icccm,0.3.8)) + ifeq ($(NSFB_XCB_ICCCM_API_PREFIX),yes) + CFLAGS := $(CFLAGS) -DNSFB_NEED_ICCCM_API_PREFIX + endif - ifeq ($(NSFB_XCB_NEW_API),yes) - CFLAGS := $(CFLAGS) -DNEED_HINTS_ALLOC + # xcbproto 1.6 incorporated atoms previously found in xcb_atom + # However, libxcb <1.3 did not report xcbproto versions. Assume xcbproto 1.5 in this case. + $(eval $(call pkg_config_package_min_version,NSFB_HAVE_MODERN_XCB,xcb,1.3)) + ifeq ($(NSFB_HAVE_MODERN_XCB),yes) + $(eval $(call pkg_config_get_variable,NSFB_XCBPROTO_VERSION,xcb,xcbproto_version)) + NSFB_XCBPROTO_MAJOR_VERSION := $(word 1,$(subst ., ,$(NSFB_XCBPROTO_VERSION))) + NSFB_XCBPROTO_MINOR_VERSION := $(word 2,$(subst ., ,$(NSFB_XCBPROTO_VERSION))) + CFLAGS := $(CFLAGS) -DNSFB_XCBPROTO_MAJOR_VERSION=$(NSFB_XCBPROTO_MAJOR_VERSION) + CFLAGS := $(CFLAGS) -DNSFB_XCBPROTO_MINOR_VERSION=$(NSFB_XCBPROTO_MINOR_VERSION) + else + CFLAGS := $(CFLAGS) -DNSFB_XCBPROTO_MAJOR_VERSION=1 + CFLAGS := $(CFLAGS) -DNSFB_XCBPROTO_MINOR_VERSION=5 endif $(eval $(call pkg_config_package_add_flags,$(NSFB_XCB_PKG_NAMES),CFLAGS)) $(eval $(call pkg_config_package_add_flags,$(NSFB_XCB_PKG_NAMES),TESTCFLAGS,TESTLDFLAGS)) REQUIRED_PKGS := $(REQUIRED_PKGS) $(NSFB_XCB_PKG_NAMES) + + $(eval $(call pkg_config_package_available,NSFB_XCB_UTIL_AVAILABLE,xcb-util)) + ifeq ($(NSFB_XCB_UTIL_AVAILABLE),yes) + REQUIRED_PKGS := $(REQUIRED_PKGS) xcb-util + endif endif ifeq ($(NSFB_VNC_AVAILABLE),yes) --- a/libnsfb-0.0.2/src/surface/x.c +++ b/libnsfb-0.0.2/src/surface/x.c @@ -33,7 +33,7 @@ #include "plot.h" #include "cursor.h" -#if defined(NEED_HINTS_ALLOC) +#if defined(NSFB_NEED_HINTS_ALLOC) static xcb_size_hints_t * xcb_alloc_size_hints(void) { @@ -47,6 +47,17 @@ } #endif +#if defined(NSFB_NEED_ICCCM_API_PREFIX) +#define xcb_size_hints_set_max_size xcb_icccm_size_hints_set_max_size +#define xcb_size_hints_set_min_size xcb_icccm_size_hints_set_min_size +#define xcb_set_wm_size_hints xcb_icccm_set_wm_size_hints +#endif + +#if (NSFB_XCBPROTO_MAJOR_VERSION > 1) || \ + (NSFB_XCBPROTO_MAJOR_VERSION == 1 && NSFB_XCBPROTO_MINOR_VERSION >= 6) +#define WM_NORMAL_HINTS XCB_ATOM_WM_NORMAL_HINTS +#endif + #define X_BUTTON_LEFT 1 #define X_BUTTON_MIDDLE 2 #define X_BUTTON_RIGHT 3 --- a/libnsfb-0.0.2/build/makefiles/Makefile.pkgconfig +++ b/libnsfb-0.0.2/build/makefiles/Makefile.pkgconfig @@ -24,7 +24,7 @@ $$(error pkg-config is required to auto-detect package version) endif - $(1) := $$(shell $$(PKGCONFIG) --version $(2)) + $(1) := $$(shell $$(PKGCONFIG) --modversion $(2)) endef @@ -86,3 +86,15 @@ endef +# Obtain the value of a pkg-config variable +# 1: Name of variable to assign result into +# 2: Name of package to search for +# 3: Name of pkg-config variable to retrieve +define pkg_config_get_variable + ifeq ($$(PKGCONFIG),) + $$(error pkg-config is required to auto-detect package version) + endif + + $(1) := $$(shell $$(PKGCONFIG) --variable=$(3) $(2)) + +endef debian/patches/enable-nsfb0000644000000000000000000000050011755655420012721 0ustar --- a/Makefile +++ b/Makefile @@ -58,7 +58,7 @@ #Library Target list NSLIBTARG := $(LIBPARSERUTILS_TARG) $(LIBWAPCAPLET_TARG) $(LIBCSS_TARG) \ - $(LIBHUBBUB_TARG) $(LIBNSBMP_TARG) $(LIBNSGIF_TARG) + $(LIBHUBBUB_TARG) $(LIBNSBMP_TARG) $(LIBNSGIF_TARG) $(LIBNSFB_TARG) ABLIBS := $(NSLIBTARG) $(LIBSVGTINY_TARG) debian/patches/fix-netsurf-binary-install0000644000000000000000000000175111756473325015761 0ustar --- a/netsurf-2.9/Makefile +++ b/netsurf-2.9/Makefile @@ -617,7 +617,7 @@ @# TODO: filter out .svn directories from install location mkdir -p $(DESTDIR)$(NETSURF_GTK_RESOURCES)throbber mkdir -p $(DESTDIR)$(NETSURF_GTK_BIN) - @cp nsgtk $(DESTDIR)$(NETSURF_GTK_BIN)netsurf + @cp $^ $(DESTDIR)$(NETSURF_GTK_BIN)netsurf-gtk @cp -RL gtk/res/adblock.css $(DESTDIR)$(NETSURF_GTK_RESOURCES) @cp -RL gtk/res/arrow_down_8x32.png $(DESTDIR)$(NETSURF_GTK_RESOURCES) @cp -RL gtk/res/blankpage $(DESTDIR)$(NETSURF_GTK_RESOURCES) @@ -678,7 +678,7 @@ install-framebuffer: $(EXETARGET) mkdir -p $(DESTDIR)$(NETSURF_FRAMEBUFFER_BIN) mkdir -p $(DESTDIR)$(NETSURF_FRAMEBUFFER_RESOURCES) - @cp -v $(EXETARGET) $(DESTDIR)/$(NETSURF_FRAMEBUFFER_BIN)netsurf$(SUBTARGET) + @cp -v $(EXETARGET) $(DESTDIR)/$(NETSURF_FRAMEBUFFER_BIN)netsurf-fb$(SUBTARGET) @for F in default.css messages; do cp -vL framebuffer/res/$$F $(DESTDIR)/$(NETSURF_FRAMEBUFFER_RESOURCES); done install: all-program install-$(TARGET) debian/patches/series0000644000000000000000000000013511756701063012037 0ustar set-netsurf-config.patch fix-netsurf-binary-install enable-nsfb libnsfb-xcb-fix nsfb-linkfix debian/watch0000644000000000000000000000016111554116073010220 0ustar version=3 http://www.netsurf-browser.org/downloads/source/ \ /downloads/releases/netsurf-([\d\.]*)-src.tar.gz debian/netsurf-common.lintian-overrides0000644000000000000000000000004311756551244015531 0ustar netsurf-common: extra-license-file debian/copyright0000644000000000000000000001456311756651372011147 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: NetSurf Upstream-Contact: NetSurf Developers Source: http://www.netsurf-browser.org/downloads/releases/netsurf-2.9-full-src.tar.gz Files: netsurf-*/* Copyright: 2003-2012 John-Mark Bell 2003-2011 James Bursa 2003 Philip Pemberton 2003 Phil Mellor 2003 Rob Jackson 2004-2009 Richard Wilson 2004-2009 John Tytgat 2004 Andrew Timmins 2004 Kevin Bagust 2005-2009 Adrian Lees 2005,2008-2012 Chris Young 2006-2012 Daniel Silverstone 2006-2012 Rob Kendrick 2007-2012 Vincent Sanders 2008 Adam Blokus 2008 Andrew Sidwell 2008-2012 François Revol 2008 James Shaw 2008-2012 Michael Drake 2008-2009 Michael Lester 2008 Sean Fox 2009 Mark Benjamin 2009 Paul Blokus 2009 Rene W. Olsen 2009 Stephen Fellner 2009 Chris Tarnowski 2010-2011 Stephen Fryatt 2010 Ole Loots 2011 Sven Weidauer 1997-2009 Sam Lantinga 1998-2004 Daniel Stenberg 2004-2006 Christian Hammond. 2004-2005 Andrew Tridgell 2006 Stefan Metzmacher 2005 Tim Tyler License: GPL-2 with OpenSSL exception Files: netsurf-*/!NetSurf/* Copyright: 2008-2011 Michael Drake License: MIT Files: libparserutils-*/* Copyright: 2007-2012 John-Mark Bell License: MIT Files: libwapcaplet-*/* Copyright: 2009-2012 Daniel Silverstone License: MIT Files: libnsbmp-*/* Copyright: 2003,2008 James Bursa 2004 John Tytgat 2006 Richard Wilson 2008 James Bursa 2008 Sean Fox License: MIT Files: libnsgif-*/* Copyright: 2003,2008 James Bursa 2004 John Tytgat 2006 Richard Wilson 2008 James Bursa 2008 Sean Fox License: MIT Files: hubbub-*/* Copyright: 2007-2008 John-Mark Bell 2008 Andrew Sidwell License: MIT Files: libcss-*/* Copyright: 2007-2012 John-Mark Bell 2010-2011 Vincent Sanders 2010-2012 Daniel Silverstone License: MIT Files: debian/* Copyright: 2009,2011-2012 Vincent Sanders 2009 Daniel Silverstone License: GPL-2+ License: GPL-2+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA . On Debian systems, the full text of the GNU General Public License version 2 can be found in the file `/usr/share/common-licenses/GPL-2'. License: GPL-2 with OpenSSL exception NetSurf is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. . In addition, as a special exception, permission is granted to link the code of this release of NetSurf with the OpenSSL project's "OpenSSL" library (or with modified versions of it that use the same licence as the "OpenSSL" library), and distribute the linked executables. You must obey the GNU General Public License version 2 in all respects for all of the code used other than "OpenSSL". If you modify the code, you may extend this exception to your version of the code, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version. . On Debian systems, the complete text of the GNU General Public License, version 2, can be found in /usr/share/common-licenses/GPL-2. License: MIT Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. debian/compat0000644000000000000000000000000211755404054010371 0ustar 9 debian/netsurf-gtk.menu0000644000000000000000000000031311554116073012325 0ustar ?package(netsurf-gtk):needs="X11" section="Applications/Network/Web Browsing"\ title="Netsurf Web Browser" command="/usr/bin/netsurf-gtk" hints="Web Browsers" \ icon="/usr/share/pixmaps/netsurf.xpm" debian/netsurf-fb.manpages0000644000000000000000000000002411756473533012770 0ustar debian/netsurf-fb.1 debian/netsurf-common.install0000644000000000000000000000001211756543577013547 0ustar usr/share debian/postinst0000644000000000000000000000224611554116073011003 0ustar #!/bin/sh # postinst script for netsurf # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * `configure' # * `abort-upgrade' # * `abort-remove' `in-favour' # # * `abort-remove' # * `abort-deconfigure' `in-favour' # `removing' # # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package case "$1" in configure) update-alternatives --quiet \ --install /usr/bin/x-www-browser x-www-browser /usr/bin/netsurf 100 \ --slave /usr/share/man/man1/x-www-browser.1.gz x-www-browser.1.gz \ /usr/share/man/man1/netsurf.1.gz ;; abort-upgrade|abort-remove|abort-deconfigure) ;; *) echo "postinst called with unknown argument \`$1'" >&2 exit 1 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 debian/prerm0000644000000000000000000000166411554116073010250 0ustar #!/bin/sh # prerm script for netsurf # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * `remove' # * `upgrade' # * `failed-upgrade' # * `remove' `in-favour' # * `deconfigure' `in-favour' # `removing' # # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package case "$1" in remove|upgrade|deconfigure) update-alternatives --quiet --remove x-www-browser /usr/bin/netsurf ;; failed-upgrade) ;; *) echo "prerm called with unknown argument \`$1'" >&2 exit 1 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 debian/netsurf-fb.prerm0000644000000000000000000000020611756473763012331 0ustar #!/bin/sh set -e if [ "$1" != "upgrade" ]; then update-alternatives --remove netsurf-browser /usr/bin/netsurf-fb fi #DEBHELPER# debian/netsurf-gtk.desktop0000644000000000000000000000426111554124173013040 0ustar [Desktop Entry] Name=NetSurf Web Browser Name[ca]=Navegador web NetSurf Name[cs]=NetSurf Webový prohlížeč Name[es]=Navegador web NetSurf Name[fa]=مرورگر اینترنتی NetSurf Name[fi]=NetSurf-selain Name[fr]=Navigateur Web NetSurf Name[hu]=NetSurf webböngésző Name[it]=NetSurf Browser Web Name[ja]=NetSurf ウェブ・ブラウザ Name[ko]=NetSurf 웹 브라우저 Name[nb]=NetSurf Nettleser Name[nl]=NetSurf webbrowser Name[nn]=NetSurf Nettlesar Name[no]=NetSurf Nettleser Name[pl]=Przeglądarka WWW NetSurf Name[pt]=NetSurf Navegador Web Name[pt_BR]=Navegador Web NetSurf Name[sk]=Internetový prehliadač NetSurf Comment=Browse the World Wide Web Comment[ca]=Navegueu per el web Comment[cs]=Prohlížení stránek World Wide Webu Comment[de]=Im Internet surfen Comment[es]=Navegue por la web Comment[fa]=صفحات شبکه جهانی اینترنت را مرور نمایید Comment[fi]=Selaa Internetin WWW-sivuja Comment[fr]=Navigue sur Internet Comment[hu]=A világháló böngészése Comment[it]=Esplora il web Comment[ja]=ウェブを閲覧します Comment[ko]=웹을 돌아 다닙니다 Comment[nb]=Surf på nettet Comment[nl]=Verken het internet Comment[nn]=Surf på nettet Comment[no]=Surf på nettet Comment[pl]=Przeglądanie stron WWW Comment[pt]=Navegue na Internet Comment[pt_BR]=Navegue na Internet Comment[sk]=Prehliadanie internetu GenericName=Web Browser GenericName[ca]=Navegador web GenericName[cs]=Webový prohlížeč GenericName[es]=Navegador web GenericName[fa]=مرورگر اینترنتی GenericName[fi]=WWW-selain GenericName[fr]=Navigateur Web GenericName[hu]=Webböngésző GenericName[it]=Browser Web GenericName[ja]=ウェブ・ブラウザ GenericName[ko]=웹 브라우저 GenericName[nb]=Nettleser GenericName[nl]=Webbrowser GenericName[nn]=Nettlesar GenericName[no]=Nettleser GenericName[pl]=Przeglądarka WWW GenericName[pt]=Navegador Web GenericName[pt_BR]=Navegador Web GenericName[sk]=Internetový prehliadač Exec=netsurf-gtk %u Terminal=false X-MultipleArgs=false Type=Application Icon=netsurf.png Categories=Network; MimeType=text/html;text/xml;application/xhtml+xml;application/xml;image/gif;image/jpeg;image/png StartupWMClass=NetSurf-bin StartupNotify=true debian/netsurf-fb.install0000644000000000000000000000002311756543623012640 0ustar usr/bin/netsurf-fb debian/rules0000755000000000000000000000174311756550375010271 0ustar #!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. export DH_VERBOSE=1 export DEB_BUILD_MAINT_OPTIONS = hardening=+all,-pie export DEB_CFLAGS_MAINT_APPEND = -Wno-error export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed %: dh $@ override_dh_auto_build: dh_auto_build -- PREFIX=/usr TARGET=gtk dh_auto_build -- PREFIX=/usr TARGET=framebuffer override_dh_auto_install: dh_auto_install -- PREFIX=/usr TARGET=gtk mkdir -p debian/netsurf-gtk/usr/share/pixmaps mkdir -p debian/netsurf-gtk/usr/share/applications convert netsurf-2.9/gtk/res/netsurf.xpm -resize \!32x\!32 debian/netsurf-gtk/usr/share/pixmaps/netsurf.xpm convert netsurf-2.9/gtk/res/netsurf.xpm debian/netsurf-gtk/usr/share/pixmaps/netsurf.png install -m 644 debian/netsurf-gtk.desktop debian/netsurf-gtk/usr/share/applications dh_auto_install -- PREFIX=/usr TARGET=framebuffer override_dh_auto_clean: dh_auto_clean -- PREFIX=/usr TARGET=gtk dh_auto_clean -- PREFIX=/usr TARGET=framebuffer debian/control0000644000000000000000000000416011757131616010602 0ustar Source: netsurf Section: web Priority: extra Maintainer: Vincent Sanders Build-Depends: debhelper (>= 7.0.50~), libglade2-dev, libcurl3-dev, libxml2-dev, libpng-dev, librsvg2-dev, liblcms1-dev, libjpeg-dev, imagemagick, libfreetype6-dev, libvncserver-dev, libsdl1.2-dev, libxcb1-dev, libxcb-icccm4-dev, libxcb-image0-dev, libxcb-keysyms1-dev, libxcb-util0-dev Standards-Version: 3.9.3 Homepage: http://www.netsurf-browser.org Vcs-Browser: http://source.netsurf-browser.org/ Vcs-Svn: svn://svn.netsurf-browser.org/trunk/netsurf Package: netsurf Architecture: all Depends: ${misc:Depends}, netsurf-gtk Provides: www-browser Description: Small web browser with CSS support - Transition package NetSurf is a multi-platform lightweight web browser. Its aim is to provide comprehensive rendering of HTML 5 with CSS 2 in a small resource footprint while remaining fast. . This package assists in the transition to the netsurf-gtk package Package: netsurf-gtk Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, netsurf-common (=${source:Version}) Provides: www-browser Recommends: mime-support Description: Small web browser with CSS support for GTK NetSurf is a multi-platform lightweight web browser. It aims to provide comprehensive rendering of HTML 5 with CSS 2 in a small resource footprint without compromising performance. Package: netsurf-fb Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, netsurf-common (=${source:Version}) Provides: www-browser Recommends: mime-support Description: Small web browser with CSS support for framebuffers NetSurf is a multi-platform lightweight web browser. It aims to provide comprehensive rendering of HTML 5 with CSS 2 in a small resource footprint without compromising performance. Package: netsurf-common Architecture: all Depends: ${misc:Depends} Replaces: netsurf-gtk (<< 2.9-2) Breaks: netsurf-gtk (<< 2.9-2) Description: Small web browser with CSS support common files NetSurf is a multi-platform lightweight web browser. It aims to provide comprehensive rendering of HTML 5 with CSS 2 in a small resource footprint without compromising performance. debian/netsurf-gtk.manpages0000644000000000000000000000002511554116073013154 0ustar debian/netsurf-gtk.1 debian/docs0000644000000000000000000000000011554116073010032 0ustar debian/netsurf-gtk.install0000644000000000000000000000002411756543522013035 0ustar usr/bin/netsurf-gtk debian/source/0000755000000000000000000000000011636611515010473 5ustar debian/source/format0000644000000000000000000000001411553246757011713 0ustar 3.0 (quilt) debian/netsurf-gtk.10000644000000000000000000001652411554116073011534 0ustar .\" Hey, EMACS: -*- nroff -*- .\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) .TH NETSURF 1 "April 19, 2011" .\" Please adjust this date whenever revising the manpage. .\" .\" Some roff macros, for reference: .\" .nh disable hyphenation .\" .hy enable hyphenation .\" .ad l left justify .\" .ad b justify to both left and right margins .\" .nf disable filling .\" .fi enable filling .\" .br insert line break .\" .sp insert n+1 empty lines .\" for manpage-specific macros, see man(7) .SH NAME netsurf \- A small fast web browser .SH SYNOPSIS .B netsurf .RI [ options ] .RI [ url ] .SH DESCRIPTION This manual page documents briefly the .B netsurf browser. .PP .\" TeX users may be more comfortable with the \fB\fP and .\" \fI\fP escape sequences to invode bold face and italics, .\" respectively. \fBnetsurf\fP is a small fast web browser. This man page only describes how to run the browser. .SH OPTIONS This programs follow the usual GNU command line syntax, with long options starting with two dashes (`-'). .PP The command line parameters override any options loaded from the users Choices file. .PP A summary of options is included below. .TP .B \-v Enable verbose logging. .TP .B \-\-http_proxy Bboolean indicating if the http proxy is being used. .TP .B \-\-http_proxy_host The http proxy host. .TP .B \-\-http_proxy_port The http proxy port. .TP .B \-\-http_proxy_auth The authentication scheme for the http proxy. .TP .B \-\-http_proxy_auth_user The authentication schemes user. .TP .B \-\-http_proxy_auth_pass The authentication schemes password. .TP .B \-\-font_size The default font size to use. .TP .B \-\-font_min_size The minimum font size to use. .TP .B \-\-font_sans Family name of the sans serrif font. .TP .B \-\-font_serif Family name of the serrif font. .TP .B \-\-font_mono Family name of the monospace font. .TP .B \-\-font_cursive Family name of the cursive font. .TP .B \-\-font_fantasy Family name of the fantasy font. .TP .B \-\-accept_language Languages to accept. .TP .B \-\-accept_charset Character set to accept .TP .B \-\-memory_cache_size Maximum memory cache size. .TP .B \-\-disc_cache_age Maximum disc cache size. .TP .B \-\-block_advertisements Boolean to enable ad blocking. .TP .B \-\-minimum_gif_delay Minimum time between gif frames .TP .B \-\-send_referer Boolean controlling wether referer data should be sent .TP .B \-\-animate_images Boolean controlling wether images should be animated. .TP .B \-\-expire_url expire url .TP .B \-\-font_default Default font. .TP .B \-\-ca_bundle ca bundle .TP .B \-\-ca_path ca path .TP .B \-\-cookie_file cookie file .TP .B \-\-cookie_jar cookie jar .TP .B \-\-homepage_url homepage url .TP .B \-\-search_url_bar search url bar .TP .B \-\-search_provider search provider .TP .B \-\-url_suggestion url suggestion .TP .B \-\-window_x The X co-ordinate of the initial window. .TP .B \-\-window_y The Y co-ordinate of the initial window. .TP .B \-\-window_width The width of the initial window. .TP .B \-\-window_height The height of the initial window. .TP .B \-\-window_screen_width window screen width .TP .B \-\-window_screen_height window screen height .TP .B \-\-toolbar_status_size toolbar status size .TP .B \-\-scale Initial scale factor. .TP .B \-\-incremental_reflow Boolean controlling wether incremental reflow is performed. .TP .B \-\-min_reflow_period Minimum time between incremental reflows .TP .B \-\-core_select_menu core select menu .TP .B \-\-max_fetchers max fetchers .TP .B \-\-max_fetchers_per_host max fetchers per host .TP .B \-\-max_cached_fetch_handles max cached fetch handles .TP .B \-\-suppress_curl_debug suppress curl debug .TP .B \-\-target_blank target blank .TP .B \-\-button_2_tab button 2 tab .TP .B \-\-margin_top margin top .TP .B \-\-margin_bottom margin bottom .TP .B \-\-margin_left margin left .TP .B \-\-margin_right margin right .TP .B \-\-export_scale export scale .TP .B \-\-suppress_images suppress images .TP .B \-\-remove_backgrounds remove backgrounds .TP .B \-\-enable_loosening enable loosening .TP .B \-\-enable_PDF_compression enable PDF compression .TP .B \-\-enable_PDF_password enable_PDF_password .TP .B \-\-gui_colour_bg_1 gui colour bg_1 .TP .B \-\-gui_colour_fg_1 gui colour fg_1 .TP .B \-\-gui_colour_fg_2 gui colour fg_2 .TP .B \-\-sys_colour_ActiveBorder Override CSS sys_colour_ActiveBorder colour. .TP .B \-\-sys_colour_ActiveCaption Override CSS sys_colour_ActiveCaption colour. .TP .B \-\-sys_colour_AppWorkspace Override CSS sys_colour_AppWorkspace colour. .TP .B \-\-sys_colour_Background Override CSS sys_colour_Background colour. .TP .B \-\-sys_colour_ButtonFace Override CSS sys_colour_ButtonFace colour. .TP .B \-\-sys_colour_ButtonHighlight Override CSS sys_colour_ButtonHighlight colour. .TP .B \-\-sys_colour_ButtonShadow Override CSS sys_colour_ButtonShadow colour. .TP .B \-\-sys_colour_ButtonText Override CSS sys_colour_ButtonText colour. .TP .B \-\-sys_colour_CaptionText Override CSS sys_colour_CaptionText colour. .TP .B \-\-sys_colour_GrayText Override CSS sys_colour_GrayText colour. .TP .B \-\-sys_colour_Highlight Override CSS sys_colour_Highlight colour. .TP .B \-\-sys_colour_HighlightText Override CSS sys_colour_HighlightText colour. .TP .B \-\-sys_colour_InactiveBorder Override CSS sys_colour_InactiveBorder colour. .TP .B \-\-sys_colour_InactiveCaption Override CSS sys_colour_InactiveCaption colour. .TP .B \-\-sys_colour_InactiveCaptionText Override CSS sys_colour_InactiveCaptionText colour. .TP .B \-\-sys_colour_InfoBackground Override CSS sys_colour_InfoBackground colour. .TP .B \-\-sys_colour_InfoText Override CSS sys_colour_InfoText colour. .TP .B \-\-sys_colour_Menu Override CSS sys_colour_Menu colour. .TP .B \-\-sys_colour_MenuText Override CSS sys_colour_MenuText colour. .TP .B \-\-sys_colour_Scrollbar Override CSS sys_colour_Scrollbar colour. .TP .B \-\-sys_colour_ThreeDDarkShadow Override CSS sys_colour_ThreeDDarkShadow colour. .TP .B \-\-sys_colour_ThreeDFace Override CSS sys_colour_ThreeDFace colour. .TP .B \-\-sys_colour_ThreeDHighlight Override CSS sys_colour_ThreeDHighlight colour. .TP .B \-\-sys_colour_ThreeDLightShadow Override CSS sys_colour_ThreeDLightShadow colour. .TP .B \-\-sys_colour_ThreeDShadow Override CSS sys_colour_ThreeDShadow colour. .TP .B \-\-sys_colour_Window Override CSS sys_colour_Window colour. .TP .B \-\-sys_colour_WindowFrame Override CSS sys_colour_WindowFrame colour. .TP .B \-\-sys_colour_WindowText Override CSS sys_colour_WindowText colour. .TP .B \-\-render_resample render resample .TP .B \-\-downloads_clear downloads clear .TP .B \-\-request_overwrite request overwrite .TP .B \-\-downloads_directory downloads directory .TP .B \-\-url_file url file .TP .B \-\-show_single_tab Force tabs to always be show. .TP .B \-\-button_type button type .TP .B \-\-disable_popups disable popups .TP .B \-\-disable_plugins disable plugins .TP .B \-\-history_age history age .TP .B \-\-hover_urls hover urls .TP .B \-\-focus_new focus new .TP .B \-\-new_blank new blank .TP .B \-\-hotlist_path hotlist path .TP .B \-\-source_tab source tab .TP .B \-\-current_theme current theme .SH AUTHOR netsurf was written by . .PP This manual page was written by Vincent Sanders , for the Debian project (and may be used by others). debian/changelog0000644000000000000000000000777611757131404011064 0ustar netsurf (2.9-2) unstable; urgency=low * Fix upgrade as netsurf-common lacked Replaces/Breaks (Closes: #674113) -- Vincent Sanders Wed, 23 May 2012 10:48:30 +0100 netsurf (2.9-1) unstable; urgency=low * New upstream release * Enable hardening build flags (Closes: #672302) -- Vincent Sanders Tue, 22 May 2012 09:59:13 +0100 netsurf (2.8-2) unstable; urgency=high * Fix user settings directory permissions (Closes: #659376) Fixes: CVE-2012-0844 -- Vincent Sanders Thu, 16 Feb 2012 10:59:13 +0000 netsurf (2.8-1) unstable; urgency=low * New upstream release - Fixes FTBFS on amd64 (Closes: #634427) - Fixes program abort on https links (Closes: #633506) * Improve short description (Closes: #625220) * Provide vcs-svn header (Closes: #638502) -- Vincent Sanders Thu, 22 Sep 2011 00:50:59 +0100 netsurf (2.7-2) unstable; urgency=low * Fix FTBFS on kFreeBSD * CSS page centering works in 2.7 (Closes: #577180) * String Serarching available (Closes: #435012) * Tab handling improved in 2.7 (Closes: #589424) -- Vincent Sanders Fri, 22 Apr 2011 10:50:37 +0100 netsurf (2.7-1) unstable; urgency=low * New upstream (Closes: #586662) * NetSurf no longer requires lemon to build (Closes: #574299) -- Vincent Sanders Tue, 19 Apr 2011 09:55:01 +0100 netsurf (2.1-2.1) unstable; urgency=low * NMU from Moenchengladbach BSP * Fixes FTBFS on kFreeBSD (Closes: #559479) -- Axel Beckert Sat, 23 Jan 2010 19:14:01 +0100 netsurf (2.1-2) unstable; urgency=low * Add ttf-bitstream-vera to Depends: for framebuffer builds. (Closes: #539897) -- Daniel Silverstone Sat, 15 Aug 2009 12:37:06 +0100 netsurf (2.1-1) unstable; urgency=low * New upstream release (Closes: #533463) - Now produces variants for linux framebuffer, VNC server and SDL, along with the SDL release from before. - Wikipedia CSS images now rendered properly (Closes: #434964) - Open File now bound to Control+O (Closes: #482755) - No longer asserts on huge box objects (Closes: #471719) -- Daniel Silverstone Mon, 20 Jul 2009 10:30:48 +0200 netsurf (2.0-1) unstable; urgency=low * New upstream release -- Daniel Silverstone Tue, 21 Apr 2009 22:58:52 +0100 netsurf (1.2-1) unstable; urgency=low * New upstream (Closes: #472599) * Fixes segfault (Closes: #442466) * Form input no longer confuses non-alphanumeric keys (Closes: #435319) * Blank lines in preformatted blocks are displayed correctly (Closes: #435013) -- Vincent Sanders Sat, 05 Apr 2008 00:48:41 +0000 netsurf (1.1-2.1) unstable; urgency=low * Non-maintainer upload. * Add missing assert.h inclusion in css.h to fix FTBFS (Closes: #470248), thanks Kumar Appaiah for the patch. -- Nico Golde Wed, 19 Mar 2008 17:24:40 +0100 netsurf (1.1-2) unstable; urgency=low * Fix unusable select widget (Closes: #434963) * Add www-browser provides (Closes: #445376) * Fix memory cache size option. * Fix proxy option handling. * Fix out of bounds window scrolling. * Fix handling of CSS colour values. -- Vincent Sanders Sun, 07 Oct 2007 10:59:41 +0000 netsurf (1.1-1) unstable; urgency=low * New upstream (Closes: #435463, #437624) * Build against correct library packages (Closes: #433523) -- Vincent Sanders Tue, 14 Aug 2007 22:21:05 +0000 netsurf (1.0-1) unstable; urgency=low * Initial release (Closes: #427399) * Correct logging output verbosity control switch. * Corrected build to allow for source directory to be renamed. * Correct handling of file: URI when browsing directories. * Fix for crash when viewing sites with frames. * Fix for runaway cpu usage on sites with frames. * Fix for cookie handling. * Fix scrollbar handling for anchors. -- Vincent Sanders Sun, 3 Jun 2007 18:14:27 +0100 debian/netsurf-gtk.prerm0000644000000000000000000000020711554116073012510 0ustar #!/bin/sh set -e if [ "$1" != "upgrade" ]; then update-alternatives --remove netsurf-browser /usr/bin/netsurf-gtk fi #DEBHELPER# debian/netsurf-fb.postinst0000644000000000000000000000037011756474037013064 0ustar #!/bin/sh set -e if [ "$1" = "configure" ]; then update-alternatives --install /usr/bin/netsurf netsurf-browser /usr/bin/netsurf-fb 80 --slave /usr/share/man/man1/netsurf.1.gz netsurf-manual /usr/share/man/man1/netsurf-fb.1.gz fi #DEBHELPER# debian/netsurf-fb.10000644000000000000000000001652411756473652011353 0ustar .\" Hey, EMACS: -*- nroff -*- .\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) .TH NETSURF 1 "April 19, 2012" .\" Please adjust this date whenever revising the manpage. .\" .\" Some roff macros, for reference: .\" .nh disable hyphenation .\" .hy enable hyphenation .\" .ad l left justify .\" .ad b justify to both left and right margins .\" .nf disable filling .\" .fi enable filling .\" .br insert line break .\" .sp insert n+1 empty lines .\" for manpage-specific macros, see man(7) .SH NAME netsurf \- A small fast web browser .SH SYNOPSIS .B netsurf .RI [ options ] .RI [ url ] .SH DESCRIPTION This manual page documents briefly the .B netsurf browser. .PP .\" TeX users may be more comfortable with the \fB\fP and .\" \fI\fP escape sequences to invode bold face and italics, .\" respectively. \fBnetsurf\fP is a small fast web browser. This man page only describes how to run the browser. .SH OPTIONS This programs follow the usual GNU command line syntax, with long options starting with two dashes (`-'). .PP The command line parameters override any options loaded from the users Choices file. .PP A summary of options is included below. .TP .B \-v Enable verbose logging. .TP .B \-\-http_proxy Bboolean indicating if the http proxy is being used. .TP .B \-\-http_proxy_host The http proxy host. .TP .B \-\-http_proxy_port The http proxy port. .TP .B \-\-http_proxy_auth The authentication scheme for the http proxy. .TP .B \-\-http_proxy_auth_user The authentication schemes user. .TP .B \-\-http_proxy_auth_pass The authentication schemes password. .TP .B \-\-font_size The default font size to use. .TP .B \-\-font_min_size The minimum font size to use. .TP .B \-\-font_sans Family name of the sans serrif font. .TP .B \-\-font_serif Family name of the serrif font. .TP .B \-\-font_mono Family name of the monospace font. .TP .B \-\-font_cursive Family name of the cursive font. .TP .B \-\-font_fantasy Family name of the fantasy font. .TP .B \-\-accept_language Languages to accept. .TP .B \-\-accept_charset Character set to accept .TP .B \-\-memory_cache_size Maximum memory cache size. .TP .B \-\-disc_cache_age Maximum disc cache size. .TP .B \-\-block_advertisements Boolean to enable ad blocking. .TP .B \-\-minimum_gif_delay Minimum time between gif frames .TP .B \-\-send_referer Boolean controlling wether referer data should be sent .TP .B \-\-animate_images Boolean controlling wether images should be animated. .TP .B \-\-expire_url expire url .TP .B \-\-font_default Default font. .TP .B \-\-ca_bundle ca bundle .TP .B \-\-ca_path ca path .TP .B \-\-cookie_file cookie file .TP .B \-\-cookie_jar cookie jar .TP .B \-\-homepage_url homepage url .TP .B \-\-search_url_bar search url bar .TP .B \-\-search_provider search provider .TP .B \-\-url_suggestion url suggestion .TP .B \-\-window_x The X co-ordinate of the initial window. .TP .B \-\-window_y The Y co-ordinate of the initial window. .TP .B \-\-window_width The width of the initial window. .TP .B \-\-window_height The height of the initial window. .TP .B \-\-window_screen_width window screen width .TP .B \-\-window_screen_height window screen height .TP .B \-\-toolbar_status_size toolbar status size .TP .B \-\-scale Initial scale factor. .TP .B \-\-incremental_reflow Boolean controlling wether incremental reflow is performed. .TP .B \-\-min_reflow_period Minimum time between incremental reflows .TP .B \-\-core_select_menu core select menu .TP .B \-\-max_fetchers max fetchers .TP .B \-\-max_fetchers_per_host max fetchers per host .TP .B \-\-max_cached_fetch_handles max cached fetch handles .TP .B \-\-suppress_curl_debug suppress curl debug .TP .B \-\-target_blank target blank .TP .B \-\-button_2_tab button 2 tab .TP .B \-\-margin_top margin top .TP .B \-\-margin_bottom margin bottom .TP .B \-\-margin_left margin left .TP .B \-\-margin_right margin right .TP .B \-\-export_scale export scale .TP .B \-\-suppress_images suppress images .TP .B \-\-remove_backgrounds remove backgrounds .TP .B \-\-enable_loosening enable loosening .TP .B \-\-enable_PDF_compression enable PDF compression .TP .B \-\-enable_PDF_password enable_PDF_password .TP .B \-\-gui_colour_bg_1 gui colour bg_1 .TP .B \-\-gui_colour_fg_1 gui colour fg_1 .TP .B \-\-gui_colour_fg_2 gui colour fg_2 .TP .B \-\-sys_colour_ActiveBorder Override CSS sys_colour_ActiveBorder colour. .TP .B \-\-sys_colour_ActiveCaption Override CSS sys_colour_ActiveCaption colour. .TP .B \-\-sys_colour_AppWorkspace Override CSS sys_colour_AppWorkspace colour. .TP .B \-\-sys_colour_Background Override CSS sys_colour_Background colour. .TP .B \-\-sys_colour_ButtonFace Override CSS sys_colour_ButtonFace colour. .TP .B \-\-sys_colour_ButtonHighlight Override CSS sys_colour_ButtonHighlight colour. .TP .B \-\-sys_colour_ButtonShadow Override CSS sys_colour_ButtonShadow colour. .TP .B \-\-sys_colour_ButtonText Override CSS sys_colour_ButtonText colour. .TP .B \-\-sys_colour_CaptionText Override CSS sys_colour_CaptionText colour. .TP .B \-\-sys_colour_GrayText Override CSS sys_colour_GrayText colour. .TP .B \-\-sys_colour_Highlight Override CSS sys_colour_Highlight colour. .TP .B \-\-sys_colour_HighlightText Override CSS sys_colour_HighlightText colour. .TP .B \-\-sys_colour_InactiveBorder Override CSS sys_colour_InactiveBorder colour. .TP .B \-\-sys_colour_InactiveCaption Override CSS sys_colour_InactiveCaption colour. .TP .B \-\-sys_colour_InactiveCaptionText Override CSS sys_colour_InactiveCaptionText colour. .TP .B \-\-sys_colour_InfoBackground Override CSS sys_colour_InfoBackground colour. .TP .B \-\-sys_colour_InfoText Override CSS sys_colour_InfoText colour. .TP .B \-\-sys_colour_Menu Override CSS sys_colour_Menu colour. .TP .B \-\-sys_colour_MenuText Override CSS sys_colour_MenuText colour. .TP .B \-\-sys_colour_Scrollbar Override CSS sys_colour_Scrollbar colour. .TP .B \-\-sys_colour_ThreeDDarkShadow Override CSS sys_colour_ThreeDDarkShadow colour. .TP .B \-\-sys_colour_ThreeDFace Override CSS sys_colour_ThreeDFace colour. .TP .B \-\-sys_colour_ThreeDHighlight Override CSS sys_colour_ThreeDHighlight colour. .TP .B \-\-sys_colour_ThreeDLightShadow Override CSS sys_colour_ThreeDLightShadow colour. .TP .B \-\-sys_colour_ThreeDShadow Override CSS sys_colour_ThreeDShadow colour. .TP .B \-\-sys_colour_Window Override CSS sys_colour_Window colour. .TP .B \-\-sys_colour_WindowFrame Override CSS sys_colour_WindowFrame colour. .TP .B \-\-sys_colour_WindowText Override CSS sys_colour_WindowText colour. .TP .B \-\-render_resample render resample .TP .B \-\-downloads_clear downloads clear .TP .B \-\-request_overwrite request overwrite .TP .B \-\-downloads_directory downloads directory .TP .B \-\-url_file url file .TP .B \-\-show_single_tab Force tabs to always be show. .TP .B \-\-button_type button type .TP .B \-\-disable_popups disable popups .TP .B \-\-disable_plugins disable plugins .TP .B \-\-history_age history age .TP .B \-\-hover_urls hover urls .TP .B \-\-focus_new focus new .TP .B \-\-new_blank new blank .TP .B \-\-hotlist_path hotlist path .TP .B \-\-source_tab source tab .TP .B \-\-current_theme current theme .SH AUTHOR netsurf was written by . .PP This manual page was written by Vincent Sanders , for the Debian project (and may be used by others).