Codebase list gman / 103faf7
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
8 changed file(s) with 45 addition(s) and 11 deletion(s). Raw diff Collapse all Expand all
3131 test -d $(prefix)/bin || mkdir -p $(prefix)/bin
3232 test -d $(prefix)/share/man/man1 || mkdir -p $(prefix)/share/man/man1
3333 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/
3535 install -m 755 gman.pl $(cgi_bin_prefix)/gman.pl
3636 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
020 gman (0.9.3-3) unstable; urgency=low
121
222 * (Restoring package after it was removed by #328541.)
11 Section: doc
22 Priority: optional
33 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
66
77 Package: gman
88 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
11 Tue, 12 Oct 1999 14:31:42 +0200.
22
33 It was downloaded from: http://homex.coolconnect.com/user/xkwang/gman/
1616 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1717 GNU General Public License for more details.
1818
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
2319 The full text of the GNU GPL can be found in /usr/share/common-licenses/GPL.
11 # Derived from debhelper's sample rules file.
22
33 #export DH_VERBOSE=1
4 export DH_COMPAT=2
4 export DH_COMPAT=5
55
66 ifneq "$(findstring debug,$(DEB_BUILD_OPTIONS))" ""
77 DEBUG := -g
3838 die;
3939 }
4040
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
4159 my $page = `$man2html $path`;
4260
4361 # $page =~ s/^Content-type: text\/html\n\n// if (not run as cgi...);
240240 char buffer2[BUFFER_SIZE];
241241 switch ((long)context->get_value("show_mode")) {
242242 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 ",
244244 (char*)context->get_value("xterm_command"),
245 get_display_name(buffer1),
245246 get_display_name(buffer1));
246247 len = strlen(buffer);
247248 attach(buffer+len,man_path->GetPath(),file_name);
2323 #include <sys/stat.h>
2424 #include <sys/wait.h>
2525 #include <unistd.h>
26 #include <jerror.h>
2726
2827 #include "util.h"
2928 #include "gripedefs.h"