--- edbrowse-3.3.4.orig/debian/edbrowse.sh +++ edbrowse-3.3.4/debian/edbrowse.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +# Set LD_LIBRARY_PATH before launching edbrowse + +LD_LIBRARY_PATH="$LD_LIBRARY_PATH;/usr/lib/xulrunner-`xulrunner-1.9.2 --gre-version`" +export LD_LIBRARY_PATH +exec /usr/bin/edbrowse-real $@ --- edbrowse-3.3.4.orig/debian/install +++ edbrowse-3.3.4/debian/install @@ -0,0 +1 @@ +src/edbrowse usr/bin --- edbrowse-3.3.4.orig/debian/rules +++ edbrowse-3.3.4/debian/rules @@ -0,0 +1,74 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# This is the debhelper compatibility version to use. +# This line moved to debian/compat +#export DH_COMPAT=4 + +CFLAGS = -g +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +# Correct upstream's variables for Debian names +CFLAGS += $(shell pkg-config --cflags mozilla-js) +LIBS = -lpcre -lm -lssl $(shell pkg-config --libs mozilla-js) +# Avoid stripping binaries LFLAGS is upstream's name +# for additional linking flags! +LFLAGS = "" + +build: build-stamp +build-stamp: + dh_testdir + $(MAKE) CFLAGS="$(CFLAGS)" LIBS="$(LIBS)" LFLAGS="$(LFLAGS)" + # minor fix required for upstream man page + sed -e's;^\.\.\(.\);.\1;' -e's;^ \.;.;' < doc/man-edbrowse-debian.1 > debian/edbrowse.1 + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + rm -f *.o edbrowse + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + dh_install + #chmod +x debian/edbrowse/usr/bin/edbrowse + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + mv debian/edbrowse/usr/bin/edbrowse debian/edbrowse/usr/bin/edbrowse-real + cp debian/edbrowse.sh debian/edbrowse/usr/bin/edbrowse + dh_testdir + dh_testroot + dh_installdocs README + dh_installexamples + dh_installman --language=C debian/edbrowse.1 + dh_installchangelogs -k CHANGES + dh_link + dh_strip + dh_fixperms + dh_compress + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- edbrowse-3.3.4.orig/debian/examples +++ edbrowse-3.3.4/debian/examples @@ -0,0 +1,4 @@ +src/jsrt +doc/sample.ebrc +doc/sample_fr.ebrc +doc/setup.ebrc --- edbrowse-3.3.4.orig/debian/copyright +++ edbrowse-3.3.4/debian/copyright @@ -0,0 +1,34 @@ +This package was debianized by Mario Lang on +Sat, 16 Nov 2002 10:49:41 +0100. + +It was downloaded from http://www.eklhad.net/linux/app/ + +Upstream Author: Karl Dahlke + +Copyright: + +The COPYING file that accompanies the program carries the following +copyright assertion: + +This program is copyright (C) (C) Karl Dahlke, 2000-2007. +It is made available by the author under the terms of the GNU General Public +License (GPL), as articulated by the Free Software Foundation. +It may be used for any purpose, and redistributed, +provided this copyright notice is included. + +As a special exception, I hereby grant permission to link the code of this +program with the OpenSSL library (or with modified versions of OpenSSL that use +the same license as OpenSSL), and distribute linked combinations including the two. +You must obey the GNU General Public License in all respects for all of the +code used other than OpenSSL. If you modify this program, +you may extend this exception to your version of the program, +but you are not obligated to do so. If you do not wish to do so, +delete this exception statement from your version. +Copyright (C) Karl Dahlke, 2002-2007. +This file is part of the edbrowse project, released under GPL. + +Location: + +On Debian GNU/Linux systems, the complete text of the GNU General +Public License (Version 2.0) can be found in `/usr/share/common-licenses/GPL'. + --- edbrowse-3.3.4.orig/debian/docs +++ edbrowse-3.3.4/debian/docs @@ -0,0 +1,5 @@ +README +doc/philosophy_fr.html +doc/philosophy.html +doc/usersguide_fr.html +doc/usersguide.html --- edbrowse-3.3.4.orig/debian/changelog +++ edbrowse-3.3.4/debian/changelog @@ -0,0 +1,125 @@ +edbrowse (3.3.4-1ubuntu0.1) jaunty-security; urgency=low + + * fix LP: #553052 - Port edbrowse to xulrunner-1.9.2 + + debian/control: + - replace libmozjs-dev with xulrunner-dev + - add build depends on pkg-config + - add xulrunner-1.9.2 depends to edbrowse package + + debian/rules: + - get mozjs cflags and libs with pkgconfig + - move edbrowse binary to edbrowse-real + - install edbrowse wrapper script so we can set LD_LIBRARY_PATH + + Add debian/edbrowse.sh as a wrapper so we can set LD_LIBRARY_PATH + + -- Micah Gersten Tue, 06 Jul 2010 20:56:50 +0100 + +edbrowse (3.3.4-1) unstable; urgency=low + + * New upstream version (3.3.4). + - Convert between iso8859-1 and utf-8 on the fly. + - Support reading of pdf using pdftohtml. + - French translation of html documentation. + - Old html documentation renamed to usersguide. + - Additional documentation on philosophy. + * debian/control: + - Changed homepage to sourcefource site. + - Moved homepage from description to its own field. + - Added "poppler-utils | xpdf-utils" to Recommends. + - Added "www-browser", "mail-reader" and "editor" to Provides. + - Removed "XS-" from Vcs-Svn tag. + - Standards-Version: 3.7.3 + * debian/docs: Added new documentation files + from "doc/" subdirectory. + * debian/watch: Updated to use sourceforge site. + * debian/edbrowse.doc-base: + - Changed name of upstream provided html documentation from + "ebdoc.html" to "usersguide.html". + - Changed section from "net" to "Network/Web Browsing". + * debian/install: Compiled binary is now in "src/". + + -- Kapil Hari Paranjape Wed, 09 Apr 2008 18:55:23 +0530 + +edbrowse (3.3.1-1) unstable; urgency=low + + * New upstream version (3.3.1). + - Messages have been internationalised. + - Supports LANG environment variable. + - Includes man page. + * Incorporate upstream man page: + - debian/rules: Add rule to install upstream man page. + - debian/edbrowse.1: Not required. Removed. + + -- Kapil Hari Paranjape Wed, 5 Dec 2007 10:39:04 +0530 + +edbrowse (3.2.1-2) unstable; urgency=low + + * debian/edbrowse.1: + - Corrected author's address. + - Put sourceforge as the upstream web address. + * debian/watch: Added URL to track upstream versions. + * debian/control: Added XS-Vcs-Svn tag. + * debian/compat: Added this file instead of DH_COMPAT line in + debian/rules. + * debian/rules: + - Commented out DH_COMPAT line + - Added definition of LFLAGS to prevent stripping of compiled + binary if "nostrip" is defined. Closes: #436780. + + -- Kapil Hari Paranjape Thu, 9 Aug 2007 06:53:42 +0530 + +edbrowse (3.2.1-1) unstable; urgency=low + + * New upstream version (3.2.1). Closes: #421451. + - can fetch and execute a local javascript file + if required by local html file. + - provide COPYING and CHANGES files. + * debian/rules: + - add CHANGES to dh_installchangelogs line. + - add dh_installman entry to install the man page. + * debian/copyright: updated to include the COPYING file. + * debian/edbrowse.1: added a basic man page. + + -- Kapil Hari Paranjape Wed, 9 May 2007 07:33:04 +0530 + +edbrowse (3.1.2-1) unstable; urgency=low + + * New upstream version (3.1.2). Closes: #306486. + - programs now written in C + - support for javascript. + * debian/control: + - added Kapil Hari Paranjape to Uploaders. + - Build-depends on "libssl-dev", "libmozjs-dev", "libpcre3-dev". + - Standards-Version to 3.7.2. No changes required. + * debian/rules: + - add "noopt" feature. + - set CFLAGS and LIBS. + - Put $(MAKE) into the build rules. + * debian/copyright: Edited to add the current copyright which + is GPL with the exception for linking with OpenSSL. + * debian/docs: added "README". + * debian/examples: added "jsrt". + + -- Kapil Hari Paranjape Fri, 20 Oct 2006 10:47:30 +0530 + +edbrowse (1.5.17-2) unstable; urgency=low + + * debian/control: + - Use Build-Depends-Indep and correctly depend on debhelper >= 4. + - Update Stnadards-Version to 3.6.1. + * debian/copyright: Fix dh_make boilerplate. + + -- Mario Lang Sat, 1 Nov 2003 11:33:01 +0100 + +edbrowse (1.5.17-1) unstable; urgency=low + + * New upstream version + - Fixes DFSG-incompatible copyright notice (Closes: Bug#211062). + + -- Mario Lang Tue, 16 Sep 2003 15:39:02 +0200 + +edbrowse (1.5.0-1) unstable; urgency=low + + * Initial Release. + + -- Mario Lang Sat, 16 Nov 2002 10:49:41 +0100 + --- edbrowse-3.3.4.orig/debian/compat +++ edbrowse-3.3.4/debian/compat @@ -0,0 +1 @@ +4 --- edbrowse-3.3.4.orig/debian/watch +++ edbrowse-3.3.4/debian/watch @@ -0,0 +1,3 @@ +version=3 +http://edbrowse.sourceforge.net/ \ + http://www.eklhad.net/linux/app/edbrowse-(.*).zip --- edbrowse-3.3.4.orig/debian/control +++ edbrowse-3.3.4/debian/control @@ -0,0 +1,22 @@ +Source: edbrowse +Section: net +Priority: extra +Uploaders: Kapil Hari Paranjape +Maintainer: Mario Lang +Build-Depends: debhelper (>> 4.0.0), libssl-dev (>= 0.9.8b), libpcre3-dev (>= 6.4), xulrunner-dev (>= 1.9.2), pkg-config +Vcs-Svn: svn://svn.debian.org/svn/collab-maint/deb-maint/edbrowse/ +Homepage: http://edbrowse.sourceforge.net/ +Standards-Version: 3.7.3 + +Package: edbrowse +Architecture: any +Depends: ${shlibs:Depends}, xulrunner-1.9.2 +Recommends: poppler-utils | xpdf-utils +Provides: editor, mail-reader, www-browser +Description: A /bin/ed-alike webbrowser written in C + edbrowse is a reimplementation of /bin/ed, with some basic + differences (it uses Perl regular expressions) with the ability to + visit webpages and ftp sites. edbrowse performs basic transformations + on the html source to produce a readable representation. edbrowse + supports Forms, Frames, Netscape-style cookies, HTTPS + connections and JavaScript. --- edbrowse-3.3.4.orig/debian/edbrowse.doc-base +++ edbrowse-3.3.4/debian/edbrowse.doc-base @@ -0,0 +1,13 @@ +Document: edbrowse +Title: edbrowse Manual +Author: Karl Dahlke +Abstract: This manual describes what edbrowse is + and how it can be used to + edit files, browse webpages, fill out forms, and do a lot of other useful + things from the command-line in a line-editor style. +Section: Network/Web Browsing + +Format: HTML +Index: /usr/share/doc/edbrowse/usersguide.html +Files: /usr/share/doc/edbrowse/usersguide.html + --- edbrowse-3.3.4.orig/debian/dirs +++ edbrowse-3.3.4/debian/dirs @@ -0,0 +1 @@ +usr/bin