From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Sep 5 12:30:02 2007 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 44C2616A419 for ; Wed, 5 Sep 2007 12:30:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 1FB7213C469 for ; Wed, 5 Sep 2007 12:30:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l85CU18A067688 for ; Wed, 5 Sep 2007 12:30:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l85CU1cr067687; Wed, 5 Sep 2007 12:30:01 GMT (envelope-from gnats) Resent-Date: Wed, 5 Sep 2007 12:30:01 GMT Resent-Message-Id: <200709051230.l85CU1cr067687@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Alexey Shuvaev Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E381616A41A for ; Wed, 5 Sep 2007 12:23:35 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id CF57F13C45D for ; Wed, 5 Sep 2007 12:23:35 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.1/8.14.1) with ESMTP id l85CNZwq094784 for ; Wed, 5 Sep 2007 12:23:35 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.1/8.14.1/Submit) id l85CNZ7c094783; Wed, 5 Sep 2007 12:23:35 GMT (envelope-from nobody) Message-Id: <200709051223.l85CNZ7c094783@www.freebsd.org> Date: Wed, 5 Sep 2007 12:23:35 GMT From: Alexey Shuvaev To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/116120: [patch] x11-toolkits/gtkdatabox2: update to 0.7.0.1 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Sep 2007 12:30:02 -0000 >Number: 116120 >Category: ports >Synopsis: [patch] x11-toolkits/gtkdatabox2: update to 0.7.0.1 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Wed Sep 05 12:30:01 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Alexey Shuvaev >Release: FreeBSD-CURRENT >Organization: Universitaet Wuerzburg >Environment: FreeBSD wep4017.physik.uni-wuerzburg.de 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Tue Aug 21 15:00:51 CEST 2007 root@wep4017.physik.uni-wuerzburg.de:/usr/obj/usr/src/sys/GENERIC amd64 >Description: First of all, the current version of gtkdatabox2 (0.2.4.5) compiles but the examples core dump on my machine. The new library seems to work (at least the examples). However, one should be aware of some heavy interface changes. The appropriate ChangeLog: 2006-08-10 (0.7.0.0) - Added -W to the compile options in addition to -Wall and -pedantic Thanks to Fabian Foerg for the hint. - Adjusted code to get rid of most of the remaining warnings - very small interface change: lengths of datasets for points, lines, bars, etc are now guint instead of int 2006-08-06 (0.6.0.0) - Has nobody ever installed the library? I wonder how the hundreds of people could work with the library? By my understanding, the include paths were wrong. Thanks to Andreas Tille for the hint. (I do hope that not suddenly hundreds of users cannot use the library anymore after this change!) - Changed the include paths in all .c and .h files for gtkdatabox*.h 2006-08-01 (0.5.3.1) - There is now a mailinglist for GtkDatabox! It is hosted by the Gnome Project and maintained by Jos Romildo Malaquias. Thanks a lot ! 2006-07-15 - three more changes to get rid of warnings that my old compiler did not even show. Thanks to Fabian Foerg. 2006-05-27 - added -pedantic to the compile flags and adjusted code to be accepted without warnings 2006-04-24 (0.5.3.0) - added a new example (keycontrol) based on ideas by Alain Vigne - fixed a bug in gtkdatabox_marker_set_label (text did not change after being set the first time) - added functions to public interface gtk_databox_zoom_to_selection gtk_databox_zoom_out gtk_databox_zoom_home 2006-04-01 (0.5.2.0) - some further code cleanups 2006-03-26 (0.5.1.0) - some cosmetic interface adjustments for clarity and ease of use (thanks to Amish S. Dave for several hints): - gtk_databox_graph_remove now takes a graph as argument instead of the "index" of the graph within the GtkDatabox widget. - gtk_databox_graph_remove_all added; it removes all graphs - (set|get)[_visible]_extrema have been renamed into (set|get)[_visible]_canvas, since you don't set/get the extrema but the corner values of the displayed data. - added another property to the GtkDatabox class: "hide" determines wether a graph is drawn or not. There also are the appropriate gtk_databox_graph_(set|get)_hide methods. The default value for "hide" is FALSE, meaning that the graph is displayed. - did some magic to speed up line drawing. To be honest, I do not know why this is faster now: if line width is 1, it is set to 0 in the GC and it is twice as fast on my machine... (if you are interested, play around with the code in gtkdatabox_graph.c (and if you find the explanation, please tell me)) 2006-03-20 (0.5.0.0) - everything is new. - well, not "everything"... - but most of it - there is no need to worry, you will find that migrating is rather easy (and starting with the widget is easy, too) - There were a lot of inconsistencies in handling data and special functions (like grid or markers or coordinate cross) for display. These are now resolved by the introduction of a graph class: Instead of giving GtkDatabox widgets data for display, and associate drawing functions with the data, you now add graphs for display. There are various classes that inherit from the basic graph class. These classes now handle data (if they need data) and can be configured according to their features. See examples/*.c for getting the picture. It is quite easy to change from old versions. Please ask, if you have any problems. There is a clearly defined way for adding customized drawing functions, now. Just create a class derived from the graph class, and you are ready to go. - There were a lot of functions and special features (e.g. setting the background color or the cursor) included in the older versions due to the fact that GtkDatabox was a composite widget. This has changed. GtkDatabox does not automatically come with scrollbars and rulers attached to it. You can now access the "databox" itself directly without using any internal data of the widget. For ease of use, there is a function for creating a GtkDatabox widget with scrollbars and rulers, though :-) - rescaling has received a rehawl, too. Setting total extrema and visible extrema is now easily possible. - a gtkdatabox.spec for creating RPM files is included, now, thanks to Eric - A lot of small things, too. - A riddle is included, as well: Why on earth is drawing lines about 50% slower than it used to be? I have no idea, as of now. - In the source code "@@@" marks passages which I doubt to be correct 2006-01-02 (0.4.0.2) - Bugfixes (Thanks to Muppet) 2005-08-29 (0.4.0.1) - Bugfixes - added functions for configuring the cursor for the drawing area. 2005-08-28 (0.4.0.0) - GtkDatabox now supports the addition of new drawing functions even at runtime - added drawing functions for markers and texts (Thanks to Juan Carlos Remis) - added example for using markers and texts - added functions to enable and disable horizontal and vertical rulers and scrollbars separately (Thanks to C.James Callaway) - Moved all drawing functions to separate files - Slightly changed interface for the grid functions (Sorry, but the whole stuff is now much more streamlined than before) - Removed one of the grid examples - Fixed a bug in the rescaling functionality (possible segmentation fault when data has been removed) 2005-08-09 (0.3.0.0) - added support for pkg-config (Thanks to Lance Dillon) - fixed a bug in gtk_databox_data_remove (Thanks to Thomas Henkel) - removed the following functions: gint gtk_databox_data_destroy gint gtk_databox_data_destroy_all gtk_databox_data_add_x gtk_databox_data_add_y The destroy functions were deprecated in several versions now. Releasing data should be handled outside gtkdatabox, because the allocation of the data is happening outside of it. The ...add_x and ...add_y functions have also been removed, since it does not make much of a difference whether you use a pointer or a gint value as a parameter. Thus, these two functions did not make very much sense. - renamed gtk_databox_data_add_x_y to gtk_databox_data_add Since the other ...add_[xy] functions are removed, there is no need to specify what data is to be added in this function. - Sorry for the work you have to do due to interface changes. These are the first interface changes in years and I think they making the interface leaner and easier to use. 2005-05-05 (0.2.4.7) - updated libtool to 1.5.16 - modified signals example to show coordinate values in the window 2005-04-29 (0.2.4.6) - replaced GtkItemFactory stuff (deprecated in gtk+-2.6) from colors example. Thanks to Olivier Hervieu. -----------end-of-ChangeLog------------------------- Finally I am not sure the patches I supply is 100% correct. >How-To-Repeat: >Fix: Patch attached with submission follows: --- Makefile.old 2007-09-05 13:39:04.000000000 +0200 +++ Makefile 2007-09-05 13:37:59.000000000 +0200 @@ -6,8 +6,8 @@ # PORTNAME= gtkdatabox2 -PORTVERSION= 0.2.4.5 -PORTREVISION= 5 +PORTVERSION= 0.7.0.1 +PORTREVISION= 1 CATEGORIES= x11-toolkits MASTER_SITES= http://www.eudoxos.de/gtk/gtkdatabox/download/ DISTNAME= gtkdatabox-${PORTVERSION} --- distinfo.old 2007-09-05 13:39:11.000000000 +0200 +++ distinfo 2007-09-05 10:53:42.000000000 +0200 @@ -1,3 +1,3 @@ -MD5 (gnome2/gtkdatabox-0.2.4.5.tar.gz) = f26cf3e51845dbb6d41e683dd407d887 -SHA256 (gnome2/gtkdatabox-0.2.4.5.tar.gz) = b09830e3b3c5c4a52fbcb6d294e0e407090260c64cf82e47e56f9fc7034e3778 -SIZE (gnome2/gtkdatabox-0.2.4.5.tar.gz) = 212005 +MD5 (gnome2/gtkdatabox-0.7.0.1.tar.gz) = 5aa9b13d347c7429e0c74b2ef93a88e3 +SHA256 (gnome2/gtkdatabox-0.7.0.1.tar.gz) = 1a6c85ce7a0b4cbb3af75869332e52d654dbffea6970f38e89467f1bffadf39c +SIZE (gnome2/gtkdatabox-0.7.0.1.tar.gz) = 339493 --- pkg-plist.old 2007-09-05 13:39:26.000000000 +0200 +++ pkg-plist 2007-09-05 13:37:30.000000000 +0200 @@ -1,7 +1,7 @@ include/gtkdatabox.h include/gtkdataboxmarshal.h -lib/libgtkdatabox-0.2.4.so -lib/libgtkdatabox-0.2.4.so.5 +lib/libgtkdatabox-0.7.0.so +lib/libgtkdatabox-0.7.0.so.1 lib/libgtkdatabox.a lib/libgtkdatabox.la lib/libgtkdatabox.so >Release-Note: >Audit-Trail: >Unformatted: