taskSavannah Administration - Tasks: task #8520, Submission of Grafer

 
 

task #8520: Submission of Grafer

Submitter:  Fred Morcos <fredmorcos>
Submitted:  Mon 18 Aug 2008 05:40:51 PM UTC
   
 
Should Start On:  Mon 18 Aug 2008 12:00:00 AM UTC Should be Finished on:  Thu 28 Aug 2008 12:00:00 AM UTC
Category:  Project Approval Priority:  * 5 - Normal
Status:  Cancelled Privacy:  Public
Assigned to:  yavor Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Fri 12 Sep 2008 02:25:03 PM UTC, comment #14: 

I'm sorry that we've lost you because of my clumsiness.
Good luck with your project, it looks like an interesting program (and language).

Yavor Doganov <yavor>
Fri 12 Sep 2008 01:05:42 PM UTC, comment #13: 

I would like to close this task. The project is now hosted on googlecode (http://grafer.googlecode.com). Thank You Yavor for your help and patience.

Fred Morcos <fredmorcos>
Fri 12 Sep 2008 01:00:32 PM UTC, comment #12: 

GtkD has to be built from svn... Check the new attached README.

Fred Morcos <fredmorcos>
Fri 12 Sep 2008 11:28:46 AM UTC, comment #11: 

Thanks, Fred.  I get a different error this time -- I include the full output:

yavor@keel:~/tmp/grafer$ dsss build
Creating imports for DG-graph

graph => DG-graph
+ /home/yavor/tmp/bin/rebuild -Idsss_imports/ -I. -S./ -I/home/yavor/tmp/include/d -S/home/yavor/tmp/lib/  -I/home/yavor/tmp/include/d -S/home/yavor/tmp/lib -I/home/yavor/d/include/d -S/home/yavor/d/lib  -oqdsss_objs/G -O -release -I. -no-export-dynamic -L-ldl  -explicit -lib graph/adt/QuadTree.d graph/adt/Vector.d graph/adt/Edge.d graph/adt/Graph.d graph/adt/Vertex.d graph/adt/Quadrant.d graph/alg/BHForceLayout.d graph/alg/TimeForceLayout.d graph/alg/SimpleForceLayout.d graph/alg/ForceLayout.d graph/alg/Shape.d graph/xml/GraphFile.d -oflibDG-graph.a

app/Main.d => grafer
+ /home/yavor/tmp/bin/rebuild -Idsss_imports/ -I. -S./ -I/home/yavor/tmp/include/d -S/home/yavor/tmp/lib/  -I/home/yavor/tmp/include/d -S/home/yavor/tmp/lib -I/home/yavor/d/include/d -S/home/yavor/d/lib  -oqdsss_objs/G -O -release -I. -no-export-dynamic -L-ldl app/Main.d -ofgrafer
app/Application.d:72: function gtk.Widget.Widget.addOnExpose (int delegate(GdkEventExpose*, Widget),GConnectFlags) does not match parameter types (bool delegate(GdkEventExpose* event, Widget widget))
app/Application.d:72: Error: cannot implicitly convert expression (&this.canvasExpose) of type bool delegate(GdkEventExpose* event, Widget widget) to int delegate(GdkEventExpose*, Widget)
app/Application.d:73: function gtk.Widget.Widget.addOnConfigure (int delegate(GdkEventConfigure*, Widget),GConnectFlags) does not match parameter types (bool delegate(GdkEventConfigure* event, Widget widget))
app/Application.d:73: Error: cannot implicitly convert expression (&this.canvasConfigure) of type bool delegate(GdkEventConfigure* event, Widget widget) to int delegate(GdkEventConfigure*, Widget)
app/Application.d:74: function gtk.Widget.Widget.addOnButtonPress (int delegate(GdkEventButton*, Widget),GConnectFlags) does not match parameter types (bool delegate(GdkEventButton* event, Widget widget))
app/Application.d:74: Error: cannot implicitly convert expression (&this.canvasButtonPress) of type bool delegate(GdkEventButton* event, Widget widget) to int delegate(GdkEventButton*, Widget)
app/Application.d:75: function gtk.Widget.Widget.addOnButtonRelease (int delegate(GdkEventButton*, Widget),GConnectFlags) does not match parameter types (bool delegate(GdkEventButton* event, Widget widget))
app/Application.d:75: Error: cannot implicitly convert expression (&this.canvasButtonRelease) of type bool delegate(GdkEventButton* event, Widget widget) to int delegate(GdkEventButton*, Widget)
app/Application.d:76: function gtk.Widget.Widget.addOnMotionNotify (int delegate(GdkEventMotion*, Widget),GConnectFlags) does not match parameter types (bool delegate(GdkEventMotion* event, Widget widget))
app/Application.d:76: Error: cannot implicitly convert expression (&this.canvasMotionNotify) of type bool delegate(GdkEventMotion* event, Widget widget) to int delegate(GdkEventMotion*, Widget)
Command /home/yavor/tmp/bin/rebuild returned with code 256, aborting.
Error: Command failed, aborting.

$ dsss installed
dsss
gtkd
tango

$ gdc --version
gdc (GCC) 4.1.2 20070214 ( gdc 0.24, using dmd 1.030)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Yavor Doganov <yavor>
Thu 11 Sep 2008 03:18:36 PM UTC, comment #10: 

Updated the instructions in the README file.

(file #16464)

Fred Morcos <fredmorcos>
Thu 11 Sep 2008 02:40:50 PM UTC, comment #9: 

I attached a new archive, the README file contains instructions to build grafer with gdc.

(file #16463)

Fred Morcos <fredmorcos>
Wed 03 Sep 2008 02:47:42 PM UTC, comment #8: 


> Could you try with DMD (it is not Free Software


No, sorry.

I thought it was an issue with my installation, since tango expects to install libgphobos where GDC is installed (I used the `gdc' package on a Debian system, which is installed in /usr).

I removed the package and installed gdc (as described at <http://www.dsource.org/projects/tango/wiki/GdcInstallation>) and the other dependencies with the same prefix.

The error is the same as in comment #4.

I know absolutely nothing about D, but this change:

--- app/Application.d.orig 2008-09-03 17:42:14.000000000 +0300
+++ app/Application.d 2008-09-03 17:42:30.000000000 +0300
@@ -145,7 +145,7 @@
  stopButton.setSensitive(true);
  runButton.setSensitive(false);
 
- GC.disable();
+ std.gc.disable();
  timer.start();
  while (stop == false) {
  layout.run();
@@ -159,7 +159,7 @@
  }
  }
  time = timer.stop();
- GC.enable();
+ std.gc.enable();
 
  canvas.queueDraw();
  while(Main.eventsPending()) Main.iterationDo(false);

makes the first error disappear.  Perhaps it's not correct at all.  (Using `tango.core.Memory.GC.enable' doesn't help.)

Yavor Doganov <yavor>
Tue 02 Sep 2008 01:23:47 PM UTC, comment #7: 

Could you try with DMD (it is not Free Software but just to make sure the problem isn't GDC).

Fred Morcos <fredmorcos>
Tue 02 Sep 2008 01:20:08 PM UTC, comment #6: 

It was gdc-posix -- I changed it to gdc-posix-tango and get the same error.

Yavor Doganov <yavor>
Tue 02 Sep 2008 01:12:26 PM UTC, comment #5: 

I am not sure, but have you set /tmp/grafer/etc/rebuild/default to profile=gdc-posix-tango?

Fred Morcos <fredmorcos>
Tue 02 Sep 2008 12:29:57 PM UTC, comment #4: 

Sorry for the delay.
I installed successfully all dependencies, but get a build failure:

$ /tmp/grafer/bin/dsss build --prefix=/tmp/grafer
Main.d => grafer
+ /tmp/grafer/bin/rebuild -Idsss_imports/ -I. -S./ -I/tmp/grafer/include/d -S/tmp/grafer/lib/  -I/tmp/grafer/include/d -S/tmp/grafer/lib -I/home/yavor/d/include/d -S/home/yavor/d/lib  -oqdsss_objs/G -I. -no-export-dynamic -L-ldl Main.d -ofgrafer
dsss_objs/G/grafer.app.Application.o: In function `_D6grafer3app11Application11Application14runButtonClickMFC3gtk6Button6ButtonZv':
Application.d:(.text+0x713): undefined reference to `_D5tango4core6Memory2GC7disableFZv'
Application.d:(.text+0x802): undefined reference to `_D5tango4core6Memory2GC6enableFZv'
/tmp/grafer/lib//libDG-tango-time.a(tango.time.StopWatch.o): In function `_D5tango4time9StopWatch9StopWatch5timerFZm':
StopWatch.d:(.text+0x196): undefined reference to `_D5tango4core9Exception17PlatformException7__ClassZ'
StopWatch.d:(.text+0x1ad): undefined reference to `_D5tango4core9Exception17PlatformException5_ctorMFAaZC5tango4core9Exception17PlatformException'
/tmp/grafer/lib//libDG-tango-io.a(tango.io.Stdout.o): In function `_D5tango4text7convert6Layout13__T6LayoutTaZ6Layout5errorMFAaZv':
Stdout.d:(.text._D5tango4text7convert6Layout13__T6LayoutTaZ6Layout5errorMFAaZv[_D5tango4text7convert6Layout13__T6LayoutTaZ6Layout5errorMFAaZv]+0xa): undefined reference to `_D5tango4core9Exception24IllegalArgumentException7__ClassZ'
Stdout.d:(.text._D5tango4text7convert6Layout13__T6LayoutTaZ6Layout5errorMFAaZv[_D5tango4text7convert6Layout13__T6LayoutTaZ6Layout5errorMFAaZv]+0x21): undefined reference to `_D5tango4core9Exception24IllegalArgumentException5_ctorMFAaZC5tango4core9Exception24IllegalArgumentException'
/tmp/grafer/lib//libDG-tango-io.a(tango.io.Conduit.o): In function `_D5tango2io7Conduit7Conduit5errorMFAaZv':
Conduit.d:(.text+0x150): undefined reference to `_D5tango4core9Exception11IOException7__ClassZ'
Conduit.d:(.text+0x167): undefined reference to `_D5tango4core9Exception11IOException5_ctorMFAaZC5tango4core9Exception11IOException'
/tmp/grafer/lib//libDG-tango-io.a(tango.io.Buffer.o): In function `_D5tango2io6Buffer6Buffer5errorMFAaZv':
Buffer.d:(.text+0x15e0): undefined reference to `_D5tango4core9Exception11IOException7__ClassZ'
Buffer.d:(.text+0x15f7): undefined reference to `_D5tango4core9Exception11IOException5_ctorMFAaZC5tango4core9Exception11IOException'
/tmp/grafer/lib//libDG-tango-text.a(tango.text.convert.Float.o): In function `_D5tango4text7convert5Float5pow10FkZe':
Float.d:(.text+0x199): undefined reference to `_D5tango4core9Exception24IllegalArgumentException7__ClassZ'
Float.d:(.text+0x1b0): undefined reference to `_D5tango4core9Exception24IllegalArgumentException5_ctorMFAaZC5tango4core9Exception24IllegalArgumentException'
/tmp/grafer/lib//libDG-tango-text.a(tango.text.convert.Utf.o): In function `_D5tango4text7convert3Utf10toString16FAaAuPkZAu':
Utf.d:(.text+0x49e): undefined reference to `onUnicodeError'
Utf.d:(.text+0x4ee): undefined reference to `onUnicodeError'
/tmp/grafer/lib//libDG-tango-text.a(tango.text.convert.Utf.o): In function `_D5tango4text7convert3Utf8toStringFAwAaPkZAa':
Utf.d:(.text+0x766): undefined reference to `onUnicodeError'
/tmp/grafer/lib//libDG-tango-text.a(tango.text.convert.Utf.o): In function `_D5tango4text7convert3Utf10toString32FAaAwPkZAw':
Utf.d:(.text+0x97e): undefined reference to `onUnicodeError'
Utf.d:(.text+0x9d9): undefined reference to `onUnicodeError'
/tmp/grafer/lib//libDG-tango-text.a(tango.text.convert.Utf.o):Utf.d:(.text+0xa29): more undefined references to `onUnicodeError' follow
collect2: ld returned 1 exit status
Command /tmp/grafer/bin/rebuild returned with code 65280, aborting.
Error: Command failed, aborting.

/tmp/grafer/lib has all the libraries and /tmp/grafer/include/d has all the headers; tango version is 0.99.7.  Am I doing something wrong?

Yavor Doganov <yavor>
Thu 28 Aug 2008 01:52:17 PM UTC, comment #3: 

Updated tarball, the previous one doesn't build.

(file #16378)

Fred Morcos <fredmorcos>
Tue 26 Aug 2008 11:36:20 AM UTC, comment #2: 

There have been some changes, the project has been ported to D and so dependencies changed. I also fixed the issue with licensing. Attached is a new tarball.

License: GPLv3+

Dependencies:
Tango - BSD - http://www.dsource.org/projects/tango
DSSS - MIT - http://www.dsource.org/projects/dsss
GtkD - LGPL - http://www.dsource.org/projects/gtkd

(file #16357)

Fred Morcos <fredmorcos>
Sun 24 Aug 2008 05:25:22 PM UTC, comment #1: 

This package has the same issue like objective-gtk.  Would you consider changing the license to GPLv3+?  Thanks.

Yavor Doganov <yavor>
Mon 18 Aug 2008 05:40:51 PM UTC, original submission:  

A new project has been registered at Savannah
This project account will remain inactive until a site admin approves or discards the registration.


Registration Administration


While this item will be useful to track the registration process, approving or discarding the registration must be done using the specific Group Administration page, accessible only to site administrators, effectively logged as site administrators (superuser):



Registration Details


  • Name: Grafer
  • System Name:  grafer
  • Type: non-GNU software & documentation
  • License: GNU General Public License v2 or later





Description:

Grafer started as a bachelor thesis for developing a force based graph drawing algorithm. It is currently being developed to support graph generation from database schemas as well as more graph layouting algorithms. It is written in Objective-C.


Other Software Required:

CMake - BSD - cmake.org
Gtk+/Glib - GNU LGPL - gtk.org
GNU Objective-C - GNU GPL - gnu.org/software/gcc/
Objective-Gtk - GNU LGPL - No host yet.
Cairo - GNU LGPL or MPL - cairographics.org


Tarball URL:

http://savannah.gnu.org/submissions_uploads/grafer.tar.bz2


Fred Morcos <fredmorcos>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #16464:  README added by fredmorcos (2KiB - application/octet-stream)
file #16463:  grafer.tar.bz2 added by fredmorcos (25KiB - application/x-bzip)
file #16378:  grafer.tar.bz2 added by fredmorcos (16KiB - application/x-bzip)
file #16357:  grafer.tar.bz2 added by fredmorcos (16KiB - application/x-bzip)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by yavor (Updated the item)
  • -email is unavailable- added by fredmorcos (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 10 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2008-09-12 yavor StatusNeed Info Cancelled
        Open/ClosedOpen Closed
    2008-09-11 fredmorcos Attached File- Added README, #16464
    2008-09-11 fredmorcos Attached File- Added grafer.tar.bz2, #16463
    2008-09-02 yavor StatusWait reply Need Info
    2008-08-28 fredmorcos Attached File- Added grafer.tar.bz2, #16378
    2008-08-26 fredmorcos Attached File- Added grafer.tar.bz2, #16357
    2008-08-24 yavor StatusIn Progress Wait reply
    2008-08-19 yavor StatusNone In Progress
        Assigned toNone yavor

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code