diff --git a/genius-1.0.11.tar.bz2 b/genius-1.0.11.tar.bz2 new file mode 100644 index 0000000..b598260 --- /dev/null +++ b/genius-1.0.11.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ec957fadb521e300342dc45382486aa10538ec0576f6ccdf70a1c9ef9d147702 +size 1692265 diff --git a/genius-1.0.9.tar.bz2 b/genius-1.0.9.tar.bz2 deleted file mode 100644 index 9dddfe6..0000000 --- a/genius-1.0.9.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5f3a7e9e8ab77e973cf83d64efcc173e5c5fa99fa96fe324e2ea82f4d3a26d68 -size 1624879 diff --git a/genius-make382.patch b/genius-make382.patch new file mode 100644 index 0000000..e448db2 --- /dev/null +++ b/genius-make382.patch @@ -0,0 +1,24 @@ +Index: genius-1.0.11/gtkextra/Makefile.am +=================================================================== +--- genius-1.0.11.orig/gtkextra/Makefile.am ++++ genius-1.0.11/gtkextra/Makefile.am +@@ -99,13 +99,13 @@ libgtkextra_genius_a_SOURCES = \ + gtkplotsurface.c + + $(srcdir)/gtkextra-marshal.h: gtkextra-marshal.list +- ( @GLIB_GENMARSHAL@ --prefix=gtkextra gtkextra-marshal.list --header > gtkextra-marshal.tmp \ +- && mv gtkextra-marshal.tmp gtkextra-marshal.h ) \ +- || ( rm -f gtkextra-marshal.tmp && exit 1 ) ++ ( @GLIB_GENMARSHAL@ --prefix=gtkextra gtkextra-marshal.list --header > gtkextra-marshal.tmp \ ++ && mv gtkextra-marshal.tmp gtkextra-marshal.h ) \ ++ || ( rm -f gtkextra-marshal.tmp && exit 1 ) + $(srcdir)/gtkextra-marshal.c: gtkextra-marshal.h +- ( @GLIB_GENMARSHAL@ --prefix=gtkextra gtkextra-marshal.list --body > gtkextra-marshal.tmp \ +- && mv gtkextra-marshal.tmp gtkextra-marshal.c ) \ +- || ( rm -f gtkextra-marshal.tmp && exit 1 ) ++ ( @GLIB_GENMARSHAL@ --prefix=gtkextra gtkextra-marshal.list --body > gtkextra-marshal.tmp \ ++ && mv gtkextra-marshal.tmp gtkextra-marshal.c ) \ ++ || ( rm -f gtkextra-marshal.tmp && exit 1 ) + + + $(srcdir)/gtkextratypebuiltins.h: $(public_h_sources) diff --git a/genius-sealed-vte.patch b/genius-sealed-vte.patch deleted file mode 100644 index 398245c..0000000 --- a/genius-sealed-vte.patch +++ /dev/null @@ -1,24 +0,0 @@ -Index: genius-1.0.9/src/gnome-genius.c -=================================================================== ---- genius-1.0.9.orig/src/gnome-genius.c -+++ genius-1.0.9/src/gnome-genius.c -@@ -3828,7 +3828,7 @@ really_save_console_cb (GtkFileChooser * - MAX(row-genius_setup.scrollback+1, 0), - 0, - row, -- VTE_TERMINAL (term)->column_count - 1, -+ vte_terminal_get_column_count (VTE_TERMINAL (term)) - 1, - always_selected, - NULL, - NULL); -@@ -4763,8 +4763,8 @@ update_term_geometry (void) - int char_height; - int xpad, ypad; - -- char_width = VTE_TERMINAL (term)->char_width; -- char_height = VTE_TERMINAL (term)->char_height; -+ char_width = vte_terminal_get_char_width (VTE_TERMINAL (term)); -+ char_height = vte_terminal_get_char_height (VTE_TERMINAL (term)); - - vte_terminal_get_padding (VTE_TERMINAL (term), &xpad, &ypad); - diff --git a/genius.changes b/genius.changes index 16dd0a7..3b9a08e 100644 --- a/genius.changes +++ b/genius.changes @@ -1,3 +1,42 @@ +------------------------------------------------------------------- +Sat Sep 11 22:02:15 UTC 2010 - dimstar@opensuse.org + +- Add genius-make382.patch: Fix build with make 3.82 +- Add autoreconf call in build section. + +------------------------------------------------------------------- +Fri Sep 10 09:08:26 CEST 2010 - dimstar@opensuse.org + +- Update to version 1.0.11: + + Build fix for some versions of ncurses + + Minor documentation updates. + +------------------------------------------------------------------- +Thu Sep 9 10:33:47 CEST 2010 - dimstar@opensuse.org + +- Update to version 1.0.10: + + Allow changing variable names for all plotting functions + + Add SlopefieldTicks, VectorfieldTicks, LinePlotVariableNames, + and SurfacePlotVariableNames, parameters + + Add AskButtons interactive function + + CHANGE: spelling fix: AuxiliaryUnitMatrix doesn't have two l's + + Support for setting legend on LinePlotDrawLine with a "legend" + parameter + + Allow comparisons (== and !=) with null, treating it as an + empty matrix + + Uses GIO instead of GnomeVFS + + Fix compilation without gtksourceview + + Fix some crashes in plotting code + + Allow slopefield solutions to leave plot window by a small + fudge factor. + + Fix zooming plots so that we can zoom by moving mouse in any + direction + + Fix compilation with newer sealed vte + + Fix up some typos in the documentation + + Updated translations. +- Drop genius-sealed-vte.patch, fixed upstream. +- Remove gnome-vfs2-devel BuildRequires. + ------------------------------------------------------------------- Mon Aug 30 17:24:58 CEST 2010 - vuntz@opensuse.org diff --git a/genius.spec b/genius.spec index b1e5e42..caa7f48 100644 --- a/genius.spec +++ b/genius.spec @@ -1,5 +1,5 @@ # -# spec file for package genius (Version 1.0.9) +# spec file for package genius (Version 1.0.11) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -19,18 +19,17 @@ Name: genius -Version: 1.0.9 -Release: 4 +Version: 1.0.11 +Release: 1 License: GPLv3+ Summary: General purpose calculator and mathematics tool Group: Productivity/Scientific/Math Url: http://www.jirka.org/genius.html Source: %{name}-%{version}.tar.bz2 -# PATCH-FIX-UPSTREAM genius-sealed-vte.patch vuntz@opensuse.org -- Fix build with sealed VTE, sent upstream by mail -Patch0: genius-sealed-vte.patch +# PATCH-FIX-UPSTREAM genius-make382.patch dimstar@opensuse.org -- Fix build with make 3.82. Patch sent upstream by mail. +Patch0: genius-make382.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: fdupes -BuildRequires: gnome-vfs2-devel BuildRequires: gtk2-devel BuildRequires: gtksourceview-devel BuildRequires: intltool @@ -92,12 +91,14 @@ genius functions are written in GEL itself. %patch0 -p1 %build +# Required by patch0: genius-make382.patch. +autoreconf export CFLAGS="$RPM_OPT_FLAGS -fstack-protector" %configure \ --libexec=%{_prefix}/lib/genius \ --disable-scrollkeeper \ --disable-update-mimedb -make %{?jobs:-j%jobs} +make %{?_smp_mflags} %install %makeinstall