...
 
Commits (5)
......@@ -6,7 +6,7 @@
pkgbase=calligra-l10n
pkgname=('calligra-l10n-bs'
'calligra-l10n-ca'
'calligra-l10n-ca@valencia'
#'calligra-l10n-ca@valencia'
'calligra-l10n-cs'
'calligra-l10n-da'
'calligra-l10n-de'
......@@ -35,7 +35,7 @@ pkgname=('calligra-l10n-bs'
'calligra-l10n-uk'
'calligra-l10n-zh_CN'
'calligra-l10n-zh_TW')
pkgver=2.7.1
pkgver=2.7.2
pkgrel=1
pkgdesc="Localization for Calligra"
arch=('any')
......@@ -44,7 +44,7 @@ license=('LGPL')
makedepends=('cmake' 'automoc4' 'kdelibs' 'docbook-xsl')
source=(ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-bs-${pkgver}.tar.xz
ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-ca-${pkgver}.tar.xz
ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-ca@valencia-${pkgver}.tar.xz
#ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-ca@valencia-${pkgver}.tar.xz
ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-cs-${pkgver}.tar.xz
ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-da-${pkgver}.tar.xz
ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-de-${pkgver}.tar.xz
......@@ -73,40 +73,38 @@ source=(ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/callig
ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-uk-${pkgver}.tar.xz
ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-zh_CN-${pkgver}.tar.xz
ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-zh_TW-${pkgver}.tar.xz)
md5sums=(
'329bace77407d2aa4260e72625bb05f3'
'fd08f80d572b7aad30e27e460986bcbe'
'7bdc5b166a0609194b1d48ed413d3df0'
'9fb58bb6e88911f7b5b78f56dbf0ab90'
'40b09095a141b2a2b796729b9b69cd86'
'ea603dd4b7d907aad698fde4b86d8548'
'390a9f0551b4f666435020b7f9fa5d97'
'53dac459d7b5009756235f01152c7c90'
'f57f226915d0d63b742f8fd675be5743'
'59a5a7e38c25408db8535634ef6bd8b4'
'efc3833d62dee2aa60ebc98dafeab2e2'
'e4499cf8bf66f7e1b6940ba05db6f3b4'
'd5425ba2a2608171f15216b0ad195141'
'd99495dca290aeb2c8ba32dcbf8020b7'
'bc1efa2ca0c79b0cde69cdc7d564a195'
'0f0357c2a3ca6b1ca776d5af7413ab59'
'0c4a812b4dde531b3756529526ec3011'
'b946f2342eae0fc230210e5e2996838b'
'd9525bc2bf4a50dcc931ecfaee212c17'
'6ebeaf278ec07b0271fbbe85d9a51146'
'38f42619c9da5be4adcc95249dc3bf23'
'de96d3a0f574f13d3e9ae591058c79cb'
'06e3f446884285c6709a0d9909fcfc3e'
'666b762a9f65153cee5aaff4299bc3b2'
'd27384b167790c3ec4e35473d69b96b1'
'a44310f6b7bef020a7383ae36da1bb49'
'adbb251c373a507fa83bafe200c2937a'
'876081f523b7345ce60808345e6e619b'
'2acc0dae80a2bf5404ffa6e040afebdc')
sha1sums=('317744c9298c6482acd2c6f781a23e9dccdff3bc'
'cda20fb429626eb9b5d4725c445f2a38b71f595e'
'e8b6daf0455e1b25da66b7152accc136e76d7b49'
'32593d1579e7be92449f47819c8308da29ad8b6f'
'b1367a0c265ff797710ed1d2101665c86ff781d4'
'369f0b7b39ba5b4c2d74e1dee918a26cb5c78719'
'c9a7f039675e2fe501152428965fb0fdb577ef87'
'0ba85ab6741845034630755a12f0d54cad57b04b'
'1ac1c3835742b572a56076bd7b62c81bb6d22353'
'98c2a5dd9770cab2e182916f8f2635552ac3f6c8'
'6b09956f2326dfce43ac2659ba9c19d4d737d1aa'
'dcc6c4d47ebce50b4f41fbdded45e638895efa7f'
'5c152731d683b12f969d223311e47c332db302a4'
'9d2a44ed41d8b094441b9937355230d30f2a6844'
'831c64036ee5e26267836cd14df512bc0a95bf6b'
'afd8155200399a9c8490f401030823a41b52af61'
'beda750106c5da2bee467bdf7f54402a57402afc'
'591ef5813da9d36c03557fecd7f31975f7086c7c'
'b3b632aef42c85b9162d5642b7b829daf4bac4a6'
'67e373dd58c1adbf525e5870761d081649f0148b'
'473e3e0c6e5b05b50869ca25bba525d7739eda22'
'87de952a1c15ca5a4fc1334dd6f6ed6c989dc9c8'
'7a594e1cb0feeb28a278c6015b08589f37b6b150'
'f84cbbe4829e4b13ad1bdd9e4d47e7c7a50fdacc'
'2d24e2662d653c34071b6874aa930068a92fd77e'
'2a2980bab5cda9dab6a8114572d971425852c019'
'9a5e95ccaf6d23f3ad9ae4e81224107ae68351ad'
'2aff4792a5fa971eb7b6cfd9d7fb6a02052d148e')
build() {
cd $srcdir
langs="bs ca ca@valencia cs da de el es et fi fr gl hu it kk nb nds nl pl pt pt_BR ru sk sl sv tr uk zh_CN zh_TW"
langs="bs ca cs da de el es et fi fr gl hu it kk nb nds nl pl pt pt_BR ru sk sl sv tr uk zh_CN zh_TW"
for lang in $langs; do
install -d build/${lang}
pushd build/${lang}
......
Author: C. Boemann <cbo@boemann.dk>
Date: Mon Jul 29 11:45:49 2013 +0200
Fix crash
BUG: 319155
diff --git a/libs/textlayout/KoTextLayoutArea_paint.cpp b/libs/textlayout/KoTextLayoutArea_paint.cpp
index e94cc71..c633913 100644
--- a/libs/textlayout/KoTextLayoutArea_paint.cpp
+++ b/libs/textlayout/KoTextLayoutArea_paint.cpp
@@ -839,7 +839,7 @@ void KoTextLayoutArea::decorateParagraph(QPainter *painter, QTextBlock &block, b
QList<KoTextBlockData::MarkupRange>::Iterator markIt = blockData.markupsBegin(KoTextBlockData::Misspell);
QList<KoTextBlockData::MarkupRange>::Iterator markEnd = blockData.markupsEnd(KoTextBlockData::Misspell);
- for (int i = 0 ; i <= layout->lineCount(); ++i) {
+ for (int i = 0 ; i < layout->lineCount(); ++i) {
if (markIt == markEnd) {
break;
}
......@@ -20,8 +20,8 @@ pkgname=('calligra-3rdparty'
'calligra-stage'
'calligra-templates'
'calligra-words')
pkgver=2.7.1
pkgrel=3
pkgver=2.7.2
pkgrel=4
arch=('x86_64')
url='http://www.calligra-suite.org'
license=('FDL1.2' 'GPL2' 'LGPL')
......@@ -29,16 +29,22 @@ makedepends=('kdepimlibs' 'eigen' 'freetds' 'kdegraphics-okular' 'kdeedu-marble'
'libgsf' 'libwpd' 'libwpg' 'libwps' 'pstoedit' 'glew' 'gsl' 'cmake' 'automoc4' 'libspnav' 'libqtgtl'
'boost' 'libkdcraw' 'fftw' 'opengtl' 'docbook-xsl' 'create-resources' 'lcms2' 'libmariadbclient'
'vc' 'opencolorio')
options=("debug")
groups=('calligra')
source=("http://mirrors.mit.edu/kde/stable/${pkgbase}-${pkgver}/${pkgbase}-${pkgver}.tar.xz")
source=("http://mirrors.mit.edu/kde/stable/${pkgbase}-${pkgver}/${pkgbase}-${pkgver}.tar.xz" "0001-words-crash.patch")
screenshot=("http://upload.wikimedia.org/wikipedia/commons/thumb/3/3e/Calligra_Stage_2.4.png/800px-Calligra_Stage_2.4.png")
md5sums=('9cf909ddf57ecb16d4370cc1062d0f7f')
sha1sums=('d3f1fdc2339da637bb8443ddf25f19e7135c9eeb'
'1d98a26ea69d6a923b4e867a40885ce44cc95d28')
prepare() {
cd "${srcdir}/${pkgbase}-${pkgver}"
patch -p1 < ${srcdir}/0001-words-crash.patch
}
build() {
cd "${srcdir}"
mkdir build
mkdir -p build
cd build
cmake ../${pkgbase}-${pkgver} \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
......@@ -298,4 +304,3 @@ package_calligra-flow() {
cd "${srcdir}"/build/flow
make DESTDIR="${pkgdir}" install
}