Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 115804 - [NEW] media-libs/libg3d-0.0.2.ebuild
Summary: [NEW] media-libs/libg3d-0.0.2.ebuild
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL: http://http://automagically.de/index....
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks: 115805
  Show dependency tree
 
Reported: 2005-12-16 13:43 UTC by Jesse Adelman
Modified: 2016-04-23 03:30 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
libg3d-0.0.2.ebuild (libg3d-0.0.2.ebuild,525 bytes, text/plain)
2005-12-16 13:44 UTC, Jesse Adelman
Details
libg3d-0.0.3.ebuild (libg3d-0.0.3.ebuild,478 bytes, text/plain)
2006-07-10 12:56 UTC, Tristan Heaven (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Adelman 2005-12-16 13:43:55 UTC
Hi, all. I'm uploading my ebuilds for G3D Viewer. This first one is the main library, libg3d. I've been chatting via e-mail with the upstream author, and had some bugs fixed by them as a result - he's very into this being in Gentoo :). AFAIK, this is the only program available in F/OSS that allows viewing of many 3D object file formats (like 3dmf). I've tested the ebuilds, and they install and run well - however, there are a fre GTK warnings on my box, which I've sent to upstream for removal. Probably gone in the 3.X release.

Let me know if these ebuilds blow up your box, or are poor style. Thanks.
Comment 1 Jesse Adelman 2005-12-16 13:44:48 UTC
Created attachment 74895 [details]
libg3d-0.0.2.ebuild
Comment 2 Tim Hessint 2006-03-27 17:46:12 UTC
g3dviewer runs fine but I get the following error on the terminal:
-----------------------
LeoCAD: failed to read '/usr/local/share/leocad/pieces.idx'

** (g3dviewer:18364): WARNING **: LeoCAD: failed to load library

(g3dviewer:18364): Gtk-CRITICAL **: gtk_pixmap_new: assertion `val != NULL' failed

(g3dviewer:18364): Gtk-CRITICAL **: gtk_box_pack_start: assertion `GTK_IS_WIDGET (child)' failed
-----------------------

Don't know about the GTK stuff but the leocad issue is a libg3d bug.

In 'plugins/import/imp_leocad.c' line 28-30:
--------------------------------
libdir = g_getenv("LEOCAD_LIB");
if(libdir == NULL)
        libdir = "/usr/local/share/leocad";
-------------------------------

But LEOCAD_LIB is not defined anywhere in the libg3d package. There's still the chance that LEOCAD_LIB is defined in a system LeoCAD header (i.e. /usr/include/leocad.h), but imp_leocad.c makes the following includes:

#include <g3d/types.h>
#include <g3d/context.h>
#include <g3d/read.h>
#include <g3d/vector.h>
#include <g3d/matrix.h>
#include "imp_leocad_library.h"

None of which make further leocad includes. I'm too lazy to download LeoCAD and see if LEOCAD_LIB is defined in it's headers so I'll stop now :)
Comment 3 Tim Hessint 2006-03-27 21:20:24 UTC
Oops. Ignore my stupidity. It's looking for an environment variable not a #define.
Comment 4 Tristan Heaven (RETIRED) gentoo-dev 2006-07-10 12:56:12 UTC
Created attachment 91394 [details]
libg3d-0.0.3.ebuild
Comment 5 kundarsa@gmail.com 2016-04-23 03:30:33 UTC
This is an ancient 3D model viewer. Features were added until 2006 with some bug fixes after until 2009 but was never tagged out of Alpha status. 3D model packages have come along way since then (most notably blender IMO) making this package pretty much obsolete.