summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Hüttel <dilfridge@gentoo.org>2012-04-08 13:54:07 +0000
committerAndreas Hüttel <dilfridge@gentoo.org>2012-04-08 13:54:07 +0000
commit156481a195d52af5e24a87346558ead8e9575d96 (patch)
tree2c161d67975dcdebd553e835289f4707b429b77f /app-office/calligra
parentFix build with -semantic-desktop, bug 409515 (diff)
downloadhistorical-156481a195d52af5e24a87346558ead8e9575d96.tar.gz
historical-156481a195d52af5e24a87346558ead8e9575d96.tar.bz2
historical-156481a195d52af5e24a87346558ead8e9575d96.zip
Add several crash fixes, thanks to Franz Fellner, bug 410109 and bug 410187
Package-Manager: portage-2.1.10.56/cvs/Linux x86_64
Diffstat (limited to 'app-office/calligra')
-rw-r--r--app-office/calligra/ChangeLog9
-rw-r--r--app-office/calligra/Manifest31
-rw-r--r--app-office/calligra/calligra-2.3.92-r1.ebuild205
-rw-r--r--app-office/calligra/files/calligra-2.3.92-language.patch21
-rw-r--r--app-office/calligra/files/calligra-2.3.92-table.patch96
5 files changed, 347 insertions, 15 deletions
diff --git a/app-office/calligra/ChangeLog b/app-office/calligra/ChangeLog
index 2c03843da6f2..c8198d81d74b 100644
--- a/app-office/calligra/ChangeLog
+++ b/app-office/calligra/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-office/calligra
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/calligra/ChangeLog,v 1.33 2012/04/08 13:39:59 dilfridge Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/calligra/ChangeLog,v 1.34 2012/04/08 13:54:06 dilfridge Exp $
+
+*calligra-2.3.92-r1 (08 Apr 2012)
+
+ 08 Apr 2012; Andreas K. Huettel <dilfridge@gentoo.org>
+ +calligra-2.3.92-r1.ebuild, +files/calligra-2.3.92-language.patch,
+ +files/calligra-2.3.92-table.patch:
+ Add several crash fixes, thanks to Franz Fellner, bug 410109 and bug 410187
08 Apr 2012; Andreas K. Huettel <dilfridge@gentoo.org>
calligra-2.3.92.ebuild, calligra-2.4.0.ebuild,
diff --git a/app-office/calligra/Manifest b/app-office/calligra/Manifest
index 6b0a829cc43a..e1368923b48e 100644
--- a/app-office/calligra/Manifest
+++ b/app-office/calligra/Manifest
@@ -1,29 +1,32 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
+AUX calligra-2.3.92-language.patch 760 RMD160 26d9a5cfe348575892540bf12e0fee478d6fcd34 SHA1 b3f16ba3d61daedd022475b3f5bfc5d998a779bb SHA256 f2a9461eeb4fa650f54698124358080e34c7838ade65119ceb7577852d75e900
+AUX calligra-2.3.92-table.patch 3990 RMD160 645d2b85e96b6562304940127188860ed45490f1 SHA1 55735ea330384bb078cb86c809f35e577dbc2c05 SHA256 2a2faa07fca470ce545765feecd4aaa8a9a5f26426c4c7a3884826d62491e6ed
AUX calligra-2.4.0-rdf.patch 7537 RMD160 4320fe29ab85791232665a7f2d717dab1b8505b3 SHA1 048f59b24ef7662363423b3d71483c979bd3e050 SHA256 0a2d29cc549d032b70c8d006d5db56d857b4db1946795f94dcfe52f52e5d49c9
DIST calligra-2.3.92.tar.bz2 123533771 RMD160 c55140a0d4e719140e8aff0cb7f5fb68dc376cf0 SHA1 460d01bbb454140e851f7ea251d3ac8e143215e5 SHA256 8faefc34428deb2ce07856e2f1a58a4d7f842faf04dda46147644f07dbdfa7a9
DIST calligra-2.4.0.tar.bz2 123325347 RMD160 840efd6c7ff82b246950de591b9af762d37f9a95 SHA1 6026f4ddcf4bf647ea13dfb477233df472a5c007 SHA256 7c8cd1ec8cd2b26d5544f3b5a283052c5cd82f212749475b91cc340f7e4029b0
+EBUILD calligra-2.3.92-r1.ebuild 5972 RMD160 5f6f003bd2a96ff42536af68d7bd2f9485646efe SHA1 0ad24e878c4e94a5ba9e230b5a5507d803734e96 SHA256 380670ef75421868c5c739e02880a7f408d2076e92d2cdf416dc4e5ccbd9b1ed
EBUILD calligra-2.3.92.ebuild 5885 RMD160 b8b06ce33366b7431db184bacf256fc6daa95b46 SHA1 45f2e7aea0805770dd6d00de05485208781816b1 SHA256 0b627f9f67565aec603ce0032b734ad7a937f9b3175b4e3ea98c06771fbbb57b
EBUILD calligra-2.4.0.ebuild 6054 RMD160 4b930f936ce000c488bae4e463febdf25d39c803 SHA1 b385be9e162e3602d655763478543a7763c1bcd6 SHA256 e8cb179b1ae689d6fc144f2714f43544d2168fc00f0a406e3111450842e895cc
EBUILD calligra-2.4.9999.ebuild 6057 RMD160 fc1ffaa32a5385b0715f82191b5e913243cdb9b8 SHA1 a02353ee71ffd3f08faf7dbabcbbb54310dc8fed SHA256 bc2ed55b04baa571e4a360ce3fd76f52224eae37f996ae6b3ce1e074f5929965
EBUILD calligra-9999.ebuild 5880 RMD160 6ca04f3e949b2ff00b9cfe9a7699ac47a175e318 SHA1 c1fd52436900f02360a0eae395f2aca4ed7c3122 SHA256 39b19296d0326875bd7b96ba7271e212ce4e67f2444333850d4c3d8a2f13800a
-MISC ChangeLog 5632 RMD160 300b39f89b56b8e995a15033c944ab3c1d642d85 SHA1 abc1889769d11648aebe066d7804f9eb37353e85 SHA256 3da3e5cc9e623a7d96b4c338ab42f9d03e65ab7a63b90b9ab40a22545067db4c
+MISC ChangeLog 5910 RMD160 9fde41553de873461cc5ec3aeb67d62635a55b9d SHA1 9ee2e8c43739a3bf4417b38140d441f25af3c1fe SHA256 7fb145419e67804f6454dcea996a36c7cb1184301e133c0f92c85241bdd17851
MISC metadata.xml 1491 RMD160 f8ff74f843ae8df2be457f5376f8d1ad08604c09 SHA1 56f2b25dfd6524b43aed66a177a515e80f04cde2 SHA256 9e6668563b25b690da423ea91dbac27e6289ee117cb6cb026c2657c476555c69
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iQIcBAEBCgAGBQJPgZU9AAoJENwGBM22xffeuIQP/jmdYZzNLg3fzde3Nm0exk/Z
-9TADJQKKzDUYwaUCdTvdmyulUJoKzVyj4TD6o1yj5OaLZCiJJTBSmzANQWyrj+QM
-G8jdiltgBNVL+IZC+y9N563FXhGcfGIxLCIqOAaO428dIhuMoSVwK8oIX/7Fi21m
-+HdiHoHX6NfeFfRlwg6GVGKvJn9AdgYb5fJ4BhztLKXQml+fXrISy++nV2CCmY74
-sgDzCv7Fp5TUDwZQ5RXUexNu3XmERxDMf4Q5t6JTb6etJdyXSSVVNNFqll8F7OUa
-nAaqGmV5WpYkYCq8M4pHc6sHhUqP2+hN66aUGsKh7MRvr9hDLvcNgcZLU/SHuH2S
-5JOMrU3CALq7vxWCNHnsGlHNk1S0q1I39xdTa8gVZZn88aboOF8eJDaoKm2vUzbK
-jqd1S0evIL7Z5L7f1ib18tuUiRas9m9FTimVgAtOVIh2R1owij35jJ0IO/FwSAJ+
-H+CmAd8fEIe529HbVWNzg20ttBno928kgTdqc9JPywm1Z84WqTRFNUh0k3SfFCb5
-hR1nFo76XUStphwDYigA+Bb463o6t3BtknNMv43P5/0LuvvKLEkzhRwKyr397Unu
-D3HmEIHdc4UsCcvpQJ/z6kwjD3mOki74ptXseZk9Oqu7INtAVjAsISphTP0Qcqe9
-QR6728ZyAqKPa/WoaVsX
-=d9o1
+iQIcBAEBCgAGBQJPgZiHAAoJENwGBM22xffeKqsP/1+F7YTd1jwMx/Lp151zIpdr
+NBZ5v+ddcq57jCbxsHKJof0xPwNZ/uK3TGh65Gjz8IzKGaigZaEsmSMJ6rWbQWb2
+0agz/Mkg7IrR+mw6i+Csa7arAZuxti1GdxzzKeVbWtbzXvXcljtlp7VlGv3/tFLT
+7pyu5BEkCZXnpp4K+6V44aYWlmHkO9V8MgRZqGDA709JVUHmmR+zWx4hGcURNOf3
+Y6uz2Mj7OJHuSM2xaG352AJSbL978Y+focr1DTAgToIg0Fbk7mcZoJpuw8l1qbUv
+ZxI7L9vQgg96AYsTzsMDPsrN0MdngTumkgdQKOxa+Eyjika0/wOnOq16BZByAJ74
+r6TbPyjBiPLQdH85A6vxTDde+MW+JAivtlGQxDSeuBiP+zaVv6LB3rq6BsZIqIt6
+MwGAttYLkt97fI8o6ZxwBWv7XnNmg2OayE2gTw0vnAYKdF9EyQbdP5AoWnKOVTaD
+leicGfmwtezNfyjAWAlx92hYaTym51WDCx+VtkRMuiUgnM5HPe9L5g6yInt//GOo
+tXOUZiY2Pp3JN+Ccgz1wyr7pWzgbZFLVZqVpbkw6SorN1xSgVRPYBsyw4Tu/BlAv
+7iiX/u5B3DU0d/HDyX8oipy/t0Wy6jZucweUV0DQye0c4dgdQhXicwfgY/IqpUcb
+/x+O78BB/49Hs+4oJAqQ
+=hnUx
-----END PGP SIGNATURE-----
diff --git a/app-office/calligra/calligra-2.3.92-r1.ebuild b/app-office/calligra/calligra-2.3.92-r1.ebuild
new file mode 100644
index 000000000000..6bf39dd56d51
--- /dev/null
+++ b/app-office/calligra/calligra-2.3.92-r1.ebuild
@@ -0,0 +1,205 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-office/calligra/calligra-2.3.92-r1.ebuild,v 1.1 2012/04/08 13:54:06 dilfridge Exp $
+
+# note: files that need to be checked for dependencies etc:
+# CMakeLists.txt, kexi/CMakeLists.txt kexi/migration/CMakeLists.txt
+# krita/CMakeLists.txt
+
+EAPI=4
+
+KDE_SCM=git
+KDE_MINIMAL=4.6.4
+OPENGL_REQUIRED=optional
+
+KDE_HANDBOOK=optional
+
+KDE_LINGUAS_LIVE_OVERRIDE=true
+inherit kde4-base
+
+DESCRIPTION="KDE Office Suite"
+HOMEPAGE="http://www.calligra-suite.org/"
+[[ ${PV} == 9999 ]] || SRC_URI="mirror://kde/unstable/${P}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="4"
+[[ ${PV} == 9999 ]] || KEYWORDS="~amd64 ~x86"
+IUSE="attica +crypt +eigen +exif fftw +fontconfig freetds +gif glew +glib +gsf
+gsl +iconv +jpeg jpeg2k +kdcraw kdepim +lcms marble mysql +mso +okular openctl openexr
++pdf postgres +semantic-desktop +ssl sybase test tiff +threads +truetype
++wmf word-perfect xbase +xml +xslt"
+
+# please do not sort here, order is same as in CMakeLists.txt
+CAL_FTS="kexi words flow plan stage sheets krita karbon braindump"
+for cal_ft in ${CAL_FTS}; do
+ IUSE+=" calligra_features_${cal_ft}"
+done
+unset cal_ft
+
+REQUIRED_USE="
+ calligra_features_kexi? ( calligra_features_sheets )
+ calligra_features_words? ( calligra_features_sheets )
+ calligra_features_krita? ( eigen exif lcms )
+ calligra_features_plan? ( kdepim semantic-desktop )
+ calligra_features_sheets? ( eigen )
+ test? ( calligra_features_karbon )
+"
+
+RDEPEND="
+ !app-office/karbon
+ !app-office/kexi
+ !app-office/koffice-data
+ !app-office/koffice-l10n
+ !app-office/koffice-libs
+ !app-office/koffice-meta
+ !app-office/kplato
+ !app-office/kpresenter
+ !app-office/krita
+ !app-office/kspread
+ !app-office/kword
+ dev-lang/perl
+ dev-libs/boost
+ dev-libs/libxml2
+ $(add_kdebase_dep knewstuff)
+ media-libs/libpng
+ sys-libs/zlib
+ attica? ( dev-libs/libattica )
+ crypt? ( app-crypt/qca:2 )
+ eigen? ( dev-cpp/eigen:2 )
+ exif? ( media-gfx/exiv2 )
+ fftw? ( sci-libs/fftw:3.0 )
+ fontconfig? ( media-libs/fontconfig )
+ freetds? ( dev-db/freetds )
+ gif? ( media-libs/giflib )
+ glew? ( media-libs/glew )
+ glib? ( dev-libs/glib:2 )
+ gsf? ( gnome-extra/libgsf )
+ gsl? ( sci-libs/gsl )
+ iconv? ( virtual/libiconv )
+ jpeg? ( virtual/jpeg )
+ jpeg2k? ( media-libs/openjpeg )
+ kdcraw? ( $(add_kdebase_dep libkdcraw) )
+ kdepim? ( $(add_kdebase_dep kdepimlibs) )
+ lcms? ( media-libs/lcms:2 )
+ marble? ( $(add_kdebase_dep marble) )
+ mysql? ( virtual/mysql )
+ okular? ( $(add_kdebase_dep okular) )
+ openctl? ( >=media-libs/opengtl-0.9.15 )
+ openexr? ( media-libs/openexr )
+ pdf? (
+ app-text/poppler
+ media-gfx/pstoedit
+ )
+ postgres? (
+ dev-db/postgresql-base
+ =dev-libs/libpqxx-3*
+ )
+ semantic-desktop? ( dev-libs/soprano $(add_kdebase_dep kdelibs semantic-desktop) )
+ ssl? ( dev-libs/openssl )
+ sybase? ( dev-db/freetds )
+ tiff? ( media-libs/tiff )
+ truetype? ( media-libs/freetype:2 )
+ word-perfect? (
+ app-text/libwpd
+ app-text/libwps
+ app-text/libwpg
+ )
+ xbase? ( dev-db/xbase )
+ xslt? ( dev-libs/libxslt )
+ calligra_features_kexi? (
+ >=dev-db/sqlite-3.7.9:3[extensions]
+ dev-libs/icu
+ )
+"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-2.3.92-language.patch"
+ "${FILESDIR}/${PN}-2.3.92-table.patch"
+ "${FILESDIR}/${PN}-2.4.0-rdf.patch"
+)
+
+RESTRICT=test
+# bug 394273
+
+src_configure() {
+ local cal_ft
+
+ # first write out things we want to hard-enable
+ local mycmakeargs=(
+ "-DWITH_Boost=ON"
+ "-DWITH_LibXml2=ON"
+ "-DWITH_PNG=ON"
+ "-DWITH_ZLIB=ON"
+ "-DGHNS=ON"
+ "-DWITH_X11=ON"
+ "-DWITH_Qt4=ON"
+ "-DQT3SUPPORT=ON" # kde4-base.eclass pulls this in anyway
+ )
+
+ # default disablers
+ mycmakeargs+=(
+ "-DBUILD_mobile=OFF" # we dont suppor mobile gui, maybe arm could
+ "-DWITH_LCMS=OFF" # we use lcms:2
+ "-DCREATIVEONLY=OFF"
+ "-DWITH_TINY=OFF"
+ "-DWITH_CreateResources=OFF" # NOT PACKAGED: http://create.freedesktop.org/
+ "-DWITH_DCMTK=OFF" # NOT PACKAGED: http://www.dcmtk.org/dcmtk.php.en
+ "-DWITH_Spnav=OFF" # NOT PACKAGED: http://spacenav.sourceforge.net/
+ )
+
+ # regular options
+ mycmakeargs+=(
+ $(cmake-utils_use_with attica LibAttica)
+ $(cmake-utils_use_with crypt QCA2)
+ $(cmake-utils_use_with eigen Eigen2)
+ $(cmake-utils_use_with exif Exiv2)
+ $(cmake-utils_use_with fftw FFTW3)
+ $(cmake-utils_use_with fontconfig Fontconfig)
+ $(cmake-utils_use_with freetds FreeTDS)
+ $(cmake-utils_use_with gif GIF2)
+ $(cmake-utils_use_with glew GLEW)
+ $(cmake-utils_use_with glib GLIB2)
+ $(cmake-utils_use_with glib GObject)
+ $(cmake-utils_use_with gsf LIBGSF)
+ $(cmake-utils_use_with gsl GSL)
+ $(cmake-utils_use_with iconv Iconv)
+ $(cmake-utils_use_with jpeg JPEG)
+ $(cmake-utils_use_with jpeg2k OpenJPEG)
+ $(cmake-utils_use_with kdcraw Kdcraw)
+ $(cmake-utils_use_with kdepim KdepimLibs)
+ $(cmake-utils_use_with lcms LCMS2)
+ $(cmake-utils_use_with marble Marble)
+ $(cmake-utils_use_with mysql MySQL)
+ $(cmake-utils_use_with okular Okular)
+ $(cmake-utils_use_with openctl OpenCTL)
+ $(cmake-utils_use_with openexr OpenEXR)
+ $(cmake-utils_use_with opengl OpenGL)
+ $(cmake-utils_use_with pdf Poppler)
+ $(cmake-utils_use_with pdf Pstoedit)
+ $(cmake-utils_use_with postgres PostgreSQL)
+ $(cmake-utils_use_with semantic-desktop Soprano)
+ $(cmake-utils_use semantic-desktop NEPOMUK)
+ $(cmake-utils_use_with ssl OpenSSL)
+ $(cmake-utils_use_with sybase FreeTDS)
+ $(cmake-utils_use_with tiff TIFF)
+ $(cmake-utils_use_with threads Threads)
+ $(cmake-utils_use_with truetype Freetype)
+ $(cmake-utils_use_with word-perfect WPD)
+ $(cmake-utils_use_with word-perfect WPG)
+ $(cmake-utils_use_with xbase XBase)
+ $(cmake-utils_use_with xslt LibXslt)
+ $(cmake-utils_use_build wmf libkowmf)
+ $(cmake-utils_use_build mso libmsooxml)
+ )
+
+ # applications
+ for cal_ft in ${CAL_FTS}; do
+ mycmakeargs+=( $(cmake-utils_use_build calligra_features_${cal_ft} ${cal_ft}) )
+ done
+ mycmakeargs+=( $(cmake-utils_use_build test cstester) )
+
+ # filters
+
+ kde4-base_src_configure
+}
diff --git a/app-office/calligra/files/calligra-2.3.92-language.patch b/app-office/calligra/files/calligra-2.3.92-language.patch
new file mode 100644
index 000000000000..da94e95cf58a
--- /dev/null
+++ b/app-office/calligra/files/calligra-2.3.92-language.patch
@@ -0,0 +1,21 @@
+--- plugins/textediting/spellcheck/SpellCheck.cpp.org 2012-03-29 07:19:58.808192633 +0200
++++ plugins/textediting/spellcheck/SpellCheck.cpp 2012-03-29 07:28:13.671184157 +0200
+@@ -44,7 +44,8 @@
+ m_allowSignals(true),
+ m_documentIsLoading(false),
+ m_isChecking(false),
+- m_spellCheckMenu(0)
++ m_spellCheckMenu(0),
++ m_document(0)
+ {
+ /* setup actions for this plugin */
+ KAction *configureAction = new KAction(i18n("Configure &Spell Checking..."), this);
+@@ -141,7 +142,7 @@
+ {
+ m_speller.setDefaultLanguage(language);
+ m_bgSpellCheck->setDefaultLanguage(language);
+- if (m_enableSpellCheck) {
++ if (m_enableSpellCheck && m_document) {
+ checkSection(m_document, 0, m_document->characterCount() - 1);
+ }
+ }
diff --git a/app-office/calligra/files/calligra-2.3.92-table.patch b/app-office/calligra/files/calligra-2.3.92-table.patch
new file mode 100644
index 000000000000..c9f06b8354af
--- /dev/null
+++ b/app-office/calligra/files/calligra-2.3.92-table.patch
@@ -0,0 +1,96 @@
+From 0f96e4b78756deaba77b2d8d486ea5585bd8f652 Mon Sep 17 00:00:00 2001
+From: Boudewijn Rempt <boud@valdyas.org>
+Date: Thu, 29 Mar 2012 15:32:18 +0200
+Subject: [PATCH] Fix inserting table shape in non-english locale
+
+Comparing a translated name with a fixed text isn't going to work...
+
+BUG:297029
+BUG:293704
+
+Okay to backport to 2.4?
+---
+ libs/flake/KoDeferredShapeFactoryBase.h | 2 ++
+ libs/flake/KoShapeFactoryBase.cpp | 9 ++-------
+ sheets/shape/TableShapeDeferredFactory.h | 2 ++
+ sheets/shape/TableShapeFactory.cpp | 2 +-
+ sheets/shape/spreadsheetshape-deferred.desktop | 1 +
+ 5 files changed, 8 insertions(+), 8 deletions(-)
+
+diff --git a/libs/flake/KoDeferredShapeFactoryBase.h b/libs/flake/KoDeferredShapeFactoryBase.h
+index 68bc5e3..7887484 100644
+--- a/libs/flake/KoDeferredShapeFactoryBase.h
++++ b/libs/flake/KoDeferredShapeFactoryBase.h
+@@ -47,6 +47,8 @@ public:
+
+ virtual ~KoDeferredShapeFactoryBase();
+
++ virtual QString deferredPluginName() = 0;
++
+ /**
+ * This method should be implemented by factories to create a shape that the user
+ * gets when doing a base insert. For example from a script. The created shape
+diff --git a/libs/flake/KoShapeFactoryBase.cpp b/libs/flake/KoShapeFactoryBase.cpp
+index 116cacc..5c5ec48 100644
+--- a/libs/flake/KoShapeFactoryBase.cpp
++++ b/libs/flake/KoShapeFactoryBase.cpp
+@@ -242,19 +242,14 @@ void KoShapeFactoryBase::getDeferredPlugin()
+ if (d->deferredFactory) return;
+
+ const QString serviceType = "Calligra/Deferred";
+- QString query = QString::fromLatin1("(Type == 'Service') and (Name == '%1')").arg(d->deferredPluginName);
+- const KService::List offers = KServiceTypeTrader::self()->query(serviceType, query);
++ const KService::List offers = KServiceTypeTrader::self()->query(serviceType, QString());
+ Q_ASSERT(offers.size() > 0);
+
+ foreach(KSharedPtr<KService> service, offers) {
+- QString error = 0; // FIXME: From where does error get a value?
+ KoDeferredShapeFactoryBase *plugin = service->createInstance<KoDeferredShapeFactoryBase>(this);
+- if (plugin) {
++ if (plugin && plugin->deferredPluginName() == d->deferredPluginName) {
+ d->deferredFactory = plugin;
+ }
+- else {
+- kWarning(30003) << "loading plugin" << service->name() << "failed, " << error;
+- }
+ }
+
+ }
+diff --git a/sheets/shape/TableShapeDeferredFactory.h b/sheets/shape/TableShapeDeferredFactory.h
+index 2668c2b..981b4d8 100644
+--- a/sheets/shape/TableShapeDeferredFactory.h
++++ b/sheets/shape/TableShapeDeferredFactory.h
+@@ -30,6 +30,8 @@ public:
+ TableDeferredShapeFactory(QObject *parent, const QVariantList&);
+ ~TableDeferredShapeFactory();
+
++ virtual QString deferredPluginName() { return "spreadsheetshape-deferred"; }
++
+ KoShape *createDefaultShape(KoDocumentResourceManager *documentResources = 0) const;
+ private:
+ KoShapeFactoryBase *m_stubFactory;
+diff --git a/sheets/shape/TableShapeFactory.cpp b/sheets/shape/TableShapeFactory.cpp
+index 0cba2a9..98102a6 100644
+--- a/sheets/shape/TableShapeFactory.cpp
++++ b/sheets/shape/TableShapeFactory.cpp
+@@ -47,7 +47,7 @@ TableShapePlugin::TableShapePlugin(QObject * parent, const QVariantList&)
+
+
+ TableShapeFactory::TableShapeFactory()
+- : KoShapeFactoryBase(TableShapeId, i18n("Spreadsheet"), "Spreadsheet Shape")
++ : KoShapeFactoryBase(TableShapeId, i18n("Spreadsheet"), "spreadsheetshape-deferred")
+ {
+ setToolTip(i18n("Spreadsheet Shape"));
+ setIcon("spreadsheetshape");
+diff --git a/sheets/shape/spreadsheetshape-deferred.desktop b/sheets/shape/spreadsheetshape-deferred.desktop
+index cb47900..da3b679 100644
+--- a/sheets/shape/spreadsheetshape-deferred.desktop
++++ b/sheets/shape/spreadsheetshape-deferred.desktop
+@@ -39,3 +39,4 @@ Type=Service
+ X-KDE-Library=spreadsheetshape-deferred
+ X-Flake-MinVersion=4
+ X-Flake-PluginVersion=4
++X-DeferredID=spreadsheetshape-deferred
+--
+1.7.9.2
+