Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Sep 2001 11:11:02 -0400 (EDT)
From:      Patrick Li <pat@databits.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/30397: Update port misc/menushki
Message-ID:  <200109061511.f86FB2h13315@cc92687-a.wlgrv1.pa.home.com>

next in thread | raw e-mail | index | archive | help

>Number:         30397
>Category:       ports
>Synopsis:       Update port misc/menushki
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 06 08:20:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Patrick Li
>Release:        FreeBSD 4.4-RC i386
>Organization:
N/A
>Environment:
System: FreeBSD bottlenek 4.4-RC FreeBSD 4.4-RC #0: Wed Aug 29 20:10:10 EDT 2001 pat@bottlenek:/usr/src/sys/compile/BOTTLENEK i386
>Description:
- Update to 0.6
- Installs docs
Thanks to Alex Agibalov (Author) for fixing the ktools problem
>How-To-Repeat:
N/A
>Fix:
diff -ruN /usr/ports/misc/menushki/Makefile menushki/Makefile
--- /usr/ports/misc/menushki/Makefile	Sun Jul 29 20:51:31 2001
+++ menushki/Makefile	Thu Sep  6 11:03:26 2001
@@ -6,14 +6,24 @@
 #
 
 PORTNAME=	menushki
-PORTVERSION=	0.4
+PORTVERSION=	0.6
 CATEGORIES=	misc x11
-MASTER_SITES=	http://www.geocities.com/loki_bg/
+MASTER_SITES=	http://www.geocities.com/loki_bg/ \
+		${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR=	${PORTNAME}
 
 MAINTAINER=	pat@databits.net
 
 USE_X_PREFIX=	yes
 GNU_CONFIGURE=	yes
 USE_GMAKE=	yes
+
+post-install:
+.ifndef(NOPORTDOCS)
+	@${MKDIR} ${DOCSDIR}
+.for files in AUTHORS ChangeLog README TODO
+	@${INSTALL_DATA} ${WRKSRC}/${files} ${DOCSDIR}
+.endfor
+.endif
 
 .include <bsd.port.mk>
diff -ruN /usr/ports/misc/menushki/distinfo menushki/distinfo
--- /usr/ports/misc/menushki/distinfo	Sun Jul 29 20:51:31 2001
+++ menushki/distinfo	Thu Sep  6 10:39:43 2001
@@ -1 +1 @@
-MD5 (menushki-0.4.tar.gz) = 4361fcdac8ddd6e8c87b8cab5d25bc60
+MD5 (menushki-0.6.tar.gz) = cff44749fe162746c73898459ef0aa4d
diff -ruN /usr/ports/misc/menushki/files/patch-editor.cc menushki/files/patch-editor.cc
--- /usr/ports/misc/menushki/files/patch-editor.cc	Wed Dec 31 19:00:00 1969
+++ menushki/files/patch-editor.cc	Thu Sep  6 10:48:53 2001
@@ -0,0 +1,11 @@
+--- editor.cc.orig	Thu Sep  6 10:48:24 2001
++++ editor.cc	Thu Sep  6 10:47:12 2001
+@@ -31,7 +31,7 @@
+     tw.open();
+     sprintf(s0, "Sorry, not implemented yet :(");
+     tw.write(33-strlen(s0)/2, 3, s0);
+-    tw.close;
++    tw.close();
+ }
+ 
+ 
diff -ruN /usr/ports/misc/menushki/files/patch-konst.string.h menushki/files/patch-konst.string.h
--- /usr/ports/misc/menushki/files/patch-konst.string.h	Wed Dec 31 19:00:00 1969
+++ menushki/files/patch-konst.string.h	Thu Sep  6 10:54:06 2001
@@ -0,0 +1,10 @@
+--- ktools-1.1/include/konst.string.h.orig	Thu Sep  6 10:50:02 2001
++++ ktools-1.1/include/konst.string.h	Thu Sep  6 10:49:40 2001
+@@ -3,6 +3,7 @@
+ 
+ #include <string>
+ #include <vector>
++#include <time.h>
+ 
+ #include "konst.list.h"
+ #include "konst.conf.h"
diff -ruN /usr/ports/misc/menushki/files/patch-konst.ui.dlg.h menushki/files/patch-konst.ui.dlg.h
--- /usr/ports/misc/menushki/files/patch-konst.ui.dlg.h	Wed Dec 31 19:00:00 1969
+++ menushki/files/patch-konst.ui.dlg.h	Thu Sep  6 10:55:07 2001
@@ -0,0 +1,13 @@
+--- ktools-1.1/include/konst.ui.dlg.h.orig	Thu Sep  6 10:51:48 2001
++++ ktools-1.1/include/konst.ui.dlg.h	Thu Sep  6 10:53:05 2001
+@@ -4,6 +4,10 @@
+ #include <list>
+ #include <algorithm>
+ 
++#include <time.h>
++#include <unistd.h>
++#include <sys/types.h>
++
+ #include "konst.conf.h"
+ #include "konst.ui.window.h"
+ #include "konst.ui.menu.h"
diff -ruN /usr/ports/misc/menushki/files/patch-menushki.cc menushki/files/patch-menushki.cc
--- /usr/ports/misc/menushki/files/patch-menushki.cc	Wed Dec 31 19:00:00 1969
+++ menushki/files/patch-menushki.cc	Thu Sep  6 10:49:12 2001
@@ -0,0 +1,38 @@
+--- menushki.cc.orig	Thu Sep  6 10:42:20 2001
++++ menushki.cc	Thu Sep  6 10:46:41 2001
+@@ -51,7 +51,7 @@
+     tw.write(5, 4, "Editor - to edit the existing menu");
+     tw.write(5, 6, "Any other top menu (execept Exit, of course) is");
+     tw.write(5, 7, "the source format, and its sub menu - destination.");
+-    tw.close;
++    tw.close();
+ }
+ 
+ // Whether menu is a path to file structure (ret 1) or filename (ret 0)
+@@ -81,7 +81,7 @@
+     tw.write(2, 3, s);
+     tw.write(2, 4, "(you can't use ~ for now)");
+     strcpy(retBuf, line.open(tw.x1+3, tw.y1+6, "noname", 40, 255));
+-    tw.close;
++    tw.close();
+ 
+     return retBuf;
+ }
+@@ -121,7 +121,7 @@
+     tw.set_title(boldcolor(1), " Error occured ");
+     tw.open();
+     tw.write(33-strlen(reason)/2, 2, reason);
+-    tw.close;
++    tw.close();
+ }
+ 
+ // Terminate
+@@ -313,7 +313,7 @@
+ 	tw.write(33-strlen(s02)/2, 14, s02);
+ 	tw.write(33-strlen(s03)/2, 15, s03);
+ 	refresh();
+-	tw.close;
++	tw.close();
+ } // end of "no errors" cycle
+     } // end of "create tmp file" cycle
+     else print_err("Can't create temporary file!\n");
diff -ruN /usr/ports/misc/menushki/pkg-descr menushki/pkg-descr
--- /usr/ports/misc/menushki/pkg-descr	Mon Jul 30 13:01:41 2001
+++ menushki/pkg-descr	Thu Sep  6 10:38:11 2001
@@ -1,5 +1,6 @@
 This program converts the menus between different Window Managers.
-Currently works with Window Maker, KDE, GNOME, BlackBox and IceWM.
+Currently works with WindowMaker, KDE, GNOME, BlackBox, Enlightenment
+and IceWM.
 
 NOTE: for Window Maker you need to have the menu in plain (not
       property list) format.
diff -ruN /usr/ports/misc/menushki/pkg-plist menushki/pkg-plist
--- /usr/ports/misc/menushki/pkg-plist	Sun Jul 29 20:51:31 2001
+++ menushki/pkg-plist	Thu Sep  6 11:05:52 2001
@@ -1 +1,6 @@
 bin/menushki
+%%PORTDOCS%%share/doc/menushki/AUTHORS
+%%PORTDOCS%%share/doc/menushki/ChangeLog
+%%PORTDOCS%%share/doc/menushki/README
+%%PORTDOCS%%share/doc/menushki/TODO
+%%PORTDOCS%%@dirrm share/doc/menushki
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200109061511.f86FB2h13315>