This forum has been archived. All content is frozen. Please use KDE Discuss instead.

karbon14 with fixed open save filters ?

Tags: None
(comma "," separated)
User avatar
ash
Registered Member
Posts
280
Karma
0
in the released koffice 2.0 beta 7 built from this source the open save filters in karbon are missing

(got it in reply after i bombed the bug tracker about unsupported file formats)

where i get fixed source tar.bz ?
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
I would recommend checking out the needed bits of KOffice ( the entire source tree would be fine ) from KDE SVN, and trying to use that instead. It also has the benefits of the latest bug fixes, making backtraces, etc. more useful to developers.

Code: Select all
svn co svn://anonsvn.kde.org/home/kde/trunk/koffice/


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
ash
Registered Member
Posts
280
Karma
0
is svn supposed to be THAT slow ?

after 2 hours
Code: Select all
svn co svn://anonsvn.kde.org/home/kde/trunk/koffice/
A    koffice/kformula                                         
A    koffice/kformula/tips                                   
A    koffice/kformula/kformulapart.desktop                   
A    koffice/kformula/kformula_readonly.rc                   
A    koffice/kformula/Messages.sh                             
A    koffice/kformula/KFormulaPartFactory.cpp                 
A    koffice/kformula/flake                                   
A    koffice/kformula/flake/GlyphElement.h                   
A    koffice/kformula/flake/FormulaCursor.cpp                 
A    koffice/kformula/flake/FencedElement.h                   
A    koffice/kformula/flake/AUTHORS                           
A    koffice/kformula/flake/Dictionary.cpp                   
A    koffice/kformula/flake/scripts                           
A    koffice/kformula/flake/scripts/DictionaryGenerator.py   
A    koffice/kformula/flake/scripts/operator.list             
A    koffice/kformula/flake/scripts/entities.list             
A    koffice/kformula/flake/TableElement.h                   
A    koffice/kformula/flake/NumberElement.h                   
A    koffice/kformula/flake/StyleElement.cpp                 
A    koffice/kformula/flake/OperatorElement.h                 
A    koffice/kformula/flake/FormulaToolWidget.h               
A    koffice/kformula/flake/formulashape.desktop             
A    koffice/kformula/flake/UnknownElement.h                 
A    koffice/kformula/flake/StringElement.cpp                 
A    koffice/kformula/flake/ElementFactory.cpp               
A    koffice/kformula/flake/SquareRootElement.h               
A    koffice/kformula/flake/PhantomElement.h                 
A    koffice/kformula/flake/KoFormulaToolFactory.cpp         
A    koffice/kformula/flake/kformula_export.h                 
A    koffice/kformula/flake/Mainpage.dox                     
A    koffice/kformula/flake/IdentifierElement.cpp             
A    koffice/kformula/flake/ActionElement.h                   
A    koffice/kformula/flake/GlyphElement.cpp                 
A    koffice/kformula/flake/TableRowElement.h                 
A    koffice/kformula/flake/TextElement.cpp                   
A    koffice/kformula/flake/BasicElement.h
A    koffice/kformula/flake/TableElement.cpp
A    koffice/kformula/flake/EncloseElement.cpp
A    koffice/kformula/flake/KoFormulaShapePlugin.h
A    koffice/kformula/flake/OperatorElement.cpp
A    koffice/kformula/flake/FormulaToolWidget.cpp
A    koffice/kformula/flake/ErrorElement.h
A    koffice/kformula/flake/KoFormulaShapeFactory.cpp
A    koffice/kformula/flake/UnknownElement.cpp
A    koffice/kformula/flake/StyleElement.h
A    koffice/kformula/flake/FractionElement.h
A    koffice/kformula/flake/StringElement.h
A    koffice/kformula/flake/ActionElement.cpp
A    koffice/kformula/flake/UnderOverElement.h
A    koffice/kformula/flake/TableRowElement.cpp
A    koffice/kformula/flake/TokenElement.cpp
A    koffice/kformula/flake/BasicElement.cpp
A    koffice/kformula/flake/FormulaRenderer.cpp
A    koffice/kformula/flake/AttributeManager.cpp
A    koffice/kformula/flake/KoFormulaShapePlugin.cpp
A    koffice/kformula/flake/IdentifierElement.h
A    koffice/kformula/flake/KoFormulaTool.h
A    koffice/kformula/flake/RootElement.h
A    koffice/kformula/flake/TextElement.h
A    koffice/kformula/flake/ErrorElement.cpp
A    koffice/kformula/flake/FormulaCommand.cpp
A    koffice/kformula/flake/EncloseElement.h
A    koffice/kformula/flake/fonts
A    koffice/kformula/flake/fonts/ArevBd.ttf
A    koffice/kformula/flake/fonts/ArevBI.ttf
A    koffice/kformula/flake/fonts/ArevIt.ttf
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Nope. Your connection to anonsvn.kde.org probably died. You will need to kill "svn" and start checking out all over again.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
ash
Registered Member
Posts
280
Karma
0
no. it completed on its own after like 18 hours

thx anyway
User avatar
ash
Registered Member
Posts
280
Karma
0
i now compiled it and it still does not support any file types except odg. whats up with it ?
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Do you have any needed extra libraries development packages installed? These will usually be listed in the output of CMake.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
ash
Registered Member
Posts
280
Karma
0
i use the archlinux package build system with the build file i took from beta 7. i changed the version to 95 to avoid confusion with the real beta 7 (98). i then installed manually the created package

[code]==> Making package: koffice2 1.9.95.7-1 i686 (Sat Mar 21 21:41:41 IST 2009)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
-> Found koffice-1.9.95.7.tar.bz2 in build dir
==> Validating source files with md5sums...
koffice-1.9.95.7.tar.bz2 ... Passed
==> Extracting Sources...
-> bsdtar -x -f koffice-1.9.95.7.tar.bz2
==> Entering fakeroot environment...
==> Starting build()...
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Found Qt-Version 4.4.3 (using /usr/bin/qmake)
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so;/usr/lib/libXft.so;/usr/lib/libXau.so;/usr/lib/libXdmcp.so;/usr/lib/libXpm.so
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so;/usr/lib/libXft.so;/usr/lib/libXau.so;/usr/lib/libXdmcp.so;/usr/lib/libXpm.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib/libX11.so
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found Automoc4: /usr/bin/automoc4
-- Found Perl: /usr/bin/perl
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Failed
-- Performing Test HAVE_FPIE_SUPPORT
-- Performing Test HAVE_FPIE_SUPPORT - Success
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL - Success
-- Performing Test __KDE_HAVE_GCC_VISIBILITY
-- Performing Test __KDE_HAVE_GCC_VISIBILITY - Success
-- Phonon Version: 4.3.0
-- Found Phonon: /usr/lib/libphonon.so
-- Found Phonon Includes: /usr/include/KDE;/usr/include
-- Found KDE 4.2 include dir: /usr/include
-- Found KDE 4.2 library dir: /usr/lib
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
-- Boost version: 1.37.0
-- Found the following Boost libraries:
-- Found ZLIB: /usr/lib/libz.so
-- Found KdepimLibs: /usr/lib/KdepimLibs-4.2.0/cmake/KdepimLibsConfig.cmake
-- checking for module 'lcms'
-- found lcms, version 1.17
-- Found lcms version 1.17, /usr/lib/liblcms.so
-- Found PNG: /usr/lib/libpng.so
-- Could NOT find CreateResources (missing: CREATERESOURCES_INCLUDE_DIR)
-- Create Resources will be required in the final release
-- Found Eigen2: /usr/include/eigen2
-- checking for module 'qimageblitz'
-- found qimageblitz, version 4.0.0
-- Found Blitz: /usr/include/qimageblitz
-- checking for module 'qca2'
-- found qca2, version 2.0.1
-- Found QCA2: /usr/lib/libqca.so
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
-- Found Exiv2 release >= 0.16
-- Found Exiv2: /usr/lib/libexiv2.so
-- checking for module 'OpenEXR'
-- found OpenEXR, version 1.6.1
-- Found OPENEXR: /usr/lib/libImath.so;/usr/lib/libIlmImf.so;/usr/lib/libIex.so;/usr/lib/libHalf.so;/usr/lib/libIlmThread.so
-- Found OpenGL: /usr/lib/libGLU.so;/usr/lib/libGL.so;/usr/lib/libSM.so;/usr/lib/libICE.so;/usr/lib/libX11.so;/usr/lib/libXext.so;/usr/lib/libXft.so;/usr/lib/libXau.so;/usr/lib/libXdmcp.so;/usr/lib/libXpm.so
-- Found Qt OpenGL support
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
-- PKGCONFIG() indicates that OpenCTL is not installed (install the package which contains OpenCTL.pc if you want to support this feature)
-- OpenCTL was NOT found.
-- Check if the system is big endian
-- Searching 16 bit integer
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Using unsigned short
-- Check if the system is big endian - little endian
--
-- Karbon detected that you use a 32 bit processor.
-- Found GNU Scientific Library 1.12: /usr/include/gsl /usr/lib/libgsl.so;/usr/lib/libgslcblas.so
-- Performing Test HAVE_DPMSCAPABLE_PROTO
-- Performing Test HAVE_DPMSCAPABLE_PROTO - Success
-- Found PythonLibs: /usr/lib/python2.6/config/libpython2.6.a
-- GLEW NOT found - krita will not be able to use OpenGL shaders
-- OpenGL found -- krita will be able to use OpenGL for hardware accelerated rendering.
-- Looking for powf
-- Looking for powf - found
-- Performing Test HAVE_X86_MMX
-- Performing Test HAVE_X86_MMX - Success
-- Performing Test HAVE_X86_SSE
-- Performing Test HAVE_X86_SSE - Success
-- Performing Test HAVE_X86_SSE2
-- Performing Test HAVE_X86_SSE2 - Success
-- Performing Test HAVE_X86_3DNOW
-- Performing Test HAVE_X86_3DNOW - Success
-- Performing Test HAVE_PPC_ALTIVEC
-- Performing Test HAVE_PPC_ALTIVEC - Failed
-- Filters that still need to be fixed: bumpmap
Krita: Port the perspective transform tool
-- Found GMM: /usr/include
-- Could NOT find Spnav (missing: SPNAV_INCLUDE_DIR SPNAV_LIBRARY)
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
-- Found Graphics Magick version 1.3.5: -lGraphicsMagick -I/usr/include/GraphicsMagick
-- checking for module 'libxml-2.0'
-- found libxml-2.0, version 2.7.3
-- Found LibXml2: /usr/lib/libxml2.so
-- checking for module 'libxslt'
-- found libxslt, version 1.1.24
-- Found LibXslt: /usr/lib/libxslt.so
-- Looking for include files HAVE_UNISTD_H
-- Looking for include files HAVE_UNISTD_H - found
-- Looking for include files HAVE_SYS_STAT_H
-- Looking for include files HAVE_SYS_STAT_H - found
-- Looking for include files HAVE_STDLIB_H
-- Looking for include files HAVE_STDLIB_H - found
-- Looking for include files HAVE_NDIR_H
-- Looking for include files HAVE_NDIR_H - not found.
-- Looking for include files HAVE_SYS_DIR_H
-- Looking for include files HAVE_SYS_DIR_H - found
-- Looking for include files HAVE_SYS_NDIR_H
-- Looking for include files HAVE_SYS_NDIR_H - not found.
-- Looking for include files HAVE_DIRENT_H
-- Looking for include files HAVE_DIRENT_H - found
-- Looking for include files HAVE_IEEEFP_H
-- Looking for include files HAVE_IEEEFP_H - not found.
-- Looking for include files HAVE_STRING_H
-- Looking for include files HAVE_STRING_H - found
-- Looking for include files HAVE_STRINGS_H
-- Looking for include files HAVE_STRINGS_H - found
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
-- Found WPD: /usr/include/libwpd-0.8
-- Found wv2: -L/usr/lib -lgsf-1 -lgobject-2.0 -lxml2 -lglib-2.0 -lwv2
-- When latex is reactivated (if?) also port it to GraphicsMagick, to make life easy for Isaac.
-- reactivate svg genericimageexport when kpresenter will port
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
-- PKGCONFIG() indicates that libwpg-0.1 is not installed (install the package which contains libwpg-0.1.pc if you want to support this feature)
-- Found TIFF: /usr/lib/libtiff.so
-- Found JPEG: /usr/lib/libjpeg.so
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
-- Performing Test HAVE_POPPLER_0_6
-- Performing Test HAVE_POPPLER_0_6 - Success
-- Found Poppler-Qt4: -lpoppler-qt4 -lpoppler, 0.6.x? yes
-- Check Kdcraw library in local sub-folder...
-- Check Kdcraw library using pkg-config...
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
-- Found libkdcraw release >= 0.2.0
-- Found libkdcraw: /usr/lib/libkdcraw.so
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
-- Found Graphics Magick version 1.3.5: -lGraphicsMagick -I/usr/include/GraphicsMagick
-- Found shared-mime-info version: 0.51
-- Re-add kivio filters, karbon filter, kpresenter filters
-- Readd or not Kformula filter: Status ?
--
-----------------------------------------------------------------------------
-- The following external packages were located on your system.
-- This installation will have the extra features provided by these packages.
+ Exiv2
+ Eigen
+ QCA
+ Boost
+ KDE PIMLibs
+ LittleCMS
+ Blitz
+ GSL
+ bzip2
+ Gmm++
+ OpenGL
+ wv2 libraries
+ jpeg
+ tiff
+ png
+ OpenEXR
+ GraphicsMagick
+ poppler-qt4
-----------------------------------------------------------------------------
-- The following OPTIONAL packages could NOT be located on your system.
-- Consider installing them to enable more features from this software.
+ OpenCTL, 0.9.2 or higher: Free Color Transformation Language implementation
Required for High Dynamic Range Color Spaces, YCbCr and LMS support
+ GLEW: The OpenGL Extension Wrangler Library
Required by the Krita shader filter plugin
+ Spnav: 3Dconnexion device driver and SDK
Required by SpaceNavigator 3D mouse plugin
+ pstoedit: Translates PostScript and PDF graphics into other vector formats
Required by the Karbon EPS import filter
-----------------------------------------------------------------------------

-- Configuring done
-- Generating done
-- Build files have been written to: /home/ash/computer/koffice beta 7 2/src/koffice-1.9.95.7/build[/code]


[code]# Contributor: Gereon Schomber

pkgname=koffice2
pkgver=1.9.95.7
pkgrel=1
pkgdesc="An integrated office Suite"
arch=('i686' 'x86_64')
url="http://www.koffice.org/"
license=('GPL')
depends=('kdelibs>=4.2' 'kdebase>=4.2'
'kdebase-runtime>=4.2' 'kdepimlibs>=4.2'
'libwpd' 'lcms')
makedepends=('cmake' 'eigen' 'automoc4')
optdepends=('libpqxx: Postgresql support for Kexi'
'freetds: MS SQL support for Kexi'
'graphicsmagick=1.1: various Krita filters'
'gmm++: various Krita filters')
source=("http://download.kde.org/unstable/koffice-$pkgver/src/koffice-$pkgver.tar.bz2")
conflicts=('koffice2-alpha')
replaces=('koffice2-alpha')

build() {
cd "$srcdir/koffice-$pkgver"
[ -d 'build' ] && rm -rf build
[ "${CARCH}" = "x86_64" ] && sed -i 's/kDebug(30513) << (int) buf;//' filters/kword/msword-odf/graphicshandler.cpp
mkdir build
cd build
[ "${CARCH}" = "x86_64" ] && [ "${CXXFLAGS}" != *"-fpic"* ] && CXXFLAGS="${CXXFLAGS} -fpic"

cmake .. -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix`
make || return 1
make DESTDIR="$pkgdir/" install
}
md5sums=('a549b131e3b199b3105f62730df73ec7')[/code]
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
If available, please install the pstoedit package, which is required by the Karbon EPS import filter ( Postscript / PDF )


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
ash
Registered Member
Posts
280
Karma
0
i installed the package and checked - everything in karbon works now

i uninstalled it and restarted karbon - everything still works. weird
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
This could be because the package is only needed at compile time, or because the package is a runtime dependency of the plugin, and is not required for Karbon to start.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
ash
Registered Member
Posts
280
Karma
0
what i did

open karbon - no suport

close karbon

install package

open karbon - yes suport

close karbon

remove package

open karbon - yes suport


i did not recompile or reinstall karbon
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Very unusual. Did it install any dependencies maybe?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
ash
Registered Member
Posts
280
Karma
0
i seem to have removed them along with it
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Very interesting none the less. You should now have all available filters installed, assuming no more "not found" lines are present in the output of CMake.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Google [Bot], markhm, rblackwell, sethaaaa, Sogou [Bot], Yahoo [Bot]