Hi all, does anybody whant to make an ebuild for Amanith(http://www.amanith.org/). It is a Crossplatform & Opensource C++ Vector Graphic Framework. Leo
Did it. The ebuild is available in the gentoo-sunrise overlay, you can download it directly here: http://gentoo-sunrise.org/svn/reviewed/media-libs/amanith/
Created attachment 90910 [details] amanith-0.3.ebuild
Created attachment 90911 [details] files/0.3-plugins_dep.patch
Created attachment 90912 [details] files/0.3-examples_gcc4.patch
Please take the ebuild always from the sunrise-overlay if you want to test.
This compiles under amd64. Please add ~amd64 keyword.
in portage
error compiling amanith on amd64... x86_64-pc-linux-gnu-gcc -c -march=k8 -O2 -mmmx -msse -msse2 -m3dnow -pipe -march=k8 -O2 -pipe -Wall -W -fPIC -DUSE_QT4 -D_OPENGLEXT_PLUGIN -D_JPEG_PLUGIN -D_PNG_PLUGIN -D_FONTS_PLUGIN -DDOUBLE_REAL_TYPE -DG_MAKE_DLL -DGLEW_BUILD -DG_MAKE_PLUGIN -I/usr/share/qt4/mkspecs/linux-g++ -I. -I../include -I/usr/include -I. -o glew.o ../src/support/glew.c ../src/support/glew.c: In function ‘glewContextInit’: ../src/support/glew.c:4736: error: assignment of read-only location . . . ../src/support/glew.c:7038: error: assignment of read-only location ../src/support/glew.c:7039: error: assignment of read-only location follow the same error at every line of the source file glew.c I have glew-1.4.0 (stable version) installed... maybe needs glew-1.5.0? ------------------------------------- Portage 2.1.4.4 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r4 x86_64) ================================================================= System uname: 2.6.24-gentoo-r4 x86_64 AMD Athlon(tm) 64 Processor 3200+ Timestamp of tree: Wed, 21 May 2008 04:56:01 +0000 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7, 2.1.6 dev-lang/python: 2.4.4-r9 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O2 -mmmx -msse -msse2 -m3dnow -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=k8 -O2 -mmmx -msse -msse2 -m3dnow -pipe" DISTDIR="/var/tmp/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="it_IT.UTF-8" LC_ALL="it_IT.UTF-8" LINGUAS="it" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/overlays/sunrise /usr/local/overlays/gnome-experimental /usr/local/overlays/xeffects /usr/local/overlays/java-overlay /usr/local/overlays/fluendo-elisa /usr/local/overlays/zugaina /usr/local/overlays/armagetron /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext 7zip X a52 aac acl acpi alsa amd64 amuled apache2 asf audacious avi bash-completion berkdb browserplugin bzip2 cairo cddb cdparanoia cdr chm cli cracklib crypt cups curl dbus directfb dri dts dv dvd dvdr dvdread eds emboss encode esd ethereal evo exif expat fam fbcon fbsplash ffmpeg firefox flac gcj gd gdbm gif glut gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal iconv idn ieee1394 imagemagick innodb ipod ipv6 isdnlog jack java jpeg jpeg2k kerberos lcms ldap libnotify libvisual lirc lzo mad matroska midi mikmod mmx mng mod modplug mono mozsvg mp3 mpd mpeg mudflap musepack mysql mythtv ncurses nfs nls nptl nptlonly nsplugin nvidia objc odbc ogg oggvorbis openal openexr opengl openmp pam pcre pdf perl png postgres pppd python qt qt3 qt3support qt4 quicktime readline reflection samba scanner sdl session skins sndfile speex spell spl sqlite srt sse sse2 sse3 ssl startup-notification stream streamout svg tagwriting tcpd tga theora threads tiff truetype tv unicode usb userlocales v4l vcd vhosts vorbis wacom wavpack webservices wmf wxwindows x264 xine xinerama xml xml2 xorg xosd xpm xv xvid xvmc zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Tried with glew-1.5... same error.. any idea?
With use=opengl running into same issue at #8/#9 (for both glew versions), with use=-* paludis chokes on dolib because there are no files 'plugins/*.so*' (might be a paludis error, not sure about that one...), but it compiles and installs for me without opengl support (with png, jpeg and truetype in use). I'm on amd64 2008.0 profile, most packages stable, not using any special optimizations... If more details are required, please ask.