diff --git a/.gitignore b/.gitignore index 125b89b..4110e63 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ texworks-0.2.3.tar.gz /texworks-0.4.4-r1004.tar.gz /texworks-0.4.5-r1281.tar.gz /texworks-release-0.4.6.tar.gz +/texworks-release-0.6.0.tar.gz diff --git a/Tw_ARM2.patch b/Tw_ARM2.patch deleted file mode 100644 index 7b53ef6..0000000 --- a/Tw_ARM2.patch +++ /dev/null @@ -1,22 +0,0 @@ -diff --git a/src/PDFDocument.cpp b/src/PDFDocument.cpp -index a6cabec..394f31b 100644 ---- a/src/PDFDocument.cpp -+++ b/src/PDFDocument.cpp -@@ -1831,9 +1831,14 @@ void PDFDocument::doFindAgain(bool newSearch /* = false */) - - for (pageIdx = firstPage; pageIdx != lastPage; pageIdx += deltaPage) { - page = document->page(pageIdx); -- -- double left, top, bottom, right; -- lastSearchResult.selRect.getCoords(&left, &top, &right, &bottom); -+ // Note: do _not_ use lastSearchResult.selRect.getCoords() as that -+ // requires pointers to qreal, which may be float or double, -+ // depending on the platform. As poppler requires (references to -+ // double, we use double here. -+ double left = lastSearchResult.selRect.left(); -+ double right = lastSearchResult.selRect.right(); -+ double top = lastSearchResult.selRect.top(); -+ double bottom = lastSearchResult.selRect.bottom(); - if (page->search(searchText, left, top, right, bottom, searchDir, searchMode)) { - lastSearchResult.selRect.setCoords(left, top, right, bottom); - lastSearchResult.doc = this; diff --git a/sources b/sources index bf8591b..5b4ef72 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -1ac0db22ce2185f01a844eb99cee33c4 texworks-release-0.4.6.tar.gz +1fed7d04438b7951b045bfabab2c1865 texworks-release-0.6.0.tar.gz diff --git a/texworks.spec b/texworks.spec index 63352a3..6738b4d 100644 --- a/texworks.spec +++ b/texworks.spec @@ -3,16 +3,14 @@ %endif Name: texworks -Version: 0.4.6 -Release: 6%{?dist} +Version: 0.6.0 +Release: 1%{?dist} Summary: A simple IDE for authoring TeX documents Group: Applications/Editors License: GPLv2+ URL: http://tug.org/texworks/ Source0: https://github.com/TeXworks/texworks/archive/release-%{version}/texworks-release-%{version}.tar.gz -# don't assume qreal is double, fix ARM build, emailed from upstream -Patch0: Tw_ARM2.patch BuildRequires: pkgconfig BuildRequires: hunspell-devel @@ -44,7 +42,6 @@ You may install the texlive-* packages to make this program useful. %prep %setup -q -n %{name}-release-%{version} -%patch0 -p1 %build mkdir build @@ -79,6 +76,9 @@ update-desktop-database &> /dev/null || : %changelog +* Sun Apr 10 2016 Robin Lee - 0.6.0-1 +- Update to 0.6.0 + * Fri Feb 05 2016 Fedora Release Engineering - 0.4.6-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild