Accepting request 686870 from home:badshah400:branches:Publishing

- Update to version 0.6.3:
  * New features and improvements:
    - Implement "Insert Citations..." dialog
    - Implement indenting/unindenting by Tab/Shift+Tab
    - Make synchronization granularity configurable (highlight
      corresponding character, word, or line)
    - Add ability to distinguish identically named files by
      displaying the respective folders they are in in the window
      title, window menu, and under "Open Recent"
    - Implement "Fit to content width" PDF zoom (which ignores
      empty space around the text)
    - Disable unavailable typesetting engines
    - Allow to change the editor font size by Ctrl+Mousewheel
    - Improve the detection of spellchecking languages (add
      ability to search multiple directories and list all results)
    - Hide the menu bar in PDF full screen mode
    - Rework/expand code completion strings
    - Add/update syntax highlighting for LaTeX, ConTeXt, Lua, DTX,
      and BibTeX
    - Add cleanup-patterns for beamer files .nav & .snm
    - Add new/unified icons for typeset and zooming
    - Display paper size and file size in the PDF metadata
  * Bug fixes:
    - Fix infinite loop in syntax highlighter (which caused
      significant slow-down especially for large files)
    - Fix underline when spellchecking with syntax highlighting
    - Fix "Place on Left/Right", especially on multi-screen setups
    - Avoid 'file "" not found' errors when synchronizing
    - Fix synchronization while searching in a PDF
    - Fix fine-grained synchronization near paragraph boundaries

OBS-URL: https://build.opensuse.org/request/show/686870
OBS-URL: https://build.opensuse.org/package/show/Publishing/texworks?expand=0&rev=19
This commit is contained in:
Martin Pluskal 2019-03-20 11:22:18 +00:00 committed by Git OBS Bridge
parent 176d411b16
commit 5ce3b03d10
4 changed files with 78 additions and 48 deletions

View File

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

3
release-0.6.3.tar.gz Normal file
View File

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

View File

@ -1,3 +1,55 @@
-------------------------------------------------------------------
Tue Mar 19 15:12:11 UTC 2019 - Atri B <badshah400@gmail.com>
- Update to version 0.6.3:
* New features and improvements:
- Implement "Insert Citations..." dialog
- Implement indenting/unindenting by Tab/Shift+Tab
- Make synchronization granularity configurable (highlight
corresponding character, word, or line)
- Add ability to distinguish identically named files by
displaying the respective folders they are in in the window
title, window menu, and under "Open Recent"
- Implement "Fit to content width" PDF zoom (which ignores
empty space around the text)
- Disable unavailable typesetting engines
- Allow to change the editor font size by Ctrl+Mousewheel
- Improve the detection of spellchecking languages (add
ability to search multiple directories and list all results)
- Hide the menu bar in PDF full screen mode
- Rework/expand code completion strings
- Add/update syntax highlighting for LaTeX, ConTeXt, Lua, DTX,
and BibTeX
- Add cleanup-patterns for beamer files .nav & .snm
- Add new/unified icons for typeset and zooming
- Display paper size and file size in the PDF metadata
* Bug fixes:
- Fix infinite loop in syntax highlighter (which caused
significant slow-down especially for large files)
- Fix underline when spellchecking with syntax highlighting
- Fix "Place on Left/Right", especially on multi-screen setups
- Avoid 'file "" not found' errors when synchronizing
- Fix synchronization while searching in a PDF
- Fix fine-grained synchronization near paragraph boundaries
- Fix the PDF copy menu command
- Fix PDF text selection
- Fix font color reset when searching and using stylesheets
- Fix crashes when working with locked PDFs
- Fix unexpected cursor movement when using a combination of
backspace and up/down arrow keys (thanks to @mgkuhn)
- Fix the font in the log parser output
- Fix persistent magnifying glass
- Remove unimplemented PDF menu items cut, paste, clear
- Use cmake rpm macros.
- Drop conditionals for outdated openSUSE versions.
- New BuildRequires:
* texlive-tex-bin: needed to detect and configure the location
of tex binary.
* Qt5Test to determine QT version.
* python3-devel: Switch to python3 based scripting plugin.
- Use %%license to install COPYING file.
- Minor spec file cleanups using spec-cleaner.
-------------------------------------------------------------------
Sun Apr 30 21:52:52 UTC 2017 - badshah400@gmail.com

View File

@ -1,7 +1,7 @@
#
# spec file for package texworks
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2007-09 by Jonathan Kew.
#
# All modifications and additions to the file contributed by third parties
@ -18,10 +18,10 @@
Name: texworks
Version: 0.6.2
Version: 0.6.3
Release: 0
Summary: TeXshop-like TeX Editor
License: GPL-2.0+
License: GPL-2.0-or-later
Group: Productivity/Publishing/TeX/Frontends
Url: http://www.tug.org/texworks/
Source0: https://github.com/TeXworks/texworks/archive/release-%{version}.tar.gz
@ -30,24 +30,21 @@ BuildRequires: dbus-1-devel
BuildRequires: desktop-file-utils
BuildRequires: hunspell-devel
BuildRequires: libpoppler-devel >= 0.24
%if 0%{?suse_version} >= 1320
BuildRequires: libpoppler-qt5-devel >= 0.24
BuildRequires: lua-devel
BuildRequires: python3-devel
BuildRequires: texlive-tex-bin
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(Qt5Concurrent)
BuildRequires: pkgconfig(Qt5Core)
BuildRequires: pkgconfig(Qt5DBus)
BuildRequires: pkgconfig(Qt5Gui)
BuildRequires: pkgconfig(Qt5Script)
BuildRequires: pkgconfig(Qt5ScriptTools)
BuildRequires: pkgconfig(Qt5Test)
BuildRequires: pkgconfig(Qt5UiTools)
BuildRequires: pkgconfig(Qt5Widgets)
BuildRequires: pkgconfig(Qt5Xml)
%else
BuildRequires: libpoppler-qt4-devel >= 0.24
BuildRequires: libqt4-devel
%endif
BuildRequires: lua-devel
BuildRequires: python-devel
BuildRequires: update-desktop-files
Requires: dbus-1
Requires: hunspell
Requires: poppler-tools
@ -87,31 +84,20 @@ This package adds lua scripting abitilies to TeXworks.
%build
mkdir build
pushd build
cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} \\\
-DTW_BUILD_ID="openSUSE" \\\
-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=%{_lib} \\\
-DWITH_LUA=ON \\\
-DWITH_PYTHON=ON \\\
-DTeXworks_DIC_DIR=%{_datadir}/myspell \\\
%if 0%{?suse_version} >= 1320
-DDESIRED_QT_VERSION="5" \\\
%else
-DDESIRED_QT_VERSION="4" \\\
%endif
-DTeXworks_PLUGIN_DIR=%{_libdir}/%{name} \\\
..
%cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} \
-DTW_BUILD_ID="openSUSE" \
-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=%{_lib} \
-DWITH_LUA=ON \
-DWITH_PYTHON=ON \
-DTeXworks_DIC_DIR=%{_datadir}/myspell \
-DDESIRED_QT_VERSION="5" \
-DTeXworks_PLUGIN_DIR=%{_libdir}/%{name}
make %{?_smp_mflags} VERBOSE=1
popd
%cmake_build
%install
pushd build
%make_install
%cmake_install
%suse_update_desktop_file texworks Publishing WordProcessor
popd
# Package doc files using %%doc, remove them here
for i in COPYING README.md NEWS
@ -119,29 +105,21 @@ do
rm %{buildroot}%{_datadir}/doc/%{name}/${i}
done
%post
%desktop_database_post
%postun
%desktop_database_postun
%files
%defattr(-,root,root)
%doc COPYING README.md NEWS
%dir %{_datadir}/appdata
%{_datadir}/appdata/texworks.appdata.xml
%doc README.md NEWS
%license COPYING
%dir %{_datadir}/metainfo
%{_datadir}/metainfo/texworks.appdata.xml
%{_bindir}/texworks
%{_datadir}/applications/texworks.desktop
%{_datadir}/pixmaps/*.png
%{_mandir}/man1/texworks.1.*
%{_mandir}/man1/texworks.1%{?ext_man}
%files plugin-python
%defattr(-,root,root)
%dir %{_libdir}/%{name}
%{_libdir}/%{name}/*PythonPlugin.so
%files plugin-lua
%defattr(-,root,root)
%dir %{_libdir}/%{name}
%{_libdir}/%{name}/*LuaPlugin.so