ports/54904: Update port: misc/wmcalendar to 0.5.0

KATO Tsuguru tkato at prontomail.com
Sun Jul 27 09:50:32 UTC 2003


>Number:         54904
>Category:       ports
>Synopsis:       Update port: misc/wmcalendar to 0.5.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 27 02:50:19 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.8-RELEASE i386
>Organization:
>Environment:
>Description:
- Update to version 0.5.0

Remove file:
files/patch-Src::Makefile
files/patch-Src::wmCalendar.c

No response from maintainer.

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/misc/wmcalendar/Makefile misc/wmcalendar/Makefile
--- /usr/ports/misc/wmcalendar/Makefile	Thu Apr 24 21:04:15 2003
+++ misc/wmcalendar/Makefile	Wed Jul 16 13:02:29 2003
@@ -6,26 +6,30 @@
 #
 
 PORTNAME=	wmcalendar
-PORTVERSION=	0.3.6
+PORTVERSION=	0.5.0
 CATEGORIES=	misc windowmaker
-MASTER_SITES=	${MASTER_SITE_SOURCEFORGE} \
-		http://freebsd.nsu.ru/distfiles/
+MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR=	${PORTNAME}
 
 MAINTAINER=	danfe at regency.nsu.ru
 COMMENT=	A dockable calendar with interface to iCalendar based calendars
 
 LIB_DEPENDS=	ical.0:${PORTSDIR}/devel/libical
 
-BUILD_WRKSRC=	${WRKSRC}/Src
+WRKSRC=		${WRKDIR}/${DISTNAME}/Src
 
-USE_GNOME=	gtk12
 USE_X_PREFIX=	yes
 USE_XPM=	yes
+USE_GNOME=	gtk20
+MAKE_ARGS=	CC="${CC}" CFLAGS="${CFLAGS}" \
+		INCDIR="`pkg-config --cflags gtk+-2.0`" \
+		LIBDIR="`pkg-config --libs gtk+-2.0`" \
+		LIBS="-lical -lXpm"
 
 MAN1=		wmCalendar.1
 
 do-install:
-	@${INSTALL_PROGRAM} ${BUILD_WRKSRC}/wmCalendar ${PREFIX}/bin
-	@${INSTALL_MAN} ${BUILD_WRKSRC}/wmCalendar.1 ${MANPREFIX}/man/man1
+	${INSTALL_PROGRAM} ${WRKSRC}/wmCalendar ${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/wmCalendar.1 ${MANPREFIX}/man/man1
 
 .include <bsd.port.mk>
diff -urN /usr/ports/misc/wmcalendar/distinfo misc/wmcalendar/distinfo
--- /usr/ports/misc/wmcalendar/distinfo	Thu Apr 24 21:04:15 2003
+++ misc/wmcalendar/distinfo	Wed Jul 16 12:57:00 2003
@@ -1 +1 @@
-MD5 (wmcalendar-0.3.6.tar.gz) = 257e9ff06f3f16cef7bbe7ba0ae7bf32
+MD5 (wmcalendar-0.5.0.tar.gz) = bde2dfcbc8b94f9bbc60e45fc06b79b1
diff -urN /usr/ports/misc/wmcalendar/files/patch-Src::Makefile misc/wmcalendar/files/patch-Src::Makefile
--- /usr/ports/misc/wmcalendar/files/patch-Src::Makefile	Thu Apr 24 21:04:15 2003
+++ misc/wmcalendar/files/patch-Src::Makefile	Thu Jan  1 09:00:00 1970
@@ -1,27 +0,0 @@
---- Src/Makefile.orig	Thu Apr 24 15:19:02 2003
-+++ Src/Makefile	Thu Apr 24 15:19:53 2003
-@@ -1,10 +1,10 @@
- CC     = gcc 
--INCLUDES = `gtk-config --cflags` -I. 
--LFLAGS = `gtk-config --libs`
--CFLAGS = -O2 -Wall 	 -pedantic $(INCLUDES) -DICON_TYPE=$(ICON_TYPE)
--INCDIR = -I/usr/X11R6/include/X11 -I/usr/X11R6/include
-+INCLUDES = `gtk12-config --cflags` -I. 
-+LFLAGS = `gtk12-config --libs`
-+CFLAGS =  $(INCLUDES) -DICON_TYPE=$(ICON_TYPE)
-+INCDIR = -I${X11BASE}/include/X11 -I${X11BASE}/include
- DESTDIR= /usr/local
--LIBDIR = -L/usr/lib -L/usr/X11R6/lib
-+LIBDIR = -L/usr/lib -L${X11BASE}/lib -L/usr/local/lib
- 
- # for Linux
- LIBS   = -lXpm -lX11 -lXext -lical
-@@ -17,7 +17,7 @@
- 		calendarfunc.o
- 
- .c.o:
--	$(CC) $(CFLAGS) -D$(shell echo `uname -s`) -c $< -o $*.o $(INCDIR)
-+	$(CC) $(CFLAGS) -D`uname -s` -DHAVE_SYS_TIME_H -c $< -o $*.o $(INCDIR)
- 
- 
- all:	wmCalendar.o wmCalendar
diff -urN /usr/ports/misc/wmcalendar/files/patch-Src::wmCalendar.c misc/wmcalendar/files/patch-Src::wmCalendar.c
--- /usr/ports/misc/wmcalendar/files/patch-Src::wmCalendar.c	Thu Apr 24 21:04:15 2003
+++ misc/wmcalendar/files/patch-Src::wmCalendar.c	Thu Jan  1 09:00:00 1970
@@ -1,18 +0,0 @@
---- Src/wmCalendar.c.orig	Thu Apr 24 16:23:05 2003
-+++ Src/wmCalendar.c	Thu Apr 24 16:23:15 2003
-@@ -55,6 +55,7 @@
-  -----------------------------------------------------*/
- void initValues(){
-     int i;
-+    XpmColorSymbol colors[2] = { {"Back0", NULL, 0}, {"Back1", NULL, 0} };
-     monthOffset = 0;
- 
-     /* Compute widths of months and digits */
-@@ -72,7 +73,6 @@
-     for (i = 0; i < 32; ++i) 
- 	datetype[i][1] = 0;
- 
--    XpmColorSymbol colors[2] = { {"Back0", NULL, 0}, {"Back1", NULL, 0} };
-     dockapp_set_eventmask();
-     dockapp_xpm2pixmap( wmCalendar_master2_xpm, &bg[1], &mask, colors, 0);
-     dockapp_xpm2pixmap( wmCalendar_master_xpm, &bg[0], &mask, colors, 0);
diff -urN /usr/ports/misc/wmcalendar/pkg-descr misc/wmcalendar/pkg-descr
--- /usr/ports/misc/wmcalendar/pkg-descr	Thu Apr 24 21:04:15 2003
+++ misc/wmcalendar/pkg-descr	Wed Jul 16 12:41:59 2003
@@ -1,4 +1,4 @@
 A dockapp calendar with monthly view and interface to iCalendar based
 calendars like Ximian Evolution or Mozilla calendar.
 
-WWW: http://sourceforge.net/projects/wmcalendar/
+WWW: http://wmcalendar.sourceforge.net/
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list