Merge pull request #1098 from ayhanyalcinsoy/master

espeak, podofo, scribus are ready
This commit is contained in:
Ertuğrul Erata
2016-01-24 17:36:57 +02:00
23 changed files with 98117 additions and 96941 deletions
+31
View File
@@ -0,0 +1,31 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import shelltools
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
WorkDir = "espeak-%s-source" % get.srcVERSION()
def setup():
# Build against portaudio v19
shelltools.copy("src/portaudio19.h", "src/portaudio.h")
# Remove binary voice dictionaries, we'll build them
shelltools.system("rm -rf espeak-data/*_dict")
def build():
autotools.make("-C src CXXFLAGS='%s' CFLAGS='%s' LDFLAGS='%s'" % (get.CXXFLAGS(), get.CFLAGS(), get.LDFLAGS()))
shelltools.system("./compile-voices")
def install():
shelltools.cd("src")
autotools.rawInstall("DESTDIR=%s BINDIR=/usr/bin INCDIR=/usr/include/espeak LIBDIR=/usr/lib" % get.installDIR())
shelltools.cd("..")
pisitools.dodoc("ReadMe", "ChangeLog.txt", "License.txt")
@@ -0,0 +1,7 @@
#!/bin/bash
cd dictsource
export ESPEAK_DATA_PATH=..
for voice in $(../src/speak --voices | awk '{print $2}{print $5}' | egrep -v Language\|File\|/ | uniq); do \
../src/speak --compile=$voice; \
done
@@ -0,0 +1,12 @@
diff -uNr espeak-1.23-source/src/Makefile espeak-1.23-source-mod/src/Makefile
--- espeak-1.23-source/src/Makefile 2007-04-21 19:05:23.000000000 +0200
+++ espeak-1.23-source-mod/src/Makefile 2007-04-24 07:50:46.000000000 +0200
@@ -86,7 +86,7 @@
# Install shared library
$(INSTALL) -m 755 $(LIB_NAME).$(LIBTAG) $(DESTDIR)$(LIBDIR)
# Install static library
- $(INSTALL) -m 755 $(STATIC_LIB_NAME) $(DESTDIR)$(LIBDIR)
+ #$(INSTALL) -m 755 $(STATIC_LIB_NAME) $(DESTDIR)$(LIBDIR)
$(LN_SF) $(LIB_NAME).$(LIBTAG) $(DESTDIR)$(LIBDIR)/$(LIB_NAME).$(LIB_VERSION)
$(LN_SF) $(LIB_NAME).$(LIB_VERSION) $(DESTDIR)$(LIBDIR)/$(LIB_NAME)
# Install development headers
+102
View File
@@ -0,0 +1,102 @@
.\" Hey, EMACS: -*- nroff -*-
.\" First parameter, NAME, should be all caps
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
.\" other parameters are allowed: see man(7), man(1)
.TH ESPEAK 1 "July 25, 2007"
.\" Please adjust this date whenever revising the manpage.
.\"
.\" Some roff macros, for reference:
.\" .nh disable hyphenation
.\" .hy enable hyphenation
.\" .ad l left justify
.\" .ad b justify to both left and right margins
.\" .nf disable filling
.\" .fi enable filling
.\" .br insert line break
.\" .sp <n> insert n+1 empty lines
.\" for manpage-specific macros, see man(7)
.SH NAME
espeak \- A multi-lingual software speech synthesizer.
.SH SYNOPSIS
.B espeak
.RI [ options ]\ [ "<words>" ]
.SH DESCRIPTION
.B espeak
is a software speech synthesizer for English, and some other languages.
.SH OPTIONS
.TP
.B \-h
Show summary of options.
.TP
.B \-f <text file>
Text file to speak
.TP
.B \-\-stdin
Read text input from stdin instead of a file
.TP
If neither -f nor --stdin, <words> are spoken, or if none then text is spoken from stdin, each line separately.
.TP
.B \-q
Quiet, don't produce any speech (may be useful with -x)
.TP
.B \-a <integer>
Amplitude, 0 to 20, default is 10
.TP
.B \-l <integer>
Line length. If not zero (which is the default), consider
lines less than this length as and-of-clause
.TP
.B \-p <integer>
Pitch adjustment, 0 to 99, default is 50
.TP
.B -s <integer>
Speed in words per minute, default is 160
.TP
.B \-v <voice name>
Use voice file of this name from espeak-data/voices
.TP
.B -b
Input text is 8-bit encoding
.TP
.B -m
Indicates that the text contains SSML (Speech Synthesis Markup Language) tags or other XML tags. Those SSML tags which are supported are interpreted. Other tags, including HTML, are ignored, except that some HTML tags such as <hr> <h2> and <li> ensure a break in the speech.
.TP
.B \-w <wave file name>
Write output to this WAV file, rather than speaking it directly
.TP
.B \-x
Write phoneme mnemonics to stdout
.TP
.B \-X
Write phonemes mnemonics and translation trace to stdout. If rules files have been built with --compile=debug, line numbers will also be displayed.
.TP
.B \-\-stdout
Write speech output to stdout
.TP
.B \-\-compile=<voice name>
Compile the pronunciation rules and dictionary in the current directory. =<voice name> is optional and specifies which language
.TP
.B \-\-path=<path>
Specifies the directory containing the espeak-data directory
.TP
.B \-\-phonout=<filename>
Write output from -x -X commands and mbrola phoneme data to this file
.TP
.B \-\-punct="<characters>"
Speak the names of punctuation characters during speaking. If =<characters> is omitted, all punctuation is spoken.
.TP
.B \-k <integer>
Indicate capital letters with: 1=sound, 2=the word "capitals", higher values = a pitch increase (try -k20).
.TP
.B \-\-voices[=<language code>]
Lists the available voices. If =<language code> is present then only those voices which are suitable for that language are listed.
.TP
.B \-\-compile=voicename
Compile the pronunciation rules and dictionary in the current directory. =<voice name> is optional and specifies which language
.TP
.B \-\-compile=debug
Compile the pronunciation rules and dictionary in the current directory as above, but include line numbers, that get shown when -X is used.
.SH AUTHOR
eSpeak was written by Jonathan Duddington <jonsd@jsd.clara.co.uk>. The webpage for this package can be found at http://espeak.sourceforge.net/.
.PP
This manual page was written by Luke Yelavich <themuso@ubuntu.com>, for the Ubuntu project (but may be used by others).
+82
View File
@@ -0,0 +1,82 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>espeak</Name>
<Homepage>http://espeak.freedesktop.org</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv3+</License>
<IsA>library</IsA>
<IsA>app:console</IsA>
<Summary>Software speech synthesizer (text-to-speech)</Summary>
<Description>espeak produces good quality English speech. It uses a different synthesis method from other open source TTS engines and sounds quite different.</Description>
<Archive sha1sum="b22c0361885d05e61d98ecedca0a4926ea2fb2ad" type="zip">http://sourceforge.net/projects/espeak/files/espeak/espeak-1.48/espeak-1.48.04-source.zip/download</Archive>
<AdditionalFiles>
<AdditionalFile permission="0755" target="compile-voices">compile-voices.sh</AdditionalFile>
</AdditionalFiles>
<BuildDependencies>
<Dependency>coreutils</Dependency>
<Dependency>portaudio-devel</Dependency>
<Dependency>pulseaudio-libs-devel</Dependency>
</BuildDependencies>
<Patches>
<Patch>espeak-1.23-makefile_nostaticlibs.patch</Patch>
<!--<Patch level="1">espeak-1.45.05-runtime-detection.patch</Patch>-->
</Patches>
</Source>
<Package>
<Name>espeak</Name>
<RuntimeDependencies>
<Dependency>portaudio</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="data">/usr/share/espeak-data</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
<AdditionalFiles>
<AdditionalFile owner="root" permission="0644" target="/usr/share/man/man1/espeak.1">espeak.1</AdditionalFile>
</AdditionalFiles>
</Package>
<Package>
<Name>espeak-devel</Name>
<Summary>Development headers for espeak</Summary>
<RuntimeDependencies>
<Dependency release="current">espeak</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
</Files>
</Package>
<History>
<Update release="3">
<Date>2014-06-01</Date>
<Version>1.48.04</Version>
<Comment>Version bump.</Comment>
<Name>Kamil Atlı</Name>
<Email>suvarice@gmail.com</Email>
</Update>
<Update release="2">
<Date>2014-01-23</Date>
<Version>1.47.11</Version>
<Comment>Version bump.</Comment>
<Name>Stefan Gronewold(groni)</Name>
<Email>groni@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2012-08-29</Date>
<Version>1.46.02</Version>
<Comment>First release</Comment>
<Name>Osman Erkan</Name>
<Email>osman.erkan@pisilinux.org</Email>
</Update>
</History>
</PISI>
+13
View File
@@ -0,0 +1,13 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>espeak</Name>
<Summary xml:lang="tr">Yazılımsal konuşma sentezleyici (text-to-speech)</Summary>
<Description xml:lang="tr">espeak iyi kalitede İngilizce konuşma sentezler. Diğer açık kaynaklı TTS motorlarından farklı bir sentezleme yöntemi kullandığından üretilen sesler biraz farklıdır.</Description>
</Source>
<Package>
<Name>espeak-devel</Name>
<Summary xml:lang="tr">espeak için geliştirme başlıkları</Summary>
</Package>
</PISI>
+35
View File
@@ -0,0 +1,35 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import cmaketools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
def setup():
shelltools.makedirs("build")
shelltools.cd("build")
cmaketools.configure("-DFREETYPE_INCLUDE_DIR=/usr/include/freetype2 \
-DPODOFO_BUILD_SHARED=1 \
-DPODOFO_BUILD_STATIC=0 \
-DPODOFO_HAVE_JPEG_LIB=1 \
-DPODOFO_HAVE_PNG_LIB=1 \
-DPODOFO_HAVE_TIFF_LIB=1 \
-DWANT_FONTCONFIG=1 \
-DWANT_BOOST=1", sourceDir="..")
#-DUSE_STLPORT=1"
def build():
shelltools.cd("build")
cmaketools.make()
def install():
shelltools.cd("build")
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
shelltools.cd("..")
pisitools.dodoc("AUTHORS", "COPYING", "COPYING.LIB", "ChangeLog", "NEWS", "TODO")
pisitools.dohtml("README.html", "FAQ.html")
+112
View File
@@ -0,0 +1,112 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>podofo</Name>
<Homepage>http://podofo.sourceforge.net</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv3</License>
<License>LGPLv3</License>
<IsA>library</IsA>
<IsA>app:console</IsA>
<Summary>A library to work with the PDF file format</Summary>
<Description>The PoDoFo library is a free, portable C++ library which includes classes to parse PDF files and modify their contents into memory. The changes can be written back to disk easily. The parser can also be used to extract information from a PDF file (for example the parser could be used in a PDF viewer). Besides parsing PoDoFo includes also very simple classes to create your own PDF files. All classes are documented so it is easy to start writing your own application using PoDoFo.</Description>
<Archive sha1sum="e3b08af1266eb480032456e3bde030c75452d380" type="targz">mirrors://sourceforge/podofo/podofo-0.9.3.tar.gz</Archive>
<BuildDependencies>
<Dependency>cmake</Dependency>
<Dependency>zlib-devel</Dependency>
<Dependency>libjpeg-turbo-devel</Dependency>
<Dependency>tiff-devel</Dependency>
<Dependency>libpng-devel</Dependency>
<Dependency>freetype-devel</Dependency>
<Dependency>fontconfig-devel</Dependency>
<Dependency>lua51-devel</Dependency>
<Dependency>cppunit-devel</Dependency>
<Dependency>libidn-devel</Dependency>
<Dependency>boost-devel</Dependency>
<Dependency>openssl-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>podofo</Name>
<RuntimeDependencies>
<Dependency>tiff</Dependency>
<Dependency>zlib</Dependency>
<Dependency>lua51</Dependency>
<Dependency>libgcc</Dependency>
<Dependency>libidn</Dependency>
<Dependency>libpng</Dependency>
<Dependency>openssl</Dependency>
<Dependency>freetype</Dependency>
<!-- <Dependency>boost</Dependency> -->
<!-- <Dependency>stlport</Dependency>-->
<Dependency>fontconfig</Dependency>
<Dependency>libjpeg-turbo</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="man">/usr/share/man</Path>
</Files>
</Package>
<Package>
<Name>podofo-devel</Name>
<Summary>Development files for podofo</Summary>
<RuntimeDependencies>
<Dependency release="current">podofo</Dependency>
<Dependency>boost-devel</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
</Files>
</Package>
<History>
<Update release="4">
<Date>2014-12-30</Date>
<Version>0.9.3</Version>
<Comment>Version bump.</Comment>
<Requires>
<Action>reverseDependencyUpdate</Action>
</Requires>
<Name>Ayhan Yalçınsoy</Name>
<Email>ayhanyalcinsoy@pisilinux.org</Email>
</Update>
<Update release="3">
<Date>2014-05-31</Date>
<Version>0.9.2</Version>
<Comment>Version bump.</Comment>
<Requires>
<Action>reverseDependencyUpdate</Action>
</Requires>
<Name>Alihan Öztürk</Name>
<Email>alihan@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2014-03-10</Date>
<Version>0.9.1</Version>
<Comment>Rebuild</Comment>
<Requires>
<Action>reverseDependencyUpdate</Action>
</Requires>
<Name>Varol Maksutoğlu</Name>
<Email>waroi@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2013-01-25</Date>
<Version>0.9.1</Version>
<Comment>Version bump.</Comment>
<Requires>
<Action>reverseDependencyUpdate</Action>
</Requires>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
</History>
</PISI>
+14
View File
@@ -0,0 +1,14 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>podofo</Name>
<Summary xml:lang="tr">PDF dosya biçimiyle çalışmak için bir kütüphane</Summary>
<Summary xml:lang="pl">Biblioteka do obsługi PDF-ów</Summary>
<Description xml:lang="tr">podofo, PDF dosyalarını ayıklamak ve düzenlemek için geliştirilmiş, ücretsiz bir C++ kütüphanesidir.</Description>
</Source>
<Package>
<Name>podofo-devel</Name>
<Summary xml:lang="tr">podofo için geliştirme dosyaları</Summary>
</Package>
</PISI>
+29
View File
@@ -0,0 +1,29 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import cmaketools
from pisi.actionsapi import pisitools
from pisi.actionsapi import autotools
from pisi.actionsapi import get
def setup():
pisitools.dosed("CMakeLists.txt", "\"share\/doc\/\$\{MAIN_DIR_NAME\}.*", "\"share/doc/${MAIN_DIR_NAME}/\")")
cmaketools.configure("-DWANT_DISTROBUILD=YES \
-DWANT_QT5SUPPORT=ON")
def build():
cmaketools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.insinto("/usr/share/applications", "vnd.scribus.desktop", "scribus.desktop")
pisitools.insinto("/usr/share/pixmaps", "resources/icons/scribus.png")
pisitools.insinto("/usr/share/pixmaps", "resources/icons/scribusdoc.png", "x-scribus.png")
+7
View File
@@ -0,0 +1,7 @@
#!/usr/bin/python
import os
def postInstall(fromVersion, fromRelease, toVersion, toRelease):
update-mime-database usr/share/mime > /dev/null 2>&1
update-desktop-database -q > /dev/null 2>&1
@@ -0,0 +1,24 @@
diff -Naur scribus-1.3.6.orig/scribus/plugins/gettext/htmlim/CMakeLists.txt scribus-1.3.6/scribus/plugins/gettext/htmlim/CMakeLists.txt
--- scribus-1.3.6.orig/scribus/plugins/gettext/htmlim/CMakeLists.txt 2007-09-30 22:55:37.000000000 +0300
+++ scribus-1.3.6/scribus/plugins/gettext/htmlim/CMakeLists.txt 2010-05-17 16:39:49.842776114 +0300
@@ -18,7 +18,7 @@
ADD_LIBRARY(${SCRIBUS_HTML_GT_PLUGIN} MODULE ${HTML_GT_PLUGIN_SOURCES} ${HTML_GT_PLUGIN_MOC_SOURCES})
-TARGET_LINK_LIBRARIES(${SCRIBUS_HTML_GT_PLUGIN} ${PLUGIN_LIBRARIES})
+TARGET_LINK_LIBRARIES(${SCRIBUS_HTML_GT_PLUGIN} ${PLUGIN_LIBRARIES} ${LIBXML2_LIBRARIES} ${ZLIB_LIBRARIES})
INSTALL(TARGETS ${SCRIBUS_HTML_GT_PLUGIN}
LIBRARY
diff -Naur scribus-1.3.6.orig/scribus/plugins/gettext/odtim/CMakeLists.txt scribus-1.3.6/scribus/plugins/gettext/odtim/CMakeLists.txt
--- scribus-1.3.6.orig/scribus/plugins/gettext/odtim/CMakeLists.txt 2007-09-30 22:55:37.000000000 +0300
+++ scribus-1.3.6/scribus/plugins/gettext/odtim/CMakeLists.txt 2010-05-17 16:40:13.467775741 +0300
@@ -20,7 +20,7 @@
ADD_LIBRARY(${SCRIBUS_ODT_IM_PLUGIN} MODULE ${ODT_IM_PLUGIN_SOURCES} ${ODT_IM_PLUGIN_MOC_SOURCES})
-TARGET_LINK_LIBRARIES(${SCRIBUS_ODT_IM_PLUGIN} ${PLUGIN_LIBRARIES})
+TARGET_LINK_LIBRARIES(${SCRIBUS_ODT_IM_PLUGIN} ${PLUGIN_LIBRARIES} ${LIBXML2_LIBRARIES} ${ZLIB_LIBRARIES})
INSTALL(TARGETS ${SCRIBUS_ODT_IM_PLUGIN}
LIBRARY
@@ -0,0 +1,11 @@
--- scribus/prefsmanager.cpp 2006-07-29 02:29:59.000000000 +0300
+++ scribus/prefsmanager.cpp.new 2006-10-07 22:25:58.000000000 +0300
@@ -117,7 +117,7 @@
bool goodFont = false;
for ( SCFontsIterator itf(appPrefs.AvailFonts); itf.current(); ++itf)
{
- if ((itf.currentKey() == "Arial Regular") || (itf.currentKey() == "Times New Roman Regular"))
+ if ((itf.currentKey() == "Arial Regular") || (itf.currentKey() == "Times New Roman Regular") || (itf.currentKey() == "Nimbus Roman No9 L Regular"))
{
appPrefs.toolSettings.defFont = itf.currentKey();
goodFont = true;
@@ -0,0 +1,11 @@
--- CMakeLists.orig.txt 2010-03-23 15:13:30.838325329 +0200
+++ CMakeLists.txt 2010-03-23 15:13:03.968450007 +0200
@@ -325,7 +325,7 @@
# Set the XDG mime stuff
SET(MIMEDIR "share/mime/packages/")
-SET(MIMELNKDIR "share/mimelnk/application/")
+SET(MIMELNKDIR "share/applications/")
##############################################################################################################
########## Build Setup ##########
@@ -0,0 +1,15 @@
scribus/sclayer.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/scribus/sclayer.cpp b/scribus/sclayer.cpp
index 502112b..4da7bd5 100644
--- a/scribus/sclayer.cpp
+++ b/scribus/sclayer.cpp
@@ -9,6 +9,7 @@ for which a new license (GPL+exception) is in place.
#include <QHash> //necessary to avoid msvc warnings induced by SCRIBUS_API on ScLayers + early instanciation of templates
#include <QVector> //necessary to avoid msvc warnings induced by SCRIBUS_API on ScLayers + early instanciation of templates
+#include <QObject>
#include <QtAlgorithms>
ScLayer::ScLayer(void)
@@ -0,0 +1,123 @@
CMakeLists.txt | 8 ++++++++
scribus/colormgmt/CMakeLists.txt | 2 ++
scribus/desaxe/CMakeLists.txt | 1 +
scribus/fonts/CMakeLists.txt | 1 +
scribus/styles/CMakeLists.txt | 2 ++
scribus/text/CMakeLists.txt | 1 +
scribus/third_party/lib2geom/CMakeLists.txt | 8 +-------
scribus/third_party/zip/CMakeLists.txt | 2 ++
8 files changed, 18 insertions(+), 7 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 29d66f3..62d145f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -131,6 +131,14 @@ IF (_machine_sparc64)
SET(ARCH64BIT 1)
ENDIF (_machine_sparc64)
+# We need to pass -fPIC to lib2geom on amd64, mips, mipsel, and hppa. See:
+# http://www.gentoo.org/proj/en/base/amd64/howtos/index.xml?part=1&chap=3 and
+# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=559133
+
+IF (ARCH_X86_64 EQUAL 1 OR ARCH_HPPA EQUAL 1 OR ARCH_MIPS EQUAL 1 OR ARCH_MIPS_64 EQUAL 1 OR ARCH_PPC_64 EQUAL 1)
+ SET(CMAKE_CXX_FLAGS_FPIC "-fPIC")
+ENDIF (ARCH_X86_64 EQUAL 1 OR ARCH_HPPA EQUAL 1 OR ARCH_MIPS EQUAL 1 OR ARCH_MIPS_64 EQUAL 1 OR ARCH_PPC_64 EQUAL 1)
+
## Do our Apple OSX version setup
IF (APPLE AND CMAKE_SIZEOF_VOID_P EQUAL 8 AND (ARCH_X86 EQUAL 1 OR ARCH_X86_64 EQUAL 1))
STRING(REGEX REPLACE ".*-darwin([0-9]+).*" "\\1" _apple_ver "${MACHINE}")
diff --git a/scribus/colormgmt/CMakeLists.txt b/scribus/colormgmt/CMakeLists.txt
index 7298a28..87c4f5e 100644
--- a/scribus/colormgmt/CMakeLists.txt
+++ b/scribus/colormgmt/CMakeLists.txt
@@ -3,6 +3,8 @@ ${CMAKE_SOURCE_DIR}
${CMAKE_SOURCE_DIR}/scribus
)
+SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${CMAKE_CXX_FLAGS_FPIC}")
+
INCLUDE_DIRECTORIES( ${LCMS2_INCLUDE_DIR} )
SET(SCRIBUS_LCMS_IMPL_SOURCES
sclcms2colormgmtengineimpl.cpp
diff --git a/scribus/desaxe/CMakeLists.txt b/scribus/desaxe/CMakeLists.txt
index 0098028..85e76b6 100644
--- a/scribus/desaxe/CMakeLists.txt
+++ b/scribus/desaxe/CMakeLists.txt
@@ -4,6 +4,7 @@ ${CMAKE_SOURCE_DIR}/scribus
${FREETYPE_INCLUDE_DIRS}
)
+SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${CMAKE_CXX_FLAGS_FPIC}")
SET(SCRIBUS_DESAXE_LIB_SOURCES
saxXML.cpp
diff --git a/scribus/fonts/CMakeLists.txt b/scribus/fonts/CMakeLists.txt
index 799e102..f04c680 100644
--- a/scribus/fonts/CMakeLists.txt
+++ b/scribus/fonts/CMakeLists.txt
@@ -4,6 +4,7 @@ ${CMAKE_SOURCE_DIR}/scribus
${FREETYPE_INCLUDE_DIRS}
)
+SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${CMAKE_CXX_FLAGS_FPIC}")
SET(SCRIBUS_FONTS_LIB_SOURCES
scface.cpp
diff --git a/scribus/styles/CMakeLists.txt b/scribus/styles/CMakeLists.txt
index 6e0cf0a..2839689 100644
--- a/scribus/styles/CMakeLists.txt
+++ b/scribus/styles/CMakeLists.txt
@@ -4,6 +4,8 @@ INCLUDE_DIRECTORIES(
${FREETYPE_INCLUDE_DIRS}
)
+SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${CMAKE_CXX_FLAGS_FPIC}")
+
SET(SCRIBUS_STYLES_MOC_CLASSES
)
diff --git a/scribus/text/CMakeLists.txt b/scribus/text/CMakeLists.txt
index 1cd112f..4f658e3 100644
--- a/scribus/text/CMakeLists.txt
+++ b/scribus/text/CMakeLists.txt
@@ -4,6 +4,7 @@ INCLUDE_DIRECTORIES(
${FREETYPE_INCLUDE_DIRS}
)
+SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${CMAKE_CXX_FLAGS_FPIC}")
SET(SCRIBUS_TEXT_MOC_CLASSES
storytext.h
diff --git a/scribus/third_party/lib2geom/CMakeLists.txt b/scribus/third_party/lib2geom/CMakeLists.txt
index 6187d96..3106f6e 100755
--- a/scribus/third_party/lib2geom/CMakeLists.txt
+++ b/scribus/third_party/lib2geom/CMakeLists.txt
@@ -5,13 +5,7 @@ ${CMAKE_SOURCE_DIR}/scribus
SET(2GEOM_VERSION 0.1.0)
-# We need to pass -fPIC to lib2geom on amd64, mips, mipsel, and hppa. See:
-# http://www.gentoo.org/proj/en/base/amd64/howtos/index.xml?part=1&chap=3 and
-# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=559133
-
-IF (ARCH_X86_64 EQUAL 1 OR ARCH_HPPA EQUAL 1 OR ARCH_MIPS EQUAL 1 OR ARCH_MIPS_64 EQUAL 1 OR ARCH_PPC_64 EQUAL 1)
- SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC")
-ENDIF (ARCH_X86_64 EQUAL 1 OR ARCH_HPPA EQUAL 1 OR ARCH_MIPS EQUAL 1 OR ARCH_MIPS_64 EQUAL 1 OR ARCH_PPC_64 EQUAL 1)
+SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${CMAKE_CXX_FLAGS_FPIC}")
OPTION(2GEOM_BUILD_SHARED
"Build lib2geom and libtoy as shared libraries."
diff --git a/scribus/third_party/zip/CMakeLists.txt b/scribus/third_party/zip/CMakeLists.txt
index edf9683..f7676ab 100644
--- a/scribus/third_party/zip/CMakeLists.txt
+++ b/scribus/third_party/zip/CMakeLists.txt
@@ -4,6 +4,8 @@ ${CMAKE_SOURCE_DIR}/scribus
${ZLIB_INCLUDE_DIR}
)
+SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${CMAKE_CXX_FLAGS_FPIC}")
+
SET(SCRIBUS_ZIP_LIB_SOURCES
unzip.cpp
zip.cpp
@@ -0,0 +1,10 @@
--- scribus-0.8/scribus/scfonts.cpp.orig Sun Sep 22 10:54:38 2002
+++ scribus-0.8/scribus/scfonts.cpp Thu Oct 24 11:53:26 2002
@@ -463,6 +463,7 @@
char **fontpath=XGetFontPath(display,&pathcount);
for(i=0; i<pathcount; ++i)
AddPath(fontpath[i]);
+ AddPath("/usr/share/fonts/Type1");
XFreeFontPath(fontpath);
}
+146
View File
@@ -0,0 +1,146 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>scribus</Name>
<Homepage>http://www.scribus.net/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<Icon>scribusicon</Icon>
<IsA>app:gui</IsA>
<Summary>Desktop Publishing (DTP) and Layout program</Summary>
<Description>Scribus is an opensource desktop publishing application with features like CMYK colorspace and PDF output.
</Description><Archive sha1sum="fdf451037073ee648f135669535508813d61ee7e" type="tarxz">http://sourceforge.net/projects/scribus/files/scribus-devel/1.5.0/scribus-1.5.0.tar.xz</Archive>
<BuildDependencies>
<Dependency>cmake</Dependency>
<Dependency>cups-devel</Dependency>
<Dependency>desktop-file-utils</Dependency>
<Dependency>lcms2-devel</Dependency>
<Dependency>libart_lgpl-devel</Dependency>
<Dependency>libjpeg-turbo-devel</Dependency>
<Dependency>libpng-devel</Dependency>
<Dependency>tiff-devel</Dependency>
<Dependency>libxml2-devel</Dependency>
<Dependency>openssl-devel</Dependency>
<Dependency>python-devel</Dependency>
<Dependency>ghostscript-devel</Dependency>
<Dependency>gnutls-devel</Dependency>
<!-- <Dependency>python-imaging</Dependency> -->
<Dependency>qt5-base-devel</Dependency>
<Dependency>qt5-webkit-devel</Dependency>
<Dependency>qt5-location-devel</Dependency>
<Dependency>qt5-linguist</Dependency>
<Dependency>zlib-devel</Dependency>
<Dependency>freetype-devel</Dependency>
<Dependency>gnutls-devel</Dependency>
<Dependency>cairo-devel</Dependency>
<Dependency>hunspell-devel</Dependency>
<Dependency>boost-devel</Dependency>
<Dependency>libwpg-devel</Dependency>
<Dependency>podofo-devel</Dependency>
</BuildDependencies>
<Patches>
<Patch>scribus-standard-font-paths.patch</Patch>
<Patch>PisiLinux-default-font.patch</Patch>
<Patch>PisiLinux-correctly_link_to_libxml2.patch</Patch>
<Patch>scribus-1.5.0-QObject.patch</Patch>
</Patches>
</Source>
<Package>
<Name>scribus</Name>
<RuntimeDependencies>
<Dependency>cups</Dependency>
<Dependency>tiff</Dependency>
<Dependency>zlib</Dependency>
<Dependency>cairo</Dependency>
<Dependency>lcms2</Dependency>
<Dependency>libgcc</Dependency>
<Dependency>podofo</Dependency>
<Dependency>python</Dependency>
<Dependency>libxml2</Dependency>
<Dependency>freetype</Dependency>
<Dependency>hunspell</Dependency>
<Dependency>qt5-base</Dependency>
<Dependency>fontconfig</Dependency>
<Dependency>qt5-webkit</Dependency>
<Dependency>libjpeg-turbo</Dependency>
<Dependency>qt5-declarative</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="man">/usr/share</Path>
</Files>
</Package>
<Package>
<Name>scribus-docs</Name>
<Summary>Documentation files for scribus</Summary>
<Files>
<Path fileType="doc">/usr/share/doc/scribus</Path>
</Files>
</Package>
<History>
<Update release="8">
<Date>2015-05-30</Date>
<Version>1.5.0</Version>
<Comment>Version Bump</Comment>
<Name>Vedat Demir</Name>
<Email>vedatl@pisilinux.org</Email>
</Update>
<Update release="7">
<Date>2015-02-05</Date>
<Version>1.4.5</Version>
<Comment>Version bump.</Comment>
<Name>Stefan Gronewold(groni)</Name>
<Email>groni@pisilinux.org</Email>
</Update>
<Update release="6">
<Date>2015-01-13</Date>
<Version>1.4.4</Version>
<Comment>Rebuild.</Comment>
<Name>Ergün Salman</Name>
<Email>Poyraz76@pisilinux.org</Email>
</Update>
<Update release="5">
<Date>2014-06-29</Date>
<Version>1.4.4</Version>
<Comment>Version Bump</Comment>
<Name>Nikolay Semenov</Name>
<Email>tribunal@pisilinux.org</Email>
</Update>
<Update release="4">
<Date>2014-03-09</Date>
<Version>1.4.2</Version>
<Comment>Rebuild for buildhost</Comment>
<Name>Osman Erkan</Name>
<Email>osman.erkan@pisilinux.org</Email>
</Update>
<Update release="3">
<Date>2013-08-17</Date>
<Version>1.4.2</Version>
<Comment>R.Bump</Comment>
<Name>Osman Erkan</Name>
<Email>osman.erkan@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2013-03-06</Date>
<Version>1.4.2</Version>
<Comment>Version bump</Comment>
<Name>Ertan Güven</Name>
<Email>ertan@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2011-02-03</Date>
<Version>1.3.9</Version>
<Comment>First release</Comment>
<Name>Pisi Linux Admins</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
+13
View File
@@ -0,0 +1,13 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>scribus</Name>
<Summary xml:lang="tr">Masaüstü yayıncılık uygulaması</Summary>
<Description xml:lang="tr">Scribus, açık kaynak kodlu bir DTP (masaüstü yayıncılık) programıdır. Renk ayrımından PDF dönüşümlerine, PDF form elementleri yaratmadan Preflight Check gibi işlemlere kadar, profesyonel bir DTP paketinde bulabileceğiniz her fonksiyona sahiptir.</Description>
</Source>
<Package>
<Name>scribus-docs</Name>
<Summary xml:lang="tr">scribus için belgelendirme dosyaları</Summary>
</Package>
</PISI>
+97318 -96939
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -1 +1 @@
5694a0909ba75d15284d432eb51d2fdad91b91dd
edeebccb09b7d3168fd54ba98691793573758ac9
BIN
View File
Binary file not shown.
+1 -1
View File
@@ -1 +1 @@
4df4d79552f72c7758b667823aaf04420c7dafcf
51fdb3f0d37b82b1f3da96c04f9c1a6297948ad6