Compare commits
46 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
d72b919a11 | ||
|
7d4050f9f9 | ||
|
4c38001334 | ||
|
cd2ad6a361 | ||
|
9ae3a3207d | ||
|
a79cb5539b | ||
|
66f14893f9 | ||
|
aae23661b9 | ||
|
62c83b0e2d | ||
|
f9f6377177 | ||
|
f02f0c1bdc | ||
|
02008e9c49 | ||
|
161bf13488 | ||
|
5ac98b7622 | ||
|
8eb41b5ac3 | ||
|
3cb1a9a151 | ||
|
8a4002715b | ||
|
d3028407c8 | ||
|
78fd35f5ac | ||
|
1ae2332172 | ||
|
4723a1553a | ||
|
5371f1fb26 | ||
|
6a4429cf3c | ||
|
82a9df5151 | ||
|
dc60afa6aa | ||
|
004274614d | ||
|
d153a35cfb | ||
|
0417bb9b46 | ||
|
76e87981ee | ||
|
2da6d4cb52 | ||
|
3e88f2bd16 | ||
|
66ef18481c | ||
|
f419b028eb | ||
|
b003a2ea5c | ||
|
867608c327 | ||
|
d1f572a37b | ||
|
6b9f626b63 | ||
|
fcc50c9835 | ||
|
48dcf240ac | ||
|
8a5efe60b5 | ||
|
3775cb967a | ||
|
637c7cd250 | ||
|
5028a65361 | ||
|
8fd8b52ffd | ||
|
4837072349 | ||
|
d28e224a27 |
4
.gitignore
vendored
4
.gitignore
vendored
@ -5,3 +5,7 @@ scribus-1.3.8.tar.bz2
|
||||
/scribus-1.4.1.tar.xz
|
||||
/scribus-1.4.1.tar.xz.asc
|
||||
/scribus-1.4.2-free.tar.xz
|
||||
/scribus-1.4.3-free.tar.xz
|
||||
/scribus-1.4.4-free.tar.xz
|
||||
/scribus-1.4.5-free.tar.xz
|
||||
/scribus-1.4.6-free.tar.xz
|
||||
|
21
make-free-archive.sh
Normal file → Executable file
21
make-free-archive.sh
Normal file → Executable file
@ -11,11 +11,11 @@ nv=scribus-${version}
|
||||
archive=${nv}.tar.xz
|
||||
freearchive=${nv}-free.tar.xz
|
||||
|
||||
[ -f ${archive} ] || curl -O http://downloads.sourceforge.net/scribus/scribus-${version}.tar.xz
|
||||
[ -f ${archive} ] || curl -OL http://downloads.sourceforge.net/scribus/scribus-${version}.tar.xz
|
||||
|
||||
echo "Extracting sources ..."
|
||||
rm -rf ${nv}
|
||||
xzcat $archive | tar xf -
|
||||
tar -xJf $archive
|
||||
|
||||
pushd ${nv}
|
||||
|
||||
@ -28,9 +28,26 @@ rm scribus/profiles/{sRGB.icm,srgb.license}
|
||||
# remove non-free content from swatches
|
||||
rm resources/swatches/*.eps
|
||||
rm resources/swatches/dtp-studio-free-palettes-license.rtf
|
||||
|
||||
rm resources/swatches/Galaxy_*
|
||||
rm resources/swatches/Resene_*
|
||||
rm resources/swatches/COPYING_RESENE.txt
|
||||
rm resources/swatches/NAA*
|
||||
|
||||
rm resources/swatches/GiveLife_Color_System_*.xml
|
||||
rm resources/swatches/givelife_colors_license.rtf
|
||||
|
||||
rm resources/swatches/Federal_Identity_Program.xml
|
||||
|
||||
# Remove non-free (CC-BY-SA-NC) dot files
|
||||
rm resources/editorconfig/dot.*
|
||||
|
||||
# Remove non-free dic files
|
||||
rm resources/dicts/hyph_fi.dic
|
||||
|
||||
# Remove license unknown dic files
|
||||
rm resources/dicts/hyph_ia.dic resources/dicts/hyph_sv.dic
|
||||
|
||||
popd
|
||||
|
||||
echo "Creating sources ..."
|
||||
|
@ -1,15 +0,0 @@
|
||||
diff -up scribus-1.4.0/CMakeLists.txt.docdir scribus-1.4.0/CMakeLists.txt
|
||||
--- scribus-1.4.0/CMakeLists.txt.docdir 2012-01-02 15:06:44.000000000 +0100
|
||||
+++ scribus-1.4.0/CMakeLists.txt 2012-01-02 15:06:57.000000000 +0100
|
||||
@@ -266,11 +266,7 @@ ELSE (WIN32 OR OS2)
|
||||
IF(TAG_VERSION OR BUILD_OSX_BUNDLE)
|
||||
SET(DOCDIR "share/doc/${MAIN_DIR_NAME}${TAG_VERSION}/")
|
||||
ELSE(TAG_VERSION OR BUILD_OSX_BUNDLE)
|
||||
- IF(NOT WANT_VERSIONING)
|
||||
- SET(DOCDIR "share/doc/${MAIN_DIR_NAME}/")
|
||||
- ELSE(NOT WANT_VERSIONING)
|
||||
SET(DOCDIR "share/doc/${MAIN_DIR_NAME}-${VERSION}/")
|
||||
- ENDIF(NOT WANT_VERSIONING)
|
||||
ENDIF (TAG_VERSION OR BUILD_OSX_BUNDLE)
|
||||
ENDIF (WIN32 OR OS2)
|
||||
ADD_DEFINITIONS("-DDOCDIR=\\\"${CMAKE_INSTALL_PREFIX}/${DOCDIR}\\\"")
|
@ -1,6 +1,7 @@
|
||||
diff -up scribus-1.4.2/scribus/CMakeLists.txt.nonfree scribus-1.4.2/scribus/CMakeLists.txt
|
||||
--- scribus-1.4.2/scribus/CMakeLists.txt.nonfree 2012-06-07 22:01:10.000000000 +0200
|
||||
+++ scribus-1.4.2/scribus/CMakeLists.txt 2013-01-15 18:50:11.000000000 +0100
|
||||
Index: scribus-1.4.2/scribus/CMakeLists.txt
|
||||
===================================================================
|
||||
--- scribus-1.4.2.orig/scribus/CMakeLists.txt
|
||||
+++ scribus-1.4.2/scribus/CMakeLists.txt
|
||||
@@ -2,7 +2,6 @@ IF(WIN32)
|
||||
ADD_DEFINITIONS(-DQT_DLL)
|
||||
ENDIF(WIN32)
|
||||
@ -9,9 +10,10 @@ diff -up scribus-1.4.2/scribus/CMakeLists.txt.nonfree scribus-1.4.2/scribus/CMak
|
||||
ADD_SUBDIRECTORY(dtd)
|
||||
ADD_SUBDIRECTORY(manpages)
|
||||
ADD_SUBDIRECTORY(colormgmt)
|
||||
diff -up scribus-1.4.2/scribus/helpbrowser.cpp.nonfree scribus-1.4.2/scribus/helpbrowser.cpp
|
||||
--- scribus-1.4.2/scribus/helpbrowser.cpp.nonfree 2012-06-24 22:43:17.000000000 +0200
|
||||
+++ scribus-1.4.2/scribus/helpbrowser.cpp 2013-01-15 18:50:11.000000000 +0100
|
||||
Index: scribus-1.4.2/scribus/helpbrowser.cpp
|
||||
===================================================================
|
||||
--- scribus-1.4.2.orig/scribus/helpbrowser.cpp
|
||||
+++ scribus-1.4.2/scribus/helpbrowser.cpp
|
||||
@@ -716,7 +716,7 @@ QString HelpBrowser::historyFile()
|
||||
|
||||
void HelpBrowser::displayNoHelp()
|
||||
@ -21,9 +23,10 @@ diff -up scribus-1.4.2/scribus/helpbrowser.cpp.nonfree scribus-1.4.2/scribus/hel
|
||||
"HTML message for no documentation available to show");
|
||||
|
||||
textBrowser->setText(noHelpMsg);
|
||||
diff -up scribus-1.4.2/scribus/profiles/CMakeLists.txt.nonfree scribus-1.4.2/scribus/profiles/CMakeLists.txt
|
||||
--- scribus-1.4.2/scribus/profiles/CMakeLists.txt.nonfree 2012-01-03 22:47:01.000000000 +0100
|
||||
+++ scribus-1.4.2/scribus/profiles/CMakeLists.txt 2013-01-15 18:50:11.000000000 +0100
|
||||
Index: scribus-1.4.2/scribus/profiles/CMakeLists.txt
|
||||
===================================================================
|
||||
--- scribus-1.4.2.orig/scribus/profiles/CMakeLists.txt
|
||||
+++ scribus-1.4.2/scribus/profiles/CMakeLists.txt
|
||||
@@ -6,7 +6,5 @@ INSTALL(FILES
|
||||
GenericCMYK.icm
|
||||
GenericCMYK.txt
|
||||
@ -32,3 +35,26 @@ diff -up scribus-1.4.2/scribus/profiles/CMakeLists.txt.nonfree scribus-1.4.2/scr
|
||||
-srgb.license
|
||||
DESTINATION ${SHAREDIR}profiles
|
||||
)
|
||||
diff -up scribus-1.4.4/resources/editorconfig/CMakeLists.txt.no-dot scribus-1.4.4/resources/editorconfig/CMakeLists.txt
|
||||
--- scribus-1.4.4/resources/editorconfig/CMakeLists.txt.no-dot 2014-06-06 17:22:12.258966553 -0400
|
||||
+++ scribus-1.4.4/resources/editorconfig/CMakeLists.txt 2014-06-06 17:22:16.326936717 -0400
|
||||
@@ -12,7 +12,6 @@ gnuplot.png
|
||||
300_lilypond.xml
|
||||
lilypond.png
|
||||
400_dot.xml
|
||||
-dot.svg
|
||||
500_povray.xml
|
||||
povray_32.png
|
||||
|
||||
diff -up scribus-1.4.5/resources/swatches/CMakeLists.txt.nonfree scribus-1.4.5/resources/swatches/CMakeLists.txt
|
||||
--- scribus-1.4.5/resources/swatches/CMakeLists.txt.nonfree 2016-01-12 17:41:12.379774049 -0500
|
||||
+++ scribus-1.4.5/resources/swatches/CMakeLists.txt 2016-01-12 17:41:22.219677148 -0500
|
||||
@@ -8,7 +8,7 @@ FILE( GLOB EPS_PALETTES *.eps )
|
||||
FILE( GLOB RTF_LICENSES *.rtf )
|
||||
|
||||
#Avoid CMakeLists.txt
|
||||
-SET(TXT_LICENSES "${CMAKE_CURRENT_SOURCE_DIR}/COPYING_RESENE.txt" "${CMAKE_CURRENT_SOURCE_DIR}/Japanese_Traditional_README.txt")
|
||||
+SET(TXT_LICENSES "${CMAKE_CURRENT_SOURCE_DIR}/Japanese_Traditional_README.txt")
|
||||
|
||||
INSTALL(FILES ${GIMP_STYLE_PALETTES} ${XML_PALETTES} ${EPS_PALETTES} ${RTF_LICENSES} ${TXT_LICENSES}
|
||||
DESTINATION ${SHAREDIR}swatches
|
||||
|
138
scribus-1.4.4-qreal_double.patch
Normal file
138
scribus-1.4.4-qreal_double.patch
Normal file
@ -0,0 +1,138 @@
|
||||
Description: Avoid qreal/double type clashes on ARM
|
||||
Author: Colin Watson <cjwatson@ubuntu.com>
|
||||
Forwarded: no
|
||||
Last-Update: 2013-05-16
|
||||
|
||||
--- scribus-1.4.2.dfsg+r18267.orig/scribus/scribus.h
|
||||
+++ scribus-1.4.2.dfsg+r18267/scribus/scribus.h
|
||||
@@ -466,7 +466,7 @@ public slots:
|
||||
/** Fragt nach den Farben */
|
||||
// void GetBrushPen();
|
||||
/** Erzeugt einen Rahmen */
|
||||
- void MakeFrame(int f, int c, double *vals);
|
||||
+ void MakeFrame(int f, int c, qreal *vals);
|
||||
//** Loescht ein Element */
|
||||
//void DeleteObjekt();
|
||||
/** Duplicate current item */
|
||||
--- scribus-1.4.2.dfsg+r18267.orig/scribus/pageitem.cpp
|
||||
+++ scribus-1.4.2.dfsg+r18267/scribus/pageitem.cpp
|
||||
@@ -4597,7 +4597,7 @@ void PageItem::copyToCopyPasteBuffer(str
|
||||
|
||||
|
||||
//Moved from View
|
||||
-void PageItem::SetFrameShape(int count, double *vals)
|
||||
+void PageItem::SetFrameShape(int count, qreal *vals)
|
||||
{
|
||||
PoLine.resize(0);
|
||||
for (int a = 0; a < count-3; a += 4)
|
||||
@@ -4620,7 +4620,7 @@ void PageItem::SetFrameShape(int count,
|
||||
|
||||
void PageItem::SetRectFrame()
|
||||
{
|
||||
- static double rect[] = { 0.0, 0.0, 0.0, 0.0,
|
||||
+ static qreal rect[] = { 0.0, 0.0, 0.0, 0.0,
|
||||
100.0, 0.0, 100.0, 0.0,
|
||||
100.0, 0.0, 100.0, 0.0,
|
||||
100.0, 100.0, 100.0, 100.0,
|
||||
@@ -4635,7 +4635,7 @@ void PageItem::SetRectFrame()
|
||||
|
||||
void PageItem::SetOvalFrame()
|
||||
{
|
||||
- static double rect[] = { 100.0, 50.0, 100.0, 77.615235,
|
||||
+ static qreal rect[] = { 100.0, 50.0, 100.0, 77.615235,
|
||||
50.0, 100.0, 77.615235, 100.0,
|
||||
50.0, 100.0, 22.385765, 100.0,
|
||||
0.0, 50.0, 0.0, 77.615235,
|
||||
--- scribus-1.4.2.dfsg+r18267.orig/scribus/pageitem.h
|
||||
+++ scribus-1.4.2.dfsg+r18267/scribus/pageitem.h
|
||||
@@ -298,7 +298,7 @@ protected:
|
||||
void DrawObj_PathText(ScPainter *p, double sc);
|
||||
public:
|
||||
void DrawObj_Embedded(ScPainter *p, QRectF e, const CharStyle& style, PageItem* cembedded);
|
||||
- void SetFrameShape(int count, double *vals);
|
||||
+ void SetFrameShape(int count, qreal *vals);
|
||||
void SetRectFrame();
|
||||
void SetOvalFrame();
|
||||
void SetFrameRound();
|
||||
--- scribus-1.4.2.dfsg+r18267.orig/scribus/propertiespalette.cpp
|
||||
+++ scribus-1.4.2.dfsg+r18267/scribus/propertiespalette.cpp
|
||||
@@ -4622,7 +4622,7 @@ void PropertiesPalette::MakeIrre(int f,
|
||||
doc->setRedrawBounding(CurItem);
|
||||
break;
|
||||
default:
|
||||
- CurItem->SetFrameShape(c, (double*)vals);
|
||||
+ CurItem->SetFrameShape(c, vals);
|
||||
doc->setRedrawBounding(CurItem);
|
||||
CurItem->FrameType = f+2;
|
||||
break;
|
||||
--- scribus-1.4.2.dfsg+r18267.orig/scribus/scribusdoc.h
|
||||
+++ scribus-1.4.2.dfsg+r18267/scribus/scribusdoc.h
|
||||
@@ -1005,7 +1005,7 @@ public: // Public attributes
|
||||
DocumentInformation documentInfo;
|
||||
int appMode;
|
||||
int SubMode;
|
||||
- double *ShapeValues;
|
||||
+ qreal *ShapeValues;
|
||||
int ValCount;
|
||||
QString DocName;
|
||||
QMap<QString,int> UsedFonts;
|
||||
--- scribus-1.4.2.dfsg+r18267.orig/scribus/canvasmode_create.cpp
|
||||
+++ scribus-1.4.2.dfsg+r18267/scribus/canvasmode_create.cpp
|
||||
@@ -122,7 +122,7 @@ void CreateMode::drawControls(QPainter*
|
||||
{
|
||||
FPointArray poly;
|
||||
int valCount = m_doc->ValCount;
|
||||
- double *vals = m_doc->ShapeValues;
|
||||
+ qreal *vals = m_doc->ShapeValues;
|
||||
for (int a = 0; a < valCount-3; a += 4)
|
||||
{
|
||||
if (vals[a] < 0)
|
||||
--- scribus-1.4.2.dfsg+r18267.orig/scribus/scribus.cpp
|
||||
+++ scribus-1.4.2.dfsg+r18267/scribus/scribus.cpp
|
||||
@@ -7599,7 +7599,7 @@ void ScribusMainWindow::GetBrushPen()
|
||||
}
|
||||
*/
|
||||
//CB-->??
|
||||
-void ScribusMainWindow::MakeFrame(int f, int c, double *vals)
|
||||
+void ScribusMainWindow::MakeFrame(int f, int c, qreal *vals)
|
||||
{
|
||||
PageItem *currItem = doc->m_Selection->itemAt(0);
|
||||
switch (f)
|
||||
--- scribus-1.4.2.dfsg+r18267.orig/scribus/plugins/imposition/imposition.cpp
|
||||
+++ scribus-1.4.2.dfsg+r18267/scribus/plugins/imposition/imposition.cpp
|
||||
@@ -542,7 +542,7 @@ void Imposition::booklet4p(QList<int>* p
|
||||
}
|
||||
groupcontrol->SetRectFrame();
|
||||
|
||||
- double points[32] = {
|
||||
+ qreal points[32] = {
|
||||
//left upper corner - left lower corner
|
||||
targetDoc->Pages->at(0)->guides.vertical(1,targetDoc->Pages->at(0)->guides.Standard),
|
||||
targetDoc->Pages->at(0)->guides.horizontal(0,targetDoc->Pages->at(i)->guides.Standard),
|
||||
@@ -730,7 +730,7 @@ void Imposition::booklet4p(QList<int>* p
|
||||
}
|
||||
groupcontrol->SetRectFrame();
|
||||
|
||||
- double points[32] = {
|
||||
+ qreal points[32] = {
|
||||
//left upper corner - left lower corner
|
||||
0,
|
||||
0,
|
||||
@@ -893,7 +893,7 @@ void Imposition::booklet4p(QList<int>* p
|
||||
}
|
||||
groupcontrol->SetRectFrame();
|
||||
|
||||
- double points[32] = {
|
||||
+ qreal points[32] = {
|
||||
//left upper corner - left lower corner
|
||||
0,
|
||||
0,
|
||||
@@ -1047,7 +1047,7 @@ void Imposition::booklet4p(QList<int>* p
|
||||
}
|
||||
groupcontrol->SetRectFrame();
|
||||
|
||||
- double points[32] = {
|
||||
+ qreal points[32] = {
|
||||
//left upper corner - left lower corner
|
||||
targetDoc->Pages->at(0)->guides.vertical(1,targetDoc->Pages->at(0)->guides.Standard),
|
||||
targetDoc->Pages->at(0)->guides.horizontal(0,targetDoc->Pages->at(i)->guides.Standard),
|
36
scribus-1.4.5-lppl-fixes.patch
Normal file
36
scribus-1.4.5-lppl-fixes.patch
Normal file
@ -0,0 +1,36 @@
|
||||
diff -up scribus-1.4.5/resources/dicts/README_hyph_da_DK.txt.lppl scribus-1.4.5/resources/dicts/README_hyph_da_DK.txt
|
||||
--- scribus-1.4.5/resources/dicts/README_hyph_da_DK.txt.lppl 2015-05-07 16:50:30.664715518 -0400
|
||||
+++ scribus-1.4.5/resources/dicts/README_hyph_da_DK.txt 2015-05-07 16:50:53.288550546 -0400
|
||||
@@ -3,6 +3,9 @@ Hyphenation dictionary
|
||||
|
||||
Language: Danish (da DK).
|
||||
Origin: Based on the TeX hyphenation tables
|
||||
+ http://www.ctan.org/tex-archive/language/hyphenation/dkhyphn/dkhyphn.tex
|
||||
+ The TeX hyphenation tables are released under the LaTeX Project
|
||||
+ Public License (LPPL)
|
||||
License: GNU LGPL license.
|
||||
Author: conversion author is Marco Huggenberger<marco@by-night.ch>
|
||||
|
||||
diff -up scribus-1.4.5/resources/dicts/README_is_IS.txt.lppl scribus-1.4.5/resources/dicts/README_is_IS.txt
|
||||
--- scribus-1.4.5/resources/dicts/README_is_IS.txt.lppl 2015-05-07 16:51:32.623263721 -0400
|
||||
+++ scribus-1.4.5/resources/dicts/README_is_IS.txt 2015-05-07 16:51:53.072114610 -0400
|
||||
@@ -2,15 +2,14 @@ Hyphenation dictionary
|
||||
----------------------
|
||||
|
||||
Language: Icelandic (Iceland) (is IS).
|
||||
-Origin: Based on the TeX hyphenation tables
|
||||
+Origin: Based on the TeX hyphenation tables by J�rgen Pind (1987).
|
||||
+ http://www.ctan.org/tex-archive/language/hyphenation/dkhyphn/dkhyphn.tex
|
||||
+ The TeX hyphenation tables are released under the LaTeX Project
|
||||
+ Public License (LPPL)
|
||||
License: LGPL/SISSL license, 2003
|
||||
Author: akig@hi.is (Áki G. Karlsson)
|
||||
|
||||
HYPH is IS hyph_is_IS
|
||||
-
|
||||
-
|
||||
- These patterns were converted from TeX hyphenation patterns by Jörgen Pind
|
||||
- (1987).
|
||||
|
||||
--
|
||||
Áki G. Karlsson
|
10
scribus-1.4.6-gs-9.24.patch
Normal file
10
scribus-1.4.6-gs-9.24.patch
Normal file
@ -0,0 +1,10 @@
|
||||
--- scribus-1.4.6-orig/scribus/plugins/import/ps/import.prolog 2009-05-08 21:04:32.000000000 +0200
|
||||
+++ scribus-1.4.6/scribus/plugins/import/ps/import.prolog 2018-09-17 16:05:24.988900385 +0200
|
||||
@@ -75,6 +75,7 @@
|
||||
//doimage exec
|
||||
} .forceput
|
||||
end
|
||||
+/.currentopacityalpha {//.currentopacityalpha} bind def
|
||||
setglobal
|
||||
.bindnow
|
||||
|
12
scribus-1.4.6-hunspell.patch
Normal file
12
scribus-1.4.6-hunspell.patch
Normal file
@ -0,0 +1,12 @@
|
||||
--- a/cmake/modules/FindHUNSPELL.cmake
|
||||
+++ b/cmake/modules/FindHUNSPELL.cmake
|
||||
@@ -9,7 +9,7 @@
|
||||
#Based on examples at http://www.vtk.org/Wiki/CMake:How_To_Find_Libraries
|
||||
|
||||
FIND_PATH(HUNSPELL_INCLUDE_DIR hunspell/hunspell.hxx )
|
||||
-FIND_LIBRARY(HUNSPELL_LIBRARIES NAMES hunspell-1.3 hunspell-1.2 PATHS /opt/local/lib /usr/local/lib /usr/lib )
|
||||
+FIND_LIBRARY(HUNSPELL_LIBRARIES NAMES hunspell-1.7 hunspell-1.6 hunspell-1.5 hunspell-1.4 hunspell-1.3 hunspell-1.2 PATHS /opt/local/lib /usr/local/lib /usr/lib )
|
||||
|
||||
INCLUDE(FindPackageHandleStandardArgs)
|
||||
# handle the QUIETLY and REQUIRED arguments and set HUNSPELL_FOUND to TRUE
|
||||
|
@ -1,43 +0,0 @@
|
||||
--- Scribus/scribus/ui/modetoolbar.h.orig 2012-08-06 19:23:10.575771593 -0400
|
||||
+++ Scribus/scribus/ui/modetoolbar.h 2012-08-06 19:23:17.106075153 -0400
|
||||
@@ -51,13 +51,13 @@
|
||||
|
||||
int SubMode;
|
||||
int ValCount;
|
||||
- qreal *ShapeVals;
|
||||
+ double *ShapeVals;
|
||||
|
||||
virtual void changeEvent(QEvent *e);
|
||||
|
||||
public slots:
|
||||
void GetPolyProps();
|
||||
- void SelShape(int s, int c, qreal *vals);
|
||||
+ void SelShape(int s, int c, double *vals);
|
||||
void languageChange();
|
||||
|
||||
protected:
|
||||
-void ModeToolBar::SelShape(int s, int c, qreal *vals)
|
||||
+void ModeToolBar::SelShape(int s, int c, double *vals)
|
||||
{
|
||||
m_ScMW->scrActions["toolsInsertShape"]->setIcon(QIcon(Rechteck->getIconPixmap(s,16)));
|
||||
// insertShapeButtonMenu->hide();
|
||||
--- Scribus/scribus/ui/modetoolbar.cpp.orig 2012-08-06 20:58:27.562827072 -0400
|
||||
+++ Scribus/scribus/ui/modetoolbar.cpp 2012-08-06 20:59:13.344968068 -0400
|
||||
@@ -40,7 +40,7 @@
|
||||
{
|
||||
SubMode = 0;
|
||||
ValCount = 32;
|
||||
- static qreal AutoShapes0[] = {0.0, 0.0, 0.0, 0.0, 100.0, 0.0, 100.0, 0.0, 100.0, 0.0, 100.0, 0.0,
|
||||
+ static double AutoShapes0[] = {0.0, 0.0, 0.0, 0.0, 100.0, 0.0, 100.0, 0.0, 100.0, 0.0, 100.0, 0.0,
|
||||
100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 0.0, 100.0, 0.0, 100.0,
|
||||
0.0, 100.0, 0.0, 100.0, 0.0, 0.0, 0.0, 0.0};
|
||||
ShapeVals = AutoShapes0;
|
||||
@@ -95,7 +95,7 @@
|
||||
delete dia;
|
||||
}
|
||||
|
||||
-void ModeToolBar::SelShape(int s, int c, qreal *vals)
|
||||
+void ModeToolBar::SelShape(int s, int c, double *vals)
|
||||
{
|
||||
m_ScMW->scrActions["toolsInsertShape"]->setIcon(QIcon(Rechteck->getIconPixmap(s,16)));
|
||||
// insertShapeButtonMenu->hide();
|
BIN
scribus.png
Normal file
BIN
scribus.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 12 KiB |
218
scribus.spec
218
scribus.spec
@ -1,24 +1,25 @@
|
||||
Name: scribus
|
||||
Version: 1.4.2
|
||||
Release: 2%{?dist}
|
||||
|
||||
Version: 1.4.6
|
||||
Release: 17%{?dist}
|
||||
Summary: DeskTop Publishing application written in Qt
|
||||
|
||||
Group: Applications/Productivity
|
||||
License: GPLv2+
|
||||
# swatches bring in the fun licenses
|
||||
License: GPLv2+ and OGL and CC0 and CC-BY and CC-BY-SA and Public Domain and ASL 2.0 and LGPLv2+
|
||||
URL: http://www.scribus.net/
|
||||
# ./make-free-archive %{version}
|
||||
Source0: %{name}-%{version}-free.tar.xz
|
||||
#Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.xz
|
||||
#Source1: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.xz.asc
|
||||
# use versioned documentation directory
|
||||
Patch0: %{name}-1.4.0-docdir.patch
|
||||
Patch1: %{name}-to-double.patch
|
||||
Source2: scribus.png
|
||||
Patch1: %{name}-1.4.4-qreal_double.patch
|
||||
# fix build with non-free content removed
|
||||
Patch2: %{name}-1.4.2-nonfree.patch
|
||||
# Fix necessary LPPL attribution
|
||||
Patch3: %{name}-1.4.5-lppl-fixes.patch
|
||||
# Fix detection of hunspell-1.4+
|
||||
Patch4: %{name}-1.4.6-hunspell.patch
|
||||
Patch5: %{name}-1.4.6-gs-9.24.patch
|
||||
|
||||
BuildRequires: cmake
|
||||
|
||||
BuildRequires: cups-devel
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: lcms2-devel
|
||||
@ -28,8 +29,8 @@ BuildRequires: libpng-devel
|
||||
BuildRequires: libtiff-devel
|
||||
BuildRequires: libxml2-devel
|
||||
BuildRequires: openssl-devel
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-imaging-devel
|
||||
BuildRequires: python2-devel
|
||||
BuildRequires: python2-imaging-devel
|
||||
BuildRequires: qt4-devel
|
||||
BuildRequires: zlib-devel
|
||||
BuildRequires: freetype-devel
|
||||
@ -40,9 +41,9 @@ BuildRequires: boost-devel
|
||||
BuildRequires: podofo-devel
|
||||
BuildRequires: hyphen-devel
|
||||
Requires: ghostscript
|
||||
Requires: python
|
||||
Requires: python-imaging
|
||||
Requires: tkinter
|
||||
Requires: python2
|
||||
Requires: python2-imaging
|
||||
Requires: python2-tkinter
|
||||
Requires: shared-mime-info
|
||||
Obsoletes: %{name}-doc < %{version}-%{release}
|
||||
Obsoletes: %{name}-devel < %{version}-%{release}
|
||||
@ -64,9 +65,11 @@ import/export and creation of color separations.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1 -b .docdir
|
||||
%patch1 -p1 -b .double
|
||||
%patch2 -p1 -b .nonfree
|
||||
%patch3 -p1
|
||||
%patch4 -p1
|
||||
%patch5 -p1
|
||||
|
||||
# recode man page to UTF-8
|
||||
pushd scribus/manpages
|
||||
@ -101,36 +104,66 @@ pushd build
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
popd
|
||||
|
||||
install -p -D -m0644 ${RPM_BUILD_ROOT}%{_datadir}/scribus/icons/scribus.png ${RPM_BUILD_ROOT}%{_datadir}/pixmaps/scribus.png
|
||||
install -p -D -m0644 %SOURCE2 ${RPM_BUILD_ROOT}%{_datadir}/pixmaps/scribus.png
|
||||
install -p -D -m0644 ${RPM_BUILD_ROOT}%{_datadir}/scribus/icons/scribusdoc.png ${RPM_BUILD_ROOT}%{_datadir}/pixmaps/x-scribus.png
|
||||
|
||||
find ${RPM_BUILD_ROOT} -type f -name "*.la" -exec rm -f {} ';'
|
||||
|
||||
# install the global desktop file
|
||||
rm -f ${RPM_BUILD_ROOT}%{_datadir}/mimelnk/application/*scribus.desktop
|
||||
desktop-file-install --vendor="fedora" \
|
||||
desktop-file-install \
|
||||
%if (0%{?fedora} && 0%{?fedora} < 19) || (0%{?rhel} && 0%{?rhel} < 7)
|
||||
--vendor="fedora" \
|
||||
%endif
|
||||
--dir=${RPM_BUILD_ROOT}%{_datadir}/applications \
|
||||
scribus.desktop
|
||||
|
||||
# remove unwanted stuff
|
||||
rm -rf ${RPM_BUILD_ROOT}%{_defaultdocdir}/%{name}
|
||||
|
||||
|
||||
%post
|
||||
update-mime-database %{_datadir}/mime > /dev/null 2>&1 || :
|
||||
update-desktop-database &> /dev/null || :
|
||||
|
||||
|
||||
%postun
|
||||
update-mime-database %{_datadir}/mime > /dev/null 2>&1 || :
|
||||
update-desktop-database &> /dev/null || :
|
||||
|
||||
# Register as an application to be visible in the software center
|
||||
#
|
||||
# NOTE: It would be *awesome* if this file was maintained by the upstream
|
||||
# project, translated and installed into the right place during `make install`.
|
||||
#
|
||||
# See http://www.freedesktop.org/software/appstream/docs/ for more details.
|
||||
#
|
||||
mkdir -p $RPM_BUILD_ROOT%{_datadir}/appdata
|
||||
cat > $RPM_BUILD_ROOT%{_datadir}/appdata/%{name}.appdata.xml <<EOF
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Copyright 2014 Richard Hughes <richard@hughsie.com> -->
|
||||
<!--
|
||||
BugReportURL: http://bugs.scribus.net/view.php?id=12708
|
||||
SentUpstream: 2014-09-18
|
||||
-->
|
||||
<application>
|
||||
<id type="desktop">scribus.desktop</id>
|
||||
<metadata_license>CC0-1.0</metadata_license>
|
||||
<description>
|
||||
<p>
|
||||
Scribus is a desktop publishing application that allows you to create posters,
|
||||
magazines and books ready to send off to a printing house.
|
||||
It supports professional publishing features, such color separations, CMYK and
|
||||
spot colors, ICC color management, and versatile PDF creation.
|
||||
</p>
|
||||
<!-- FIXME: Probably needs another paragraph or two -->
|
||||
</description>
|
||||
<url type="homepage">http://scribus.net/</url>
|
||||
<screenshots>
|
||||
<screenshot type="default">http://upload.wikimedia.org/wikipedia/commons/f/f4/Scribus-1.3-Linux.png</screenshot>
|
||||
</screenshots>
|
||||
<!-- FIXME: change this to an upstream email address for spec updates
|
||||
<updatecontact>someone_who_cares@upstream_project.org</updatecontact>
|
||||
-->
|
||||
</application>
|
||||
EOF
|
||||
|
||||
%files
|
||||
%doc AUTHORS ChangeLog COPYING LINKS README
|
||||
%{_bindir}/%{name}
|
||||
%{_libdir}/%{name}/
|
||||
%{_datadir}/applications/fedora-%{name}.desktop
|
||||
%{_datadir}/appdata/*%{name}.appdata.xml
|
||||
%{_datadir}/applications/*%{name}.desktop
|
||||
%{_datadir}/mime/packages/%{name}.xml
|
||||
%{_datadir}/pixmaps/*
|
||||
%{_datadir}/%{name}/
|
||||
@ -142,6 +175,133 @@ update-desktop-database &> /dev/null || :
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.6-17
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.6-16
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Tue Nov 13 2018 Caolán McNamara <caolanm@redhat.com> - 1.4.6-15
|
||||
- rebuild for hunspell-1.7.0
|
||||
|
||||
* Mon Sep 17 2018 Michael J Gruber <mjg@fedoraproject.org> - 1.4.6-14
|
||||
- fix EPS import (bz #1628943)
|
||||
|
||||
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.6-13
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Wed Jul 11 2018 Sandro Mani <manisandro@gmail.com> - 1.4.6-12
|
||||
- Rebuild (podofo)
|
||||
|
||||
* Mon Feb 12 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.4.6-11
|
||||
- Update Python 2 dependency declarations to new packaging standards
|
||||
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
||||
|
||||
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.6-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.6-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||
|
||||
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.6-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Fri Jul 07 2017 Igor Gnatenko <ignatenko@redhat.com> - 1.4.6-7
|
||||
- Rebuild due to bug in RPM (RHBZ #1468476)
|
||||
|
||||
* Fri Apr 07 2017 Yaakov Selkowitz <yselkowi@redhat.com> - 1.4.6-6
|
||||
- Fix detection of latest hunspell for spell-checking support (#1425305)
|
||||
|
||||
* Mon Feb 06 2017 Kalev Lember <klember@redhat.com> - 1.4.6-5
|
||||
- Rebuilt for Boost 1.63
|
||||
|
||||
* Thu Feb 02 2017 Sandro Mani <manisandro@gmail.com> - 1.4.6-4
|
||||
- Rebuild (podofo)
|
||||
|
||||
* Fri Jan 27 2017 Jonathan Wakely <jwakely@redhat.com> - 1.4.6-3
|
||||
- Rebuilt for Boost 1.63
|
||||
|
||||
* Fri Sep 23 2016 Jon Ciesla <limburgher@gmail.com> - 1.4.6-2
|
||||
- podofo rebuild.
|
||||
|
||||
* Tue May 24 2016 Jon Ciesla <limburgher@gmail.com> - 1.4.6-1
|
||||
- 1.4.6
|
||||
|
||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.5-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Fri Jan 15 2016 Jonathan Wakely <jwakely@redhat.com> - 1.4.5-8
|
||||
- Rebuilt for Boost 1.60
|
||||
|
||||
* Tue Jan 12 2016 Tom Callaway <spot@fedoraproject.org> - 1.4.5-7
|
||||
- fix license tag, remove found non-free swatches (bz 1297262)
|
||||
|
||||
* Fri Sep 18 2015 Richard Hughes <rhughes@redhat.com> - 1.4.5-6
|
||||
- Use a bigger resolution application icon
|
||||
|
||||
* Thu Aug 27 2015 Jonathan Wakely <jwakely@redhat.com> - 1.4.5-5
|
||||
- Rebuilt for Boost 1.59
|
||||
|
||||
* Wed Jul 29 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.5-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Changes/F23Boost159
|
||||
|
||||
* Wed Jul 22 2015 David Tardon <dtardon@redhat.com> - 1.4.5-3
|
||||
- rebuild for Boost 1.58
|
||||
|
||||
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.5-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Thu May 7 2015 Tom Callaway <spot@fedoraproject.org> 1.4.5-1
|
||||
- update to 1.4.5
|
||||
- drop non-free and questionable hyphen dic files (bz 1219415)
|
||||
- fix necessary LPPL attributions
|
||||
|
||||
* Thu Mar 26 2015 Richard Hughes <rhughes@redhat.com> - 1.4.4-7
|
||||
- Add an AppData file for the software center
|
||||
|
||||
* Tue Jan 27 2015 Petr Machata <pmachata@redhat.com> - 1.4.4-6
|
||||
- Rebuild for boost 1.57.0
|
||||
|
||||
* Thu Aug 28 2014 Dan Horák <dan[at]danny.cz> - 1.4.4-5
|
||||
- switch to Debian patch for the qreal vs double conflict on ARM (fixes #1076885)
|
||||
|
||||
* Wed Aug 20 2014 Kevin Fenzi <kevin@scrye.com> - 1.4.4-4
|
||||
- Rebuild for rpm bug 1131892
|
||||
|
||||
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.4-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||
|
||||
* Sat Aug 09 2014 Rex Dieter <rdieter@fedoraproject.org> 1.4.4-2
|
||||
- optimize/update scriptlets
|
||||
|
||||
* Fri Jun 6 2014 Tom Callaway <spot@fedoraproject.org> - 1.4.4-1
|
||||
- update to 1.4.4, drop non-free dot files
|
||||
|
||||
* Fri May 23 2014 Petr Machata <pmachata@redhat.com> - 1.4.3-3
|
||||
- Rebuild for boost 1.55.0
|
||||
|
||||
* Thu Sep 19 2013 Dan Horák <dan[at]danny.cz> - 1.4.3-2
|
||||
- fix the double patch (#1009979)
|
||||
|
||||
* Mon Aug 19 2013 Dan Horák <dan[at]danny.cz> - 1.4.3-1
|
||||
- update to 1.4.3 (#990030)
|
||||
- update for unversioned docdir
|
||||
|
||||
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.2-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
* Tue Jul 30 2013 Petr Machata <pmachata@redhat.com> - 1.4.2-6
|
||||
- Rebuild for boost 1.54.0
|
||||
|
||||
* Mon Feb 25 2013 Toshio Kuratomi <toshio@fedoraproject.org> - 1.4.2-5
|
||||
- Remove --vendor from desktop-file-install for F19+ https://fedorahosted.org/fesco/ticket/1077
|
||||
|
||||
* Wed Jan 30 2013 Dan Horák <dan[at]danny.cz> - 1.4.2-4
|
||||
- update for Pillow (#896301)
|
||||
|
||||
* Mon Jan 21 2013 Adam Tkac <atkac redhat com> - 1.4.2-3
|
||||
- rebuild due to "jpeg8-ABI" feature drop
|
||||
|
||||
* Fri Jan 18 2013 Dan Horák <dan[at]danny.cz> - 1.4.2-2
|
||||
- use hunspell to be consistent with the rest of the system
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user