diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2012-02-20 01:32:18 -0500 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2012-02-20 01:32:18 -0500 |
commit | bb5fd6e44e480f571bcb713788cc50eea44095e5 (patch) | |
tree | dc3b9975b9bf9e18ce454348ab31ae232a372107 /PACKAGE | |
parent | 3e8c172cd64e8a34029b60208c0d3016d3609505 (diff) | |
download | lynx-snapshots-bb5fd6e44e480f571bcb713788cc50eea44095e5.tar.gz |
snapshot of project "lynx", label v2-8-8dev_10b
Diffstat (limited to 'PACKAGE')
-rw-r--r-- | PACKAGE/debian/changelog | 35 | ||||
-rw-r--r-- | PACKAGE/debian/compat | 1 | ||||
-rw-r--r-- | PACKAGE/debian/control | 21 | ||||
-rw-r--r-- | PACKAGE/debian/copyright | 124 | ||||
-rw-r--r-- | PACKAGE/debian/doc-base | 10 | ||||
-rw-r--r-- | PACKAGE/debian/menu | 2 | ||||
-rw-r--r-- | PACKAGE/debian/mime | 2 | ||||
-rw-r--r-- | PACKAGE/debian/postinst | 27 | ||||
-rw-r--r-- | PACKAGE/debian/prerm | 12 | ||||
-rwxr-xr-x | PACKAGE/debian/rules | 183 | ||||
-rw-r--r-- | PACKAGE/debian/source/format | 1 | ||||
-rw-r--r-- | PACKAGE/debian/watch | 4 | ||||
-rw-r--r-- | PACKAGE/lynx-curses.iss | 11 | ||||
-rw-r--r-- | PACKAGE/lynx-slang.iss | 12 | ||||
-rw-r--r-- | PACKAGE/lynx.iss | 409 | ||||
-rw-r--r-- | PACKAGE/lynx.spec | 114 | ||||
-rw-r--r-- | PACKAGE/version.iss | 9 |
17 files changed, 0 insertions, 977 deletions
diff --git a/PACKAGE/debian/changelog b/PACKAGE/debian/changelog deleted file mode 100644 index a52c63a5..00000000 --- a/PACKAGE/debian/changelog +++ /dev/null @@ -1,35 +0,0 @@ -lynx-dev (2.8.8dev.11) unstable; urgency=low - - * changes for dev.11 - - -- Thomas E. Dickey <dickey@invisible-island.net> Wed, 15 Feb 2012 18:43:49 -0500 - -lynx-dev (2.8.8dev.10) unstable; urgency=low - - * changes for dev.10 - - -- Thomas E. Dickey <dickey@invisible-island.net> Thu, 06 Oct 2011 18:19:01 -0400 - -lynx-dev (2.8.8dev.9) unstable; urgency=low - - * changes for dev.9 - - -- Thomas E. Dickey <dickey@invisible-island.net> Wed, 27 Apr 2011 19:38:05 -0400 - -lynx-dev (2.8.8dev.8) unstable; urgency=low - - * changes for dev.8 - - -- Thomas E. Dickey <dickey@invisible-island.net> Sun, 19 Dec 2010 18:49:04 -0500 - -lynx-dev (2.8.8dev.7) unstable; urgency=low - - * changes for dev.7 - - -- Thomas E. Dickey <dickey@invisible-island.net> Mon, 01 Nov 2010 17:32:06 -0400 - -lynx-dev (2.8.8dev.6) unstable; urgency=low - - * add build-script for testing, adapted from Debian lynx-cur package. - - -- Thomas E. Dickey <dickey@invisible-island.net> Sat, 18 Sep 2010 07:14:46 -0400 diff --git a/PACKAGE/debian/compat b/PACKAGE/debian/compat deleted file mode 100644 index 7ed6ff82..00000000 --- a/PACKAGE/debian/compat +++ /dev/null @@ -1 +0,0 @@ -5 diff --git a/PACKAGE/debian/control b/PACKAGE/debian/control deleted file mode 100644 index a8a99d16..00000000 --- a/PACKAGE/debian/control +++ /dev/null @@ -1,21 +0,0 @@ -Source: lynx-dev -Section: web -Priority: extra -Maintainer: Thomas E. Dickey <dickey@invisible-island.net> -Homepage: http://lynx.isc.org/ -Build-Depends: debhelper (>= 7), dpatch, po-debconf, libncursesw5-dev, zlib1g-dev, gettext, libgnutls-dev, sharutils, telnet, openssh-client, libbsd-dev, libidn11-dev -Standards-Version: 3.8.2 - -Package: lynx-dev -Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends} -Provides: www-browser, news-reader -Recommends: mime-support -Description: Text-mode WWW Browser with NLS support (development version) - Lynx is a fully-featured World Wide Web (WWW) client for users running - cursor-addressable, character-cell display devices. It is very fast and easy - to use. It will display HTML documents containing links to files residing on - the local system, as well as files residing on remote systems running Gopher, - HTTP, FTP, WAIS, and NNTP servers. - . - This package contains a development version of lynx. diff --git a/PACKAGE/debian/copyright b/PACKAGE/debian/copyright deleted file mode 100644 index 3df77a17..00000000 --- a/PACKAGE/debian/copyright +++ /dev/null @@ -1,124 +0,0 @@ -Upstream source http://lynx.isc.org/current/ - -Current maintainer: Thomas Dickey <dickey@invisible-island.net> - -------------------------------------------------------------------------------- - -Most of the content of the lynx release (and corresponding copyright) is -the work of developers on the lynx-dev mailing list, who have agreed to -distribute their work under the terms and conditions of the GNU Public -License (Version 2). Note that the License text after the terms and -conditions is advisory in nature, and contains neither terms nor -conditions. You may choose to follow that advice. - -Any licensing questions should be directed to the mailing list: - - lynx-dev@nongnu.org - -or to the maintainer (Thomas E. Dickey): - - dickey@invisible-island.net - -For reference, below is the original copyright notice for Lynx (2.4.2). ------------------------------------------------------------------------------- -/* Copyright (C) 1995 University of Kansas. - - This file is part of Lynx, a text-based WWW browser. - - Lynx is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License, version 2, as - published by the Free Software Foundation. - - Lynx 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 Lynx; see the file COPYING. If not, write to the Free - Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. - - Any licensing or usage questions should be directed to Michael - Grobe <grobe@ukans.edu>. -*/ - -------------------------------------------------------------------------------- - -Files: aclocal.m4 -Licence: other-BSD -Copyright: 1997-2009,2010 by Thomas E. Dickey - Permission to use, copy, modify, and distribute this software and its - documentation for any purpose and without fee is hereby granted, - provided that the above copyright notice appear in all copies and that - both that copyright notice and this permission notice appear in - supporting documentation, and that the name of the above listed - copyright holder(s) not be used in advertising or publicity pertaining - to distribution of the software without specific, written prior - permission. - - THE ABOVE LISTED COPYRIGHT HOLDER(S) DISCLAIM ALL WARRANTIES WITH REGARD - TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY - AND FITNESS, IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE - LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - -Files: install-sh -Copyright: 1994 X Consortium -Licence: other-BSD - 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 - X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN - AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- - TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - - Except as contained in this notice, the name of the X Consortium shall not - be used in advertising or otherwise to promote the sale, use or other deal- - ings in this Software without prior written authorization from the X Consor- - tium. - - FSF changes to this file are in the public domain. - - Calling this script install-sh is preferred over install.sh, to prevent - `make' implicit rules from creating a file called install from it - when there is no Makefile. - - This script is compatible with the BSD install script, but was written - from scratch. It can only install one file at a time, a restriction - shared with many OS's install programs. - -Files: debian/* -Copyright: 2010 Thomas E. Dickey -Licence: other-BSD - Permission to use, copy, modify, and distribute this software and its - documentation for any purpose and without fee is hereby granted, - provided that the above copyright notice appear in all copies and that - both that copyright notice and this permission notice appear in - supporting documentation, and that the name of the above listed - copyright holder(s) not be used in advertising or publicity pertaining - to distribution of the software without specific, written prior - permission. - - THE ABOVE LISTED COPYRIGHT HOLDER(S) DISCLAIM ALL WARRANTIES WITH REGARD - TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY - AND FITNESS, IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE - LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - -On Debian systems, the complete text of the GNU General -Public License can be found in '/usr/share/common-licenses/GPL-2' diff --git a/PACKAGE/debian/doc-base b/PACKAGE/debian/doc-base deleted file mode 100644 index e77e7c2c..00000000 --- a/PACKAGE/debian/doc-base +++ /dev/null @@ -1,10 +0,0 @@ -Document: lynx-dev -Title: Debian Lynx Manual -Author: Michael Grobe <grobe@ukans.edu> et al. -Abstract: This manual describes what lynx-dev is - and how it can be used on Debian systems. -Section: Network/Web Browsing - -Format: HTML -Index: /usr/share/doc/lynx-dev/lynx_help/lynx_help_main.html.gz -Files: /usr/share/doc/lynx-dev/lynx_help/*.html.gz diff --git a/PACKAGE/debian/menu b/PACKAGE/debian/menu deleted file mode 100644 index 1df6ef8d..00000000 --- a/PACKAGE/debian/menu +++ /dev/null @@ -1,2 +0,0 @@ -?package(lynx-dev):needs="text" section="Applications/Network/Web Browsing"\ - title="Lynx-dev" command="lynx" diff --git a/PACKAGE/debian/mime b/PACKAGE/debian/mime deleted file mode 100644 index 47779568..00000000 --- a/PACKAGE/debian/mime +++ /dev/null @@ -1,2 +0,0 @@ -text/html; /usr/bin/lynx -force_html %s; needsterminal; description=HTML Text; nametemplate=%s.html; priority=3 -text/html; /usr/bin/lynx -dump -force_html %s; copiousoutput; description=HTML Text; nametemplate=%s.html; priority=2 diff --git a/PACKAGE/debian/postinst b/PACKAGE/debian/postinst deleted file mode 100644 index 89955d4a..00000000 --- a/PACKAGE/debian/postinst +++ /dev/null @@ -1,27 +0,0 @@ -#! /bin/sh -# postinst script for lynx - -set -e - -PRI=50 -ALT=lynx -PKG=lynx-dev - -BINDIR=/usr/bin -MANDIR=/usr/share/man/man1 - -if [ $1 != "upgrade" ] -then - - update-alternatives \ - --install \ - $BINDIR/$ALT $ALT \ - $BINDIR/$PKG $PRI \ - --slave $MANDIR/$ALT.1.gz $ALT.1.gz \ - $MANDIR/$PKG.1.gz - -fi - -#DEBHELPER# - -exit 0 diff --git a/PACKAGE/debian/prerm b/PACKAGE/debian/prerm deleted file mode 100644 index a79bf385..00000000 --- a/PACKAGE/debian/prerm +++ /dev/null @@ -1,12 +0,0 @@ -#! /bin/sh -# prerm script for lynx - -set -e - -if [ $1 != "upgrade" ]; then - update-alternatives --remove lynx /usr/bin/lynx-dev -fi - -#DEBHELPER# - -exit 0 diff --git a/PACKAGE/debian/rules b/PACKAGE/debian/rules deleted file mode 100755 index ceb4e199..00000000 --- a/PACKAGE/debian/rules +++ /dev/null @@ -1,183 +0,0 @@ -#!/usr/bin/make -f -# Made with the aid of dh_make, by Craig Small -# Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess. -# Some lines taken from debmake, by Cristoph Lameter. - -# Uncomment this to turn on verbose mode. -#export DH_VERBOSE=1 - -# These are used for cross-compiling and for saving the configure script -# from having to guess our platform (since we know it already) -DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) -DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) - -PKG_SUFFIX = -dev - -PACKAGE := $(shell dpkg-parsechangelog| \ - sed -n 's/^Source: \(.*\)$$/\1/p') - -docdir := /usr/share/doc/$(PACKAGE) -helpdir := $(docdir)/help_dir - -DSTDIR := $(CURDIR)/debian/$(PACKAGE) -DOCDIR := $(DSTDIR)$(docdir) - -CFLAGS = - -ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) -DEBOP=--enable-debug -else -DEBOP= -endif - -ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) - CFLAGS += -O0 -else - CFLAGS += -O2 -endif -ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) - INSTALL_PROGRAM += -s -endif - -# This package adds the following not in Debian lynx-cur: -# --enable-htmlized-cfg -# --enable-local-docs - -configure: configure-stamp -configure-stamp: - dh_testdir - - env cf_cv_SYSTEM_MAIL=/usr/sbin/sendmail \ - COMPRESS=/usr/bin/compress \ - BZIP2=/bin/bzip2 \ - UNZIP=/usr/bin/unzip \ - ZIP=/usr/bin/zip \ - LIBS="-lbsd" \ - ./configure \ - --host=$(DEB_HOST_GNU_TYPE) \ - --build=$(DEB_BUILD_GNU_TYPE) \ - --program-suffix=$(PKG_SUFFIX) \ - --prefix=/usr \ - --libexecdir=\$${prefix}/lib \ - --mandir=\$${prefix}/share/man \ - --sysconfdir=/etc/$(PACKAGE) \ - --localstatedir=/var \ - --libdir=/etc/$(PACKAGE) \ - --enable-8bit-toupper \ - --enable-cgi-links \ - --enable-cjk \ - --enable-default-colors \ - --enable-exec-links \ - --enable-exec-scripts \ - --enable-externs \ - --enable-forms-options \ - --enable-gzip-help \ - --enable-htmlized-cfg \ - --enable-ipv6 \ - --enable-japanese-utf8 \ - --enable-justify-elts \ - --enable-local-docs \ - --enable-nested-tables \ - --enable-nls \ - --enable-nsl-fork \ - --enable-partial \ - --enable-persistent-cookies \ - --enable-prettysrc \ - --enable-read-eta \ - --enable-scrollbar \ - --enable-source-cache \ - --enable-syslog \ - --with-gnutls=/usr \ - --with-screen=ncursesw \ - --with-textdomain=$(PACKAGE) \ - --with-zlib \ - --without-included-gettext \ - ${DEBOP} - - $(MAKE) preinstall \ - docdir=$(docdir) \ - helpdir=$(helpdir) - - touch configure-stamp - -build: build-stamp -build-stamp: configure-stamp - dh_testdir - - $(MAKE) \ - docdir=$(docdir) \ - helpdir=$(helpdir) - - touch build-stamp - -clean: - dh_testdir - dh_testroot - - [ ! -f Makefile ] || $(MAKE) clean - - rm -f configure-stamp build-stamp install-stamp \ - config.cache config.h config.status config.log makefile - - rm -f *.o lynx - - dh_clean - -install: install-stamp -install-stamp: build-stamp - dh_testdir - dh_testroot - dh_clean -k - dh_installdirs - - $(MAKE) install \ - DESTDIR=$(CURDIR)/debian/$(PACKAGE) \ - docdir=$(docdir) \ - helpdir=$(helpdir) - - touch install-stamp - -install: install-indep install-arch -install-indep: - -install-arch: - dh_testdir - dh_testroot - dh_prep -s - dh_installdirs -s - - $(MAKE) install-full \ - DESTDIR=$(DSTDIR) \ - docdir=$(docdir) \ - helpdir=$(helpdir) - - cd $(DOCDIR) && rm -rf samples test - cd $(DOCDIR) && rm -f COPY*.asc CHANGES - -# Build architecture-independent files here. -binary-indep: build install -# No binary-indep target. - -# Build architecture-dependent files here. -binary-arch: build install - dh_testdir - dh_testroot - dh_installdebconf - dh_installdocs - dh_installmenu - dh_installmime - dh_installexamples - dh_installchangelogs CHANGES - dh_install - dh_link - dh_strip - dh_compress - dh_fixperms - dh_installdeb - dh_shlibdeps - dh_gencontrol - dh_md5sums - dh_builddeb - -binary: binary-indep binary-arch -.PHONY: build clean binary-indep binary-arch binary install install-stamp diff --git a/PACKAGE/debian/source/format b/PACKAGE/debian/source/format deleted file mode 100644 index 89ae9db8..00000000 --- a/PACKAGE/debian/source/format +++ /dev/null @@ -1 +0,0 @@ -3.0 (native) diff --git a/PACKAGE/debian/watch b/PACKAGE/debian/watch deleted file mode 100644 index 4c0c7a8d..00000000 --- a/PACKAGE/debian/watch +++ /dev/null @@ -1,4 +0,0 @@ -version=3 - -opts=passive ftp://lynx.isc.org/current/lynx-cur\.tgz \ - debian uupdate diff --git a/PACKAGE/lynx-curses.iss b/PACKAGE/lynx-curses.iss deleted file mode 100644 index dbc950d6..00000000 --- a/PACKAGE/lynx-curses.iss +++ /dev/null @@ -1,11 +0,0 @@ -; $LynxId: lynx-curses.iss,v 1.5 2008/12/29 13:21:17 tom Exp $ -; -; This is an installer for the "color-style" flavor of Lynx. -; -; The script assumes environment variables have been set, e.g., to point to -; data which is used by the installer (see "lynx.lss" for details). - -#define SetupBaseName "lynx-cs" -#define SourceExeName "lynx-cs.exe" - -#include "lynx.iss" diff --git a/PACKAGE/lynx-slang.iss b/PACKAGE/lynx-slang.iss deleted file mode 100644 index 9f42316e..00000000 --- a/PACKAGE/lynx-slang.iss +++ /dev/null @@ -1,12 +0,0 @@ -; $LynxId: lynx-slang.iss,v 1.1 2008/12/29 13:28:38 tom Exp $ -; -; This is an installer for the "color-style" flavor of Lynx. -; -; The script assumes environment variables have been set, e.g., to point to -; data which is used by the installer (see "lynx.lss" for details). - -#define SetupBaseName "lynx-sl" -#define SourceExeName "lynx-slang.exe" -#define NoScreenDll - -#include "lynx.iss" diff --git a/PACKAGE/lynx.iss b/PACKAGE/lynx.iss deleted file mode 100644 index 583905aa..00000000 --- a/PACKAGE/lynx.iss +++ /dev/null @@ -1,409 +0,0 @@ -; $LynxId: lynx.iss,v 1.6 2012/02/13 22:17:17 tom Exp $ -; vile:ts=2 sw=2 notabinsert -; -; This is the BASE script for different flavors of the installer for Lynx. -; It can be overridden to select different source-executables (and their associated -; screen library, e.g., pdcurses or slang). -; -; The script assumes environment variables have been set, e.g., to point to -; data which is used by the installer: -; -; LYNX_BINDIR - directory containing lynx.exe (or different names) -; LYNX_DLLSDIR - directory containing curses or slang dlls. -; LYNX_DOCSDIR - files and subdirectories installed from Unix with "make install-doc" -; LYNX_HELPDIR - files and subdirectories installed from Unix with "make install-help" - -#include "version.iss" - -#ifndef MyAppExeName -#define MyAppExeName "lynx.exe" -#endif - -#define MySendTo '{sendto}\' + myAppName + '.lnk' -#define MyQuickLaunch '{userappdata}\Microsoft\Internet Explorer\Quick Launch\' + myAppName + '.lnk' - -#ifndef SourceExeName -#define SourceExeName "lynx.exe" -#endif - -#ifndef NoScreenDll -#ifndef ScreenDllName -#define ScreenDllName "pdcurses.dll" -#endif -#endif - -#ifndef BzipDllName -#define BzipDllName "libbz2.dll" -#endif - -#ifndef ZlibDllName -#define ZlibDllName "zlib.dll" -#endif - -#ifndef BzipExeName -#define BzipExeName "bzip2.exe" -#endif - -#ifndef GzipExeName -#define GzipExeName "gzip.exe" -#endif - -#ifndef SetupBaseName -#define SetupBaseName "lynx" -#endif - -#ifndef BinsSrcDir -#define BinsSrcDir GetEnv("LYNX_BINDIR") -#if BinsSrcDir == "" -#define BinsSrcDir "..\bin" -#endif -#endif - -#ifndef DllsSrcDir -#define DllsSrcDir GetEnv("LYNX_DLLSDIR") -#if DllsSrcDir == "" -#define DllsSrcDir "..\dlls" -#endif -#endif - -#ifndef DocsSrcDir -#define DocsSrcDir GetEnv("LYNX_DOCSDIR") -#if DocsSrcDir == "" -#define DocsSrcDir "..\docs" -#endif -#endif - -#ifndef HelpSrcDir -#define HelpSrcDir GetEnv("LYNX_HELPDIR") -#if HelpSrcDir == "" -#define HelpSrcDir "..\lynx_help" -#endif -#endif - -[Setup] -AppName={#MyAppName} -AppVerName={#MyAppVerName} -AppPublisher={#MyAppPublisher} -AppPublisherURL={#MyAppURL} -AppSupportURL={#MyAppURL} -AppUpdatesURL={#MyAppURL} -DefaultDirName={pf}\{#MyAppName} -DefaultGroupName={#MyAppName} -AllowNoIcons=yes -LicenseFile=..\COPYHEADER -InfoBeforeFile=..\README -OutputDir=..\PACKAGE\lynx-setup -#emit 'OutputBaseFilename=' + SetupBaseName + LYNX_VERSION + '-setup' -Compression=lzma -SolidCompression=yes - -[Languages] -Name: "english"; MessagesFile: "compiler:Default.isl" - -[Components] -Name: main; Description: The Lynx executable; types: full custom compact -Name: explorer; Description: Windows Explorer integration; types: full custom - -[Tasks] -Name: for_all_users; Description: Install for all users on this machine; GroupDescription: Configuration Settings; Components: main; Check: isGuru; Flags: unchecked -Name: register_vars; Description: Use registry for environment variables; GroupDescription: Configuration Settings; Components: main; Flags: unchecked -Name: use_sendto; Description: Add Send To Entry; GroupDescription: Windows Explorer; Components: explorer; Flags: unchecked -Name: desktopicon; Description: {cm:CreateDesktopIcon}; GroupDescription: {cm:AdditionalIcons}; Components: main; Flags: unchecked -Name: quicklaunchicon; Description: {cm:CreateQuickLaunchIcon}; GroupDescription: {cm:AdditionalIcons}; Components: main; Flags: unchecked - - -[Dirs] -Name: "{app}\doc" -Name: "{app}\doc\samples" -Name: "{app}\doc\test" -Name: "{app}\help" -Name: "{app}\help\keystrokes" -Name: "{app}\icon" -Name: "{app}\tmp" - -[Files] -#emit 'Source: "' + BinsSrcDir + '\' + SourceExeName + '"; DestDir: "{app}"; DestName: ' + MyAppExeName + '; AfterInstall: myPostExecutable; Flags: ignoreversion' -#ifndef NoScreenDll -#emit 'Source: "' + DllsSrcDir + '\' + ScreenDllName + '"; DestDir: "{app}"; DestName: ' + ScreenDllName + '; Flags: ignoreversion' -#endif -#emit 'Source: "' + DllsSrcDir + '\' + ZlibDllName + '"; DestDir: "{app}"; DestName: ' + ZlibDllName + '; Flags: ignoreversion' -#emit 'Source: "' + DllsSrcDir + '\' + BzipDllName + '"; DestDir: "{app}"; DestName: ' + BzipDllName + '; Flags: ignoreversion' -#emit 'Source: "' + DllsSrcDir + '\' + BzipExeName + '"; DestDir: "{app}"; DestName: ' + BzipExeName + '; Flags: ignoreversion' -#emit 'Source: "' + DllsSrcDir + '\' + GzipExeName + '"; DestDir: "{app}"; DestName: ' + GzipExeName + '; Flags: ignoreversion' -#emit 'Source: "' + DocsSrcDir + '\*.*"; DestDir: "{app}\doc"; Flags: ' -#emit 'Source: "' + DocsSrcDir + '\samples\*.*"; DestDir: "{app}\doc\samples"; Flags: ' -#emit 'Source: "' + DocsSrcDir + '\test\*.*"; DestDir: "{app}\doc\test"; Flags: ' -#emit 'Source: "' + HelpSrcDir + '\*.*"; DestDir: "{app}\help"; Flags: ' -#emit 'Source: "' + HelpSrcDir + '\keystrokes\*.*"; DestDir: "{app}\help\keystrokes"; Flags: ' - -; some of these data files are from an earlier installer by Claudio Santambrogio -Source: "..\samples\lynx.ico"; DestDir: "{app}\icon" -Source: "..\samples\lynx.bat"; DestDir: "{app}" -Source: "..\samples\jumps.htm"; DestDir: "{app}" -Source: "..\samples\home.htm"; DestDir: "{app}" -Source: "..\samples\lynx_bookmarks.htm"; DestDir: "{app}" -Source: "..\samples\*.lss"; DestDir: "{app}" -Source: "..\samples\lynx.bat"; DestDir: "{app}" -Source: "..\samples\lynx-demo.cfg"; DestDir: "{app}" -Source: "..\lynx.man"; DestDir: "{app}" -Source: "..\lynx.cfg"; DestDir: "{app}" ; AfterInstall: myCustomCfg; Flags: ignoreversion -; NOTE: Don't use "Flags: ignoreversion" on any shared system files - -[Icons] -Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}" -Name: "{group}\{cm:UninstallProgram,{#MyAppName}}"; Filename: "{uninstallexe}" -Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon - -[Run] -Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#MyAppName}}"; Flags: nowait postinstall skipifsilent - -[UninstallDelete] -Type: files; Name: {app}\.lynx_cookies -Type: dirifempty; Name: {app} -#emit 'Type: files; Name: ' + mySendTo -#emit 'Type: files; Name: ' + myQuickLaunch - -[Code] -#emit 'const MY_APP_NAME = ''{app}\' + myAppName + '.exe'';' - -function isGuru(): Boolean; -begin - Result := isAdminLoggedOn(); -end; - -function environRootKey(): Integer; -begin - Result := HKEY_CURRENT_USER; -end; - -function appKey(): string; -begin - Result := 'Software\Lynx'; -end; - -function envSubKey(): string; -begin - Result := 'Environment'; -end; - -function appSubKey(): string; -begin - Result := appKey() + '\' + envSubKey(); -end; - -function envSysKey(): string; -begin - Result := 'System\CurrentControlSet\Control\Session Manager\Environment'; -end; - -// Set the environment variable ValueName. -procedure addVarToEnv(const RootKey: Integer; const SubKeyName, ValueName, toAdd: String); -var - Updated : string; -begin - Updated := ExpandConstant(toAdd); - RegWriteStringValue(RootKey, SubKeyName, ValueName, Updated); - Log('Added ' + toAdd + ' to ' + ValueName); - // MsgBox('addVarToEnv: ' #13#13 + ValueName + '="' + Updated + '"', mbInformation, MB_OK) -end; - -// Remove the given environment variable ValueName. -function removeVarFromEnv(const RootKey: Integer; const SubKeyName, ValueName: String): Boolean; -var - Current : string; -begin - Result := False; - if RegQueryStringValue(RootKey, SubKeyName, ValueName, Current) then - begin - RegDeleteValue(RootKey, SubKeyName, ValueName); - Result := True; - Log('Removed ' + ValueName); - // MsgBox('removeVarFromEnv: ' #13#13 + ValueName + '="' + Current + '"', mbInformation, MB_OK) - end; -end; - -function selectedVarsRootKey(): Integer; -begin - if isTaskSelected('for_all_users') then - Result := HKEY_LOCAL_MACHINE - else - Result := HKEY_CURRENT_USER; -end; - -function selectedVarsSubKey(): String; -begin - if isTaskSelected('for_all_users') then - begin - if isTaskSelected('register_vars') then - Result := appSubKey() - else - Result := envSysKey(); - end else - begin - if isTaskSelected('register_vars') then - Result := appSubKey() - else - Result := envSubKey(); - end; -end; - -procedure addAnyVariable(const ValueName, newValue: String); -begin - addVarToEnv(selectedVarsRootKey(), selectedVarsSubKey(), ValueName, NewValue); -end; - -// FIXME: should only remove if it matches the installer's value -procedure removeAnyVariable(const ValueName: String); -begin - removeVarFromEnv(HKEY_CURRENT_USER, envSubKey(), ValueName); - removeVarFromEnv(HKEY_CURRENT_USER, appSubKey(), ValueName); - removeVarFromEnv(HKEY_LOCAL_MACHINE, appSubKey(), ValueName); - removeVarFromEnv(HKEY_LOCAL_MACHINE, envSysKey(), ValueName); -end; - -// http://www.delphidabbler.com/articles?article=12 -procedure AddSendTo(); -begin - CreateShellLink( -#emit 'ExpandConstant(''' + MySendTo + '''),' -#emit '''SendTo link for ' + myAppName + ''',' - ExpandConstant(MY_APP_NAME), // program - '', // option(s) will be followed by pathname - '', // no target directory - '', // no icon filename - -1, // no icon index - SW_SHOWNORMAL); -end; - -procedure AddQuickLaunch(); -begin - CreateShellLink( -#emit 'ExpandConstant(''' + MyQuickLaunch + '''),' -#emit '''SendTo link for ' + myAppName + ''',' - ExpandConstant(MY_APP_NAME), // program - '', // option(s) will be followed by pathname - '', // no target directory - '', // no icon filename - -1, // no icon index - SW_SHOWNORMAL); -end; - -// This is called after installing the executable. -procedure myPostExecutable(); -var - Keypath : String; - AppDir : String; -begin - Keypath := appKey(); - AppDir := ExpandConstant('{app}'); - Log('Setting registry key "' + Keypath + '" to "' + AppDir + '"'); - if not RegWriteStringValue(selectedVarsRootKey(), Keypath, '', AppDir) then - Log('Failed to set key'); - - if isTaskSelected('use_sendto') then - begin - AddSendTo(); - Log('** added Send-To link'); - end; - - if isTaskSelected('quicklaunchicon') then - begin - AddQuickLaunch(); - Log('** added Quick-launch link'); - end; -end; - -// This is called after installing the lynx.cfg file. -procedure myCustomCfg(); -var - AppDir : String; - CfgFile : String; -begin - AppDir := ExpandConstant('{app}'); - CfgFile := AppDir + '\lynx.cfg'; - - addAnyVariable('LYNX_CFG', CfgFile); - Log('** set LYNX_CFG=' + CfgFile); - - SaveStringToFile(CfgFile, 'HELPFILE:' + AppDir + '/help/Lynx_help_main.html.gz' + #10, True); - SaveStringToFile(CfgFile, 'COLOR_STYLE:' + AppDir + '/opaque.lss' + #10, True); - - SaveStringToFile(CfgFile, 'CHMOD_PATH:' + #10, True); - SaveStringToFile(CfgFile, 'COPY_PATH:' + #10, True); - SaveStringToFile(CfgFile, 'MKDIR_PATH:' + #10, True); - SaveStringToFile(CfgFile, 'MV_PATH:' + #10, True); - SaveStringToFile(CfgFile, 'RMDIR_PATH:' + #10, True); - SaveStringToFile(CfgFile, 'RM_PATH:' + #10, True); - SaveStringToFile(CfgFile, 'TOUCH_PATH:' + #10, True); - - Log('** customized ' + CfgFile); - - if isTaskSelected('use_sendto') then - begin - AddSendTo(); - Log('** added Send-To link'); - end; -end; - -function CleanupMyKey(const theRootKey: Integer): Boolean; -var - Path : String; - Value : String; -begin - Result := False; - if RegQueryStringValue(theRootKey, appKey(), '', Value) then - begin - if Value <> '' then - begin - Result := True; - Log('Deleting value of "' + appKey() + '" = "' + Value + '"'); - if not RegDeleteValue(theRootKey, appKey(), '') then - Log('Failed to delete value'); - - Path := appKey() + '\Environment'; - Log('Checking for subkey "' + Path + '"'); - if RegValueExists(theRootKey, Path, '') then - begin - if RegDeleteKeyIncludingSubkeys(theRootKey, Path) then - Log('Deleted key "' + Path + '"') - else - Log('Failed to delete key "' + Path + '"'); - end; - - if RegDeleteKeyIfEmpty(theRootKey, appKey()) then - Log('Deleted key "' + appKey() + '"') - else - Log('Failed to delete key "' + appKey() + '"'); - end - end -end; - -// On uninstall, we do not know which registry setting was selected during install, so we remove all. -procedure CurUninstallStepChanged(CurUninstallStep: TUninstallStep); -begin - case CurUninstallStep of - usUninstall: - begin - // MsgBox('CurUninstallStepChanged:' #13#13 'Uninstall is about to start.', mbInformation, MB_OK) - // ...insert code to perform pre-uninstall tasks here... - end; - usPostUninstall: - begin - removeAnyVariable('LYNX_CFG'); - - { - If we don't find the settings in the current user, try the local machine. - The setup program cannot pass the all-users flag to the uninstaller, so we - have to try both. - } - Log('Checking current-user registry key'); - if not CleanupMyKey(HKEY_CURRENT_USER) then - begin - Log('Checking local-machine registry key'); - CleanupMyKey(HKEY_LOCAL_MACHINE); - end; - - // MsgBox('CurUninstallStepChanged:' #13#13 'Uninstall just finished.', mbInformation, MB_OK); - end; - end; -end; diff --git a/PACKAGE/lynx.spec b/PACKAGE/lynx.spec deleted file mode 100644 index 9ddc19f4..00000000 --- a/PACKAGE/lynx.spec +++ /dev/null @@ -1,114 +0,0 @@ -# $LynxId: lynx.spec,v 1.11 2012/02/15 23:43:12 tom Exp $ -Summary: A text-based Web browser -Name: lynx -Version: 2.8.8 -Release: dev.11 -License: GPLv2 -Group: Applications/Internet -Source: lynx%{version}%{release}.tgz -# URL: http://lynx.isc.org/ -Provides: webclient -Provides: text-www-browser -# BuildRequires: openssl-devel, pkgconfig, ncurses-devel >= 5.3-5, -# BuildRequires: zlib-devel, gettext, rsh, telnet, zip, unzip -# Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -%description -Lynx is a fully-featured World Wide Web (WWW) client for users running -cursor-addressable, character-cell display devices. It is very fast and easy -to use. It will display HTML documents containing links to files residing on -the local system, as well as files residing on remote systems running Gopher, -HTTP, FTP, WAIS, and NNTP servers. - -%define lynx_doc %{_defaultdocdir}/lynx -%define lynx_etc %{_sysconfdir}/lynx - -%prep -%setup -q -n lynx%{version}%{release} - -%build -CPPFLAGS="-DMISC_EXP -DEXP_HTTP_HEADERS" \ -%configure \ - --target %{_target_platform} \ - --prefix=%{_prefix} \ - --bindir=%{_bindir} \ - --datadir=%{lynx_doc} \ - --libdir=%{lynx_etc} \ - --mandir=%{_mandir} \ - --sysconfdir=%{lynx_etc} \ - --disable-font-switch \ - --disable-internal-links \ - --enable-8bit-toupper \ - --enable-addrlist-page \ - --enable-alt-bindings \ - --enable-ascii-ctypes \ - --enable-cgi-links \ - --enable-change-exec \ - --enable-charset-choice \ - --enable-cjk \ - --enable-default-colors \ - --enable-exec-links \ - --enable-exec-scripts \ - --enable-externs \ - --enable-file-upload \ - --enable-font-switch \ - --enable-forms-options \ - --enable-gzip-help \ - --enable-htmlized-cfg \ - --enable-internal-links \ - --enable-ipv6 \ - --enable-japanese-utf8 \ - --enable-justify-elts \ - --enable-kbd-layout \ - --enable-local-docs \ - --enable-locale-charset \ - --enable-nested-tables \ - --enable-nls \ - --enable-nsl-fork \ - --enable-partial \ - --enable-persistent-cookies \ - --enable-prettysrc \ - --enable-progressbar \ - --enable-read-eta \ - --enable-scrollbar \ - --enable-session-cache \ - --enable-sessions \ - --enable-source-cache \ - --enable-syslog \ - --enable-warnings \ - --with-bzlib \ - --with-screen=ncursesw \ - --with-ssl \ - --with-zlib -make \ - docdir=%{lynx_doc} - -%install -rm -rf $RPM_BUILD_ROOT -chmod -x samples/mailto-form.pl - -make install-full \ - DESTDIR=$RPM_BUILD_ROOT \ - docdir=%{lynx_doc} - -cat >>$RPM_BUILD_ROOT%{lynx_etc}/lynx.cfg <<EOF -DEFAULT_INDEX_FILE:http://www.google.com/ -LOCALE_CHARSET:TRUE -EOF - -%clean -rm -rf $RPM_BUILD_ROOT - -%files -%defattr(-,root,root,-) -%{_bindir}/lynx -%{_mandir}/*/* -%{_datadir}/locale/* -%{lynx_doc}/* -%config %{lynx_etc}/lynx.cfg -%config %{lynx_etc}/lynx.lss - -%changelog - -* Fri Sep 17 2010 Thomas E. Dickey -- initial version. diff --git a/PACKAGE/version.iss b/PACKAGE/version.iss deleted file mode 100644 index 34a98942..00000000 --- a/PACKAGE/version.iss +++ /dev/null @@ -1,9 +0,0 @@ -; version used for Inno Setup files. - -; $Format: "#define LYNX_VERSION \"$ProjectVersion$\""$ -#define LYNX_VERSION "2.8.8dev.10" - -#define MyAppName "Lynx" -#define MyAppPublisher "Thomas E Dickey" -#define MyAppURL "http://lynx.isc.org" -#define MyAppVerName "Lynx " + LYNX_VERSION |