Accepting request 181119 from home:badshah400:branches:Publishing

update to 0.6.0

OBS-URL: https://build.opensuse.org/request/show/181119
OBS-URL: https://build.opensuse.org/package/show/Publishing/equalx?expand=0&rev=3
This commit is contained in:
Dr. Werner Fink 2013-06-27 09:08:29 +00:00 committed by Git OBS Bridge
parent 89380f0dc2
commit 2db6b2e456
3 changed files with 95 additions and 16 deletions

3
equalx-0.6.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d1c11a4b9b6208a72573e6f49b51b2c9d31cf3db65b020ef99597b4f3ae8809f
size 241570

View File

@ -1,3 +1,84 @@
-------------------------------------------------------------------
Wed Jun 26 21:12:10 UTC 2013 - badshah400@gmail.com
- Update to version 0.6.0:
+ Corrected transparent background bug for latex
+ Corrected square brackets
+ Corrected quadratic formula from templates
+ Equation font size defaults to size 20
+ Empty text in equation editor shows information text
+ Solved minor bugs in output of latex log
+ Implemented zoom & zoom slider
+ Preferences Dialog allows to show/hide Log
+ Latex output visible in Log Tab
+ Polished GUI
+ Now Preamble can be toggle from a button in mainwindow
+ Preferences allows to show/hide only the latex log tab
+ LatexEditor shows line numbers, same for the Preamble editor
+ Reported errors by latex output are highlighted in Equation
editor and Preamble editor. A nice sign shows along the line
number also
+ Fixed warnings
+ Some modifications to About Dialog
+ Fixed About Dialog links
+ Corrected "Remeber" in Preferences Dialog
+ Added class ConfigButton required for a polished GUI in the
Modified tab "Commands" from Preferences Dialog
+ Added the GPL 3 License boilerplate to all remaining files
+ Added a check for the requirements (latex, dvipng,etc)
+ Commands paths in Preferences Dialog are now readonly - they
can be changed only the "Change" buttons
+ Change buttons for the commands select only the specific
executables (filters other files)
+ Added fg color, bg color, preview font size and mode in
Preferences dialog which are saved in the settings
+ Added button "Reset Defaults" to the Preferences dialog and
works
+ Removed Util function from defines.h and moved the Util
functions in Util.h
+ Fixed a bug in Preferences dialog to set Font family and size
for the equation editor
+ Corrected UpdateEquation and UpdateImage to call runCommand()
+ Added more environments: display, inline(which were before)
and align and text. Select them from the Mainwindow and
Preferences
+ Modified UI mainwindow and polished it for better smaller
layout
+ Removed Latex log output and tabs from mainwindow. There is no
need since the error parser is enough
+ Removed Parser and latex-template
+ Modified Zoom slider to show zoom level in a tooltip
+ Solved bug for find and highlight when dealing with
transparent background color. If color is transparent than
highlight in white
+ Fixed WidgetColorPicker.h to show real swatch transparent
color
+ Fixed custom color selection in WidgetColorPicker
+ Modified foreground color combobox to not show transparent
option (latex can not render transparent color)
+ Implemented a RenderEngine class to deal with the rendering
and programs execution
+ Fixed RenderEngine
+ Added a nice preloader to show instead of the equation while
the RenderEngine generates the files
+ Cleaned up some obsolete and unused code in MainWindow
+ Modified RenderEngine to not take care of latex exitcode. This
is required so that we parse and display the latex errors
+ Changed preloader image with a nicer one
+ Functional preview of the generated image PNG
+ Modified RenderEngine to do check for the latex errors and
stop if errors are found
+ Modified EquationItem to clear if no image is available.
Equation item now shows a grab cursor (hand) if it is possible
to drag it, normal cursor otherwise
+ Modified Mainwindow and Equation item in order to not be
possible to drag empty equation
+ Mainwindow shows a busy cursor while the RenderEngine is
running
- Drop equalx-fix-no-return-in-nonvoid-function.patch --
corrected upstream
- Now requires libexempi-devel and libqt4 >= 4.8.0 for building.
-------------------------------------------------------------------
Mon Dec 12 09:48:38 UTC 2011 - badshah400@gmail.com

View File

@ -1,7 +1,7 @@
#
# spec file for package equalx
# spec file for package equalx
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -15,18 +15,18 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: equalx
Version: 0.51
Release: 1
License: GPL-3.0+
Version: 0.6.0
Release: 0
Summary: Editor for writing and exporting TeX/LaTeX equations
Url: http://equalx.sourceforge.net/
License: GPL-3.0+
Group: Productivity/Publishing/TeX/Frontends
# Original source is in zip format. Recompressed to tar.bz2.
Source: %{name}-%{version}.tar.bz2
# PATCH-FIX-UPSTREAM equalx-fix-no-return-in-nonvoid-function.patch badshah400@gmail.com -- Fix returning random data in non-void functions
Patch0: equalx-fix-no-return-in-nonvoid-function.patch
BuildRequires: libqt4-devel
Url: http://equalx.sourceforge.net/
Source: http://downloads.sourceforge.net/equalx/%{name}-%{version}.tar.gz
BuildRequires: libqt4-devel >= 4.8.0
BuildRequires: pkg-config
BuildRequires: pkgconfig(exempi-2.0)
Requires: texlive-latex
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -45,7 +45,6 @@ Features included:
%prep
%setup -q
%patch0 -p1
sed -i 's/\r$//' LICENSE README
%build
@ -56,13 +55,9 @@ make
%install
make INSTALL_ROOT=%{buildroot} install
%clean
%{?buildroot:%__rm -rf "%{buildroot}"}
%files
%defattr(-,root,root)
%doc changelog README COPYING LICENSE
%{_bindir}/%{name}
%changelog