Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
032b2672b1 | ||
|
a332b264e2 |
1
.gitignore
vendored
1
.gitignore
vendored
@ -5,3 +5,4 @@ scribus-1.3.8.tar.bz2
|
|||||||
/scribus-1.4.1.tar.xz
|
/scribus-1.4.1.tar.xz
|
||||||
/scribus-1.4.1.tar.xz.asc
|
/scribus-1.4.1.tar.xz.asc
|
||||||
/scribus-1.4.2-free.tar.xz
|
/scribus-1.4.2-free.tar.xz
|
||||||
|
/scribus-1.4.3-free.tar.xz
|
||||||
|
@ -28,9 +28,12 @@ rm scribus/profiles/{sRGB.icm,srgb.license}
|
|||||||
# remove non-free content from swatches
|
# remove non-free content from swatches
|
||||||
rm resources/swatches/*.eps
|
rm resources/swatches/*.eps
|
||||||
rm resources/swatches/dtp-studio-free-palettes-license.rtf
|
rm resources/swatches/dtp-studio-free-palettes-license.rtf
|
||||||
|
|
||||||
rm resources/swatches/GiveLife_Color_System_*.xml
|
rm resources/swatches/GiveLife_Color_System_*.xml
|
||||||
rm resources/swatches/givelife_colors_license.rtf
|
rm resources/swatches/givelife_colors_license.rtf
|
||||||
|
|
||||||
|
rm resources/swatches/Federal_Identity_Program.xml
|
||||||
|
|
||||||
popd
|
popd
|
||||||
|
|
||||||
echo "Creating sources ..."
|
echo "Creating sources ..."
|
||||||
|
49
scribus-1.4.3-to-double.patch
Normal file
49
scribus-1.4.3-to-double.patch
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
diff -up scribus-1.4.3/scribus/ui/modetoolbar.cpp.double scribus-1.4.3/scribus/ui/modetoolbar.cpp
|
||||||
|
--- scribus-1.4.3/scribus/ui/modetoolbar.cpp.double 2012-05-21 18:00:08.000000000 +0200
|
||||||
|
+++ scribus-1.4.3/scribus/ui/modetoolbar.cpp 2013-09-19 21:50:48.000000000 +0200
|
||||||
|
@@ -40,7 +40,7 @@ ModeToolBar::ModeToolBar(ScribusMainWind
|
||||||
|
{
|
||||||
|
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;
|
||||||
|
@@ -84,7 +84,7 @@ ModeToolBar::ModeToolBar(ScribusMainWind
|
||||||
|
this->addAction(m_ScMW->scrActions["toolsEyeDropper"]);
|
||||||
|
|
||||||
|
languageChange();
|
||||||
|
- connect(Rechteck, SIGNAL(FormSel(int, int, qreal *)), this, SLOT(SelShape(int, int, qreal *)));
|
||||||
|
+ connect(Rechteck, SIGNAL(FormSel(int, int, qreal *)), this, SLOT(SelShape(int, int, double *)));
|
||||||
|
}
|
||||||
|
|
||||||
|
void ModeToolBar::GetPolyProps()
|
||||||
|
@@ -98,7 +98,7 @@ void ModeToolBar::GetPolyProps()
|
||||||
|
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();
|
||||||
|
diff -up scribus-1.4.3/scribus/ui/modetoolbar.h.double scribus-1.4.3/scribus/ui/modetoolbar.h
|
||||||
|
--- scribus-1.4.3/scribus/ui/modetoolbar.h.double 2012-02-14 23:57:05.000000000 +0100
|
||||||
|
+++ scribus-1.4.3/scribus/ui/modetoolbar.h 2013-08-19 17:13:59.000000000 +0200
|
||||||
|
@@ -51,13 +51,13 @@ public:
|
||||||
|
|
||||||
|
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:
|
@ -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();
|
|
10
scribus.spec
10
scribus.spec
@ -1,5 +1,5 @@
|
|||||||
Name: scribus
|
Name: scribus
|
||||||
Version: 1.4.2
|
Version: 1.4.3
|
||||||
Release: 2%{?dist}
|
Release: 2%{?dist}
|
||||||
|
|
||||||
Summary: DeskTop Publishing application written in Qt
|
Summary: DeskTop Publishing application written in Qt
|
||||||
@ -13,7 +13,7 @@ Source0: %{name}-%{version}-free.tar.xz
|
|||||||
#Source1: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.xz.asc
|
#Source1: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.xz.asc
|
||||||
# use versioned documentation directory
|
# use versioned documentation directory
|
||||||
Patch0: %{name}-1.4.0-docdir.patch
|
Patch0: %{name}-1.4.0-docdir.patch
|
||||||
Patch1: %{name}-to-double.patch
|
Patch1: %{name}-1.4.3-to-double.patch
|
||||||
# fix build with non-free content removed
|
# fix build with non-free content removed
|
||||||
Patch2: %{name}-1.4.2-nonfree.patch
|
Patch2: %{name}-1.4.2-nonfree.patch
|
||||||
|
|
||||||
@ -142,6 +142,12 @@ update-desktop-database &> /dev/null || :
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* 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)
|
||||||
|
|
||||||
* Fri Jan 18 2013 Dan Horák <dan[at]danny.cz> - 1.4.2-2
|
* 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
|
- use hunspell to be consistent with the rest of the system
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user