Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 83167

Summary: wxMaxima-0.6.0 ebuild
Product: Gentoo Linux Reporter: Andreas Volz <linux>
Component: New packagesAssignee: Gentoo Science Related Packages <sci>
Status: RESOLVED FIXED    
Severity: enhancement CC: basic, gilles, grozin, pacho, rwsims, smustudent1, yosefm
Priority: High    
Version: 2004.3   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: wxMaxima version 0.6.1 ebuild, tested working on x86
A different take on the 0.6.1 ebuild
The makefile patch that changes the location of the docs.

Description Andreas Volz 2005-02-24 03:40:37 UTC
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit eutils
DESCRIPTION="wxMaxima is a wxWidgets GUI for the computer algebra system maxima."
HOMEPAGE="http://wxmaxima.sourceforge.net/"
SRC_URI="mirror://sourceforge/wxmaxima/${P}.tar.gz"
LICENSE="GPL"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
DEPEND=">=sci-mathematics/maxima-5.9.1
        >=x11-libs/wxGTK-2.4.0
        >=dev-libs/libxml2-2.5.0"

S=${WORKDIR}/${P}

src_compile() {
    econf || die "econf failed"
    emake || die "emake failed"
}

src_install() {
    make DESTDIR=${D} install || die
}
Comment 1 Ben Schwartz 2005-05-24 06:54:43 UTC
Created attachment 59701 [details]
wxMaxima version 0.6.1 ebuild, tested working on x86

This is an ebuild for the newest wxMaxima, tested to work (though I had
unrelated issues with cmucl).  It looks quite nice.

Note that since sourceforge is case-sensitive, the ebuild as currently written
must be called 'wxMaxima' not 'wxmaxima'.  That would be easy enough to change.


This should be added to portage, tested, and stabilized.
Comment 2 Cliff Yapp 2005-06-06 11:13:22 UTC
I think to print in Linux wxMaxima requires WxWidgets specifically setup as 
follows:
>= 2.6.0, the gtk2 port, and also --with-gnomeprint 

Perhaps this shouldn't be the default, but printing is a nice feature to have 
available.  
Comment 3 Yosef Meller 2005-06-09 07:00:00 UTC
Created attachment 60904 [details, diff]
A different take on the 0.6.1 ebuild

An ebuild for said package (version 0.6.1) with attention to common mistakes
described in the Developer Handbook, as well as creation of a desktop entry (In
the right place, I hope) and patching the makefile to put the docs in
/usr/share/doc/wxMaxima instead of /usr/share/wxMaxima
Comment 4 Yosef Meller 2005-06-09 07:01:44 UTC
Created attachment 60905 [details]
The makefile patch that changes the location of the docs.
Comment 5 Sébastien Fabbro (RETIRED) gentoo-dev 2006-01-26 11:22:59 UTC
Ebuild for wxmaxima-0.6.4 in the gentoo science overlay: http://gentooscience.org.
I added some changes as well.
Comment 6 Andrey Grozin gentoo-dev 2006-05-25 02:28:34 UTC
wxmaxima-0.6.5 from gentooscience.org does not compile for me:

wxMaxima.cpp: In member function `void wxMaxima::EditMenu(wxCommandEvent&)':
wxMaxima.cpp:1117: error: `wxID_PREFERENCES' undeclared (first use this
   function)
wxMaxima.cpp:1117: error: (Each undeclared identifier is reported only once for
   each function it appears in.)
wxMaxima.cpp: In member function `void wxMaxima::HelpMenu(wxCommandEvent&)':
wxMaxima.cpp:2165: error: `wxHELP_SEARCH_INDEX' undeclared (first use this
   function)
make[2]: *** [wxMaxima.o] Error 1

Here is my emerge --info

Portage 2.0.54-r2 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.6-r3, 2.6.14-gentoo-r5 i686)
=================================================================
System uname: 2.6.14-gentoo-r5 i686 Intel(R) Pentium(R) M processor 1400MHz
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5-r2, 2.4.2
dev-python/pycrypto: [Not Present]
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=pentium3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.rz.tu-bs.de/pub/mirror/ftp.gentoo.org/gentoo-distfiles/"
LINGUAS="ru"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/sci"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X acpi alsa arts audiofile avi bash-completion berkdb bitmap-fonts browserplugin bzip2 cdr cli crypt cups curl doc dri eds emacs emboss encode esd exif expat fam ffmpeg foomaticdb fortran gd gdbm gif glut gmp gnome gpm gstreamer gtk gtk2 gtkhtml guile hal idn imagemagick imlib ipv6 isdnlog java jpeg kde lcms ldap leim libg++ libwww mad mikmod mng motif mp3 mpeg mule ncurses nls nptl offensive ogg oggvorbis opengl oss pam pcre pdflib perl png pppd python qt quicktime readline recode reflection ruby sdl session speex spell spl ssl tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts udev usb vorbis xine xml xml2 xmms xorg xv xvid zlib linguas_ru userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS
Comment 7 Pacho Ramos gentoo-dev 2006-06-11 04:10:40 UTC
I have installed wxmaxima-0.6.5 using:
http://bugs.gentoo.org/attachment.cgi?id=60904
http://bugs.gentoo.org/attachment.cgi?id=60905

With no problems

Please, add it to portage tree

Thanks :)

Portage 2.1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r3, 2.6.16-suspend2-r6 i686)
=================================================================
System uname: 2.6.16-suspend2-r6 i686 Genuine Intel(R) CPU           T2300  @ 1.66GHz
Gentoo Base System version 1.6.14
ccache version 2.3 [enabled]
dev-lang/python:     2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe -fomit-frame-pointer -march=pentium-m"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer -mfpmath=sse -msse2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/ "
LANG="es_ES.UTF-8"
LINGUAS="es"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi aim alsa ansi apache2 arts asf audiofile avi bash-completion bcmath bidi bitmap-fonts bonobo bzip2 bzlib cairo caps cdb cddb cdparanoia cdr cdrparanoia cli cpdflib cross crypt cscope css ctype cups curl curlwrappers dbus dga dio directfb divx4linux dri dts dv dvb dvd dvdr dvdread eds emboss encode escreen esd evo exif fam fbcon ffmpeg fftw flac foomaticdb fortran ftp gb gcj gd ggi gif gimp gimpprint glut glx gmp gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal howl iconv imagemagick imlib ipv6 isdnlog jabber jack java jbig jikes jpeg kde kdeenablefinal latex lcms ldap lesstif libg++ libwww logrotate lua mad mbox mikmod mime ming mmap mmx mmxext mng mono motif mozilla mp3 mpeg mpi nas ncurses nethack nls nocd nptl nsplugin ntfs nvidia ogg oggvorbis openal opengl opnegl oss pam pcmcia pcre pdflib perl pic png pnp posix ppds pppd python qt quicktime readline real reflection reiserfs rtc ruby scanner sdl session slang slp smp sndfile sockets socks5 speex spell spl sse sse2 ssl svg svga tcltk tcpd tetex tga theora threads tiff truetype truetype-fonts trusted type1-fonts udev unicode usb userlocales v4l v4l2 vcd videos vorbis wifi win32codecs wma wmf wxwindows x86 xine xml xml2 xmms xorg xpm xscreensaver xv xvid zlib elibc_glibc kernel_linux linguas_es userland_GNU video_cards_nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 8 Sébastien Fabbro (RETIRED) gentoo-dev 2006-06-11 09:16:33 UTC
(In reply to comment #7)
> I have installed wxmaxima-0.6.5 using:
> http://bugs.gentoo.org/attachment.cgi?id=60904
> http://bugs.gentoo.org/attachment.cgi?id=60905
> 
> With no problems
> 
> Please, add it to portage tree

Please test the one in the scientific overlay instead. Many problems were fixed, and works with gcc-4.1
Comment 9 Roman Polach 2006-06-15 15:38:19 UTC
gentooscience ebuild wxmaxima-0.6.5-r1 works for me.
Only small note: it requires en_GB locale and if not found,
it shows "Cannot set locale to 'en_GB'"
Comment 10 Jakub Moc (RETIRED) gentoo-dev 2006-08-15 00:25:22 UTC
*** Bug 143968 has been marked as a duplicate of this bug. ***
Comment 11 Sébastien Fabbro (RETIRED) gentoo-dev 2007-02-23 11:33:47 UTC
wxmaxima-0.7.1 now in main tree. Thanks all for testing.