WMF-Thumbnail-Plugin for Konqueror

Various KDE 1.-4. Improvements

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

0
5 .0
Description:

Plugin for Konqueror to preview WMF-Files as Thumbnails. Tested with KDE 3.1 to 3.3. Needs libwmf(-devel) for compiling. Seems to have some compilation problems on KDE 3.3. Please submit your bug reports via email to me.
Last changelog:

11 years ago

Added binary packages for Ubuntu 8.04 (Hardy)

Now more KDE-conform: pictures keep their aspect-ratio.

If some pics appear upside down, than this is a bug in the libwmf

jonnymccullagh

14 years ago

I ran configure and installed all the dependencies needed so that configure works OK but now when I run make I get
bash: make: command not found

Any ideas?
thanks,j

Report

gemlog

14 years ago

Compiled OK (couple of warnings only) and ran fine on PCLOS as of pre .93 (minime).

I've been using this for (a couple of years?) and it's fantastic. Great addition to the KDE desktop space.

I had a version of gqview which ate wmf files at one point, but Imagemagick always works and OpenOffice.org yums them up too.

Report

SpEcIeS

15 years ago

This little plugin works great and helped me out big time. :) Thanks for the awesome work.

Report

BrazilianJoe

15 years ago

Did not compile with KDE 3.4.
It gave the following error:

if /bin/sh ../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/3.4/include -I/usr/qt/3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include -MT wmfthumbcreator.lo -MD -MP -MF ".deps/wmfthumbcreator.Tpo" \
-c -o wmfthumbcreator.lo `test -f 'wmfthumbcreator.cpp' || echo './'`wmfthumbcreator.cpp; \
then mv -f ".deps/wmfthumbcreator.Tpo" ".deps/wmfthumbcreator.Plo"; \
else rm -f ".deps/wmfthumbcreator.Tpo"; exit 1; \
fi
wmfthumbcreator.cpp: In member function `virtual bool WMFThumbCreator::create(const QString&, int, int, QImage&)':
wmfthumbcreator.cpp:111: error: `ceil' undeclared (first use this function)
wmfthumbcreator.cpp:111: error: (Each undeclared identifier is reported only once for each function it appears in.)
wmfthumbcreator.cpp: At global scope:
wmfthumbcreator.cpp:143: warning: unused parameter 'context'
wmfthumbcreator.cpp:64: warning: unused parameter 'width'
wmfthumbcreator.cpp:64: warning: unused parameter 'height'
make[2]: *** [wmfthumbcreator.lo] Error 1
make[2]: Leaving directory `/tmp/wmfthumbnail-0.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/wmfthumbnail-0.2'
make: *** [all] Error 2

Report

polzleitner

15 years ago

I compiled and linked the wmf-thumbnail-plugin, the build went fine for me, except there are no thumbnails for any of the .wmf files I have.

Here are the files that were installed:

/opt/kde3/lib/kde3/wmfthumbnail.la
/opt/kde3/lib/kde3/wmfthumbnail.so
/opt/kde3/share/services/wmfthumbnail.desktop

Any ideas what could be wrong?

Wolfgang

Report

C

burmagroup

16 years ago

Hi,

for me it seems some of the compiling problems lay in the framework around the wmfthumbnail.

I'll check this weekend if I can modify the sources to cope with this problems. But it compiles without errors on a standard SuSE 9.0 with the latest KDE-RPMS installed.

Metta
Heiko

Report

mrbiggles

16 years ago

Hi, I have been able to compile and install wmfthumbnail on Mandrake 10 (Official), but it will not show thumbnails. Initially, it did not recognize that libGL.la was not where expected. At first I tried just putting a link in the appropriate place (/usr/X11R6/lib/libGL.la) and tath seemed to work, except that I had no thumbs. Then I tried to copy it to the same location, with the same result. All I got back from make was a warning:
libtool: link: warning: `/usr/X11R6/lib/libGL.la' seems to be moved
libtool: link: warning: `/usr/X11R6/lib/libGL.la' seems to be moved
libtool: link: warning: `/usr/X11R6/lib/libGL.la' seems to be moved
libtool: link: warning: `/usr/X11R6/lib/libGL.la' seems to be moved
libtool: link: warning: `/usr/X11R6/lib/libGL.la' seems to be moved
libtool: link: warning: `/usr/X11R6/lib/libGL.la' seems to be moved

My original libGL.la is located in /usr/lib/

As I have a huge library of wmf's (thousands, in fact), I would appreciate any and all pointers.

Thanks ever so much,
mrBiggles

Report

moon115

16 years ago

I was appreciating and using your plugin on SuSE9.0 with kde 3.2. I even put together a service menu because the wmf plugin made these files useful.

Unfortunately your plugin (and my service menu) seem to no longer work with kde3.3.

I tried a fresh compile of your sourcecode but recieved the following error

"In file included from /usr/include/libwmf/types.h:35,
from /usr/include/libwmf/api.h:25,
from wmfthumbcreator.h:24,
from wmfthumbnail.cpp:21:
/usr/include/freetype2/freetype/freetype.h:20:2: #error "`ft2build.h' hasn't bee
n included yet!"
/usr/include/freetype2/freetype/freetype.h:21:2: #error "Please always use macro
s to include FreeType header files."
/usr/include/freetype2/freetype/freetype.h:22:2: #error "Example:"
/usr/include/freetype2/freetype/freetype.h:23:2: #error " #include
"
/usr/include/freetype2/freetype/freetype.h:24:2: #error " #include FT_FREETYPE_
H"
make[2]: *** [wmfthumbnail.lo] Error 1"

Apparently a problem w/ freetype2 but since I'm really not a programmer I'm not sure how to get around this error.

I do have freetype2 (2.1.7-11)
and freetype2-devel (2.1.7-11)
installed.

Has anyone else noticed this problem? is there a solution?

Thanks, hope to be enjoying your plugin again in the near future.

Report

moon115

16 years ago

I was able to use the WMF-Thumbnail-Plugin version I had compiled and archived previously by creating a new
/opt/kde/share/services desktop file for the filetype
"application/x-msmetafile"
based on the wmfthumbnail.desktop file.

The original wmfthumbnail.desktop file addresses the "image/x-wmf" file type

My msmetafile.desktop file addresses the "application/x-msmetafile" file type.

I've included this .desktop file in my
wmf-converter 0.3 files at

http://kde-look.org/content/show.php?content=16260

Still don't know why it (WMF-Thumbnail-Plugin) won't compile for me any more.

Report

C

burmagroup

16 years ago

Hi,

sorry for the late reply, but I forget to tick the email notification.

For me it compiles as before. I use SuSE 9.1 with the official (and latest) KDE-packages. gcc 3.3.3.

It is true, that a new desktop-file is needed, or the removal of the existing WMF-fileassosciation in the Control Center is doing the same job (it reactivates the old desktop-file).

I will check this weekend all the mentioned problems this weekend, but for me it seems okay. Probably I will put an SuSE-RPM for 9.1 on my homepage.

Sorry for the inconviniences :-(

Metta
Heiko

Report

pevans

16 years ago

I took out a registration just so I could make this post praising the thing.

It works exactly as advertised and provides a much-needed plug-in to the KDE desktop for people.

I install it for everyone, even though it means a separate compile just to have it usually.

This should be included in KDE base -- even with the upside-down-thing problem (as noted by the author).

I hope that you can work with the developers of the lib to resolve that little bug, but it won't stop me spreading it around! :-)

Report

StefanT

16 years ago

Great idea, thanks!

Cannot say anything about the code quality yet (have not looked). But its one of the things that held me off from buying a wmf library in a store.

Kind regards,
Stefan

Report

C

burmagroup

16 years ago

Thanks!

The code is straight forward. I don't know how the libwmf is implemented internally.

The new 0.2 version has some cleaned up code.
An audit could be done within minutes.

Report

11 years ago

Added binary packages for Ubuntu 8.04 (Hardy)

Now more KDE-conform: pictures keep their aspect-ratio.

If some pics appear upside down, than this is a bug in the libwmf

12345678910
product-maker Base: 4 x 5.0 Ratings
Be the first to comment
File (click to download) Version Description PackagetypeArchitecture Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
0.2.1
updated Aug 23 2009
added Mar 16 2004
downloads 24h
0
mediaviews 24h 0
pageviews 24h 0