ports/87056: Update port: deskutils/mdh to 1.9.59
KATO Tsuguru
tkato432 at yahoo.com
Fri Oct 7 14:10:23 UTC 2005
>Number: 87056
>Category: ports
>Synopsis: Update port: deskutils/mdh to 1.9.59
>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: Fri Oct 07 14:10:17 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 4.11-RELEASE-p12 i386
>Organization:
>Environment:
>Description:
- Update to version 1.9.59
New file:
files/patch-lib-gini-gini.c
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/deskutils/mdh/Makefile deskutils/mdh/Makefile
--- /usr/ports/deskutils/mdh/Makefile Sat Mar 12 20:21:41 2005
+++ deskutils/mdh/Makefile Fri Oct 7 04:09:40 2005
@@ -6,8 +6,7 @@
#
PORTNAME= mdh
-PORTVERSION= 1.9.54
-PORTREVISION= 7
+PORTVERSION= 1.9.59
CATEGORIES= deskutils gnome
MASTER_SITES= http://www.gozer.org/my_stuff/gtk/gtk/mdh/
@@ -16,13 +15,39 @@
USE_BZIP2= yes
USE_X_PREFIX= yes
-GNU_CONFIGURE= yes
USE_GNOME= gnometarget gtk20
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- LDFLAGS="-L${LOCALBASE}/lib"
+USE_GETOPT_LONG= yes
+USE_REINPLACE= yes
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
+
+CPPFLAGS= -I${LOCALBASE}/include
+LDFLAGS= -L${LOCALBASE}/lib
+
+.if defined(WITHOUT_GTOP)
+CONFIGURE_ARGS+= --disable-gtop
+.else
+LIB_DEPENDS+= gtop-2.0:${PORTSDIR}/devel/libgtop2
+.endif
+
+.if defined(WITHOUT_CURL)
+CONFIGURE_ARGS+= --disable-curl
+.else
+LIB_DEPENDS+= curl.3:${PORTSDIR}/ftp/curl
+.endif
+
+post-patch:
+ @${REINPLACE_CMD} -e 's| make| $$(MAKE)|g' ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} -e 's|\.\./lib/getopt/getopt\.c||g ; \
+ s|\.\./lib/getopt/getopt1\.c||g ; \
+ s|-I../lib/getopt||g ; \
+ s|$$(CC) -g|$$(CC)|g ; \
+ s|@INSTALL@ -m 0775|@INSTALL_PROGRAM@|g ; \
+ s|cp -p|@INSTALL_DATA@|g' ${WRKSRC}/src/Makefile.in
+ @${REINPLACE_CMD} -e 's|"getopt\.h"|<getopt.h>|g' ${WRKSRC}/src/mdh.c
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin
+post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
diff -urN /usr/ports/deskutils/mdh/distinfo deskutils/mdh/distinfo
--- /usr/ports/deskutils/mdh/distinfo Thu Jan 29 20:20:58 2004
+++ deskutils/mdh/distinfo Fri Oct 7 03:22:23 2005
@@ -1,2 +1,2 @@
-MD5 (mdh-1.9.54.tar.bz2) = 62c64932d30fb94319e601ec020dde80
-SIZE (mdh-1.9.54.tar.bz2) = 115043
+MD5 (mdh-1.9.59.tar.bz2) = 3fcc2d65aa05ffd16627e72551074502
+SIZE (mdh-1.9.59.tar.bz2) = 190090
diff -urN /usr/ports/deskutils/mdh/files/patch-lib-gini-gini.c deskutils/mdh/files/patch-lib-gini-gini.c
--- /usr/ports/deskutils/mdh/files/patch-lib-gini-gini.c Thu Jan 1 09:00:00 1970
+++ deskutils/mdh/files/patch-lib-gini-gini.c Fri Oct 7 03:35:19 2005
@@ -0,0 +1,11 @@
+--- lib/gini/gini.c.orig Fri Jul 8 08:10:18 2005
++++ lib/gini/gini.c Fri Oct 7 03:35:03 2005
+@@ -190,7 +190,7 @@
+
+ static void value_transform_string_int64(const GValue *src, GValue *dst)
+ {
+- dst->data[0].v_int64 = atoll(src->data[0].v_pointer);
++ dst->data[0].v_int64 = strtoll(src->data[0].v_pointer, NULL, 10);
+ }
+
+ static void value_transform_string_uint64(const GValue *src, GValue *dst)
diff -urN /usr/ports/deskutils/mdh/pkg-plist deskutils/mdh/pkg-plist
--- /usr/ports/deskutils/mdh/pkg-plist Mon Dec 22 13:23:52 2003
+++ deskutils/mdh/pkg-plist Fri Oct 7 03:40:03 2005
@@ -1,3 +1,57 @@
bin/mdh
%%PORTDOCS%%%%DOCSDIR%%/README
+%%DATADIR%%/icons/default.png
+%%DATADIR%%/icons/mixer.png
+%%DATADIR%%/icons/weather/0.png
+%%DATADIR%%/icons/weather/1.png
+%%DATADIR%%/icons/weather/10.png
+%%DATADIR%%/icons/weather/11.png
+%%DATADIR%%/icons/weather/12.png
+%%DATADIR%%/icons/weather/13.png
+%%DATADIR%%/icons/weather/14.png
+%%DATADIR%%/icons/weather/15.png
+%%DATADIR%%/icons/weather/16.png
+%%DATADIR%%/icons/weather/17.png
+%%DATADIR%%/icons/weather/18.png
+%%DATADIR%%/icons/weather/19.png
+%%DATADIR%%/icons/weather/2.png
+%%DATADIR%%/icons/weather/20.png
+%%DATADIR%%/icons/weather/21.png
+%%DATADIR%%/icons/weather/22.png
+%%DATADIR%%/icons/weather/23.png
+%%DATADIR%%/icons/weather/24.png
+%%DATADIR%%/icons/weather/25.png
+%%DATADIR%%/icons/weather/26.png
+%%DATADIR%%/icons/weather/27.png
+%%DATADIR%%/icons/weather/28.png
+%%DATADIR%%/icons/weather/29.png
+%%DATADIR%%/icons/weather/3.png
+%%DATADIR%%/icons/weather/30.png
+%%DATADIR%%/icons/weather/31.png
+%%DATADIR%%/icons/weather/32.png
+%%DATADIR%%/icons/weather/33.png
+%%DATADIR%%/icons/weather/34.png
+%%DATADIR%%/icons/weather/35.png
+%%DATADIR%%/icons/weather/36.png
+%%DATADIR%%/icons/weather/37.png
+%%DATADIR%%/icons/weather/38.png
+%%DATADIR%%/icons/weather/39.png
+%%DATADIR%%/icons/weather/4.png
+%%DATADIR%%/icons/weather/40.png
+%%DATADIR%%/icons/weather/41.png
+%%DATADIR%%/icons/weather/42.png
+%%DATADIR%%/icons/weather/43.png
+%%DATADIR%%/icons/weather/44.png
+%%DATADIR%%/icons/weather/45.png
+%%DATADIR%%/icons/weather/46.png
+%%DATADIR%%/icons/weather/47.png
+%%DATADIR%%/icons/weather/5.png
+%%DATADIR%%/icons/weather/6.png
+%%DATADIR%%/icons/weather/7.png
+%%DATADIR%%/icons/weather/8.png
+%%DATADIR%%/icons/weather/9.png
+%%DATADIR%%/icons/weather/na.png
+ at dirrm %%DATADIR%%/icons/weather
+ at dirrm %%DATADIR%%/icons
+ at dirrm %%DATADIR%%
%%PORTDOCS%%@dirrm %%DOCSDIR%%
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list