The sources are available from https://lg3d.dev.java.net/ Does anyone have time to write a ebuild for it? Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 34461 [details] lookingglass-0.5.ebuild Have done som work, but a lot is remaining. (one dependency needs to be added, and even then I am not sure if it will work)
Created attachment 34462 [details] lookingglass-0.5.ebuild
Created attachment 34465 [details] lookingglass-0.5.ebuild Bouth lg3d-dev and lg3d-session depends on a script, "setup", in the same directory. So linking did no good. Instead, this script creates a script that cd's to the scripts homedirs and executes them instead.
PS! In case somone wants to finish this while I get some sleep: A instalation-guide is available at https://lg3d-core.dev.java.net/lg3dgettingstarted.html
The dependicies jai and sun-java3d can be uncommented. There is a sun-java3d ebuild Find it here : http://bugs.gentoo.org/show_bug.cgi?id=55646
Created attachment 34477 [details] lookingglass-0.5.ebuild move scripts out of /bin to /usr/bin move program files from /usr/share/ to /opt added a die script as looking glass doesnt play nicely when quitting
Created attachment 34486 [details] lookingglass-0.5.ebuild Dependency uncommented. Thanks! :)
Created attachment 34494 [details] lookingglass-0.5.ebuild forgot to remove a "
Comment on attachment 34494 [details] lookingglass-0.5.ebuild # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="Looking Glas - 3D windows manager writen in Java" HOMEPAGE="https://lg3d.dev.java.net/" SRC_URI="https://lg3d-core.dev.java.net/files/documents/1834/5501/lg3d-${PV}.ta r.gz" LICENSE="GPL" SLOT="0" KEYWORDS="~x86" DEPEND=">=dev-java/sun-jdk-1.5.0_beta2 dev-java/jai dev-java/sun-java3d" src_install() { cd $P/work/ dodir /opt cp -R lg3d ${D}/opt cd ${D}/opt/lg3d/bin dodir /usr/bin echo "#!/bin/sh" >> ${D}/usr/bin/lg3d-dev echo "cd /opt/lg3d/bin" >> ${D}/usr/bin/lg3d-dev echo "./lg3d-dev" >> ${D}/usr/bin/lg3d-dev echo "#!/bin/sh" >> ${D}/usr/bin/lg3d-session echo "cd /opt/lg3d/bin" >> ${D}/usr/bin/lg3d-session echo "./lg3d-session" >> ${D}/usr/bin/lg3d-session echo "#!/bin/sh" >> ${D}/usr/bin/lg3d-die echo "killall -9 java" >> ${D}/usr/bin/lg3d-die echo "killall -9 rmiregistry" >> ${D}/usr/bin/lg3d-die chmod +x ${D}/usr/bin/lg3d-* chmod u+s ${D}/opt/lg3d/ext/lg3d-x11/programs/Xserver/XFree86 dodir /etc/X11/Sessions dosym /usr/bin/lg3d-session /etc/X11/Sessions/lookingglas } pkg_postinst() { echo "" echo "To run Looking Glass, the screen must be in 24-bit mode" echo "To run in window, run lg3d-dev" echo "To run as a session, run lg3d-session" echo "" }
Created attachment 34497 [details] lookingglass-0.5.ebuild must have uploaded wrong file...
Can someone please remove comment 9 and 10? (and this comment)
Created attachment 34569 [details] lookingglass-0.5.ebuild explains what lg3d-die is for fixes up the session symlink to lookingglass not lookingglas
Created attachment 34570 [details] lookingglass-0.5.ebuild fixed up my bad english
Created attachment 34677 [details] lookingglass-0.5.ebuild fixed (some of) MY bad english :)
Created attachment 34727 [details] lookingglass-0.5.ebuild Cosmetic changes to make it more likely this goes into portage. btw, has anyone tryed this on other VM's than Suns?
I thought project looking glass was open sourced? Why doesn't this ebuild compile the project from source code? Does the license prohibit that?
you can get the source via cvs but you need an account at dev.java.net for that and you need to apply to be an observer..... so its probably just easier to use binary
Created attachment 35000 [details] lookingglass-0.5.ebuild removed lg3d-session and lg3d-dev scripts as /opt/lg3d/bin is in $path moved lg3d-die to /opt/lg3d/bin for the same reason
One of the main strengths of Gentoo is the ability to customize your software at installation time. This also includes patching the software with site-specific as they are compiled. This is not possible for binary-only packages. As you are probably aware of, we have adopted a policy of only including ebuilds that build software from source code, provided the source code exists. As Project Looking Glass is licensed under the GNU GPL, so the source code must be available for it. I suggest making out a bug against the project on dev.java.net, requesting a separate source drop alongside every binary drop. This has worked well in the past for other projects on dev.java.net.
Just asked them: https://lg3d.dev.java.net/issues/show_bug.cgi?id=3
Thanks for this ebuild. Will it work with a sun-jdk version 1.4.2_* ?
Officially not. (You could always try it, and report here if you can make it work) It did not work with the stable blackdown in portage, as a sidenote.
a looking glass ebuild has been added to the tree as x11-misc/lookingglass-bin it will be package.mask'ed for a few days, as it needs an update to java-config which is not yet available
All there now :-)