Hello community, here is the log from the commit of package wxMaxima for openSUSE:Factory checked in at 2015-08-28 08:27:12 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/wxMaxima (Old) and /work/SRC/openSUSE:Factory/.wxMaxima.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "wxMaxima" Changes: -------- --- /work/SRC/openSUSE:Factory/wxMaxima/wxMaxima.changes 2015-02-13 08:35:16.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.wxMaxima.new/wxMaxima.changes 2015-08-28 08:27:20.000000000 +0200 @@ -1,0 +2,72 @@ +Wed Aug 19 10:08:15 UTC 2015 - badshah...@gmail.com + +- Update to version 15.08.0: + + MathJAX now provides scaleable equations and extended + drag-and-drop for the html export. + + The table-of-contents-sidebar now shows the current cursor + position. + + Fixed a few instances of cursors jumping out of the screen. + + Fixed a few instances of cursors jumping to the beginning or + end of the worksheet. + + Better detection which cell maxima is processing and if it + still is doing so. + + Regression: Hiding the toolbar didn't work on some systems. + + Markdown support for <=, >=, <=>, <-, ->, <->, => and +/- + symbols. + + An option to not export maxima's input as well as the output. + + An option to use High-resolution bitmaps for the HTML export. + + Images that are too big for the window now are displayed in a + scaled-down version. + + Fixed the support for out-of-tree-bulds that was broken in 15.04. + + Meaningful ALT texts for the HTML export to provide accessibility. + + An option to include the .wxmx file in the .html export. + + Performance fixes that are espectionally effective for MSW + + Unification of some platform-specific code. + * bash autocompletion. + + A fourth sectioning level. + + Made entering uppercase greek letters easier and documented + how to input special unicode symbols. + + Syntax highlighting in code cells. + + Automatic highlighting of text equal to the currrently + selected one. + + A batch mode that pauses evaluation if maxima asks a question. + + A "halt on error" feature. + + Now evaluation of a new command is only triggered if + evaluation of the last command has finished. This means that + output from maxima is always appended to the right cell. + + Un-broke error and question handling for multiple commands per + cell. Sincewe now send maxima's input command-per-command this + means a cell with multiple commands is no more evaluated + faster than multiple cells with single commands each. + + If ever a end-of-evaluation marker gets lost there is a new + "trigger evaluation" menu entry in the maxima menu. + + On wxGtk autocompletion was replaced by a content assistant + that is based on the surprisingly powerful autocompletion + feature. + + Ctrl+Tab now launches the autocompletion (or content + assistant, if available). + + Tab and Shift+Tab now indent and unindent regions. + + Ctrl+Mouse wheel and Ctrl++/- now zoom in and out of the + worksheet. + + Allow Extending selection from part of a single cell to + multiple cells. + + An Autoindent functionality. +- Changes from version 15.04.0: + + See /usr/doc/packages/wxMaxima/ChangeLog file. +- Explicit dependency on wxwidgets >= 3.0. +- Update maxima version required for building. +- Package ChangeLog file available in upstream tarball since + version 15.04.0. +- Add patch required because upstream missed a few files from + the tarball: + + wxMaxima-missing-make-targets.patch (touches autotool files + BR on autoreconf required). +- Generate and install hicolor icons from the bundled svg icon + file; introduces BR on inkscape, hicolor-icon-theme. +- Use %post and %postun scriptlets as necessary. +- Update filelist to include new files installed by upstream, as + well as hicolor icons. +- Update desktop menu filename to be consistent with upstream; add + Mimetypes specification to .desktop file. + +------------------------------------------------------------------- Old: ---- wxmaxima-14.12.1.tar.gz wxmaxima.desktop New: ---- wxMaxima-missing-make-targets.patch wxMaxima.desktop wxmaxima-15.08.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ wxMaxima.spec ++++++ --- /var/tmp/diff_new_pack.CVjEie/_old 2015-08-28 08:27:22.000000000 +0200 +++ /var/tmp/diff_new_pack.CVjEie/_new 2015-08-28 08:27:22.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package wxMaxima # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,35 +19,36 @@ %define tarname wxmaxima Name: wxMaxima -Version: 14.12.1 +Version: 15.08.0 Release: 0 Summary: Graphical User Interface for the maxima Computer Algebra System License: GPL-2.0+ Group: Productivity/Scientific/Math Url: http://wxmaxima.sourceforge.net/ Source0: http://download.sourceforge.net/wxmaxima/%{tarname}-%{version}.tar.gz -Source1: wxmaxima.desktop +Source1: wxMaxima.desktop Source2: %{name}-rpmlintrc +# PATCH-FIX-UPSTREAM wxMaxima-missing-make-targets.patch gh#andrejv/wxmaxima#549 badshah...@gmail.com -- Add file missed by upstream during release; patch taken from upstream and rebased for release version +Patch0: wxMaxima-missing-make-targets.patch BuildRequires: autoconf BuildRequires: automake +BuildRequires: hicolor-icon-theme +# REQUIRED TO GENERATE HI-RES ICONS BuildRequires: fdupes BuildRequires: gcc-c++ -BuildRequires: maxima >= 5.13.0 -%if 0%{?suse_version} >= 1320 +BuildRequires: inkscape +BuildRequires: maxima >= 5.30.0 BuildRequires: wxWidgets-devel >= 3 -%else -BuildRequires: wxWidgets-wxcontainer-devel -%define _use_internal_dependency_generator 0 -%define __find_requires %wx_requires +%if 0%{?suse_version} +BuildRequires: update-desktop-files %endif # gnuplot is needed for plotting Requires: gnuplot # libgnomeprint is needed for printing Requires: libgnomeprint -Requires: maxima >= 5.13.0 -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif +Requires: maxima >= 5.30.0 +Requires(post): %install_info_prereq +Requires(preun): %install_info_prereq BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -71,35 +72,76 @@ %prep %setup -q -n %{tarname}-%{version} +%patch0 -p1 %build autoreconf -i %configure \ --enable-printing \ - --enable-unicode-glyphs + --enable-unicode-glyphs \ + --docdir=%{_docdir}/%{name} make %{?_smp_mflags} %install %makeinstall -install -D -m 644 %{SOURCE1} %{buildroot}%{_datadir}/applications/wxmaxima.desktop -install -D -m 644 ./data/wxmaxima.png %{buildroot}%{_datadir}/pixmaps/wxmaxima.png +# REMOVE UPSTREAM INSTALLED DESKTOP FILE BECAUSE IT IS INCOMPLETE... +rm %{buildroot}%{_datadir}/applications/wxMaxima.desktop +# ...THEN INSTALL OURS +install -D -m 644 %{SOURCE1} %{buildroot}%{_datadir}/applications/wxMaxima.desktop + +# INSTALL HI-RES ICONS GENERATED OUT OF UPSTREAM SVG ICON +for i in 24 32 48 64 128 256 512 +do + inkscape -w ${i} data/wxmaxima.svg -e wxmaxima-${i}.png + install -D -m 0644 wxmaxima-${i}.png %{buildroot}%{_datadir}/icons/hicolor/${i}x${i}/apps/wxmaxima.png +done +install -D -m 0644 data/wxmaxima.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/wxmaxima.svg + +# REMOVE UNNECESSARY ICONS OUT OF PIXMAPS +rm %{buildroot}%{_datadir}/pixmaps/wxmaxima* + +# REMOVE UNNECESSARY MENU FILE +rm %{buildroot}/%{_datadir}/menu/wxmaxima.menu + %if 0%{?suse_version} -%suse_update_desktop_file -n wxmaxima +%suse_update_desktop_file wxMaxima %endif %if 0%{?suse_version} -%fdupes %buildroot/%_prefix +%fdupes %{buildroot}%{_prefix} %endif %find_lang %name +%post +%desktop_database_post +%icon_theme_cache_post +%mime_database_post +%install_info --info-dir=%{_infodir} %{_infodir}/wxmaxima.info.gz + +%postun +%desktop_database_postun +%icon_theme_cache_postun +%mime_database_postun +%install_info_delete --info-dir=%{_infodir} %{_infodir}/wxmaxima.info.gz + %files -f %name.lang %defattr(-,root,root,-) -%doc AUTHORS COPYING README -%dir %{_datadir}/wxMaxima +%doc AUTHORS COPYING README.md ChangeLog %{_bindir}/* -%{_datadir}/wxMaxima/* -%{_datadir}/pixmaps/wxmaxima.png -%{_datadir}/applications/wxmaxima.desktop +%{_datadir}/wxMaxima/ +%dir %{_datadir}/icons/hicolor/512x512 +%dir %{_datadir}/icons/hicolor/512x512/apps +%{_datadir}/icons/hicolor/*/apps/wxmaxima.* +%{_datadir}/applications/wxMaxima.desktop +%if 0%{?suse_version} == 1315 +%dir %{_datadir}/appdata +%endif +%{_datadir}/bash-completion/completions/wxmaxima +%{_datadir}/appdata/wxmaxima.appdata.xml +%{_mandir}/man1/wxmaxima*.gz +%{_infodir}/wxmaxima.info.gz +%{_datadir}/mime/packages/*.xml +%{_datadir}/pixmaps/*.svg %changelog ++++++ wxMaxima-missing-make-targets.patch ++++++ Index: wxmaxima-15.08.0/data/wxmaxima =================================================================== --- /dev/null +++ wxmaxima-15.08.0/data/wxmaxima @@ -0,0 +1,24 @@ +# wxmaxima(1) completion -*- shell-script -*- + +_wxmaxima() +{ + local cur prev words cword split + _init_completion -s || return + + case $prev in + --help|-h|--version|-v) + return + ;; + --open|-o) + _filedir + return + ;; + esac + + $split && return 0 + + _filedir '@(|mac|wxm|wxmx)' +} && +complete -F _wxmaxima wxmaxima + +# ex: ts=4 sw=4 et filetype=sh Index: wxmaxima-15.08.0/README.md =================================================================== --- /dev/null +++ wxmaxima-15.08.0/README.md @@ -0,0 +1,113 @@ +wxMaxima +======== + +wxMaxima is a document based interface for the computer algebra system +Maxima. For more information about Maxima, visit +http://maxima.sourceforge.net/. wxMaxima uses wxWidgets and runs +natively on Windows, X11 and Mac OS X. wxMaxima provides menus and +dialogs for many common maxima commands, autocompletion, inline plots +and simple animations. wxMaxima is distributed under the GPL license. + +wxMaxima is included with the Windows and the macintosh installer for +Maxima. Packages are also available for many Linux distributions. Screenshots +and documentation can be found at http://andrejv.github.io/wxmaxima/; +If you wish to compile wxMaxima from source, please read the instructions below. + + +Building wxMaxima from source +----------------------------- + +To build wxMaxima from sources you need to have a C++ compiler and the +wxWidgets library installed. + + +### Compiling on Mac OS X + +On Mac OS X you should install XCode. To build wxMaxima open the +Terminal application and follow the instructions for building with GNU +autotools. It is recommended that you compile you own version of +wxMac. See the section about compiling wxWidgets. + + +### Compiling on Windows + +On Windows install MinGW (http://sourceforge.net/projects/mingw/). In +the installation process make sure you select `g++`, `MSYS Basic +System` and `MinGW Developer ToolKit` in the `Select components` page +of the installer. Then run the MinGW Shell and follow the +instructions for compiling wxWidgets and wxMaxima with autotools. + + +### Compiling wxWidgets on Mac OS X and Windows + +Before compiling wxMaxima you need to compile the wxWidgets +library. Download the source, unarchive and in the source directory +execute + + mkdir build + cd build + +On Mac OS X configure wxWidgets with + + ../configure --disable-shared --enable-unicode + +and on Windows with + + ../configure --disable-shared + +Now build wxWidgets with + + make + +You do not need to install the library with `make install`. You will +need to specify a path to wx-config when configuring wxMaxima. There +are two files in `build/lib/wx/config`. The correct file to use is +`inplace-msw-ansi-release-static-3.0` on Windows and +`implace-mac-unicode-release-static-3.0` on Mac OS X. You will also +need to copy the file `wxwin.m4` to `acinclude.m4` in the wxMaxima +source directory. + + +### Compiling with autotools + +If you are not building an official tarball but using the git version it +is necessary to execute `./bootstrap` first in order to get the file +./configure + +To build wxMaxima on Linux execute + + ./configure + make + make allmo + sudo make install + +To build an application bundle of wxMaxima on Mac OS X + + ./configure --with-wx-config=<path to wx-config> + make + make allmo + make wxMaxima.app + +On Windows execute instead: + + ./configure --with-wx-config=<path to wx-config> --with-hhc=<path to hhc.exe> --enable-chm + make + make allmo + make wxMaxima.win + +which builds the directory structure necessary for running wxMaxima. +Alternatively + + make wxMaxima.win.zip + +will build the whole application as a zip archive whose contents is a self-contained wxMaxima +installation that can be placed in the folder maxima was installed in. + +The `--enable-chm` and the `--with-hhc` are only necessary to allow the +builder to convert the wxMaxima offline manual to a format the +built-in help browser of windows understands. For this conversion +the Microsoft HTML Help workshop is necessary which +is distributed separately. If they aren't added to the configure +command line wxMaxima is shipped with a html version of the manual +that can be viewed using the internet browser instead. + Index: wxmaxima-15.08.0/locales/Makefile.am =================================================================== --- wxmaxima-15.08.0.orig/locales/Makefile.am +++ wxmaxima-15.08.0/locales/Makefile.am @@ -2,7 +2,7 @@ # This file is based on the corresponding file for the poedit program # -WXMAXIMA_LINGUAS = fr es it de pt_BR ru hu uk pl zh_TW da cs el ja ca gl zh_CN tr nb en +WXMAXIMA_LINGUAS = fr es it de pt_BR ru hu uk pl zh_TW da cs el ja ca gl zh_CN tr nb WXWIN_LINGUAS = fr es it de pt_BR ru hu uk pl zh_TW da cs el ja ca gl zh_CN tr nb localedir = $(datadir)/locale ++++++ wxMaxima.desktop ++++++ [Desktop Entry] Encoding=UTF-8 Name=wxMaxima GenericName=Сomputer algebra system Comment=Perform symbolic and numeric calculations using Maxima Exec=wxmaxima Icon=wxmaxima Terminal=0 Type=Application Categories=Education;Math; Name[en_US]=wxMaxima.desktop MimeType=text/x-wxmaxima-batch;text/x-wxmathml; ++++++ wxmaxima-14.12.1.tar.gz -> wxmaxima-15.08.0.tar.gz ++++++ ++++ 173103 lines of diff (skipped)