diff options
author | Heinz Wiesinger <pprkut@slackbuilds.org> | 2010-05-13 00:09:02 +0200 |
---|---|---|
committer | Heinz Wiesinger <pprkut@slackbuilds.org> | 2010-05-13 00:09:02 +0200 |
commit | a27081995fe148adeef05c3a22333899b0307a87 (patch) | |
tree | a28ae3a17f8a0d7163a3cbbcfd2d36a37a48d284 /network/w3m | |
parent | 55df61a4c0b540c2029fa108a0442f0861ef5277 (diff) |
network/w3m: Removed from 13.0 repository
Diffstat (limited to 'network/w3m')
-rw-r--r-- | network/w3m/README | 12 | ||||
-rw-r--r-- | network/w3m/slack-desc | 19 | ||||
-rw-r--r-- | network/w3m/w3m-0.5.2-gpm_fix-1.patch | 124 | ||||
-rw-r--r-- | network/w3m/w3m.SlackBuild | 71 | ||||
-rw-r--r-- | network/w3m/w3m.info | 8 |
5 files changed, 0 insertions, 234 deletions
diff --git a/network/w3m/README b/network/w3m/README deleted file mode 100644 index cddcf4fefd03a..0000000000000 --- a/network/w3m/README +++ /dev/null @@ -1,12 +0,0 @@ -w3m is a World Wide Web (WWW) text based client. It has English and -Japanese help files and an option menu and can be configured to use -either language. It will display hypertext markup language (HTML) -documents containing links to files residing on the local system, as -well as files residing on remote systems. It can display HTML tables, -frames, and images, and supports tabbed browsing. In addition, -it can be used as a "pager" in much the same manner as "more" or -"less". Current versions of w3m run on Unix (Solaris, SunOS, HP-UX, -Linux, FreeBSD, and EWS4800) and on Microsoft Windows 9x/NT. - -You will need the gc package (which is available from SlackBuilds.org), -to compile this. diff --git a/network/w3m/slack-desc b/network/w3m/slack-desc deleted file mode 100644 index db508bd9754e1..0000000000000 --- a/network/w3m/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler--------------------------------------------------------| -w3m: w3m (text-mode browser) -w3m: -w3m: w3m is a World Wide Web (WWW) text based client. It has English and -w3m: Japanese help files and an option menu and can be configured to use -w3m: either language. It will display hypertext markup language (HTML) -w3m: documents containing links to files residing on the local system, as -w3m: well as files residing on remote systems. It can display HTML tables, -w3m: frames, and images, and supports tabbed browsing. In addition, it can -w3m: be used as a "pager" in much the same manner as "more" or "less". -w3m: -w3m: Homepage: http://w3m.sourceforge.net/ diff --git a/network/w3m/w3m-0.5.2-gpm_fix-1.patch b/network/w3m/w3m-0.5.2-gpm_fix-1.patch deleted file mode 100644 index 74c645d348297..0000000000000 --- a/network/w3m/w3m-0.5.2-gpm_fix-1.patch +++ /dev/null @@ -1,124 +0,0 @@ -diff -urN w3m-0.5.2/configure.ac w3m-0.5.2.fixed/configure.ac ---- w3m-0.5.2/configure.ac 2004-04-29 00:19:25.000000000 +0600 -+++ w3m-0.5.2.fixed/configure.ac 2005-09-24 16:39:11.000000000 +0600 -@@ -97,6 +97,7 @@ - AC_SUBST(USE_W3M) - AC_CHECK_LIB(gpm, Gpm_Open, [AC_DEFINE(USE_GPM) - W3M_LIBS="$W3M_LIBS -lgpm"]) -+ AC_CHECK_LIB(gpm, Gpm_Wgetch, AC_DEFINE(HAVE_GPM_WGETCH)) - AC_SUBST(USE_SYSMOUSE) - AC_TRY_CPP([#include <machine/console.h> - MOUSE_GETINFO], [AC_DEFINE(USE_SYSMOUSE)]) -diff -urN w3m-0.5.2/gpm-libcurses.c w3m-0.5.2.fixed/gpm-libcurses.c ---- w3m-0.5.2/gpm-libcurses.c 1970-01-01 05:00:00.000000000 +0500 -+++ w3m-0.5.2.fixed/gpm-libcurses.c 2005-09-24 18:18:30.000000000 +0600 -@@ -0,0 +1,84 @@ -+/* -+ * libcurses.c - client library - curses level (gpm-Linux) -+ * -+ * Copied from GPM by Alexander E. Patrakov -+ * Copyright 1994,1995 rubini@linux.it (Alessandro Rubini) -+ * Copyright 2002 nico@schottelius.org (Nico Schottelius) -+ * -+ * 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 program; if not, write to the Free Software -+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. -+ ********/ -+ -+#include <stdio.h> -+#include <stdlib.h> -+#include <unistd.h> /* select(); */ -+#include <sys/time.h> /* timeval */ -+#include <sys/types.h> /* socket() */ -+ -+#include "config.h" -+#if defined(USE_GPM) && !defined(HAVE_GPM_WGETCH) -+ -+extern int getch(); -+ -+#include <gpm.h> -+#include <errno.h> -+ -+#define SELECT_TIME 86400 /* one day */ -+ -+int Gpm_Wgetch(void * dummy) -+{ -+fd_set selSet; -+int max, flag, result; -+int fd=STDIN_FILENO; -+static Gpm_Event ev; -+ -+ if (!gpm_flag || gpm_fd==-1) return getch(); -+ if (gpm_morekeys) return (*gpm_handler)(&ev,gpm_data); -+ gpm_hflag=0; -+ -+ max = (gpm_fd>fd) ? gpm_fd : fd; -+ -+/*...................................................................*/ -+ if (gpm_fd>=0) /* linux */ -+ while(1) -+ { -+ if (gpm_visiblepointer) GPM_DRAWPOINTER(&ev); -+ do -+ { -+ FD_ZERO(&selSet); -+ FD_SET(fd,&selSet); -+ FD_SET(gpm_fd,&selSet); -+ gpm_timeout.tv_sec=SELECT_TIME; -+ errno = 0; -+ flag=select(max+1,&selSet,(fd_set *)NULL,(fd_set *)NULL,&gpm_timeout); -+ } -+ while (!flag); -+ -+ if (flag==-1) -+ continue; -+ -+ if (FD_ISSET(fd,&selSet)) -+ return getch(); -+ -+ if (Gpm_GetEvent(&ev) && gpm_handler -+ && (result=(*gpm_handler)(&ev,gpm_data))) -+ { -+ gpm_hflag=1; -+ return result; -+ } -+ } -+ return 0; -+} -+#endif -+ -diff -urN w3m-0.5.2/Makefile.in w3m-0.5.2.fixed/Makefile.in ---- w3m-0.5.2/Makefile.in 2004-04-26 23:04:48.000000000 +0600 -+++ w3m-0.5.2.fixed/Makefile.in 2005-09-24 16:48:54.000000000 +0600 -@@ -85,11 +85,11 @@ - SRCS=main.c file.c buffer.c display.c etc.c search.c linein.c table.c local.c \ - form.c map.c frame.c rc.c menu.c mailcap.c image.c \ - symbol.c entity.c terms.c url.c ftp.c mimehead.c regex.c news.c \ -- func.c cookie.c history.c backend.c $(KEYBIND_SRC) -+ func.c cookie.c history.c backend.c gpm-libcurses.c $(KEYBIND_SRC) - OBJS=main.o file.o buffer.o display.o etc.o search.o linein.o table.o local.o\ - form.o map.o frame.o rc.o menu.o mailcap.o image.o \ - symbol.o entity.o terms.o url.o ftp.o mimehead.o regex.o news.o \ -- func.o cookie.o history.o backend.o $(KEYBIND_OBJ) -+ func.o cookie.o history.o backend.o gpm-libcurses.o $(KEYBIND_OBJ) - LSRCS=anchor.c parsetagx.c tagtable.c istream.c - LOBJS=anchor.o parsetagx.o tagtable.o istream.o - LLOBJS=version.o -diff -urN w3m-0.5.2/config.h.in w3m-0.5.2.fixed/config.h.in ---- w3m-0.5.2/config.h.in 2004-04-04 22:47:20.000000000 +0600 -+++ w3m-0.5.2.fixed/config.h.in 2005-09-24 16:50:43.000000000 +0600 -@@ -231,3 +231,4 @@ - #define INFLATE_NAME "inflate" - -+#undef HAVE_GPM_WGETCH - #endif /* CONFIG_H_SEEN */ diff --git a/network/w3m/w3m.SlackBuild b/network/w3m/w3m.SlackBuild deleted file mode 100644 index 89ba3934a9b83..0000000000000 --- a/network/w3m/w3m.SlackBuild +++ /dev/null @@ -1,71 +0,0 @@ -#!/bin/sh - -# Slackware build script for w3m -# Written by slakmagik <jsun@freeshell.org> -# Released under the WTFPL - -PRGNAM=w3m -VERSION=0.5.2 -ARCH=${ARCH:-i486} -BUILD=${BUILD:-2} -TAG=${TAG:-_SBo} - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" -fi - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM-$VERSION -chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 \ - -o -perm 400 \) -exec chmod 644 {} \; - -# Fix segfaulting bug -patch -p1 < $CWD/w3m-0.5.2-gpm_fix-1.patch - -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --mandir=/usr/man \ - --enable-keymap=lynx \ - --enable-gopher \ - --build=$ARCH-slackware-linux \ - --host=$ARCH-slackware-linux - -make -make DESTDIR=$PKG install - -( cd $PKG - find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null -) - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a [ACNT]* doc/* $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -find $PKG/usr/man/ -type f -exec gzip -9 {} \; - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz diff --git a/network/w3m/w3m.info b/network/w3m/w3m.info deleted file mode 100644 index 670ecc1d835bf..0000000000000 --- a/network/w3m/w3m.info +++ /dev/null @@ -1,8 +0,0 @@ -PRGNAM="w3m" -VERSION="0.5.2" -HOMEPAGE="http://w3m.sourceforge.net/" -DOWNLOAD="http://downloads.sourceforge.net/w3m/w3m-0.5.2.tar.gz" -MD5SUM="ba06992d3207666ed1bf2dcf7c72bf58" -MAINTAINER="slakmagik" -EMAIL="jsun@freeshell.org" -APPROVED="rworkman" |