scottdraves / electricsheep

infinite evolving crowdsourced artwork
http://electricsheep.org
553 stars 70 forks source link

GLee no longer available from author's site #44

Open wolfwood opened 7 years ago

wolfwood commented 7 years ago

http://elf-stone.com/glee.php is empty.

The Gentoo Linux package for GLee has been pulled, probably because of this.

This is what I did to get GLee built using the Ubuntu Launchpad sources.

  1. install the dependency if you don't have it somehow: media-libs/mesa

  2. grab the glee_5.4.0.orig.tar.gz and glee_5.4.0-2.debian.tar.bz2 tarballs.

  3. untar the debian tarball (which doesn't have source, but does have their modern Makefile), which creates a debian directory.

  4. make a directory to untar the orig tarball, since it is naked, and untar inside that dir.

  5. copy GLee.h and GLee.c from orig to the debian directory

  6. cd to the debian directory and make && make install. DESTDIR can kinda be used to control install directory, but /usr/ is appended to any dir you specify, so setting DESTDIR=/usr/local will not work as expected.

The main issue with the orig tarball's Makefile is that it doesn't pass -fPIC which makes my ld very sad. so it is also possible to ignore the debian package entirely and CXXFLAGS=-fPIC ./configure && make && make install in the directory you untar'd orig into. in theory this is nicer because you can pass --prefix= to GLee's configure script in the usual way, but the make install doesn't properly create the include or include/GL directories, so you need to manually intervene.

The other packages I needed in order to build electricsheep on Gentoo:

I installed these, but they don't seem to be linked aganst the executable?

other dependencies that the binary depends on:

I already had the following installed, but they seem to be build dependencies

I believe the following are no longer needed, as I did not have them installed

scottdraves commented 7 years ago

Thanks! I linked this from our wiki: https://github.com/scottdraves/electricsheep/wiki/Compiling

kallisti5 commented 7 years ago

I cloned the GLee repo from sourceforge.. last activity seems to be from 2011. Looks like the original author abandoned it. https://github.com/kallisti5/glee I'm not really interested in keeping up development, unless someone else is I'd recommend moving away from GLee.

tharvik commented 7 years ago

I've added x11-misc/electricsheep to my overlay, alongside media-libs/glee and x11-misc/flam3, all in live version.

wolfwood commented 7 years ago

@tharvik thank you for sharing. right now I'm having an issue, but I think need to upgrade my nvidia drivers. I'll spend some more time with it this weekend.

wolfwood commented 7 years ago

managed to see a sheep tonight, but it seems that there is some Nvidia driver issue, possibly pertaining to GLVND? 'LD_LIBRARY_PATH=/usr/lib64/opengl/nvidia/lib electricsheep' worked, simply enabling the compat USE flag didn't seem to, although I didn't restart X.

tharvik commented 7 years ago

@wolfwood it looks more like a gentoo/nvidia issue than really an electricsheep one. x11-drivers/nvidia-drivers is hell, x11-drivers/xf86-video-nouveau works very well, consider switching. If I'm correct, the fix you gave should be handled by eselect opengl directly.

Schievel1 commented 2 years ago

Just wanted to point out, you can still download glee from the authors website, no need to pull it out of a debian package or something. https://elf-stone.com/downloads/GLee/