Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/prefix:master commit in: net-misc/urlview/, net-misc/urlview/files/
Date: Mon, 21 Jun 2021 05:59:39
Message-Id: 1624255155.bbdbacccbc3961ede63827ae2a57c6421d2f49d6.sam@gentoo
1 commit: bbdbacccbc3961ede63827ae2a57c6421d2f49d6
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jun 21 05:59:15 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Mon Jun 21 05:59:15 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=bbdbaccc
7
8 net-misc/urlview: drop broken package
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 net-misc/urlview/Manifest | 1 -
13 net-misc/urlview/files/include-fix.patch | 11 -------
14 net-misc/urlview/files/no-trailing-newline.patch | 11 -------
15 net-misc/urlview/files/urlview-0.9-DESTDIR.patch | 12 -------
16 net-misc/urlview/files/urlview-0.9-prefix.patch | 30 -----------------
17 net-misc/urlview/metadata.xml | 18 ----------
18 net-misc/urlview/urlview-0.9.ebuild | 42 ------------------------
19 7 files changed, 125 deletions(-)
20
21 diff --git a/net-misc/urlview/Manifest b/net-misc/urlview/Manifest
22 deleted file mode 100644
23 index e696fbb10c..0000000000
24 --- a/net-misc/urlview/Manifest
25 +++ /dev/null
26 @@ -1 +0,0 @@
27 -DIST urlview-0.9.tar.gz 46685 BLAKE2B 7023a32c6a14121bc0639ba0f1ed06ec66663cd386fb35cf23b115878ef0e3a5f93a09360e3c9cbbd29ac1b6537ce9d559fbcd73a5ce07556feb20b9e77d1588 SHA512 5415c30e34f429c78001b1e87a75a43503d1998b667eaac66dc49298ea491914c6360baba33b5caeeb4ad54e3a4533a46afc05de3b1f135e41069d00fad0936a
28
29 diff --git a/net-misc/urlview/files/include-fix.patch b/net-misc/urlview/files/include-fix.patch
30 deleted file mode 100644
31 index c948a23554..0000000000
32 --- a/net-misc/urlview/files/include-fix.patch
33 +++ /dev/null
34 @@ -1,11 +0,0 @@
35 ---- urlview.c.orig 2005-02-06 17:10:54.000000000 +0100
36 -+++ urlview.c 2005-02-06 17:57:06.998290062 +0100
37 -@@ -40,6 +40,8 @@
38 - #include <fcntl.h>
39 - #include <sys/stat.h>
40 -
41 -+#include "quote.h"
42 -+
43 - #ifdef HAVE_REGEX_H
44 - #include <regex.h>
45 - #else
46
47 diff --git a/net-misc/urlview/files/no-trailing-newline.patch b/net-misc/urlview/files/no-trailing-newline.patch
48 deleted file mode 100644
49 index 8a6859f2cc..0000000000
50 --- a/net-misc/urlview/files/no-trailing-newline.patch
51 +++ /dev/null
52 @@ -1,11 +0,0 @@
53 ---- urlview.c 2000-07-04 11:14:30.000000000 +0100
54 -+++ urlview.no-trailing-newline.c 2003-09-06 11:07:02.000000000 +0100
55 -@@ -46,7 +46,7 @@
56 - #include <rx/rxposix.h>
57 - #endif
58 -
59 --#define DEFAULT_REGEXP "(((https?|ftp|gopher)://|(mailto|file|news):)[^' \t<>\"]+|(www|web|w3)\\.[-a-z0-9.]+)[^' \t.,;<>\"\\):]"
60 -+#define DEFAULT_REGEXP "(((https?|ftp|gopher)://|(mailto|file|news):)[^' \t<>\"]+|(www|web|w3)\\.[-a-z0-9.]+)[^' \n\t.,;<>\"\\):]"
61 - #define DEFAULT_COMMAND "url_handler.sh %s"
62 - #define SYSTEM_INITFILE "/etc/urlview.conf"
63 -
64
65 diff --git a/net-misc/urlview/files/urlview-0.9-DESTDIR.patch b/net-misc/urlview/files/urlview-0.9-DESTDIR.patch
66 deleted file mode 100644
67 index 304fd6706c..0000000000
68 --- a/net-misc/urlview/files/urlview-0.9-DESTDIR.patch
69 +++ /dev/null
70 @@ -1,12 +0,0 @@
71 ---- Makefile.in
72 -+++ Makefile.in
73 -@@ -318,7 +318,8 @@
74 -
75 -
76 - install-data-local:
77 -- $(INSTALL_DATA) urlview.man $(mandir)/man1/urlview.1
78 -+ $(mkinstalldirs) $(DESTDIR)$(mandir)/man1
79 -+ $(INSTALL_DATA) urlview.man $(DESTDIR)$(mandir)/man1/urlview.1
80 -
81 - # how to create a target for uninstall-data-local???
82 -
83
84 diff --git a/net-misc/urlview/files/urlview-0.9-prefix.patch b/net-misc/urlview/files/urlview-0.9-prefix.patch
85 deleted file mode 100644
86 index 59ae2cb5e6..0000000000
87 --- a/net-misc/urlview/files/urlview-0.9-prefix.patch
88 +++ /dev/null
89 @@ -1,30 +0,0 @@
90 ---- url_handler.sh~ 2007-10-01 01:49:36 +0200
91 -+++ url_handler.sh 2007-10-01 01:51:19 +0200
92 -@@ -1,4 +1,4 @@
93 --#! /bin/bash
94 -+#! @GENTOO_PORTAGE_EPREFIX@/bin/bash
95 -
96 - # Copyright (c) 1998 Martin Schulze <joey@××××××.org>
97 - # Slightly modified by Luis Francisco Gonzalez <luisgh@××××××.org>
98 -@@ -28,15 +28,15 @@
99 - # VT: Launch in the same terminal
100 -
101 - # The lists of programs to be executed are
102 --https_prgs="/usr/X11R6/bin/netscape:XW /usr/bin/lynx:XT"
103 --http_prgs="/usr/bin/lynx:XT /usr/X11R6/bin/netscape:XW"
104 --mailto_prgs="/usr/bin/mutt:VT /usr/bin/elm:VT /usr/bin/pine:VT /usr/bin/mail:VT"
105 --gopher_prgs="/usr/bin/lynx:XT /usr/bin/gopher:XT"
106 --ftp_prgs="/usr/bin/lynx:XT /usr/bin/ncftp:XT"
107 -+https_prgs="@GENTOO_PORTAGE_EPREFIX@/usr/X11R6/bin/netscape:XW @GENTOO_PORTAGE_EPREFIX@/usr/bin/lynx:XT"
108 -+http_prgs="@GENTOO_PORTAGE_EPREFIX@/usr/bin/lynx:XT @GENTOO_PORTAGE_EPREFIX@/usr/X11R6/bin/netscape:XW"
109 -+mailto_prgs="@GENTOO_PORTAGE_EPREFIX@/usr/bin/mutt:VT @GENTOO_PORTAGE_EPREFIX@/usr/bin/elm:VT @GENTOO_PORTAGE_EPREFIX@/usr/bin/pine:VT @GENTOO_PORTAGE_EPREFIX@/usr/bin/mail:VT"
110 -+gopher_prgs="@GENTOO_PORTAGE_EPREFIX@/usr/bin/lynx:XT @GENTOO_PORTAGE_EPREFIX@/usr/bin/gopher:XT"
111 -+ftp_prgs="@GENTOO_PORTAGE_EPREFIX@/usr/bin/lynx:XT @GENTOO_PORTAGE_EPREFIX@/usr/bin/ncftp:XT"
112 -
113 - # Program used as an xterm (if it doesn't support -T you'll need to change
114 - # the command line in getprg)
115 --XTERM=/usr/X11R6/bin/xterm
116 -+XTERM=@GENTOO_PORTAGE_EPREFIX@/usr/X11R6/bin/xterm
117 -
118 -
119 - ###########################################################################
120
121 diff --git a/net-misc/urlview/metadata.xml b/net-misc/urlview/metadata.xml
122 deleted file mode 100644
123 index 24ae812e9c..0000000000
124 --- a/net-misc/urlview/metadata.xml
125 +++ /dev/null
126 @@ -1,18 +0,0 @@
127 -<?xml version="1.0" encoding="UTF-8"?>
128 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
129 -<pkgmetadata>
130 - <maintainer type="person">
131 - <email>nimiux@g.o</email>
132 - <name>Chema Alonso</name>
133 - </maintainer>
134 - <longdescription lang="en">
135 - urlview is a screen oriented program for extracting URLs from text
136 - files and displaying a menu from which you may launch a command to view
137 - a specific item.
138 - </longdescription>
139 - <longdescription lang="es">
140 - urlview es un programa orientado a terminal para la extracción de URLs
141 - desde ficheros de texto. El programa muestra un menú desde el que se
142 - puede lanzar una orden para ver un elemento en particular.
143 - </longdescription>
144 -</pkgmetadata>
145
146 diff --git a/net-misc/urlview/urlview-0.9.ebuild b/net-misc/urlview/urlview-0.9.ebuild
147 deleted file mode 100644
148 index e2b804a437..0000000000
149 --- a/net-misc/urlview/urlview-0.9.ebuild
150 +++ /dev/null
151 @@ -1,42 +0,0 @@
152 -# Copyright 1999-2021 Gentoo Authors
153 -# Distributed under the terms of the GNU General Public License v2
154 -# $Header: /var/cvsroot/gentoo-x86/net-misc/urlview/urlview-0.9.ebuild,v 1.27 2008/02/03 15:43:44 grobian Exp $
155 -
156 -inherit eutils prefix
157 -
158 -DESCRIPTION="extracts urls from text and will send them to another app"
159 -HOMEPAGE="http://www.mutt.org"
160 -SRC_URI="ftp://gd.tuwien.ac.at/infosys/mail/mutt/contrib/${P}.tar.gz"
161 -
162 -LICENSE="GPL-2"
163 -SLOT="0"
164 -KEYWORDS="~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
165 -IUSE=""
166 -
167 -DEPEND=">=sys-libs/ncurses-5.2"
168 -
169 -src_unpack() {
170 - unpack ${A}
171 - cd "${S}"
172 - epatch "${FILESDIR}"/no-trailing-newline.patch
173 - epatch "${FILESDIR}"/include-fix.patch
174 - epatch "${FILESDIR}"/${P}-DESTDIR.patch
175 - epatch "${FILESDIR}"/${P}-prefix.patch
176 - eprefixify url_handler.sh
177 -}
178 -
179 -src_install() {
180 - emake install DESTDIR="${D}" || die
181 - dodoc README INSTALL ChangeLog AUTHORS sample.urlview
182 - dobin url_handler.sh
183 -}
184 -
185 -pkg_postinst() {
186 - echo
187 - einfo "There is a sample.urlview in /usr/share/doc/${P}"
188 - einfo "You can also customize /usr/bin/url_handler.sh"
189 - echo
190 - einfo "If using urlview from mutt, you may need to "set pipe_decode" in"
191 - einfo "your ~/.muttrc to prevent garbled URLs."
192 - echo
193 -}