ports/60407: [maintainer update] deskutils/xpad: update to version 1.13

Guillaume Paquet amyfoub at videotron.ca
Sat Dec 20 03:30:12 UTC 2003


>Number:         60407
>Category:       ports
>Synopsis:       [maintainer update] deskutils/xpad: update to version 1.13
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 19 19:30:08 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Guillaume Paquet
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
>Environment:


System: FreeBSD guillaume.multiweb.ca 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Fri Sep 26 23:51:16 EDT 2003     root at guillaume.multiweb.ca:/usr/src/sys/i386/compile/GUILLAUME i386


>Description:


Deleted files/folders:

pkg-message
files/patch-src::sm.c
files/


>How-To-Repeat:





>Fix:


--- xpad.diff begins here ---
diff -ruN xpad.old/Makefile xpad/Makefile
--- xpad.old/Makefile	Mon Oct  6 18:23:05 2003
+++ xpad/Makefile	Fri Dec 19 21:50:37 2003
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	xpad
-PORTVERSION=	1.9.1
+PORTVERSION=	1.13
 CATEGORIES=	deskutils
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -14,8 +14,11 @@
 MAINTAINER=	amyfoub at videotron.ca
 COMMENT=	A virtual note-pad system for your X11 desktop
 
-WRKSRC=		${WRKDIR}/xpad-${PORTVERSION}
+#WRKSRC=		${WRKDIR}/${DISTNAME}
 
+USE_BZIP2=	yes
+
+#USE_X_PREFIX=	yes
 USE_GNOME=	gtk20
 
 HAS_CONFIGURE= yes
@@ -24,14 +27,13 @@
 MAN1=		xpad.1
 MANCOMPRESSED=	no
 
-post-install:
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${PREFIX}/share/doc/xpad
-	${INSTALL_DATA} ${WRKSRC}/doc/README ${PREFIX}/share/doc/xpad/
-	@${MKDIR} ${PREFIX}/share/examples/xpad
-	${INSTALL_DATA} ${WRKSRC}/xpad.desktop ${PREFIX}/share/examples/xpad/
-	@${CAT} pkg-message
-.endif
-	@${RM} /xpad.desktop
+do-install:
+
+	${INSTALL_PROGRAM} ${WRKSRC}/src/xpad ${PREFIX}/bin/
+	${INSTALL_MAN} ${WRKSRC}/doc/xpad.1 ${PREFIX}/man/man1/
+	@${MKDIR} ${PREFIX}/share/xpad
+	${INSTALL_DATA} ${WRKSRC}/images/xpad.xpm ${PREFIX}/share/xpad/
+	${INSTALL_DATA} ${WRKSRC}/images/xpad2.xpm ${PREFIX}/share/xpad/
+	${INSTALL_DATA} ${WRKSRC}/images/sticky.xpm ${PREFIX}/share/xpad/
 
 .include <bsd.port.mk>
diff -ruN xpad.old/distinfo xpad/distinfo
--- xpad.old/distinfo	Mon Oct  6 19:40:59 2003
+++ xpad/distinfo	Fri Dec 19 21:38:29 2003
@@ -1 +1 @@
-MD5 (xpad-1.9.1.tar.gz) = 05e52fe86f421ea4c770e8480cb40d4f
+MD5 (xpad-1.13.tar.bz2) = 8b844f8a3c0cdc930162683aaeaca28e
diff -ruN xpad.old/files/patch-src::sm.c xpad/files/patch-src::sm.c
--- xpad.old/files/patch-src::sm.c	Mon Oct  6 02:13:46 2003
+++ xpad/files/patch-src::sm.c	Wed Dec 31 19:00:00 1969
@@ -1,18 +0,0 @@
---- src/sm.c.orig	Thu Feb  6 16:05:59 2003
-+++ src/sm.c	Mon Oct  6 16:09:35 2003
-@@ -25,12 +25,13 @@
- #include "main.h"
- #include <X11/SM/SMlib.h>
- #include <stdio.h>	/* only for printf */
--#include <sys/select.h>	/* for select */
-+#include <sys/types.h>	/* only for printf */
-+#include <sys/select.h>
-+#include <sys/time.h>	
- #include <stdlib.h>	/* for free */
- #include <string.h>	/* for strlen */
- #include <unistd.h>	/* for getuid */
- #include <pwd.h>	/* for getpwuid */
--#include <sys/types.h>	/* for getuid and getpwuid */
- 
- static SmcConn xpad_sm_conn = NULL;
- static int xpad_interact_style;
diff -ruN xpad.old/pkg-message xpad/pkg-message
--- xpad.old/pkg-message	Sun Oct  5 23:21:36 2003
+++ xpad/pkg-message	Wed Dec 31 19:00:00 1969
@@ -1,11 +0,0 @@
------------------------------------------------------------------------------
-
-1) See /usr/local/share/doc/xpad/README for some useful informations.
-
-2) If you are using KDE, copy /usr/local/share/example/xpad/xpad.desktop to:
-
-              ~/.kde/share/applnk/Utilities/
-                            or
-              /usr/local/share/applnk/Utilities/
-
------------------------------------------------------------------------------
diff -ruN xpad.old/pkg-plist xpad/pkg-plist
--- xpad.old/pkg-plist	Sun Oct  5 23:21:36 2003
+++ xpad/pkg-plist	Fri Dec 19 21:38:29 2003
@@ -1,7 +1,5 @@
 bin/xpad
-share/pixmaps/xpad.xpm
- at dirrm share/pixmaps
-%%PORTDOCS%%share/doc/xpad/README
-%%PORTDOCS%%share/examples/xpad/xpad.desktop
-%%PORTDOCS%%@dirrm share/doc/xpad
-%%PORTDOCS%%@dirrm share/examples/xpad
+share/xpad/xpad.xpm
+share/xpad/xpad2.xpm
+share/xpad/sticky.xpm
+ at dirrm share/xpad
--- xpad.diff ends here ---



>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list