Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 84530 - media-gfx/truevision - New version (0.5.4) is out
Summary: media-gfx/truevision - New version (0.5.4) is out
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Graphics Project
URL: http://truevision.sourceforge.net/ind...
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2005-03-08 11:16 UTC by burnstone
Modified: 2006-03-10 20:15 UTC (History)
5 users (show)

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


Attachments
truevision-0.5.2.ebuild (truevision-0.5.2.ebuild,1.19 KB, text/plain)
2005-03-20 04:50 UTC, Sven Winkelmann
Details
Modified the 0.5.2.ebuild posted here to build 0.5.4. (truevision-0.5.4.ebuild,1.40 KB, text/plain)
2005-07-02 10:02 UTC, Mike Vanecek
Details
truevision-0.5.4.ebuild (truevision-0.5.4.ebuild,1.24 KB, text/plain)
2005-08-13 16:35 UTC, Marcelo Goes (RETIRED)
Details
truevision-0.5.5.ebuild (truevision-0.5.5.ebuild,881 bytes, text/plain)
2005-10-11 11:09 UTC, Chris Mayo
Details
truevision-0.5.5-Makefile-mime-magic.patch (truevision-0.5.5-Makefile-mime-magic.patch,877 bytes, patch)
2005-10-11 11:09 UTC, Chris Mayo
Details | Diff
truevision-0.5.5-r1.ebuild (truevision-0.5.5-r1.ebuild,886 bytes, text/plain)
2005-11-05 10:39 UTC, Sudrien
Details
Output of emerge, config.log, and emerge info (output,66.78 KB, text/plain)
2005-12-03 04:40 UTC, Ryan Hendrickson
Details
truevision_gdb.log (truevision_gdb.log,2.86 KB, text/plain)
2006-01-13 12:19 UTC, Marcelo Goes (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description burnstone 2005-03-08 11:16:13 UTC
Theres a new version of truevision out. Please add it to portage.

Reproducible: Always
Steps to Reproduce:
1. Go to the truevision-site and read the news
2.
3.

Actual Results:  
version in portage is outdated

Expected Results:  
new version in portage
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2005-03-08 16:53:48 UTC
Empty metadata.xml, please be so nice and take over gfx herd. Thanks. :)
Comment 2 Thomas Dufaux 2005-03-16 11:46:14 UTC
Hi, this is my first comment :)
I just copied the latest portage ebuild to truevision-0.5.2.ebuild. 
I changed the .gz to .bz2 (two times) since that's what's used for the package now.
I also added x11-libs/gtkglext to DEPEND=
But it dies with an access violation :(
Comment 3 Thomas Dufaux 2005-03-16 11:47:15 UTC
I didn't want to make my first post look ugly ;).
But here is the output: 

mkdir /var/tmp/portage/truevision-0.5.2/image/usr/doc
mkdir /var/tmp/portage/truevision-0.5.2/image/usr/doc/truevision
 /bin/install -c -m 644 ./README /var/tmp/portage/truevision-0.5.2/image//usr/doc/truevision/README
 /bin/install -c -m 644 ./COPYING /var/tmp/portage/truevision-0.5.2/image//usr/doc/truevision/COPYING
 /bin/install -c -m 644 ./AUTHORS /var/tmp/portage/truevision-0.5.2/image//usr/doc/truevision/AUTHORS
 /bin/install -c -m 644 ./ChangeLog /var/tmp/portage/truevision-0.5.2/image//usr/doc/truevision/ChangeLog
 /bin/install -c -m 644 ./INSTALL /var/tmp/portage/truevision-0.5.2/image//usr/doc/truevision/INSTALL
 /bin/install -c -m 644 ./NEWS /var/tmp/portage/truevision-0.5.2/image//usr/doc/truevision/NEWS
 /bin/install -c -m 644 ./TODO /var/tmp/portage/truevision-0.5.2/image//usr/doc/truevision/TODO
 /bin/install -c -m 644 ./ABOUT-NLS /var/tmp/portage/truevision-0.5.2/image//usr/doc/truevision/ABOUT-NLS
/bin/sh ./mkinstalldirs /var/tmp/portage/truevision-0.5.2/image//usr/share/truevision
make  install-data-hook
make[3]: Entering directory `/var/tmp/portage/truevision-0.5.2/work/truevision-0.5.2'
update-mime-database "/var/tmp/portage/truevision-0.5.2/image//usr/share/mime"
***
* Updating MIME database in /var/tmp/portage/truevision-0.5.2/image//usr/share/mime...
***

Note that '/var/tmp/portage/truevision-0.5.2/image//usr/share' is not in the search path
set by the XDG_DATA_HOME and XDG_DATA_DIRS
environment variables, so applications may not
be able to find it until you set them. The
directories currently searched are:

- /root/.local/share
- /usr/local/share/
- /usr/share/

make[3]: Leaving directory `/var/tmp/portage/truevision-0.5.2/work/truevision-0.5.2'
make[2]: Leaving directory `/var/tmp/portage/truevision-0.5.2/work/truevision-0.5.2'
make[1]: Leaving directory `/var/tmp/portage/truevision-0.5.2/work/truevision-0.5.2'
/usr/lib/portage/bin/dodoc: AUTHORS does not exist.
/usr/lib/portage/bin/dodoc: README does not exist.
/usr/lib/portage/bin/dodoc: ChangeLog does not exist.
/usr/lib/portage/bin/dodoc: TODO does not exist.
man:
prepallstrip:
strip: strip --strip-unneeded
strip: strip --strip-unneeded
   usr/bin/truevision
>>> Completed installing truevision-0.5.2 into /var/tmp/portage/truevision-0.5.2/image/

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-media-gfx_-_truevision-0.5.2-2683.log"

mkdir:     /usr/share/gnome/help/truevision
mkdir:     /usr/share/gnome/help/truevision/C
mkdir:     /usr/share/gnome/help/truevision/C/figures
open_wr:   /usr/share/gnome/help/truevision/C
open_wr:   /usr/share/gnome/help/truevision/C
open_wr:   /usr/share/gnome/help/truevision/C
open_wr:   /usr/share/gnome/help/truevision/C
open_wr:   /usr/share/gnome/help/truevision/C
open_wr:   /usr/share/gnome/help/truevision/C
open_wr:   /usr/share/gnome/help/truevision/C
open_wr:   /usr/share/gnome/help/truevision/C
open_wr:   /usr/share/gnome/help/truevision/C
open_wr:   /usr/share/gnome/help/truevision/C/figures/interface_editor.png
open_wr:   /usr/share/gnome/help/truevision/C/figures/interface_glviews.png
open_wr:   /usr/share/gnome/help/truevision/C/figures/interface_objcreate.png
open_wr:   /usr/share/gnome/help/truevision/C/figures/interface_objeditor.png
open_wr:   /usr/share/gnome/help/truevision/C/figures/interface_objmaterial.png
open_wr:   /usr/share/gnome/help/truevision/C/figures/interface_objselect.png
open_wr:   /usr/share/gnome/help/truevision/C/figures/interface_toolbar.png
--------------------------------------------------------------------------------
Comment 4 Sven Winkelmann 2005-03-20 04:50:18 UTC
Created attachment 53925 [details]
truevision-0.5.2.ebuild

new ebuild
Comment 5 Sven Winkelmann 2005-03-25 23:53:22 UTC
if the build failed with the 0.5.2 ebuild test it with FEATURES="-sandbox" ACCEPT_KEYWORDS="~x86" emerge truevision 
otherwise edit 
einstall \
               PACKAGE_MATERIALS_DIR=${D}/usr/share/truevision/materials \
               PACKAGE_PIXMAPS_DIR=${D}/usr/share/pixmaps/truevision || die 

to: 
 make install DESTDIR=${D} \
                PACKAGE_MATERIALS_DIR=${D}/usr/share/truevision/materials \
                PACKAGE_PIXMAPS_DIR=${D}/usr/share/pixmaps/truevision || die 

thanks for this tipps goes to ShadowIce from the gentoo forum
Comment 6 Marnix Klooster 2005-06-05 22:03:56 UTC
See also http://bugs.gentoo.org/show_bug.cgi?id=84530 for a request to add
version 0.5.2 to portage.
Comment 7 Mike Vanecek 2005-07-02 10:02:21 UTC
Created attachment 62487 [details]
Modified the 0.5.2.ebuild posted here to build 0.5.4. 

I've only been able to compile it using:

# ACCEPT_KEYWORDS="~x86" FEATURES="-sandbox" emerge truevision

Otherwise, it works great so far. Is anyone maintaining truevision for Gentoo?
I'm very much guessing at stuff here and getting lucky so far...
Comment 8 Marcelo Goes (RETIRED) gentoo-dev 2005-08-13 16:35:09 UTC
Created attachment 65883 [details]
truevision-0.5.4.ebuild

Still has a sandbox problem with /etc/gnome-vfs-mime-magic and /usr/share/mime
(possibly related to "update-mime-database" in the Makefile).

This has to be fixed prior to inclusion in Portage.
Comment 9 Chris Mayo 2005-10-11 11:09:11 UTC
Created attachment 70382 [details]
truevision-0.5.5.ebuild

Update to version 0.5.5 and uses a patch (below) that means it doesn't need
sandboxing (inspired by tilp-6.76.ebuild).
Comment 10 Chris Mayo 2005-10-11 11:09:50 UTC
Created attachment 70383 [details, diff]
truevision-0.5.5-Makefile-mime-magic.patch
Comment 11 Sudrien 2005-11-05 10:39:14 UTC
Created attachment 72212 [details]
truevision-0.5.5-r1.ebuild

Some of the dependancies of the package were off.

Also a minor version bump.
Comment 12 Ryan Hendrickson 2005-12-03 04:31:11 UTC
I tried the 0.5.5-r1 ebuild and the emerge fails during configure:

  checking for gtk_gl_init in -lgtkglext-x11-1.0... no
  configure: error: Missing gtkglext library

But gtkglext-1.0.6-r2 is installed.  Is there something I'm doing wrong?

(attaching output, emerge info, and config.log)
Comment 13 Ryan Hendrickson 2005-12-03 04:40:25 UTC
Created attachment 73979 [details]
Output of emerge, config.log, and emerge info
Comment 14 Marcelo Goes (RETIRED) gentoo-dev 2006-01-13 11:51:56 UTC
Ok, 0.5.5.2 is in Portage, but it is in package.mask for testing.

I am getting a segfault (due to /usr/lib/python2.4/encodings/utf_8module.so not being found?), plus Ryan's problem that deserves to be looked at.
Comment 15 Marcelo Goes (RETIRED) gentoo-dev 2006-01-13 12:19:40 UTC
Created attachment 77022 [details]
truevision_gdb.log

My segfault was being caused by starfield.py. The ebuild won't install it anymore for the time being.
Comment 16 Chris Mayo 2006-01-13 13:38:41 UTC
For 0.5.5.2 in portage docs get installed in /usr/share/doc/truevision/:

/usr/share/doc/truevision/ABOUT-NLS
/usr/share/doc/truevision/AUTHORS
/usr/share/doc/truevision/COPYING
/usr/share/doc/truevision/ChangeLog
/usr/share/doc/truevision/INSTALL
/usr/share/doc/truevision/NEWS
/usr/share/doc/truevision/README
/usr/share/doc/truevision/TODO

and /usr/share/doc/truevision-0.5.5.2/:

/usr/share/doc/truevision-0.5.5.2/AUTHORS.gz
/usr/share/doc/truevision-0.5.5.2/ChangeLog.gz
/usr/share/doc/truevision-0.5.5.2/README.gz
/usr/share/doc/truevision-0.5.5.2/TODO.gz

How about:
rm -rf ${D}/usr/share/doc/${PN}

at the end of src_install()?
Comment 17 Marcelo Goes (RETIRED) gentoo-dev 2006-01-13 13:59:31 UTC
Thanks Chris, in cvs.
Comment 18 Chris Mayo 2006-01-14 02:54:32 UTC
The GNOME menu entry doesn't work. /usr/share/applications/truevision.desktop has:
Exec=truevision -f %f

But running truevision -f (i.e. without a filename) gives you:

Error on option -f: missing argument.
Run 'truevision --help' to see a full list of available command line options.

f-spot solves what looks like a similar issue with two .desktop files. Only one  with the mimetype and commandline option. I suggest some more for the second half of src_install():

echo "NoDisplay=true" >> ${D}/usr/share/applications/truevision.desktop
make_desktop_entry truevision "Truevision" /usr/share/pixmaps/truevision/gnome-truevision.png "Graphics;3DGraphics;RasterGraphics;"

Maybe rename the original .desktop to show why it is there?

Comment 19 Marcelo Goes (RETIRED) gentoo-dev 2006-01-14 11:22:08 UTC
Cool, worked for me too. In cvs. Thanks for your input!
I don't think it's necessary to rename the original entry, so I'm leaving it as it is for now.
Comment 20 Marcelo Goes (RETIRED) gentoo-dev 2006-01-16 10:41:13 UTC
0.5.5.2 unmasked. Please file new bugs for issues with truevision.
Comment 21 Ryan Hendrickson 2006-01-20 00:31:41 UTC
In case anyone else finds this while searching for the solution to the same trouble I had: truevision-0.5.5.2 still doesn't build against gtkglext-1.0.6-r2.

It does, however, build just fine against gtkglext-1.0.6-r3.
Comment 22 Marcelo Goes (RETIRED) gentoo-dev 2006-01-20 07:12:12 UTC
Fixed in cvs, thanks Ryan.
Comment 23 Marcelo Goes (RETIRED) gentoo-dev 2006-03-02 12:07:01 UTC
x86: I think you can mark this stable if you find it appropriate.
Comment 24 Mark Loeser (RETIRED) gentoo-dev 2006-03-10 20:15:06 UTC
stable on x86, thanks.