Import Debian changes 0.9.3-4
gman (0.9.3-4) unstable; urgency=low
* Included page name in terminal's icon name as well as the title,
thanks to Norbert Buchmuller, closes: #390424.
* Removed '-s' from install(1) invocations in order to properly
support the nostrip build mode, closes: #437045.
* Removed a completely unnecessary #include <jerror.h> and the
libjpeg62-dev build-dependency - gman simply doesn't use anything
from there.
* Intercept the complete lack of man2html in gman.pl, closes: #248501.
* Upped DH_COMPAT and debhelper build-dependency to 5 (no changes).
* Dropped old FSF address from the copyright file.
* Upped standards version to 3.7.2 (no changes).
* Side-note: gman could use 'man -H' instead of its own forking of
a browser with man2html, but that generates slightly different
output with no links and requires psutils and netpbm to get tables
(and even then they don't work, cf. #335411).
Josip Rodin authored 16 years ago
Boyuan Yang committed 4 years ago
31 | 31 |
test -d $(prefix)/bin || mkdir -p $(prefix)/bin
|
32 | 32 |
test -d $(prefix)/share/man/man1 || mkdir -p $(prefix)/share/man/man1
|
33 | 33 |
test -d $(cgi_bin_prefix) || mkdir -p $(cgi_bin_prefix)
|
34 | |
install -s -m 755 gman $(prefix)/bin/
|
|
34 |
install -m 755 gman $(prefix)/bin/
|
35 | 35 |
install -m 755 gman.pl $(cgi_bin_prefix)/gman.pl
|
36 | 36 |
install -m 644 gman.1x $(prefix)/share/man/man1
|
|
0 |
gman (0.9.3-4) unstable; urgency=low
|
|
1 |
|
|
2 |
* Included page name in terminal's icon name as well as the title,
|
|
3 |
thanks to Norbert Buchmuller, closes: #390424.
|
|
4 |
* Removed '-s' from install(1) invocations in order to properly
|
|
5 |
support the nostrip build mode, closes: #437045.
|
|
6 |
* Removed a completely unnecessary #include <jerror.h> and the
|
|
7 |
libjpeg62-dev build-dependency - gman simply doesn't use anything
|
|
8 |
from there.
|
|
9 |
* Intercept the complete lack of man2html in gman.pl, closes: #248501.
|
|
10 |
* Upped DH_COMPAT and debhelper build-dependency to 5 (no changes).
|
|
11 |
* Dropped old FSF address from the copyright file.
|
|
12 |
* Upped standards version to 3.7.2 (no changes).
|
|
13 |
* Side-note: gman could use 'man -H' instead of its own forking of
|
|
14 |
a browser with man2html, but that generates slightly different
|
|
15 |
output with no links and requires psutils and netpbm to get tables
|
|
16 |
(and even then they don't work, cf. #335411).
|
|
17 |
|
|
18 |
-- Josip Rodin <joy-packages@debian.org> Sun, 16 Mar 2008 22:54:42 +0100
|
|
19 |
|
0 | 20 |
gman (0.9.3-3) unstable; urgency=low
|
1 | 21 |
|
2 | 22 |
* (Restoring package after it was removed by #328541.)
|
1 | 1 |
Section: doc
|
2 | 2 |
Priority: optional
|
3 | 3 |
Maintainer: Josip Rodin <joy-packages@debian.org>
|
4 | |
Build-Depends: debhelper (>= 2), libglib1.2-dev, libgtk1.2-dev, libjpeg62-dev
|
5 | |
Standards-Version: 3.6.0
|
|
4 |
Build-Depends: debhelper (>= 5), libglib1.2-dev, libgtk1.2-dev
|
|
5 |
Standards-Version: 3.7.2
|
6 | 6 |
|
7 | 7 |
Package: gman
|
8 | 8 |
Architecture: any
|
0 | |
This package was debianized by Josip Rodin <jrodin@jagor.srce.hr> on
|
|
0 |
This package was first debianized by Josip Rodin on
|
1 | 1 |
Tue, 12 Oct 1999 14:31:42 +0200.
|
2 | 2 |
|
3 | 3 |
It was downloaded from: http://homex.coolconnect.com/user/xkwang/gman/
|
|
16 | 16 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
17 | 17 |
GNU General Public License for more details.
|
18 | 18 |
|
19 | |
You should have received a copy of the GNU General Public License
|
20 | |
along with this program; if not, write to the Free Software
|
21 | |
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
22 | |
|
23 | 19 |
The full text of the GNU GPL can be found in /usr/share/common-licenses/GPL.
|
1 | 1 |
# Derived from debhelper's sample rules file.
|
2 | 2 |
|
3 | 3 |
#export DH_VERBOSE=1
|
4 | |
export DH_COMPAT=2
|
|
4 |
export DH_COMPAT=5
|
5 | 5 |
|
6 | 6 |
ifneq "$(findstring debug,$(DEB_BUILD_OPTIONS))" ""
|
7 | 7 |
DEBUG := -g
|
38 | 38 |
die;
|
39 | 39 |
}
|
40 | 40 |
|
|
41 |
unless (-e "$man2html") {
|
|
42 |
warn "$man2html missing\n";
|
|
43 |
print <<end_of_line;
|
|
44 |
Content-type: text/html
|
|
45 |
|
|
46 |
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
|
|
47 |
<HTML><HEAD>
|
|
48 |
<TITLE>man2html missing</TITLE>
|
|
49 |
</HEAD><BODY>
|
|
50 |
<H1>man2html missing</H1>
|
|
51 |
|
|
52 |
<p>You have to install <tt>man2html</tt> in order to use this mode in gman.
|
|
53 |
|
|
54 |
</BODY></HTML>
|
|
55 |
end_of_line
|
|
56 |
die;
|
|
57 |
}
|
|
58 |
|
41 | 59 |
my $page = `$man2html $path`;
|
42 | 60 |
|
43 | 61 |
# $page =~ s/^Content-type: text\/html\n\n// if (not run as cgi...);
|
240 | 240 |
char buffer2[BUFFER_SIZE];
|
241 | 241 |
switch ((long)context->get_value("show_mode")) {
|
242 | 242 |
case 0:
|
243 | |
sprintf(buffer,"%s -T '%s manual page' -n GMan -e man ",
|
|
243 |
sprintf(buffer,"%s -T '%s manual page' -n '%s - GMan' -e man ",
|
244 | 244 |
(char*)context->get_value("xterm_command"),
|
|
245 |
get_display_name(buffer1),
|
245 | 246 |
get_display_name(buffer1));
|
246 | 247 |
len = strlen(buffer);
|
247 | 248 |
attach(buffer+len,man_path->GetPath(),file_name);
|
23 | 23 |
#include <sys/stat.h>
|
24 | 24 |
#include <sys/wait.h>
|
25 | 25 |
#include <unistd.h>
|
26 | |
#include <jerror.h>
|
27 | 26 |
|
28 | 27 |
#include "util.h"
|
29 | 28 |
#include "gripedefs.h"
|