From 8a69bb4e6bbeaf1deaadf10b83e4da36213f2cffb6ba66790a5ac8d9e76f0c2c Mon Sep 17 00:00:00 2001 From: Atri Bhattacharya Date: Wed, 25 Nov 2020 10:41:11 +0000 Subject: [PATCH] Accepting request 850681 from home:seijikun:branches:X11:Utilities - Update to version 1.0.19: * Changed select object algorithm to be more intuitive * Added ability for taps with Select Rectangle and Select Region to act like Select Object (gh#xournalpp/xournalpp#1980). * Improved document loading speed (gh#xournalpp/xournalpp#2002). * Added a --version command to print the Xournal++ version * Added a libgtk version display to the About dialog * Added a 16kHz sample rate to audio settings and fixed the 91kHz sample rate (gh#xournalpp/xournalpp#2092). * Added file version check for future compatibility (gh#xournalpp/xournalpp#1991). * Changed wording of new page template dialog to be less confusing (gh#xournalpp/xournalpp#1524). * Fixed behavior of "Attach file to the journal" option when choosing "Annotate PDF" (#1725, #2106). This now allows the background PDF and the annotation files to be renamed and moved as long as they 1) share the same file prefix; and 2) share the same relative path. * Fixed an issue where clicking the X on the replace file dialog would overwrite the file (gh#xournalpp/xournalpp#1983). * (libcairo >= 1.16 only): Fixed PDF export crashing when the table of contents is empty (gh#xournalpp/xournalpp#2236).. * Fixed a bug where the PDF background would not update when loading a new document (gh#xournalpp/xournalpp#1964). * Fixed plugin window causing a crash on Ubuntu 16.04 * Fixed a bug where the icon would not appear correctly on some desktop environments (gh#xournalpp/xournalpp#1892). * Fixed inconsistent ordering of button keybindings (gh#xournalpp/xournalpp#1961). * Fixed the Enter key not confirming PDF export settings (gh#xournalpp/xournalpp#1977). * Fixed exported PDF title (gh#xournalpp/xournalpp#2039). * Fixed a bug where different page backgrounds can cause PDFs to be exported with the wrong backgrounds (gh#xournalpp/xournalpp#2119). * Fixed a bug where the page number count would not be updated after deleting a page (gh#xournalpp/xournalpp#2134). * Fixed selection object tool not working correctly (gh#xournalpp/xournalpp#2081). / crashing (gh#xournalpp/xournalpp#2133). when there are multiple layers - Drop xournalpp-fix-exporting-pdf-with-references.patch: incorporated upstream. OBS-URL: https://build.opensuse.org/request/show/850681 OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/xournalpp?expand=0&rev=23 --- xournalpp-1.0.18.tar.gz | 3 -- xournalpp-1.0.19.tar.gz | 3 ++ ...pp-fix-exporting-pdf-with-references.patch | 23 ---------- xournalpp.changes | 46 +++++++++++++++++++ xournalpp.spec | 5 +- 5 files changed, 50 insertions(+), 30 deletions(-) delete mode 100644 xournalpp-1.0.18.tar.gz create mode 100644 xournalpp-1.0.19.tar.gz delete mode 100644 xournalpp-fix-exporting-pdf-with-references.patch diff --git a/xournalpp-1.0.18.tar.gz b/xournalpp-1.0.18.tar.gz deleted file mode 100644 index 45cd8c4..0000000 --- a/xournalpp-1.0.18.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f13178f67fc5c4eed566a09a16cbee80655a6bb7ab4425b4bc3962e8b608c215 -size 14892343 diff --git a/xournalpp-1.0.19.tar.gz b/xournalpp-1.0.19.tar.gz new file mode 100644 index 0000000..3e07f04 --- /dev/null +++ b/xournalpp-1.0.19.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:99dff9c3df9faf49aa0a7c3c069816fd92b0b3529659e11d287a4b17accdca31 +size 14895279 diff --git a/xournalpp-fix-exporting-pdf-with-references.patch b/xournalpp-fix-exporting-pdf-with-references.patch deleted file mode 100644 index b7d8d8d..0000000 --- a/xournalpp-fix-exporting-pdf-with-references.patch +++ /dev/null @@ -1,23 +0,0 @@ -From 053c74842a0292223e36fe4e132a6b7e5908d98d Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Fabian=20Ke=C3=9Fler?= -Date: Sun, 13 Sep 2020 23:00:50 +0200 -Subject: [PATCH] Fixes 1.0.18 PDF export bug, when references exist in the - document. - Regression - fixes #2236 - ---- - src/pdf/popplerapi/PopplerGlibAction.cpp | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/pdf/popplerapi/PopplerGlibAction.cpp b/src/pdf/popplerapi/PopplerGlibAction.cpp -index b1c83c5ec5..31b0df3e60 100644 ---- a/src/pdf/popplerapi/PopplerGlibAction.cpp -+++ b/src/pdf/popplerapi/PopplerGlibAction.cpp -@@ -60,7 +60,7 @@ void PopplerGlibAction::linkFromDest(LinkDestination* link, PopplerDest* pDest) - break; - case POPPLER_DEST_XYZ: - { -- PopplerPage* page = poppler_document_get_page(document, pDest->page_num); -+ PopplerPage* page = poppler_document_get_page(document, pDest->page_num - 1); - if (page == NULL) - { - return; diff --git a/xournalpp.changes b/xournalpp.changes index 918eeb1..5a7fb1e 100644 --- a/xournalpp.changes +++ b/xournalpp.changes @@ -1,3 +1,49 @@ +------------------------------------------------------------------- +Wed Nov 25 09:54:38 UTC 2020 - Markus Ebner + +- Update to version 1.0.19: + * Changed select object algorithm to be more intuitive + * Added ability for taps with Select Rectangle and Select Region + to act like Select Object (gh#xournalpp/xournalpp#1980). + * Improved document loading speed (gh#xournalpp/xournalpp#2002). + * Added a --version command to print the Xournal++ version + * Added a libgtk version display to the About dialog + * Added a 16kHz sample rate to audio settings and fixed the 91kHz + sample rate (gh#xournalpp/xournalpp#2092). + * Added file version check for future compatibility + (gh#xournalpp/xournalpp#1991). + * Changed wording of new page template dialog to be less + confusing (gh#xournalpp/xournalpp#1524). + * Fixed behavior of "Attach file to the journal" option when + choosing "Annotate PDF" (#1725, #2106). This now allows the + background PDF and the annotation files to be renamed and moved + as long as they 1) share the same file prefix; and 2) share the + same relative path. + * Fixed an issue where clicking the X on the replace file dialog + would overwrite the file (gh#xournalpp/xournalpp#1983). + * (libcairo >= 1.16 only): Fixed PDF export crashing when the + table of contents is empty (gh#xournalpp/xournalpp#2236).. + * Fixed a bug where the PDF background would not update when + loading a new document (gh#xournalpp/xournalpp#1964). + * Fixed plugin window causing a crash on Ubuntu 16.04 + * Fixed a bug where the icon would not appear correctly on some + desktop environments (gh#xournalpp/xournalpp#1892). + * Fixed inconsistent ordering of button keybindings + (gh#xournalpp/xournalpp#1961). + * Fixed the Enter key not confirming PDF export settings + (gh#xournalpp/xournalpp#1977). + * Fixed exported PDF title (gh#xournalpp/xournalpp#2039). + * Fixed a bug where different page backgrounds can cause PDFs to + be exported with the wrong backgrounds + (gh#xournalpp/xournalpp#2119). + * Fixed a bug where the page number count would not be updated + after deleting a page (gh#xournalpp/xournalpp#2134). + * Fixed selection object tool not working correctly + (gh#xournalpp/xournalpp#2081). / crashing + (gh#xournalpp/xournalpp#2133). when there are multiple layers +- Drop xournalpp-fix-exporting-pdf-with-references.patch: + incorporated upstream. + ------------------------------------------------------------------- Sat Sep 19 14:27:53 UTC 2020 - Atri Bhattacharya diff --git a/xournalpp.spec b/xournalpp.spec index 2b30e8e..3fff86c 100644 --- a/xournalpp.spec +++ b/xournalpp.spec @@ -17,7 +17,7 @@ Name: xournalpp -Version: 1.0.18 +Version: 1.0.19 Release: 0 Summary: Notetaking software designed around a tablet License: GPL-2.0-or-later @@ -26,8 +26,6 @@ URL: https://github.com/xournalpp/xournalpp Source0: https://github.com/xournalpp/xournalpp/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz # PATCH-FIX-UPSTREAM xournalpp-fix-desktop-categories.patch badshah400@gmail.com -- Fix desktop categories with additional keywords to prevent "No sufficient Category definition" error from brp-desktop. Patch0: xournalpp-fix-desktop-categories.patch -# PATCH-FIX-UPSTREAM xournalpp-fix-exporting-pdf-with-references.patch gh#xournalpp/xournalpp#2236 badshah400@gmail.com -- Fix PDF export when references exist in the document. -Patch1: xournalpp-fix-exporting-pdf-with-references.patch BuildRequires: cmake BuildRequires: fdupes BuildRequires: gcc-c++ @@ -54,7 +52,6 @@ It supports pen input, e.g. Wacom tablets. %prep %setup -q %patch0 -p1 -%patch1 -p1 %build %cmake