aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2014-07-31 20:44:58 +0000
committerRene Ladan <rene@FreeBSD.org>2014-07-31 20:44:58 +0000
commite3d6138364db0f21fe303a8c72a737ca241939ab (patch)
tree9c8db7cf306e12ce53ec0e870e943a9d9f8ebc48 /misc
parent5862a43f969d4b0612c2b3842db437b57b8f491a (diff)
Notes
Diffstat (limited to 'misc')
-rw-r--r--misc/Makefile2
-rw-r--r--misc/freecode-submit/Makefile30
-rw-r--r--misc/freecode-submit/distinfo2
-rw-r--r--misc/freecode-submit/pkg-descr6
-rw-r--r--misc/gman/Makefile59
-rw-r--r--misc/gman/distinfo4
-rw-r--r--misc/gman/files/patch-Makefile20
-rw-r--r--misc/gman/files/patch-gman.c48
-rw-r--r--misc/gman/files/patch-gman.pl66
-rw-r--r--misc/gman/files/patch-mandata.c50
-rw-r--r--misc/gman/files/patch-menu.c167
-rw-r--r--misc/gman/files/patch-task.c26
-rw-r--r--misc/gman/files/patch-taskfunc.c20
-rw-r--r--misc/gman/pkg-descr3
-rw-r--r--misc/gman/pkg-message4
-rw-r--r--misc/gman/pkg-plist5
16 files changed, 0 insertions, 512 deletions
diff --git a/misc/Makefile b/misc/Makefile
index 05e6196bbd8c..3a6e13938ec5 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -119,7 +119,6 @@
SUBDIR += freebsd-doc-tr
SUBDIR += freebsd-doc-zh_cn
SUBDIR += freebsd-doc-zh_tw
- SUBDIR += freecode-submit
SUBDIR += freeguide
SUBDIR += ftdi-eeprom
SUBDIR += fxload
@@ -146,7 +145,6 @@
SUBDIR += gkrellshoot2
SUBDIR += gkrellweather2
SUBDIR += gkx86info2
- SUBDIR += gman
SUBDIR += gnome-devel-docs
SUBDIR += gnome-icon-theme
SUBDIR += gnome-icon-theme-extras
diff --git a/misc/freecode-submit/Makefile b/misc/freecode-submit/Makefile
deleted file mode 100644
index 93ae47070829..000000000000
--- a/misc/freecode-submit/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-# $FreeBSD$
-
-PORTNAME= freecode-submit
-PORTVERSION= 2.7
-CATEGORIES= misc
-MASTER_SITES= http://www.c-s.li/ports/ \
- http://www.catb.org/~esr/freecode-submit/
-
-
-MAINTAINER= cs@FreeBSD.org
-COMMENT= Submission of updates to Freecode via its JSON API
-DEPRECATED= This software is obsolete. Freecode does not accept updates anymore.
-EXPIRATION_DATE=2014-07-30
-
-LICENSE= BSD4CLAUSE
-
-USE_PYTHON= yes
-NO_BUILD= yes
-
-PLIST_FILES= bin/freecode-submit man/man1/freecode-submit.1.gz
-
-.include <bsd.port.pre.mk>
-
-do-install:
- ${MKDIR} ${STAGEDIR}${PREFIX}/bin
- ${INSTALL_SCRIPT} ${WRKSRC}/freecode-submit ${STAGEDIR}${PREFIX}/bin
- ${MKDIR} ${STAGEDIR}${MAN1PREFIX}/man/man1
- ${INSTALL_MAN} ${WRKSRC}/freecode-submit.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
-
-.include <bsd.port.post.mk>
diff --git a/misc/freecode-submit/distinfo b/misc/freecode-submit/distinfo
deleted file mode 100644
index 861ab0588f3a..000000000000
--- a/misc/freecode-submit/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (freecode-submit-2.7.tar.gz) = ef257b7dbae8e69d193992ecc25cbcb438727c8c73b3f301a2162c736ca7cf93
-SIZE (freecode-submit-2.7.tar.gz) = 18453
diff --git a/misc/freecode-submit/pkg-descr b/misc/freecode-submit/pkg-descr
deleted file mode 100644
index b35d3e399538..000000000000
--- a/misc/freecode-submit/pkg-descr
+++ /dev/null
@@ -1,6 +0,0 @@
-freecode-submit is a script that supports remote submission of release updates
-to Freecode via its JSON API. It is intended for use in project release scripts.
-It reads the metadata from an RFC-2822-like message on standard input, possibly
-with overrides by command-line switches.
-
-WWW: http://catb.org/~esr/freecode-submit/index.html
diff --git a/misc/gman/Makefile b/misc/gman/Makefile
deleted file mode 100644
index 1f88f7b8680e..000000000000
--- a/misc/gman/Makefile
+++ /dev/null
@@ -1,59 +0,0 @@
-# Created by: Ying-Chieh Liao <ijliao@FreeBSD.org>
-# $FreeBSD$
-
-PORTNAME= gman
-PORTVERSION= 0.9.3
-PORTREVISION= 11
-CATEGORIES= misc
-MASTER_SITES= ${MASTER_SITE_DEBIAN}
-MASTER_SITE_SUBDIR= pool/main/g/gman
-DISTNAME= ${PORTNAME}_${PORTVERSION}.orig
-
-PATCH_SITES= ${MASTER_SITES}
-PATCH_SITE_SUBDIR= ${MASTER_SITE_SUBDIR}
-PATCHFILES= ${PORTNAME}_${PORTVERSION}-5.diff.gz
-PATCH_DIST_STRIP= -p1
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= User-friendly graphical front end for the man system
-
-DEPRECATED= Depends on expiring ghostview
-EXPIRATION_DATE= 2014-07-31
-
-LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg
-RUN_DEPENDS= ghostview:${PORTSDIR}/print/ghostview \
- man2html:${PORTSDIR}/textproc/man2html
-
-WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-
-USES= gettext gmake shebangfix
-USE_GNOME= gtk12
-USE_GCC= any
-
-CXXFLAGS+= -L${LOCALBASE}/lib
-
-.include <bsd.port.pre.mk>
-
-SHEBANG_LANG+= perlw
-perlw_OLD_CMD= /usr/bin/perl -w
-perlw_CMD= ${LOCALBASE}/bin/perl -w
-SHEBANG_FILES= *.pl
-
-post-patch:
- @${REINPLACE_CMD} -e 's,^CXX =,#CXX =,g' \
- -e 's,^CXXFLAGS =,CXXFLAGS+=,g' \
- -e 's,gtk-config,${GTK_CONFIG},g' \
- -e 's,= /usr,= ${PREFIX},g' \
- -e 's,\-O2,,g' \
- -e 's,\-lgtk \-lgdk \-lpthread ,`${GTK_CONFIG} \-\-libs gthread` ,g' ${WRKSRC}/Makefile
- # XXX - workaround for shebangfix not working
- @${REINPLACE_CMD} -e "s|/usr/bin/perl|${LOCALBASE}/bin/perl|" ${WRKSRC}/gman.pl
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/gman ${STAGEDIR}${PREFIX}/bin
- ${INSTALL_SCRIPT} ${WRKSRC}/gman.pl ${STAGEDIR}${PREFIX}/bin/gman.cgi
- @${MKDIR} ${STAGEDIR}${PREFIX}/www/cgi-bin
- ${INSTALL_SCRIPT} ${WRKSRC}/gman.pl ${STAGEDIR}${PREFIX}/www/cgi-bin
- ${INSTALL_MAN} ${WRKSRC}/gman.1x ${STAGEDIR}${MANPREFIX}/man/man1
- @${CAT} ${PKGMESSAGE}
-.include <bsd.port.post.mk>
diff --git a/misc/gman/distinfo b/misc/gman/distinfo
deleted file mode 100644
index 5bd4ecea30a5..000000000000
--- a/misc/gman/distinfo
+++ /dev/null
@@ -1,4 +0,0 @@
-SHA256 (gman_0.9.3.orig.tar.gz) = 27d11b4f2d41691335cb666ca07e6b491fb24496b30330ffbbb26eaa24ed0f99
-SIZE (gman_0.9.3.orig.tar.gz) = 42369
-SHA256 (gman_0.9.3-5.diff.gz) = e71199a9ca0d39c69f506a0a0d3cb29d35da815e5388a5ba44f7c242f256c684
-SIZE (gman_0.9.3-5.diff.gz) = 12587
diff --git a/misc/gman/files/patch-Makefile b/misc/gman/files/patch-Makefile
deleted file mode 100644
index 244c3f71047b..000000000000
--- a/misc/gman/files/patch-Makefile
+++ /dev/null
@@ -1,20 +0,0 @@
---- Makefile.orig2 2011-08-25 17:36:53.102931225 -0700
-+++ Makefile 2011-08-25 17:40:02.067107593 -0700
-@@ -2,7 +2,7 @@
- # You can adjust the following variables.
-
- CXX = g++
--CXXFLAGS = -DVERSION=\"0.9.3\" $(shell gtk-config --cflags) -O2 -Wall $(DEBUG)
-+CXXFLAGS = -DVERSION=\"0.9.3\" $(shell gtk12-config --cflags --libs) -O2 -Wall $(DEBUG)
- CC = $(CXX) $(CXXFLAGS)
-
- prefix = /usr/local
-@@ -15,7 +15,7 @@
- taskfunc.o window2.o
-
- gman: $(objectfiles)
-- $(CC) -lpthread -lm -lgtk -lglib -rdynamic $(objectfiles) -o gman
-+ $(CC) -lpthread -lm -rdynamic $(objectfiles) -o gman
-
- %.o: %.c %.h
- gman.o: gman.c gman.h menu.h
diff --git a/misc/gman/files/patch-gman.c b/misc/gman/files/patch-gman.c
deleted file mode 100644
index fc20386df7e4..000000000000
--- a/misc/gman/files/patch-gman.c
+++ /dev/null
@@ -1,48 +0,0 @@
---- gman.c.orig Mon Dec 13 22:25:03 2004
-+++ gman.c Mon Dec 13 22:26:54 2004
-@@ -47,7 +47,7 @@
- pthread_mutex_init(&context_lock,NULL);
- pthread_mutex_init(&loading_man_path_lock,NULL);
- init_context();
-- debuging = (long)context->get_value("debuging");
-+ debuging = (intptr_t)context->get_value("debuging");
- pthread_mutex_lock(&gtk_lock);
- gtk_init (&argc, &argv);
- window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
-@@ -62,6 +62,8 @@
-
- //gtk_main();
-
-+
-+
- while(1){
- pthread_mutex_lock(&gtk_lock);
- while(gtk_events_pending()) {
-@@ -77,6 +79,14 @@
- /******************* init_context() *****************/
- void init_context()
- {
-+ static char *browser;
-+ if ((browser = getenv("BROWSER")) == NULL)
-+ {
-+ fprintf(stderr,"A BROWSER variable that contains the name of your\n \
-+favorite browser's executable file must be created\n \
-+in order to use gman with localbrowse/netbrowse.\n");
-+ exit(1);
-+ }
- FILE * fd;
- char buffer[256];
- context = new AppContext();
-@@ -89,9 +99,9 @@
- context->set_default_value("show_status_bar","int",(void*)0);
- context->set_default_value("show_warning","int",(void*)0);
- context->set_default_value("show_mode","int",(void*)0); // 0 = xterm, 1 = ghostview
-- context->set_default_value("xterm_command","char*",(void*)"x-terminal-emulator");
-- context->set_default_value("gv_command","char*",(void*)"gv");
-- context->set_default_value("browser_command","char*",(void*)"mozilla"); // kfm also works
-+ context->set_default_value("xterm_command","char*",(void*)"xterm");
-+ context->set_default_value("gv_command","char*",(void*)"ghostview");
-+ context->set_default_value("browser_command","char*",(void*)browser); // kfm also works
- context->set_default_value("cgi_host","char*",(void*)"localhost");
- context->set_default_value("cgi_location","char*",(void*)"/cgi-bin/gman.pl");
- context->set_default_value("print_command","char*",(void*)"lpr"); // not in use
diff --git a/misc/gman/files/patch-gman.pl b/misc/gman/files/patch-gman.pl
deleted file mode 100644
index 097cde65a26f..000000000000
--- a/misc/gman/files/patch-gman.pl
+++ /dev/null
@@ -1,66 +0,0 @@
---- gman.pl.orig 2011-08-26 13:11:36.331148726 -0700
-+++ gman.pl 2011-08-26 13:52:56.017429820 -0700
-@@ -15,13 +15,16 @@
-
- my $section = $ARGV[0]; # should also have some sanity check
- my $name = $ARGV[1];
--my $man2html = "/usr/lib/cgi-bin/man/man2html";
--my $path = `man -w $section $name`; chomp $path; $path =~ s/\s*$//;
-+my $cut = "/usr/bin/cut -f 1 -d \" \" ";
-+my $man = "/usr/bin/man";
-+my $man2html = "/usr/local/bin/man2html";
-+my $man2html_args = "-nodepage ";
-+my $path = `$man -w $section $name |$cut`; chomp $path; $path =~ s/\s*$//;
-
- unless (-s "$path") {
- warn "not -s $path\n";
- $name = lc $name;
-- $path = `man -w $section $name`; chomp $path; $path =~ s/\s*$//;
-+ $path = `$man -w $section $name |$cut`; chomp $path; $path =~ s/\s*$//;
- }
- unless (-s "$path") {
- warn "not -s $path\n";
-@@ -29,12 +32,12 @@
- Content-type: text/html
-
- <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
--<HTML><HEAD>
--<TITLE>404 Not Found</TITLE>
--</HEAD><BODY>
--<H1>Not Found</H1>
-+<html><head>
-+<title>404 Not Found</title>
-+</head><body>
-+<h1>Not Found</h1>
- The requested man page $name($section) was not found on this server.
--</BODY></HTML>
-+</body></html>
- end_of_line
- die;
- }
-@@ -45,19 +48,19 @@
- Content-type: text/html
-
- <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
--<HTML><HEAD>
--<TITLE>man2html missing</TITLE>
--</HEAD><BODY>
--<H1>man2html missing</H1>
-+<html><head>
-+<title>man2html missing</title>
-+</head><body>
-+<h1>man2html missing</h1>
-
- <p>You have to install <tt>man2html</tt> in order to use this mode in gman.
-
--</BODY></HTML>
-+</body></html>
- end_of_line
- die;
- }
-
--my $page = `$man2html $path`;
-+my $page = `$man $section $name | man2html $man2html_args`;
-
- # $page =~ s/^Content-type: text\/html\n\n// if (not run as cgi...);
-
diff --git a/misc/gman/files/patch-mandata.c b/misc/gman/files/patch-mandata.c
deleted file mode 100644
index 874aeecfb579..000000000000
--- a/misc/gman/files/patch-mandata.c
+++ /dev/null
@@ -1,50 +0,0 @@
---- mandata.c.orig 2011-08-25 13:13:20.013866364 -0700
-+++ mandata.c 2011-08-25 13:16:34.578700011 -0700
-@@ -239,14 +239,12 @@
- char buffer[2*BUFFER_SIZE];
- char loc_name[BUFFER_SIZE];
- char buffer2[BUFFER_SIZE];
-- switch ((long)context->get_value("show_mode")) {
-+ switch ((intptr_t)context->get_value("show_mode")) {
- case 0:
-- sprintf(buffer,"%s -T '%s manual page' -n '%s - GMan' -e man ",
-+ sprintf(buffer,"%s -T '%s manual page' -n GMan -e man %s",
- (char*)context->get_value("xterm_command"),
- get_display_name(buffer1),
- get_display_name(buffer1));
-- len = strlen(buffer);
-- attach(buffer+len,man_path->GetPath(),file_name);
- //g_warning(buffer);
- if(!fork())
- {
-@@ -257,9 +255,9 @@
- break;
- case 1:
- sprintf(loc_name," ~/.gman.%s.ps ",get_display_name(buffer1));
-- sprintf(buffer,"man -t ");
-- len = strlen(buffer);
-- attach(buffer+len,man_path->GetPath(),file_name);
-+ sprintf(buffer,"man -t %s", get_display_name(buffer1));
-+/* len = strlen(buffer);
-+ attach(buffer+len,man_path->GetPath(),file_name); */
- strcat(buffer," >> ");
- strcat(buffer,loc_name);
- strcat(buffer," ; ");
-@@ -307,7 +305,7 @@
- case 2:
- sprintf(loc_name," ~/.gman.%s.html ",get_display_name(buffer1));
- //g_warning(loc_name);
-- strcpy(buffer,"/usr/lib/cgi-bin/gman.pl ");
-+ strcpy(buffer,"/usr/local/www/cgi-bin/gman.pl ");
- strcat(buffer," ");
- strcat(buffer,get_section_name(buffer2));
- strcat(buffer," ");
-@@ -351,7 +349,7 @@
- break;
- default:
- if(context->get_value("show_warning"))
-- g_print("unexpected \'show_mode\' : %ld ",(long)context->get_value("show_mode"));
-+ g_print("unexpected \'show_mode\' : %d ",(intptr_t)context->get_value("show_mode"));
- return;
- }
- //g_warning(buffer);
diff --git a/misc/gman/files/patch-menu.c b/misc/gman/files/patch-menu.c
deleted file mode 100644
index 9e0a35c56aec..000000000000
--- a/misc/gman/files/patch-menu.c
+++ /dev/null
@@ -1,167 +0,0 @@
---- menu.c.bak 2007-08-12 18:39:59.000000000 +0200
-+++ menu.c 2007-08-12 18:44:35.000000000 +0200
-@@ -173,32 +173,33 @@
- /*flag = 0 means not to invoke call backs when changing the states of buttons.*/
- void updata_menu_buttons(int flag)
- {
-- long i,j,k,k2;
-- k = (long)context->get_value("display_section_policy");
-+ long i,j;
-+ intptr_t k,k2;
-+ k = (intptr_t)context->get_value("display_section_policy");
- if(k>0 && k<=2)
- if(!((GtkCheckMenuItem*)(section_select[k]))->active){
- if(!flag) signal_menu_change++;
- gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(section_select[k]),1);
- }
-- k = (long)context->get_value("display_section");
-+ k = (intptr_t)context->get_value("display_section");
- for (i = 0;i<10;i++)
- if(!(k&(1<<i)) != !(((GtkCheckMenuItem*)(section_buttons[i]))->active)) {
- if(!flag) signal_menu_change++;
- gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(section_buttons[i]),k&(1<<i));
- }
-- k = (long)context->get_value("searching_mode");
-+ k = (intptr_t)context->get_value("searching_mode");
- if(k>0 && k<=1)
- if(!(((GtkCheckMenuItem*)(searching_mode_buttons[k]))->active)) {
- if(!flag) signal_menu_change++;
- gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(searching_mode_buttons[k]),1);
- }
-- k = (long)context->get_value("show_mode");
-+ k = (intptr_t)context->get_value("show_mode");
- if(k>0 && k<=3)
- if(!(((GtkCheckMenuItem*)(show_mode_buttons[k]))->active)) {
- if(!flag) signal_menu_change++;
- gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(show_mode_buttons[k]),1);
- }
-- k2 = (long)context->get_value("show_status_bar");
-+ k2 = (intptr_t)context->get_value("show_status_bar");
- i = k2&(1<<k);
- j = (((GtkCheckMenuItem*)(status_bar_button))->active);
- if((i&&!j) || (!i&&j)) {
-@@ -220,10 +221,10 @@
-
- static void updata_widget_show(int flag)
- {
-- long k,k2;
-+ intptr_t k,k2;
-
-- k = (long)context->get_value("searching_mode");
-- k2 = (long)context->get_value("show_status_bar");
-+ k = (intptr_t)context->get_value("searching_mode");
-+ k2 = (intptr_t)context->get_value("show_status_bar");
-
- if(k2&(1<<k))
- gtk_widget_show(hbox_status);
-@@ -258,8 +259,8 @@
- gtk_window_set_title(GTK_WINDOW(window), "Gman");
- gtk_window_set_policy( GTK_WINDOW( window ), FALSE, TRUE, FALSE );
- gtk_window_set_default_size(GTK_WINDOW(window),
-- (long)context->get_value("h_size"),
-- (long)context->get_value("v_size"));
-+ (intptr_t)context->get_value("h_size"),
-+ (intptr_t)context->get_value("v_size"));
-
- gtk_widget_set_usize(GTK_WIDGET(window),200,150);
- main_vbox = gtk_vbox_new(FALSE, 1);
-@@ -443,14 +444,14 @@
-
- static int section_policy_callback(GtkWidget *w, gpointer data) {
- // static int signal;
-- long k,k2;
-- k2 = (long) data;
-+ intptr_t k,k2;
-+ k2 = (intptr_t) data;
- if(!((GtkCheckMenuItem*)(section_select[k2]))->active) return 1;
- // g_message("Hello, World! %x\n signal = %d",data,signal_menu_change);
- if(signal_menu_change>0) {signal_menu_change--;return 1;}
- //if(!signal) {signal++;return 1;}
- //signal--;
-- k = (long) context->get_value("display_section_policy");
-+ k = (intptr_t) context->get_value("display_section_policy");
- if(k == k2) return 1;
- pthread_mutex_lock(&context_lock);
- context->set_value("display_section_policy","int",(void*)k2);
-@@ -461,12 +462,12 @@
- }
-
- static int section_select_callback(GtkWidget *w, gpointer data) {
-- long var;
-+ intptr_t var;
- if(signal_menu_change>0) {signal_menu_change--;return 1;}
-
- pthread_mutex_lock(&context_lock);
-- var = (long)context->get_value("display_section");
-- var ^= (long)data;
-+ var = (intptr_t)context->get_value("display_section");
-+ var ^= (intptr_t)data;
- context->set_value("display_section","int",(void*)var);
- if (context->get_value("display_section_policy")) {
- task_set_active(task_extract_man_data);
-@@ -496,7 +497,7 @@
- }
- // context->save(stdout,"automatically made by Gman");
-
-- gtk_exit((long)data);
-+ gtk_exit((intptr_t)data);
- }
-
- static int window_resize_callback(GtkWidget *w, GtkAllocation * size, gpointer data)
-@@ -573,10 +574,10 @@
-
- static int status_bar_callback (GtkWidget *widget, gpointer data)
- {
-- long k,k2;
-+ intptr_t k,k2;
- if(signal_menu_change>0) {signal_menu_change--;return 1;}
-- k2 = (long) context->get_value("show_status_bar");
-- k = (long) context->get_value("searching_mode");
-+ k2 = (intptr_t) context->get_value("show_status_bar");
-+ k = (intptr_t) context->get_value("searching_mode");
- if(((GtkCheckMenuItem*)(status_bar_button))->active) k2 = k2 | (1<<k);
- else k2 = k2 & ~(1<<k);
- pthread_mutex_lock(&context_lock);
-@@ -588,13 +589,13 @@
-
- static int search_mode_callback (GtkWidget *widget, gpointer data)
- {
-- long k,k2;
-- k2 = (long) data;
-+ intptr_t k,k2;
-+ k2 = (intptr_t) data;
- if(!((GtkCheckMenuItem*)(searching_mode_buttons[k2]))->active) return 1;
- if(signal_menu_change>0) {signal_menu_change--;return 1;}
- //if(!signal) {signal++;return 1;}
- //signal--;
-- k = (long) context->get_value("searching_mode");
-+ k = (intptr_t) context->get_value("searching_mode");
- if(k == k2) return 1;
- pthread_mutex_lock(&context_lock);
- context->set_value("searching_mode","int",(void*)k2);
-@@ -606,13 +607,13 @@
-
- static int show_mode_callback (GtkWidget *widget, gpointer data)
- {
-- long k,k2;
-- k2 = (long) data;
-+ intptr_t k,k2;
-+ k2 = (intptr_t) data;
- if(!((GtkCheckMenuItem*)(show_mode_buttons[k2]))->active) return 1;
- if(signal_menu_change>0) {signal_menu_change--;return 1;}
- //if(!signal) {signal++;return 1;}
- //signal--;
-- k = (long) context->get_value("show_mode");
-+ k = (intptr_t) context->get_value("show_mode");
- if(k == k2) return 1;
- pthread_mutex_lock(&context_lock);
- context->set_value("show_mode","int",(void*)k2);
-@@ -638,7 +639,7 @@
-
- static int button_clicked_callback(GtkWidget * w,gpointer data)
- {
-- long i = (long) data;
-+ intptr_t i = (intptr_t) data;
- switch (i) {
- case 1: task_set_stop(task_key_word_search);break;
- case 2: task_set_active(task_key_word_search);break;
diff --git a/misc/gman/files/patch-task.c b/misc/gman/files/patch-task.c
deleted file mode 100644
index 80b96fd76d58..000000000000
--- a/misc/gman/files/patch-task.c
+++ /dev/null
@@ -1,26 +0,0 @@
---- task.c.bak 2007-08-12 18:47:02.000000000 +0200
-+++ task.c 2007-08-12 18:47:32.000000000 +0200
-@@ -112,12 +112,12 @@
- do {
- have_task = 0;
- task = (Task *)NULL;
-- long flag = 0;
-+ intptr_t flag = 0;
- pthread_mutex_lock(&task_group->lock);
- j = task_group->tasks->get_size();
- for(i = 0; i<j && !have_task ;i++) {
- if((task = (Task*)task_group->tasks->get_item(i))->signals[0]->get_size()) {
-- flag = ((long)task->signals[0]->get_item(0) & ~1) | (task->state & 1);
-+ flag = ((intptr_t)task->signals[0]->get_item(0) & ~1) | (task->state & 1);
- task->signals[0]->delete_item(0);
- have_task++;
- }
-@@ -126,7 +126,7 @@
- have_task++;
- }
- else if (task->signals[1]->get_size()) {
-- flag = ((long)task->signals[1]->get_item(1) & ~1);
-+ flag = ((intptr_t)task->signals[1]->get_item(1) & ~1);
- task->signals[1]->delete_item(0);
- have_task++;
- }
diff --git a/misc/gman/files/patch-taskfunc.c b/misc/gman/files/patch-taskfunc.c
deleted file mode 100644
index 337837d96911..000000000000
--- a/misc/gman/files/patch-taskfunc.c
+++ /dev/null
@@ -1,20 +0,0 @@
---- taskfunc.c.bak 2007-08-12 18:49:55.000000000 +0200
-+++ taskfunc.c 2007-08-12 18:51:16.000000000 +0200
-@@ -38,13 +38,13 @@
- {
- ManItem ** buffer;
- int i,j,count;
-- int display_section_ID;
-+ intptr_t display_section_ID;
-
- pthread_mutex_lock(&context_lock);
-- switch ((long)context->get_value("display_section_policy")) {
-+ switch ((intptr_t)context->get_value("display_section_policy")) {
- case 0: display_section_ID = ~0;break;
-- case 1: display_section_ID = ~(long)(context->get_value("display_section"));break;
-- case 2: display_section_ID = (long)context->get_value("display_section"); break;
-+ case 1: display_section_ID = ~(intptr_t)(context->get_value("display_section"));break;
-+ case 2: display_section_ID = (intptr_t)context->get_value("display_section"); break;
- default: fprintf(stderr,"warning: init_man_data: \"display_section_policy\" "
- "have invalid value %d",context->get_value("display_section_policy"));
- display_section_ID = ~0;
diff --git a/misc/gman/pkg-descr b/misc/gman/pkg-descr
deleted file mode 100644
index fbe05a14d46a..000000000000
--- a/misc/gman/pkg-descr
+++ /dev/null
@@ -1,3 +0,0 @@
-G-man is a user-friendly graphical front end for the man system mostly
-designed for the new users of UNIX. It can help a newbie find specific
-information or idly browse other man pages.
diff --git a/misc/gman/pkg-message b/misc/gman/pkg-message
deleted file mode 100644
index 720c17e3a2ea..000000000000
--- a/misc/gman/pkg-message
+++ /dev/null
@@ -1,4 +0,0 @@
- --------------------------------------------------------------------------------
- You must have a BROWSER variable that contains the name of your favorite
- browser's executable file in order to use gman with localbrowse/netbrowse.
- --------------------------------------------------------------------------------
diff --git a/misc/gman/pkg-plist b/misc/gman/pkg-plist
deleted file mode 100644
index 15dbb1cd4308..000000000000
--- a/misc/gman/pkg-plist
+++ /dev/null
@@ -1,5 +0,0 @@
-bin/gman
-bin/gman.cgi
-man/man1/gman.1x.gz
-www/cgi-bin/gman.pl
-@dirrmtry www/cgi-bin