Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Apr 2008 16:49:39 GMT
From:      Ganael Laplanche <ganael.laplanche@martymac.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/122935: Port fix: graphics/guilib - Checksum mismatch
Message-ID:  <200804201649.m3KGndTs015205@www.freebsd.org>
Resent-Message-ID: <200804201700.m3KH0255096080@freefall.freebsd.org>

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

>Number:         122935
>Category:       ports
>Synopsis:       Port fix: graphics/guilib - Checksum mismatch
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 20 17:00:02 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Ganael Laplanche
>Release:        7.0-STABLE
>Organization:
http://contribs.martymac.com
>Environment:
FreeBSD home.martymac.com 7.0-STABLE FreeBSD 7.0-STABLE #13: Sun Apr 20 10:56:35 CEST 2008     root@home.martymac.com:/usr/obj/usr/src/sys/MYKERNEL  amd64
>Description:
Guilib has been marked BROKEN since April, 10th 2008. It seems the tarball has changed upstream. I have been able to find out the old tarball and compare its contents to the 'new' one.

The old version is mirrored here :
http://zenwalk.biz.net.id/zenwalk/people/michael/sdl/source/
and matches the current checksum/size values of the port.

The new one is (of course) available here :
http://www.libsdl.org/projects/GUIlib/src/
and does not match the checksum/size values of the port.

A diff only shows the following changes :

diff -aurN GUIlib-1.2.1.old/Makefile.am GUIlib-1.2.1/Makefile.am
--- GUIlib-1.2.1.old/Makefile.am        2007-07-15 07:39:11.000000000 +0200
+++ GUIlib-1.2.1/Makefile.am    2007-12-28 18:25:05.000000000 +0100
@@ -6,18 +6,20 @@
 libGUIinclude_HEADERS =                \
        GUI.h                   \
        GUI_C.h                 \
-       GUI_status.h            \
-       GUI_widget.h            \
-       GUI_widgets.h           \
        GUI_area.h              \
        GUI_button.h            \
+       GUI_font.h              \
        GUI_generic.h           \
        GUI_image.h             \
+       GUI_loadimage.h         \
+       GUI_menu.h              \
+       GUI_output.h            \
        GUI_scroll.h            \
        GUI_scrollbar.h         \
+       GUI_status.h            \
        GUI_termwin.h           \
-       GUI_font.h              \
-       GUI_menu.h
+       GUI_widget.h            \
+       GUI_widgets.h

 libGUI_la_SOURCES =            \
        GUI.cpp                 \
diff -aur GUIlib-1.2.1.old/Makefile.in GUIlib-1.2.1/Makefile.in
--- GUIlib-1.2.1.old/Makefile.in        2007-07-15 07:39:42.000000000 +0200
+++ GUIlib-1.2.1/Makefile.in    2007-12-28 18:26:05.000000000 +0100
@@ -242,18 +242,20 @@
 libGUIinclude_HEADERS = \
        GUI.h                   \
        GUI_C.h                 \
-       GUI_status.h            \
-       GUI_widget.h            \
-       GUI_widgets.h           \
        GUI_area.h              \
        GUI_button.h            \
+       GUI_font.h              \
        GUI_generic.h           \
        GUI_image.h             \
+       GUI_loadimage.h         \
+       GUI_menu.h              \
+       GUI_output.h            \
        GUI_scroll.h            \
        GUI_scrollbar.h         \
+       GUI_status.h            \
        GUI_termwin.h           \
-       GUI_font.h              \
-       GUI_menu.h
+       GUI_widget.h            \
+       GUI_widgets.h

 libGUI_la_SOURCES = \
        GUI.cpp                 \


As you can see, Guilib now installs two more files : GUI_loadimage.h and GUI_output.h.

Find a patch attached that removes the BROKEN flag, handles the distinfo changes and adds the two files to the plist.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -aurN guilib.orig/Makefile guilib/Makefile
--- guilib.orig/Makefile	2008-04-20 18:31:02.844725112 +0200
+++ guilib/Makefile	2008-04-20 18:31:11.320562124 +0200
@@ -14,8 +14,6 @@
 MAINTAINER=	acm@FreeBSD.org
 COMMENT=	A very simple GUI framework for use with SDL
 
-BROKEN=		Checksum mismatch
-
 USE_SDL=	sdl
 USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
diff -aurN guilib.orig/distinfo guilib/distinfo
--- guilib.orig/distinfo	2008-04-20 18:31:02.844725112 +0200
+++ guilib/distinfo	2008-04-20 18:31:30.273132633 +0200
@@ -1,3 +1,3 @@
-MD5 (GUIlib-1.2.1.tar.gz) = b80a152a5fcd9e96155a7379339dd6f8
-SHA256 (GUIlib-1.2.1.tar.gz) = 7c87b4a907e40c280e799f44ce5f07658f812f1a39e92197fdb077f087d353ab
-SIZE (GUIlib-1.2.1.tar.gz) = 345034
+MD5 (GUIlib-1.2.1.tar.gz) = a0114b925d79d6c66161e24cbeaa88b1
+SHA256 (GUIlib-1.2.1.tar.gz) = 3b383e537238048f4712395a38b9e3c65475d1dc93413e557f1b0a39c88f68df
+SIZE (GUIlib-1.2.1.tar.gz) = 345042
diff -aurN guilib.orig/pkg-plist guilib/pkg-plist
--- guilib.orig/pkg-plist	2008-04-20 18:31:02.844725112 +0200
+++ guilib/pkg-plist	2008-04-20 18:43:53.598742731 +0200
@@ -12,6 +12,8 @@
 include/GUI/GUI_termwin.h
 include/GUI/GUI_widget.h
 include/GUI/GUI_widgets.h
+include/GUI/GUI_output.h
+include/GUI/GUI_loadimage.h
 lib/libGUI.a
 lib/libGUI.la
 lib/libGUI.so


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



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