1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

[contrib] Removed debian. Refs #232

Newer files one can find in debian repository.
This commit is contained in:
Witold Filipczyk 2023-05-10 09:16:33 +02:00
parent cdbb0d0b0a
commit 9396600f7b
14 changed files with 0 additions and 769 deletions

View File

@ -1,53 +0,0 @@
ELinks for Debian
----------------------
ELinks is a code fork of Links, the original character mode browser of
Mikulas Patocka. ELinks provides lots of new features over the original
Links codebase, and changes are more rapid. Some believes that Links is
more stable because of the few feature change. YMMW.
* * *
ELinks is a character mode world wide web browser. It supports colors,
correct table and frames rendering, international codepages and user
interfaces, background downloads, multiple connected instances, small and
fast.
ELinks supports password authentication (it works almost in every cases),
SSL, cookies, and bookmarks, and new features appear from time to time.
Please do not report that you cannot cut&paste with gpm - you can. Use
SHIFT+MOUSE together and it'll behave as without gpm.
Do not forget to setup after the first install: press F9, go to the Setup
menu, and set Linux console, default display character set and others. (An
example default config is provided in the examples directory.)
With the mailcap.pl you can convert the /etc/mailcap file to
elinks.conf format, and append to your config, until it gets supported. You
can find an example default config in the examples directory. (This is a
static suboptimal solution.) [this section is outdated as ELinks now uses a
different config format, I work on this.]
You can find the snapshot Debian packages at
ftp://yikes.tolna.net/pub/linux/release/debian/
Homepage is http://elinks.cz/
-- Peter Gervai <grin@tolna.net>, Thu, 9 Oct 2003 01:17:26 +0200
Some questions from bugreports:
===============================
Q: Where did the download manager/proxy settings/whatever disappear?
A: Please check the menus. Download manager is under Tools>Download, proxy
settings is at Setup>Options>Protocols>HTTP>Proxy>Host and port.
Familiarize yourself with the options manager. :-)
(with contribution by Jonas Fonseca)
Q: The "move" doesn't work in the bookmark manager.
A: Read <http://elinks.cz/documentation/html/manual.html-chunked/ch04.html>
to learn how to use this unintuitive feature.
(contributed by Miciah Dashiel Butler Masters)
-- Peter Gervai <grin@tolna.net>, Wed, 7 Apr 2004 13:40:56 +0200

View File

@ -1,372 +0,0 @@
elinks (0.11-0.0upstream) unstable; urgency=low
* NMU
* Really fix endless refreshing of documents (#293298)
-- Jonas Fonseca <fonseca@diku.dk> Tue, 3 May 2005 19:44:01 +0200
elinks (0.10.4-3) unstable; urgency=low
* _Really_ add the missing build-dep (Closes: #304803, #306246)
-- Peter Gervai <grin@tolna.net> Wed, 27 Apr 2005 02:38:31 +0200
elinks (0.10.4-2) unstable; urgency=low
* Disabled check to refuse run when root on the request of
the upstream. (Closes: #305739, #304876)
* Added missing build-dep (Closes: #304803, #306246)
* Fixed default config (Closes: #305017, #305628, #305004)
-- Peter Gervai <grin@tolna.net> Sun, 24 Apr 2005 19:14:16 +0200
elinks (0.10.4-1) unstable; urgency=low
* New Upstream release
* Disable SpiderMonkey because it is not useful right now (closes: #302505)
* Only read from /dev/stdin if no URL was given on the command line and
automatically allow special files to be read (closes: #296976, #297510)
* Fix repeatedly and endless refreshing of documents that triggers a
download (like sourceforge's download pages) (closes: #293298)
* Add watch file, thanks Hugo Haas
* Scrolling was heavily reworked during the 0.10 development phase and now
uses the correct width / height when scrolling (closes: #256533)
* Fix warning on 64-bit architectures (closes: #285684)
* Change verbose level to show warnings (closes: #303083)
* Include FAQ from http://elinks.or.cz/ (closes: #301861)
* Change FTP directory listing parser to Wget-based one due to licensing
issues (closes: #300889)
* Be more tolerant when handling values from the no_proxy environment
variable (closes: #218451)
* Explicitly define keyboard accelerators for buttons so that they
do not clash (closes: #270205)
-- Peter Gervai <grin@tolna.net> Tue, 12 Apr 2005 23:46:12 +0200
elinks (0.10.2-3) unstable; urgency=low
* Enable ECMAScript/JS engine SpiderMonkey
* Enable experimental Perl scripting
* Enable experimental NNTP handling
* Enable 256 color terminal handling
* Enable status blinkenlights ("leds")
* Refuse to run under root uid
-- Peter Gervai <grin@tolna.net> Fri, 25 Feb 2005 12:47:10 +0100
elinks (0.10.2-2) unstable; urgency=low
* Fixed bookmark problem (Closes: #296679)
-- Peter Gervai <grin@tolna.net> Fri, 25 Feb 2005 11:48:03 +0100
elinks (0.10.2-1) unstable; urgency=low
* New upstream version v0.10.2
* Cleanups by Jonas Fonseca <fonseca@diku.dk>, debian dir
installed into upstream CVS:
* Only remove CVS files from packaging directory so the package can
be built from checked out sources
* Install elinks.conf from contrib/
* Install documentation files about using ELinks from doc/
* Remove more unrelevant files from contrib/
* List docs in elinks.docs file
* Support for DEB_BUILD_OPTIONS
* Update and cleanup debian/rules
* Pass -force-html in the debian/mime mailcap entries so problems with
viewing files without an extension are fixed
* Enhance desktop file and install it in /usr/share/applications/ which
seems to be the new standard
* Many problems related to mangleme tools fixed (closes: #277283)
* Documentation updates (closes: #215619)
* Fix IPv6 URI parsing (closes: #173378)
* Send the previous URL as referer by default (closes: #198684)
* Bump up the dependency on dephelper (closes: #247280)
* Force dumping to stdout when ELinks connects to a pipe instead of a
terminal, even if the boolean argument to -dump is zero (closes: #231663)
* Suggest filename based on Content-Disposition (closes: #171571)
* Update the manpage and add -stdin command line option for compatibility
even though reads from stdin are autodetected (closes: #281010)
* Add support for recognizing mixed-case URI schemes (closes: #242140)
* Fix xterm detection code, thanks Adam Borowski (closes: #228977)
* Fix handling of id names in preformatted content (closes: #219331)
* Fix assertion failure when searching in empty documents (closes: #238281)
* Remove www-browser alternative, thanks Andreas Metzler (closes: #247495)
* Fix uncompressing of .gz files on download (closes: #221207)
-- Peter Gervai <grin@tolna.net> Mon, 21 Feb 2005 15:21:55 +0100
elinks (0.9.3-1) unstable; urgency=low
* New upstream release
-- Peter Gervai <grin@tolna.net> Sun, 21 Nov 2004 14:08:25 +0100
elinks (0.9.1+0.9.2rc4-2) unstable; urgency=low
* Fix naming (it's rc [release candidate] and not pre[release])
* Fix rules to use /etc/elinks for configure (closes: #267962)
-- Peter Gervai <grin@tolna.net> Wed, 11 Aug 2004 15:57:53 +0200
elinks (0.9.1+0.9.2pre4-1) unstable; urgency=low
* New upstream version 0.9.2pre4
* Remove kderemove from menu (closes: #264402)
* Recompiled with gnutls11 (closes: #263633)
* FTBFS on GNU/Hurd (and GNU/k*BSD) (closes: #262350)
-- Peter Gervai <grin@tolna.net> Sun, 8 Aug 2004 23:48:47 +0200
elinks (0.9.1+0.9.2pre3-1) unstable; urgency=low
* New upstream pre-release 0.9.2pre3. (closes: #262306)
* Don't read nonexistant hooks.lua (closes: #231760)
* README.Debian updated by "I forgot to read the docs"
questions (closes: #209046, #234589)
* Fix accept-charset problem (closes: #242524)
* Updated build-deps based on buildd's hints, removed xlib-dev
(closes: #231646)
* Changed 'make prefix=' to 'make DESTDIR=' in rules (closes: #234991)
* Removed outdated example dir (now included upstream)
* Removed debconf warning about cookies (closes: #235816)
-- Peter Gervai <grin@tolna.net> Fri, 30 Jul 2004 23:38:42 +0200
elinks (0.9.1-1) unstable; urgency=low
* New upstream release. (Closes: #226941)
* Features: Standard, IPv6, gzip, bzip2, SSL (GnuTLS), MIME (Option
system, Mailcap, Mimetypes files), Bookmarks, Cookies, Forms History,
Global History, URI rewrite, Scripting (Lua)
* Droppend dep on xlibs (no xterm title restore) (Partially fixing
#218453)
* Depends on newer gnutls10 and liblua50
-- Peter Gervai <grin@tolna.net> Wed, 21 Jan 2004 22:13:45 +0100
elinks (0.4.2.99-1) unstable; urgency=low
* New upstream release 0.4.3rc2
* Manpage fixed (Closes: #210305, #212491)
* No segfault when deleting bookmarks (Closes: #193119)
* Install www-browser alternative (Closes: #184981)
* ~user handled better (Closes: #181731)
* Overwrite truncates file first (Closes: #186052)
* Links/elinks selection now handled automagically (Closes: #168692)
* Elinks starts with the "goto URL" dialog, not a blank
screen (Closes: #206932)
* Remove CVS entries from package
* Numerous upstream bugfixes.
-- Peter Gervai <grin@tolna.net> Thu, 9 Oct 2003 00:24:41 +0200
elinks (0.4.2-1) unstable; urgency=low
* New upstream release 0.4.2.
* New style config UI (Closes: #167928, #169908)
* Includes spanish debconf template (Closes: #158576)
* Fixes linking problem with some renegade lib (Closes: #176401)
* Fixes 'bad url syntax' problem (Closes: #177335)
* Defines as /usr/bin/links alternative (Closes: #164058, #168692)
-- Peter Gervai <grin@tolna.net> Thu, 30 Jan 2003 01:09:34 +0100
elinks (0.3.20021004-1) unstable; urgency=low
* New upstream release 0.4pre17
* Config moved into /etc/elinks/ (closes: #158666)
-- Peter Gervai <grin@tolna.net> Fri, 4 Oct 2002 15:58:19 +0200
elinks (0.3.20020825-2) unstable; urgency=low
* Spanish debconf translation (closes: #158576)
-- Peter Gervai <grin@tolna.net> Wed, 28 Aug 2002 12:04:19 +0200
elinks (0.3.20020825-1) unstable; urgency=low
* New upstream version 0.4pre14
* Fixed a bug when elinks falls into infinite waiting loops
* Compiled against new gnutls package (patched upstream to
use gnutls/*.h... it used to work...)
-- Peter Gervai <grin@tolna.net> Sun, 25 Aug 2002 12:07:21 +0200
elinks (0.3.20020808-1) unstable; urgency=low
* New upstream version 0.4pre12
* Fixed lots of bugs, including stopping in the middle of a long
transfer ("slashdot problem", closes: #154938), cookie expiration
(closes: #154664), self referer problem (closes: #154778).
* Removed duplicate contrib/ dirs (bug in upstream's cvs, Closes: #154860)
-- Peter Gervai <grin@tolna.net> Thu, 8 Aug 2002 12:24:39 +0200
elinks (0.3.20020711-2) unstable; urgency=low
* Disabled default cookie saving to disk due Bug#154664, because
ELinks does not expire cookies all the time, and it causes
problems with remembered logins which should have been forgotten.
You have to change ~/.elinks/elinks.conf though.
-- Peter Gervai <grin@tolna.net> Mon, 29 Jul 2002 22:21:02 +0200
elinks (0.3.20020711-1) unstable; urgency=low
* Version 0.4pre12 upstream.
* Package separated from links. This package is _preferred_ to
the package 'links', because this contains plenty of useful
features, including cookies (save too), referer handling,
advanced configuration, LUA script language, and so on.
* Before reporting bugs please check against the bugs of
'links' and 'links-ssl'. Thank you.
-- Peter Gervai <grin@tolna.net> Thu, 11 Jul 2002 17:38:09 +0200
links-ssl (0.96.20020711-1) unstable; urgency=low
* New upstream release (v0.7pre12)
* Fixes DNS bug (closes: ...)
* Fix some crashes
-- Peter Gervai <grin@tolna.net> Thu, 11 Jul 2002 12:28:17 +0200
links-ssl (0.96.20020607-1) unstable; urgency=low
* New upstream release (v0.4pre7)
-- Peter Gervai <grin@tolna.net> Fri, 7 Jun 2002 17:28:18 +0000
links-ssl (0.96.20020409-2) unstable; urgency=low
* Using new lua libraries (liblua40 / liblualib40) (closes: #141327)
* Updated Readme (closes: #141542)
-- Peter Gervai <grin@Tolna.net> Mon, 15 Apr 2002 18:42:32 +0200
links-ssl (0.96.20020409-1) unstable; urgency=low
* New upstream version (eLinks 04.pre5)
* Again, plenty of bugs fixed and some features added (including,
but not limited to history search and selection).
* Now handles spaces in filenames (closes: #92079)
* Fixes stacked FTP commands (closes: #100861), but please reopen
bug if it doesn't work correctly (I can't test it)!
-- Peter Gervai <grin@Tolna.net> Tue, 9 Apr 2002 20:17:02 +0200
links-ssl (0.96.20020319-2) unstable; urgency=low
* I try to catch up with Lua packages, fixed build-deps (twice)
(Now Lua should work on non i386 too)
-- Peter Gervai <grin@tolna.net> Wed, 20 Mar 2002 02:08:55 +0100
links-ssl (0.96.20020319-1) unstable; urgency=low
* New upstream version (eLinks 0.4pre2)
* Plenty of patches included now in eLinks, most of them
provide new features, some fixes bugs (some creates them :-))
(many features hidden unless you check the docs)
* HTTP authentication (password) support (closes: #107480)
* Nonexistant frame segfault fix (closes: #128877)
* Included Links-lua docs
* Fixed rules (closes: #127206), description (closes: #127203)
-- Peter Gervai <grin@Tolna.net> Tue, 19 Mar 2002 00:29:44 +0100
links-ssl (0.96.20011222-1.1) unstable; urgency=low
* Non-maintainer upload
* Fixes Build-Dependancy for lua-dev -> liblua4-dev (closes: #126290)
-- Joel Baker <lucifer@lightbearer.com> Sun, 17 Feb 2002 13:46:36 -0700
links-ssl (0.96.20011225-1) unstable; urgency=low
* New upstream version (eLinks 0.2).
* Minor bugfixes, mostly cosmetics.
-- Peter Gervai <grin@Tolna.net> Tue, 25 Dec 2001 02:29:05 +0100
links-ssl (0.96.20011222-1) unstable; urgency=low
* Changed to packaging the actively developed branch of Links,
which includes Lua patches and other goodies. Unless it breaks
or behaves unacceptable I try to keep this packaged, as the original
release does not get its bugs fixed no matter what....
* Lots of bugfixes, see Changelog
* Fixed config file example of gif to use mime-type (closes: #125661)
-- Peter Gervai <grin@Tolna.net> Sat, 22 Dec 2001 01:22:51 +0100
links-ssl (0.96-1) unstable; urgency=low
* New upstream release
-- Peter Gervai <grin@Tolna.net> Wed, 4 Jul 2001 00:49:37 +0200
links-ssl (0.95.1-3) unstable; urgency=low
* Changed links.desktop to links-ssl.desktop
* links-ssl now provides links (closes: #102600)
-- Peter Gervai <grin@Tolna.net> Wed, 27 Jun 2001 21:10:41 +0200
links-ssl (0.95.1-2) unstable; urgency=high
* Now everyone see I never tried KDE :) desktop file fixed
(closes: #101964)
-- Peter Gervai <grin@Tolna.net> Sat, 23 Jun 2001 12:17:50 +0200
links-ssl (0.95.1-1) unstable; urgency=low
* New upstream version 0.96pre7
* Build depends libgpmg1-dev [!hurd-i386] (closes: #99961, #95977)
* Install KDE menu (closes: #96494)
-- Peter Gervai <grin@Tolna.net> Fri, 8 Jun 2001 00:25:45 +0200
links-ssl (0.95-3) unstable; urgency=low
* fixes SIGSEGV due ssl libs
-- Peter Gervai <grin@tolna.net> Mon, 5 Mar 2001 14:28:17 +0100
links-ssl (0.95-2) unstable; urgency=low
* Rebuilt using libssl096 (closes: #82079)
* Fixed build dependency on libssl096-dev and
libgpmg1-dev (closes: #82080)
* Hopefully not killing the Bugfree(tm) katie install
mechanism by using consistent maintaner address. ;-)
-- Peter Gervai <grin@tolna.net> Tue, 16 Jan 2001 19:58:19 +0100
links-ssl (0.95-1) unstable; urgency=low
* New upstream version.
* build depends on debhelper (closes: #81231)
-- Peter Gervai <grin@Yikes.Tolna.net> Thu, 4 Jan 2001 03:15:52 +0100
links-ssl (0.94-0pre9) unstable; urgency=low
* New upstream version.
* Changelog split from links (-plain)
* Removed "unofficial" patches to match upstream version, as
the author seems to be working again and including submitted
patches to mainstream. (closes: #80005, #79853)
* Enter key now submits again (closes: #75225)
* Pathless URL's aren't cut (closes: #75546)
* Different xterm detection (closes: #79687)
* Updated manpage
-- Peter Gervai <grin@tolna.net> Wed, 3 Jan 2001 19:00:58 +0100
Local variables:
mode: debian-changelog
End:

View File

@ -1,20 +0,0 @@
Source: elinks
Section: web
Priority: optional
Maintainer: Peter Gervai <grin@tolna.net>
Standards-Version: 3.6.1
Build-Depends: debhelper (>= 4.0.0), m4, bison, libgnutls11-dev, libgpmg1-dev [alpha arm hppa i386 ia64 m68k mips mipsel powerpc s390 s390x sh3 sh3eb sh4 sh4eb sparc sparc64 amd64], liblua50-dev, liblualib50-dev, libbz2-dev, libexpat1-dev (>= 1.95.6), type-handling (>= 0.2.1), libperl-dev
Package: elinks
Architecture: any
Depends: ${shlibs:Depends}, debconf
Provides: links, www-browser
Description: advanced text-mode WWW browser
ELinks (Enhanced Links) is a lynx-like character mode browser,
created from the Links browser with many patches and enhancements.
It includes support for rendering tables and frames, features
background downloads, can display colors, supports the Lua scripting
language, IPV6 and has many other features. ELinks is linked against
GNUTLS to prevent license issues.
.
Homepage: http://elinks.cz/

View File

@ -1,20 +0,0 @@
Source: elinks
Section: web
Priority: optional
Maintainer: Peter Gervai <grin@tolna.net>
Standards-Version: 3.6.1
Build-Depends: debhelper (>= 4.0.0), m4, bison, libgnutls11-dev, libgpmg1-dev [@linux-gnu@], liblua5.1-dev, libbz2-dev, libexpat1-dev (>= 1.95.6), type-handling (>= 0.2.1), libperl-dev
Package: elinks
Architecture: any
Depends: ${shlibs:Depends}, debconf
Provides: links, www-browser
Description: advanced text-mode WWW browser
ELinks (Enhanced Links) is a lynx-like character mode browser,
created from the Links browser with many patches and enhancements.
It includes support for rendering tables and frames, features
background downloads, can display colors, supports the Lua scripting
language, IPV6 and has many other features. ELinks is linked against
GNUTLS to prevent license issues.
.
Homepage: http://elinks.cz/

View File

@ -1,14 +0,0 @@
This package was debianized by Peter Gervai <grin@tolna.net> on
Mon, 29 Nov 1999 12:16:46 +0100.
It was downloaded from http://elinks.cz/
Upstream Author: Petr Baudis <pasky@ucw.cz>
Copyright:
This program is free software. You may redistribute it and/or modify it
under the terms of The GNU General Public License, as published by the Free
Software Foundation, specifically version 2 of the License. A copy of this
license is in the file /usr/share/common-licenses/GPL-2.

View File

@ -1,11 +0,0 @@
[Desktop Entry]
Name=ELinks
Categories=Application;Network
GenericName=Web Browser
Comment=Browse the World Wide Web in Text-Mode
Exec=/usr/bin/elinks %u
Terminal=1
Type=Application
Icon=html
MimeType=text/html
XClassHintResName=ELinks

View File

@ -1,8 +0,0 @@
AUTHORS
BUGS
NEWS
SITES
TODO
doc/*.html
doc/*.texi
doc/*.txt

View File

@ -1,58 +0,0 @@
#! /bin/sh
# postinst for elinks
# see: dh_installdeb(1)
set -e
# summary of how this script can be called:
# * <postinst> `configure' <most-recently-configured-version>
# * <old-postinst> `abort-upgrade' <new version>
# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
# <new-version>
# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
# <failed-install-package> <version> `removing'
# <conflicting-package> <version>
# for details, see /usr/doc/packaging-manual/
#
# quoting from the policy:
# Any necessary prompting should almost always be confined to the
# post-installation script, and should be protected with a conditional
# so that unnecessary prompting doesn't happen if a package's
# installation fails and the `postinst' is called with `abort-upgrade',
# `abort-remove' or `abort-deconfigure'.
case "$1" in
configure)
update-alternatives --quiet --install /usr/bin/links links \
/usr/bin/elinks 20 --slave /usr/share/man/man1/links.1.gz \
links.1.gz /usr/share/man/man1/elinks.1.gz
update-alternatives --quiet --install /usr/bin/www-browser www-browser \
/usr/bin/elinks 35 \
--slave /usr/share/man/man1/www-browser.1.gz www-browser.1.gz \
/usr/share/man/man1/elinks.1.gz
# Purge the debconf database we no longer need.
if [ -e /usr/share/debconf/confmodule ]; then
. /usr/share/debconf/confmodule
db_version 2.0
db_purge
fi
;;
abort-upgrade|abort-remove|abort-deconfigure)
;;
*)
echo "postinst called with unknown argument \`$1'" >&2
exit 0
;;
esac
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#
exit 0

View File

@ -1,19 +0,0 @@
#!/bin/sh
#
# elinks preinst file
#
# check whether we have the config in the old place and not in the new place
#
if [ -f /etc/elinks.conf -a ! -f /etc/elinks/elinks.conf ]; then
# move the file into the new location
#
mkdir -p /etc/elinks/
mv /etc/elinks.conf /etc/elinks/elinks.conf
echo "Your /etc/elinks.conf moved into /etc/elinks/."
fi
#DEBCONF#
#DEBHELPER#

View File

@ -1,38 +0,0 @@
#! /bin/sh
# prerm script for less
#
# see: dh_installdeb(1)
set -e
# summary of how this script can be called:
# * <prerm> `remove'
# * <old-prerm> `upgrade' <new-version>
# * <new-prerm> `failed-upgrade' <old-version>
# * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
# * <deconfigured's-prerm> `deconfigure' `in-favour'
# <package-being-installed> <version> `removing'
# <conflicting-package> <version>
# for details, see /usr/doc/packaging-manual/
case "$1" in
remove)
update-alternatives --quiet --remove links /usr/bin/elinks
update-alternatives --quiet --remove www-browser /usr/bin/elinks
;;
upgrade|failed-upgrade|deconfigure)
;;
*)
echo "prerm called with unknown argument \`$1'" >&2
exit 0
;;
esac
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#
exit 0

View File

@ -1,7 +0,0 @@
?package(elinks):\
needs="text"\
section="Apps/Net"\
title="ELinks"\
command="/usr/bin/elinks"\
hints="Web browsers"

View File

@ -1,2 +0,0 @@
text/html; /usr/bin/elinks -force-html %s; needsterminal; description=HTML Text; nametemplate=%s.html; priority=4
text/html; /usr/bin/elinks -force-html -dump %s; copiousoutput; description=HTML Text; nametemplate=%s.html; priority=3

View File

@ -1,142 +0,0 @@
#!/usr/bin/make -f
#
# ELinks 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.
#export DH_COMPAT=2 # this should work if your debhelper is older!
export DH_COMPAT=4
# This adds the values the variable is set to to the -X options of all commands
# that support the -X option
# XXX: The last _has_ to be `Makefil', since find chokes on `Makefile'
export DH_ALWAYS_EXCLUDE=CVS:.cvsignore:.vimrc:MT:.mt-attrs:Makefil
## Handling of DEB_BUILD_OPTIONS
#
# debug - turn on all the built-in debugging
# nostrip - dh_strip will take care of this
# noopt - compiled with a minimum of optimization
ifneq (,$(findstring debug, $(DEB_BUILD_OPTIONS)))
CONFIGURE_MODE = --enable-debug
endif
ifneq (,$(findstring noopt, $(DEB_BUILD_OPTIONS)))
# Export it so configure can grab it
export CFLAGS += -O0 -Wall
else
ifeq (,$(CONFIGURE_MODE))
CONFIGURE_MODE = --enable-fastmem
endif
endif
## Compile Configuration
#
# with GNUTLS - due to license restictions
# without X - since it only needed for RESETTING the xterm title and
# resizing xterm windows
CONFIGURE_OPTIONS = \
--prefix=/usr \
--mandir=\$${prefix}/share/man \
--sysconfdir=/etc/elinks \
--with-xterm="x-terminal-emulator -e" \
--without-openssl \
--without-x \
--with-gnutls=/usr \
--with-perl --enable-nntp --enable-256-colors --enable-leds \
--without-spidermonkey \
--with-luapkg=lua5.1
# spidermonkey: libsmjs-dev
# perl libperl-dev
# The .deb file packaging root directory
DEB_ROOT = `pwd`/debian/elinks
build: debian/build-stamp
debian/build-stamp:
dh_testdir
./configure $(CONFIGURE_MODE) $(CONFIGURE_OPTIONS)
$(MAKE)
touch debian/build-stamp
clean:
dh_testdir
dh_testroot
# Add here commands to clean up after the build process.
-$(MAKE) distclean
# handle non-linux archs, patch by Robert Millan <rmh@debian.org>, bug#262350
cat debian/control.in \
| sed "s/@linux-gnu@/`type-handling any linux-gnu`/g" \
> debian/control
# -find . -name ".#*" -exec rm -rf "{}" \;
dh_clean
install: build
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
# Add here commands to install the package into debian/elinks.
$(MAKE) install DESTDIR=$(DEB_ROOT)
mkdir -p $(DEB_ROOT)/etc/elinks
install -o root -g root -m 644 contrib/elinks.conf $(DEB_ROOT)/etc/elinks/elinks.conf
# KDE and Gnome menu integration (freedesktop.org)
dh_install debian/elinks.desktop usr/share/applications/
# upstream CVS bug hack: remove double contrib dirs
-rm -rf contrib/lua/lua contrib/conv/conv contrib/guile/guile
# locale.alias causes conflicts and I believe it's not necessary
-rm -f $(DEB_ROOT)/usr/share/locale/locale.alias
# 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
dh_testdir
dh_testroot
dh_installdebconf
dh_installdocs
dh_installexamples \
-X colws.diff -X elinks.spec -X hooks.lua.in -X links_wps.zip \
-X wipe-out-ssl -X LinksOS2Icon.zip -X js-1.5-rc6a contrib/
dh_installmime
dh_installmenu
dh_installman
# comment out for slink:
## dh_installinfo
dh_installchangelogs ChangeLog
# comment out for slink:
## dh_link
dh_strip
dh_compress
dh_fixperms
# dh_makeshlibs
dh_installdeb
# dh_perl
dh_shlibdeps
dh_gencontrol
dh_md5sums
dh_builddeb
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install

View File

@ -1,5 +0,0 @@
version=4
opts=downloadurlmangle=s#archive/refs/tags/v(.*)\.tar\.gz#releases/download/v$1/@PACKAGE@-$1\.tar\.xz# \
https://github.com/rkd77/@PACKAGE@/tags \
(?:.*?/)?v?([\d.]*)@ARCHIVE_EXT@