GLUI, http://www.cs.unc.edu/~rademach/glui/, is a GLUT-based C++ user interface.
Created attachment 13620 [details] GLUI's ebuild. This is the ebuild for GLUI. This is my first ebuild and I hope it is correct.
please attach the ebuild as text/plain as the ebuild contribution howto says.
Created attachment 13669 [details] glui ebuild
patch -p0 < ${FILESDIR}/${GLUI_GENTOO_PATCH} || die "patch failed " epatch() is preferred here. It automatically corrects things such as directory tree and -p? problems. Syntax: epatch $patch_filename || die Secondly, do you have to manually use an install script? What's wrong with einstall || die Thirdly, next time you attach an ebuild make sure content-type is set to auto or text :-)
Created attachment 14479 [details] ebuild for glui New and improved ebuild for glui.
Created attachment 14480 [details] ebuild for glui New and improved ebuild for glui.
Created attachment 14481 [details, diff] patch for glui New patch for glui. Use this with ebuild r3.
Another question for you. emerge glui works but it does not use the CFLAGS and CXXFLAGS from /etc/make.conf. I am using emake. --- Thanks.
sorry this took so long. but i've decided not to add this to portage simply because i can't find any applications that use this and there hasn't been any additional requests for it. i hope this doesn't discourage you from submitting any ebuilds in the future. if you feel strongly about having this in portage, try and gather some support for its inclusion so i know that you are not the only one who is going to use it. otherwise, a good idea would be to send your ebuild to the author and get them to include it on their homepage. thanks again
Ok. Thanks for letting me know. And don't worry, this hasn't discourage me from creating/submitting any ebuilds.
I am interested in seeing GLUI in Portage, though I'm happy using overlay if there's not enough interest. One of my courses this semester requires that we use GLUI. I will be attaching a slightly improved ebuild and patch shortly.
Created attachment 23436 [details] Updated ebuild for GLUI I've updated the ebuild to use a more comprehensive patch (from Debian's GLUI package), which I will attach. This ebuild respects CC, CXX, CFLAGS, and CXXFLAGS. This ebuild does not install the example files. I think that a new, separate Makefile for the examples should be installed instead of installing the binaries and source with no way to recompile the examples. At the very least, a separate Makefile would provide a starting point for users.
Created attachment 23437 [details, diff] Patch for updated GLUI ebuild
thanks for letting me know there's additional interest for this, but without any dependent application on these libraries, it is difficult to maintain them. i'll keep an eye out for this bug, in case if does gain a couple of people wanting this. the best way would be to post the ebuild to the author and ask them to include it on their homepage. for instance, there are applications which i've found unstable to put into portage, but after posting it to development mailing lists, a couple people have found them useful.
Created attachment 50628 [details] glui-2.2.ebuild ebuild for 2.2, based on comment #12 (will attach diff later) and using patches from debian unstable. I will attach a diff against comment #12.
Created attachment 50629 [details, diff] glui_2.1_to_2.2.diff diff against ebuild for 2.1
Created attachment 50630 [details, diff] glui-2.2-debian.diff The modified patchset from debian unstable, also has s/2.1/2.2/ on the debian-provided Makefile (which still refered to version 2.1 and I assume thus installed the wrong .so numbers -- I didn't try the original).
Created attachment 50643 [details] glui-2.2-r1.ebuild Updated version, didn't test properly earlier.
Created attachment 50644 [details, diff] glui_2.1_to_2.2-r1.diff
Created attachment 50645 [details, diff] glui-2.2-r1-debian.diff
Created attachment 121825 [details] ebuild for glui-2.35 Hi folks... It seems there aren't many project that use glui (the glui sf page lists http://doris.sourceforge.net/). This is obviously the reason why there is no official ebuild in portage. Nevertheless I created one because in the classes at university we needed it. So I post the ebuild here hoping it will serve someone somewhere...