Accepting request 304830 from home:badshah400:branches:Publishing
Version 0.4.6 OBS-URL: https://build.opensuse.org/request/show/304830 OBS-URL: https://build.opensuse.org/package/show/Publishing/texworks?expand=0&rev=14
This commit is contained in:
parent
093910586b
commit
dfa4f8e562
3
release-0.4.6.tar.gz
Normal file
3
release-0.4.6.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:58650574c1e3234c38cddc3375f8043a83cc65075839030fc7089471af6a3bde
|
||||||
|
size 11271881
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:dd30ce417ff8241083b6894395489bc529660a46bcb45b7d82d4c6a3f8e6e2de
|
|
||||||
size 5335925
|
|
@ -1,3 +1,43 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Apr 27 23:04:45 UTC 2015 - badshah400@gmail.com
|
||||||
|
|
||||||
|
- Update to version 0.4.6:
|
||||||
|
+ Implement character-level synchronization by using text
|
||||||
|
searching to assist SyncTeX.
|
||||||
|
+ Lift hardwrap line length limitation and implement (hard)
|
||||||
|
unwrap.
|
||||||
|
+ Always show console output tab while typesetting to show
|
||||||
|
progress.
|
||||||
|
+ Improve the handling of UTF-8 byte order marks.
|
||||||
|
+ Improve the log parsing script.
|
||||||
|
+ Improve the handling of script errors.
|
||||||
|
+ Work around a race condition that causes lines to become
|
||||||
|
invisible, subsequently leading to a crash.
|
||||||
|
+ Fix incorrectly accumulating indent.
|
||||||
|
+ Fix SyncTeX initialization with non-ASCII filenames.
|
||||||
|
+ Fix selection of whole lines and when selecting right-to-left.
|
||||||
|
+ Fix hangs and crashes when using "Fit to ..." in the PDF view.
|
||||||
|
+ Fix a crash when running an invalid system command from
|
||||||
|
scripts.
|
||||||
|
+ Fix encoding issues when reading environment variables.
|
||||||
|
+ Fix scrolling when searching for multi-line strings.
|
||||||
|
+ Fix auto-completion when working with RTL languages.
|
||||||
|
+ Improve the handling of Retina displays in Mac OS X.
|
||||||
|
+ Fix a crash when opening PDF files from the Windows
|
||||||
|
Explorer.
|
||||||
|
+ Provide texworks.appdata.xml for *nix platforms.
|
||||||
|
+ Fix compilation with Qt 5.
|
||||||
|
+ Improve the CMake build system.
|
||||||
|
+ Add support for Lua 5.2.
|
||||||
|
+ Move development from Google Code to GitHub.
|
||||||
|
- Drop conditionals referring to out-of-support openSUSE
|
||||||
|
releases.
|
||||||
|
- Update source URL.
|
||||||
|
- Use CMake based build system.
|
||||||
|
- Build with Qt5 for openSUSE >= 13.2.
|
||||||
|
- Drop manual from filelist, no longer bundled by upstream, see
|
||||||
|
http://www.tug.org/texworks/#Documentation instead.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Apr 14 21:07:21 UTC 2013 - badshah400@gmail.com
|
Sun Apr 14 21:07:21 UTC 2013 - badshah400@gmail.com
|
||||||
|
|
||||||
|
116
texworks.spec
116
texworks.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package TeXworks
|
# spec file for package texworks
|
||||||
#
|
#
|
||||||
# Copyright 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
# Copyright (c) 2007-09 by Jonathan Kew.
|
# Copyright (c) 2007-09 by Jonathan Kew.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
@ -12,27 +12,41 @@
|
|||||||
# case the license is the MIT License). An "Open Source License" is a
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
%define release_num r1281
|
|
||||||
|
|
||||||
Name: texworks
|
Name: texworks
|
||||||
Version: 0.4.5
|
Version: 0.4.6
|
||||||
Release: 1
|
Release: 0
|
||||||
License: GPL-2.0+
|
|
||||||
Summary: TeXshop-like TeX Editor
|
Summary: TeXshop-like TeX Editor
|
||||||
Url: http://www.tug.org/texworks/
|
License: GPL-2.0+
|
||||||
Group: Productivity/Publishing/TeX/Frontends
|
Group: Productivity/Publishing/TeX/Frontends
|
||||||
Source0: http://texworks.googlecode.com/files/%{name}-%{version}-%{release_num}.tar.gz
|
Url: http://www.tug.org/texworks/
|
||||||
|
Source0: https://github.com/TeXworks/texworks/archive/release-%{version}.tar.gz
|
||||||
|
BuildRequires: cmake
|
||||||
BuildRequires: dbus-1-devel
|
BuildRequires: dbus-1-devel
|
||||||
BuildRequires: desktop-file-utils
|
BuildRequires: desktop-file-utils
|
||||||
BuildRequires: hunspell-devel
|
BuildRequires: hunspell-devel
|
||||||
BuildRequires: libpoppler-devel
|
BuildRequires: libpoppler-devel >= 0.24
|
||||||
BuildRequires: libpoppler-qt4-devel
|
%if 0%{?suse_version} >= 1320
|
||||||
|
BuildRequires: libpoppler-qt5-devel >= 0.24
|
||||||
|
BuildRequires: pkgconfig(Qt5Core)
|
||||||
|
BuildRequires: pkgconfig(Qt5DBus)
|
||||||
|
BuildRequires: pkgconfig(Qt5Gui)
|
||||||
|
BuildRequires: pkgconfig(Qt5Script)
|
||||||
|
BuildRequires: pkgconfig(Qt5ScriptTools)
|
||||||
|
BuildRequires: pkgconfig(Qt5UiTools)
|
||||||
|
BuildRequires: pkgconfig(Qt5Widgets)
|
||||||
|
BuildRequires: pkgconfig(Qt5Xml)
|
||||||
|
%else
|
||||||
|
BuildRequires: libpoppler-qt4-devel >= 0.24
|
||||||
BuildRequires: libqt4-devel
|
BuildRequires: libqt4-devel
|
||||||
BuildRequires: update-desktop-files
|
%endif
|
||||||
BuildRequires: python-devel
|
|
||||||
BuildRequires: lua-devel
|
BuildRequires: lua-devel
|
||||||
|
BuildRequires: python-devel
|
||||||
|
BuildRequires: update-desktop-files
|
||||||
Requires: dbus-1
|
Requires: dbus-1
|
||||||
Requires: hunspell
|
Requires: hunspell
|
||||||
Requires: poppler-tools
|
Requires: poppler-tools
|
||||||
@ -51,8 +65,8 @@ usage on the Mac platform.
|
|||||||
%package plugin-python
|
%package plugin-python
|
||||||
Summary: Plugins to add python scripting to texworks
|
Summary: Plugins to add python scripting to texworks
|
||||||
Group: Development/Libraries/Python
|
Group: Development/Libraries/Python
|
||||||
Requires: python
|
|
||||||
Requires: %{name} = %{version}
|
Requires: %{name} = %{version}
|
||||||
|
Requires: python
|
||||||
|
|
||||||
%description plugin-python
|
%description plugin-python
|
||||||
The TeXworks project is an effort to build a simple TeX front-end
|
The TeXworks project is an effort to build a simple TeX front-end
|
||||||
@ -68,8 +82,8 @@ This package adds python scripting abitilies to TeXworks.
|
|||||||
%package plugin-lua
|
%package plugin-lua
|
||||||
Summary: Plugins to add python scripting to texworks
|
Summary: Plugins to add python scripting to texworks
|
||||||
Group: Development/Libraries/Other
|
Group: Development/Libraries/Other
|
||||||
Requires: lua
|
|
||||||
Requires: %{name} = %{version}
|
Requires: %{name} = %{version}
|
||||||
|
Requires: lua
|
||||||
|
|
||||||
%description plugin-lua
|
%description plugin-lua
|
||||||
The TeXworks project is an effort to build a simple TeX front-end
|
The TeXworks project is an effort to build a simple TeX front-end
|
||||||
@ -83,66 +97,52 @@ usage on the Mac platform.
|
|||||||
This package adds lua scripting abitilies to TeXworks.
|
This package adds lua scripting abitilies to TeXworks.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n texworks-%{version}
|
%setup -q -n texworks-release-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
#Python plugin
|
mkdir build
|
||||||
pushd plugins-src/TWPythonPlugin/
|
pushd build
|
||||||
qmake 'INSTALL_PREFIX=%{_prefix}' 'TW_PLUGINPATH=%{_libdir}/%{name}' -after \
|
cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} \\\
|
||||||
'INCLUDEPATH -= /usr/include/python2.6/' \
|
-DTW_BUILD_ID="openSUSE" \\\
|
||||||
'INCLUDEPATH += %{_includedir}/python%{py_ver}/' \
|
-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=%{_lib} \\\
|
||||||
'LIBS -= -lpython2.6' \
|
-DWITH_LUA=ON \\\
|
||||||
'LIBS += -lpython%{py_ver}'
|
-DWITH_PYTHON=ON \\\
|
||||||
|
%if 0%{?suse_version} >= 1320
|
||||||
|
-DDESIRED_QT_VERSION="5" \\\
|
||||||
|
%else
|
||||||
|
-DDESIRED_QT_VERSION="4" \\\
|
||||||
|
%endif
|
||||||
|
-DTeXworks_PLUGIN_DIR=%{_libdir}/%{name} \\\
|
||||||
|
..
|
||||||
|
|
||||||
|
make %{?_smp_mflags} VERBOSE=1
|
||||||
|
|
||||||
popd
|
popd
|
||||||
|
|
||||||
#Lua plugin
|
|
||||||
pushd plugins-src/TWLuaPlugin/
|
|
||||||
qmake 'INSTALL_PREFIX=%{_prefix}' 'TW_PLUGINPATH=%{_libdir}/%{name}' -after \
|
|
||||||
'PKGCONFIG -= lua5.1' \
|
|
||||||
'PKGCONFIG += lua'
|
|
||||||
popd
|
|
||||||
|
|
||||||
#Main package
|
|
||||||
qmake 'TW_BUILD_ID=openSUSE' 'INSTALL_PREFIX=%{_prefix}' 'TW_HELPPATH=%{_docdir}/%{name}/manual' 'DOCS_DIR=%{_docdir}/%{name}' -after \
|
|
||||||
'QMAKE_CXXFLAGS -= -DTW_DICPATH=\\\"/usr/share/myspell/dicts\\\"' \
|
|
||||||
'QMAKE_CXXFLAGS += -DTW_DICPATH=\\\"%{_datadir}/myspell\\\"'
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
#Python plugin
|
pushd build
|
||||||
pushd plugins-src/TWPythonPlugin/
|
%make_install
|
||||||
make INSTALL_ROOT=%{buildroot} install
|
|
||||||
popd
|
|
||||||
|
|
||||||
#Lua plugin
|
|
||||||
pushd plugins-src/TWLuaPlugin/
|
|
||||||
make INSTALL_ROOT=%{buildroot} install
|
|
||||||
popd
|
|
||||||
|
|
||||||
#Main package
|
|
||||||
make INSTALL_ROOT=%{buildroot} install
|
|
||||||
%suse_update_desktop_file texworks Publishing WordProcessor
|
%suse_update_desktop_file texworks Publishing WordProcessor
|
||||||
|
popd
|
||||||
|
|
||||||
%clean
|
# Package doc files using %%doc, remove them here
|
||||||
rm -rf %{buildroot}
|
for i in COPYING README.md NEWS
|
||||||
|
do
|
||||||
|
rm %{buildroot}%{_datadir}/doc/%{name}/${i}
|
||||||
|
done
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%if 0%{?suse_version} > 1130
|
|
||||||
%desktop_database_post
|
%desktop_database_post
|
||||||
%else
|
|
||||||
gtk-update-icon-cache %{_datadir}/icons/hicolor || true
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
%if 0%{?suse_version} > 1130
|
|
||||||
%desktop_database_postun
|
%desktop_database_postun
|
||||||
%else
|
|
||||||
gtk-update-icon-cache %{_datadir}/icons/hicolor || true
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc COPYING README NEWS manual/
|
%doc COPYING README.md NEWS
|
||||||
|
%dir %{_datadir}/appdata
|
||||||
|
%{_datadir}/appdata/texworks.appdata.xml
|
||||||
%{_bindir}/texworks
|
%{_bindir}/texworks
|
||||||
%{_datadir}/applications/texworks.desktop
|
%{_datadir}/applications/texworks.desktop
|
||||||
%{_datadir}/pixmaps/*.png
|
%{_datadir}/pixmaps/*.png
|
||||||
|
Loading…
Reference in New Issue
Block a user