Chris Coyne created a small language for design grammars. These grammars are sets of non-deterministic rules to produce images. The images are surprisingly beautiful, often from very simple grammars. Chris' program was a command line program for unix-like systems. We couldn't wait to play with creating our own images, but we wanted a full graphical environment for exploring them. Hence, Context Free, an environment for editing and rendering CFDG design grammars. Reproducible: Always Steps to Reproduce: :)
Created attachment 66608 [details] ContextFree working ebuild revision 1 heres a working ebuild. Note - my version of yacc had different syntax that the one in the original Makefile. I have a patch for swtiching it to bison (maybe a USE flag?). No config file, also tarball is ContextFree... no version information. I put it in media-gfx btw. Unsure if .txt prefixed should be on docs.
Created attachment 66609 [details, diff] Patch for Makefile (yacc to bison) On my machine at least dev-util/yacc-1.9.1-r2 would not compile. bison-1.875d would.
*** Bug 233259 has been marked as a duplicate of this bug. ***
Created attachment 161637 [details] Building fails while patching with context-free-1.1 Failed to build 1.1 version of Context free. According to website, this is a really old release.
Created attachment 161817 [details] context-free-2.2_beta2.ebuild Fresh version. I suggest this ebuild to be included in media-gfx category.
Created attachment 161819 [details, diff] context-free-2.2_beta2-fix-cpp-headers.patch GCC 4.3 release introduced some changes regarding headers (see http://gcc.gnu.org/onlinedocs/libstdc++/manual/api.html#api.rel_430), this patch fixes Context Free source so it compiles fine. The issue was reported to the program developer and fixed upstream, though new release is not available yet. Therefore the patch is likely to become unnecessary in future versions.
Created attachment 161824 [details] context-free-2.2_beta2.ebuild (r1) Fixed description, tests added
Context Free 2.2 beta 2 ebuild is available in Sunrise overlay under `media-gfx/context-free`: http://overlays.gentoo.org/svn/proj/sunrise/reviewed/media-gfx/context-free/
Created attachment 191403 [details] new ebuild
(In reply to comment #9) > Created an attachment (id=191403) [edit] > new ebuild > Working fine on my ~amd64 machine: paludis -I paludis 0.36.1 Paludis build information: Compiler: CXX: /usr/lib/icecc/bin/g++ 4.3.3 CXXFLAGS: -O2 -march=core2 -pipe -fomit-frame-pointer -mssse3 LDFLAGS: -Wl,-O1 DATE: 2009-04-30T02:54:01+0200 Libraries: C++ Library: GNU libstdc++ 20090124
(In reply to comment #9) > Created an attachment (id=191403) [edit] > new ebuild > `src_unpack` is default and may be omitted
Can anyone provide new ebuild for 2.2.2 version? Old ebuild for 2.2_beta2 does not work anymore for me.