- update to final 1.3.7
This commit is contained in:
parent
e5c248e7d6
commit
0cc8c08629
@ -1 +1 @@
|
||||
scribus-1.3.6.tar.bz2
|
||||
scribus-1.3.7.tar.bz2
|
||||
|
@ -1,15 +0,0 @@
|
||||
diff -up scribus-1.3.6/scribus/CMakeLists.txt.linker scribus-1.3.6/scribus/CMakeLists.txt
|
||||
--- scribus-1.3.6/scribus/CMakeLists.txt.linker 2010-03-31 11:52:41.000000000 +0200
|
||||
+++ scribus-1.3.6/scribus/CMakeLists.txt 2010-03-31 11:56:16.000000000 +0200
|
||||
@@ -761,6 +761,11 @@ TARGET_LINK_LIBRARIES(${EXE_NAME}
|
||||
${WIN32_ONLY_LIBS}
|
||||
)
|
||||
|
||||
+# required to resolve symbols from libdl when ld is called with --no-add-needed
|
||||
+IF(UNIX)
|
||||
+ TARGET_LINK_LIBRARIES(${EXE_NAME} dl)
|
||||
+ENDIF(UNIX)
|
||||
+
|
||||
IF(WIN32)
|
||||
TARGET_LINK_LIBRARIES(${EXE_NAME} ${QT_QTMAIN_LIBRARY})
|
||||
ENDIF(WIN32)
|
@ -1,24 +0,0 @@
|
||||
diff -up scribus-1.3.6/scribus/plugins/barcodegenerator/barcodegenerator.h.qstring scribus-1.3.6/scribus/plugins/barcodegenerator/barcodegenerator.h
|
||||
--- scribus-1.3.6/scribus/plugins/barcodegenerator/barcodegenerator.h.qstring 2010-03-30 15:38:04.000000000 +0200
|
||||
+++ scribus-1.3.6/scribus/plugins/barcodegenerator/barcodegenerator.h 2010-03-30 15:39:46.000000000 +0200
|
||||
@@ -100,7 +100,7 @@ class BarcodeGenerator : public QDialog
|
||||
\param dpi optional DPI value. Default is 72 for preview.
|
||||
\retval bool true on success.
|
||||
*/
|
||||
- bool paintBarcode(QString fileName = 0, int dpi = 72);
|
||||
+ bool paintBarcode(QString fileName = QString::null, int dpi = 72);
|
||||
/*! \brief Create color preview.
|
||||
Used for Color box feedback.
|
||||
\param l A pointer to the sample QLabel
|
||||
diff -up scribus-1.3.6/scribus/scribusdoc.cpp.qstring scribus-1.3.6/scribus/scribusdoc.cpp
|
||||
--- scribus-1.3.6/scribus/scribusdoc.cpp.qstring 2010-03-31 11:41:08.000000000 +0200
|
||||
+++ scribus-1.3.6/scribus/scribusdoc.cpp 2010-03-31 11:40:45.000000000 +0200
|
||||
@@ -189,7 +189,7 @@ ScribusDoc::ScribusDoc() : UndoObject( t
|
||||
pageSets(prefsData.pageSets),
|
||||
PageSp(1), PageSpa(0),
|
||||
currentPageLayout(0),
|
||||
- PageOri(0), m_pageSize(0),
|
||||
+ PageOri(0), m_pageSize(QString::null),
|
||||
FirstPnum(1),
|
||||
useRaster(false),
|
||||
PageColors(this, true),
|
@ -1,12 +0,0 @@
|
||||
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
|
@ -1,6 +1,42 @@
|
||||
diff -Nrup scribus-1.3.5.rc3.orig/cmake/modules/FindHYPHEN.cmake scribus-1.3.5.rc3/cmake/modules/FindHYPHEN.cmake
|
||||
--- scribus-1.3.5.rc3.orig/cmake/modules/FindHYPHEN.cmake 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ scribus-1.3.5.rc3/cmake/modules/FindHYPHEN.cmake 2009-07-02 14:23:26.000000000 +0200
|
||||
From 714923566c62dbe89991ca8e100d9c47e9aa38fc Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Dan=20Hor=C3=A1k?= <dan@danny.cz>
|
||||
Date: Tue, 1 Jun 2010 10:54:50 +0200
|
||||
Subject: [PATCH] use system hyphen library
|
||||
|
||||
---
|
||||
Scribus/CMakeLists.txt | 10 ++++++++++
|
||||
Scribus/cmake/modules/FindHYPHEN.cmake | 28 ++++++++++++++++++++++++++++
|
||||
Scribus/scribus/CMakeLists.txt | 16 ++++++++++++++--
|
||||
Scribus/scribus/hyphenator.h | 2 +-
|
||||
4 files changed, 53 insertions(+), 3 deletions(-)
|
||||
create mode 100644 Scribus/cmake/modules/FindHYPHEN.cmake
|
||||
|
||||
diff --git a/Scribus/CMakeLists.txt b/Scribus/CMakeLists.txt
|
||||
index 482fb4c..2547d3b 100644
|
||||
--- a/Scribus/CMakeLists.txt
|
||||
+++ b/Scribus/CMakeLists.txt
|
||||
@@ -684,6 +684,16 @@ IF (WITH_PODOFO)
|
||||
ENDIF (WITH_PODOFO)
|
||||
#>>PoDoFo for AI PDF import
|
||||
|
||||
+#<<HYPHEN for system hyphenation library
|
||||
+FIND_PACKAGE(HYPHEN)
|
||||
+IF(HYPHEN_FOUND)
|
||||
+ MESSAGE("system hyphenation library found OK")
|
||||
+ SET(HAVE_HYPHEN 1)
|
||||
+ELSE(HYPHEN_FOUND)
|
||||
+ MESSAGE("system hyphenation library NOT found - will use internal one")
|
||||
+ENDIF(HYPHEN_FOUND)
|
||||
+#>>HYPHEN for system hyphenation library
|
||||
+
|
||||
##############################################################################################################
|
||||
########## Include Setup ##########
|
||||
|
||||
diff --git a/Scribus/cmake/modules/FindHYPHEN.cmake b/Scribus/cmake/modules/FindHYPHEN.cmake
|
||||
new file mode 100644
|
||||
index 0000000..d67bd59
|
||||
--- /dev/null
|
||||
+++ b/Scribus/cmake/modules/FindHYPHEN.cmake
|
||||
@@ -0,0 +1,28 @@
|
||||
+# - Find HYPHEN library
|
||||
+# Find the native HYPHEN includes and library
|
||||
@ -30,29 +66,11 @@ diff -Nrup scribus-1.3.5.rc3.orig/cmake/modules/FindHYPHEN.cmake scribus-1.3.5.r
|
||||
+IF(HYPHEN_FOUND)
|
||||
+ SET( HYPHEN_LIBRARIES ${HYPHEN_LIBRARY} )
|
||||
+ENDIF(HYPHEN_FOUND)
|
||||
--- scribus-1.3.5.rc3.orig/CMakeLists.txt 2009-05-30 14:38:09.000000000 +0200
|
||||
+++ scribus-1.3.5.rc3/CMakeLists.txt 2009-07-02 14:32:24.000000000 +0200
|
||||
@@ -638,6 +638,16 @@ ELSE(LIBPODOFO_FOUND)
|
||||
ENDIF(LIBPODOFO_FOUND)
|
||||
#>>PoDoFo for AI PDF import
|
||||
|
||||
+#<<HYPHEN for system hyphenation library
|
||||
+FIND_PACKAGE(HYPHEN)
|
||||
+IF(HYPHEN_FOUND)
|
||||
+ MESSAGE("system hyphenation library found OK")
|
||||
+ SET(HAVE_HYPHEN 1)
|
||||
+ELSE(HYPHEN_FOUND)
|
||||
+ MESSAGE("system hyphenation library NOT found - will use internal one")
|
||||
+ENDIF(HYPHEN_FOUND)
|
||||
+#>>HYPHEN for system hyphenation library
|
||||
+
|
||||
##############################################################################################################
|
||||
########## Include Setup ##########
|
||||
|
||||
diff -Nrup -x CMakeFiles -x Makefile -x FindHYPHEN.cmake scribus-1.3.5.rc3.orig/scribus/CMakeLists.txt scribus-1.3.5.rc3/scribus/CMakeLists.txt
|
||||
--- scribus-1.3.5.rc3.orig/scribus/CMakeLists.txt 2009-06-07 09:05:54.000000000 +0200
|
||||
+++ scribus-1.3.5.rc3/scribus/CMakeLists.txt 2009-07-02 15:22:52.000000000 +0200
|
||||
@@ -403,10 +403,8 @@ SET(SCRIBUS_SOURCES
|
||||
diff --git a/Scribus/scribus/CMakeLists.txt b/Scribus/scribus/CMakeLists.txt
|
||||
index e856781..49da5f6 100644
|
||||
--- a/Scribus/scribus/CMakeLists.txt
|
||||
+++ b/Scribus/scribus/CMakeLists.txt
|
||||
@@ -396,10 +396,8 @@ SET(SCRIBUS_SOURCES
|
||||
guidesdelegate.cpp
|
||||
guidesmodel.cpp
|
||||
helpbrowser.cpp
|
||||
@ -63,7 +81,7 @@ diff -Nrup -x CMakeFiles -x Makefile -x FindHYPHEN.cmake scribus-1.3.5.rc3.orig/
|
||||
hyphenator.cpp
|
||||
hysettings.cpp
|
||||
imageinfodialog.cpp
|
||||
@@ -641,6 +639,14 @@ SET(SCRIBUS_SOURCES
|
||||
@@ -634,6 +632,14 @@ SET(SCRIBUS_SOURCES
|
||||
vruler.cpp
|
||||
)
|
||||
|
||||
@ -78,7 +96,7 @@ diff -Nrup -x CMakeFiles -x Makefile -x FindHYPHEN.cmake scribus-1.3.5.rc3.orig/
|
||||
IF(WIN32)
|
||||
SET(SCRIBUS_MOC_WIN32_ONLY_CLASSES scprintengine_gdi.h)
|
||||
SET(SCRIBUS_WIN32_ONLY_SOURCES
|
||||
@@ -785,6 +791,12 @@ IF(HAVE_PODOFO)
|
||||
@@ -783,6 +789,12 @@ IF(HAVE_PODOFO)
|
||||
)
|
||||
ENDIF(HAVE_PODOFO)
|
||||
|
||||
@ -91,10 +109,11 @@ diff -Nrup -x CMakeFiles -x Makefile -x FindHYPHEN.cmake scribus-1.3.5.rc3.orig/
|
||||
# Now build plugins
|
||||
SET(PLUGIN_LIBRARIES)
|
||||
IF(WIN32)
|
||||
diff -Nrup -x CMakeFiles -x Makefile -x '*.cmake' scribus-1.3.5.rc3.orig/scribus/hyphenator.h scribus-1.3.5.rc3/scribus/hyphenator.h
|
||||
--- scribus-1.3.5.rc3.orig/scribus/hyphenator.h 2007-07-10 22:33:09.000000000 +0200
|
||||
+++ scribus-1.3.5.rc3/scribus/hyphenator.h 2009-07-02 14:03:11.000000000 +0200
|
||||
@@ -13,7 +13,7 @@ for which a new license (GPL+exception)
|
||||
diff --git a/Scribus/scribus/hyphenator.h b/Scribus/scribus/hyphenator.h
|
||||
index 7712c37..1312950 100644
|
||||
--- a/Scribus/scribus/hyphenator.h
|
||||
+++ b/Scribus/scribus/hyphenator.h
|
||||
@@ -13,7 +13,7 @@ for which a new license (GPL+exception) is in place.
|
||||
#include <QSet>
|
||||
|
||||
#include "scribusapi.h"
|
||||
@ -103,3 +122,6 @@ diff -Nrup -x CMakeFiles -x Makefile -x '*.cmake' scribus-1.3.5.rc3.orig/scribus
|
||||
class ScribusDoc;
|
||||
class ScribusMainWindow;
|
||||
class PageItem;
|
||||
--
|
||||
1.6.6.1
|
||||
|
20
scribus.spec
20
scribus.spec
@ -1,6 +1,6 @@
|
||||
Name: scribus
|
||||
Version: 1.3.6
|
||||
Release: 2%{?dist}
|
||||
Version: 1.3.7
|
||||
Release: 1%{?dist}
|
||||
|
||||
Summary: DeskTop Publishing application written in Qt
|
||||
|
||||
@ -10,13 +10,7 @@ URL: http://www.scribus.net/
|
||||
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=506074
|
||||
# http://bugs.scribus.net/view.php?id=8232
|
||||
Patch0: %{name}-1.3.5-system-hyphen.patch
|
||||
# fix version variable for buildsystem
|
||||
Patch1: %{name}-1.3.6-version.patch
|
||||
# fix QString initialization in Qt 4.7
|
||||
Patch2: %{name}-1.3.6-qstring.patch
|
||||
# fix linking with --no-add-needed
|
||||
Patch3: %{name}-1.3.6-linker.patch
|
||||
Patch0: %{name}-1.3.7-system-hyphen.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildRequires: cmake
|
||||
@ -83,10 +77,7 @@ Obsoletes: %{name}-doc < 1.3.5-0.12.beta
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}
|
||||
%patch0 -p1 -b .system-hyphen
|
||||
%patch1 -p1 -b .version
|
||||
%patch2 -p1 -b .qstring
|
||||
%patch3 -p1 -b .linker
|
||||
%patch0 -p2 -b .system-hyphen
|
||||
|
||||
# recode man page to UTF-8
|
||||
pushd scribus/manpages
|
||||
@ -194,6 +185,9 @@ update-mime-database %{_datadir}/mime > /dev/null 2>&1 || :
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jun 4 2010 Dan Horák <dan[AT]danny.cz> - 1.3.7-1
|
||||
- update to final 1.3.7
|
||||
|
||||
* Wed Mar 31 2010 Dan Horák <dan[AT]danny.cz> - 1.3.6-2
|
||||
- added 2 patches for rawhide
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user