From e15e3bc3f727e9b498706ee38c8805d1a59442a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20Hor=C3=A1k?= Date: Wed, 31 Mar 2010 12:25:04 +0000 Subject: [PATCH] - update to 1.3.6 --- .cvsignore | 2 +- scribus-1.3.5-check-hdict.patch | 26 -------------------------- scribus-1.3.6-version.patch | 12 ++++++++++++ scribus.spec | 14 ++++++++------ sources | 2 +- 5 files changed, 22 insertions(+), 34 deletions(-) delete mode 100644 scribus-1.3.5-check-hdict.patch create mode 100644 scribus-1.3.6-version.patch diff --git a/.cvsignore b/.cvsignore index 48b931a..c70a3ac 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -scribus-1.3.5.1.tar.bz2 +scribus-1.3.6.tar.bz2 diff --git a/scribus-1.3.5-check-hdict.patch b/scribus-1.3.5-check-hdict.patch deleted file mode 100644 index 40c9322..0000000 --- a/scribus-1.3.5-check-hdict.patch +++ /dev/null @@ -1,26 +0,0 @@ -From dedea3f94802f0f9d9adef4c48f8061282baf776 Mon Sep 17 00:00:00 2001 -From: =?utf-8?q?Dan=20Hor=C3=A1k?= -Date: Mon, 23 Nov 2009 10:13:48 +0100 -Subject: [PATCH] check hdict value before freeing the hyphenator - ---- - Scribus/scribus/hyphenator.cpp | 3 ++- - 1 files changed, 2 insertions(+), 1 deletions(-) - -diff --git a/Scribus/scribus/hyphenator.cpp b/Scribus/scribus/hyphenator.cpp -index 614db47..4da4467 100644 ---- a/Scribus/scribus/hyphenator.cpp -+++ b/Scribus/scribus/hyphenator.cpp -@@ -90,7 +90,8 @@ Hyphenator::Hyphenator(QWidget* parent, ScribusDoc *dok) : QObject( parent ), - - Hyphenator::~Hyphenator() - { -- hnj_hyphen_free(hdict); -+ if (hdict) -+ hnj_hyphen_free(hdict); - } - - void Hyphenator::NewDict(const QString& name) --- -1.6.3.3 - diff --git a/scribus-1.3.6-version.patch b/scribus-1.3.6-version.patch new file mode 100644 index 0000000..683d076 --- /dev/null +++ b/scribus-1.3.6-version.patch @@ -0,0 +1,12 @@ +diff -up scribus-1.3.6/CMakeLists.txt.version scribus-1.3.6/CMakeLists.txt +--- scribus-1.3.6/CMakeLists.txt.version 2010-03-30 11:54:53.000000000 +0200 ++++ scribus-1.3.6/CMakeLists.txt 2010-03-30 11:55:15.000000000 +0200 +@@ -79,7 +79,7 @@ SET (VERSION_MAJOR "1") + SET (VERSION_MINOR "3") + SET (VERSION_PATCH "6") + SET (VERSION_SUFFIX "") +-SET (VERSION ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}.${VERSION_SUFFIX}) ++SET (VERSION ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}${VERSION_SUFFIX}) + MESSAGE(STATUS "Scribus ${VERSION} will be built to install into ${CMAKE_INSTALL_PREFIX}") + + #Set the permissions to be used when installing plugins diff --git a/scribus.spec b/scribus.spec index a2018a9..554826d 100644 --- a/scribus.spec +++ b/scribus.spec @@ -1,6 +1,6 @@ Name: scribus -Version: 1.3.5.1 -Release: 2%{?dist} +Version: 1.3.6 +Release: 1%{?dist} Summary: DeskTop Publishing application written in Qt @@ -8,9 +8,8 @@ Group: Applications/Productivity License: GPLv2+ URL: http://www.scribus.net/ Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2 -# https://bugzilla.redhat.com/show_bug.cgi?id=537677 -# http://bugs.scribus.net/view.php?id=8595 -Patch0: %{name}-1.3.5-check-hdict.patch +# fix version variable for buildsystem +Patch0: %{name}-1.3.6-version.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: cmake @@ -75,7 +74,7 @@ Obsoletes: %{name}-doc < 1.3.5-0.12.beta %prep %setup -q -%patch0 -p2 -b .check-hdict +%patch0 -p1 -b .version # recode man page to UTF-8 pushd scribus/manpages @@ -170,6 +169,9 @@ update-mime-database %{_datadir}/mime > /dev/null 2>&1 || : %changelog +* Wed Mar 31 2010 Dan Horák - 1.3.6-1 +- update to 1.3.6 + * Wed Nov 25 2009 Dan Horák - 1.3.5.1-2 - fixed a crash when closing a hyphenator object (#537677) diff --git a/sources b/sources index 9becb11..427c29b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -4cadca0c780491ad61dc2d815776f10b scribus-1.3.5.1.tar.bz2 +2d653c8371d198b5d8321e9ba5e0142d scribus-1.3.6.tar.bz2