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
Empty metadata.xml, please be so nice and take over gfx herd. Thanks. :)
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 :(
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 --------------------------------------------------------------------------------
Created attachment 53925 [details] truevision-0.5.2.ebuild new ebuild
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
See also http://bugs.gentoo.org/show_bug.cgi?id=84530 for a request to add version 0.5.2 to portage.
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...
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.
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).
Created attachment 70383 [details, diff] truevision-0.5.5-Makefile-mime-magic.patch
Created attachment 72212 [details] truevision-0.5.5-r1.ebuild Some of the dependancies of the package were off. Also a minor version bump.
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)
Created attachment 73979 [details] Output of emerge, config.log, and emerge info
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.
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.
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()?
Thanks Chris, in cvs.
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?
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.
0.5.5.2 unmasked. Please file new bugs for issues with truevision.
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.
Fixed in cvs, thanks Ryan.
x86: I think you can mark this stable if you find it appropriate.
stable on x86, thanks.