KNfoViewer

Office Apps

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
7.2
Description:

NFO file viewer for KDE. The only one I could find was KNfo which isn't being developed anymore, and it was written in Ruby/Qt. This is written in pure C++/Qt3/KDE3, and will be actively developed and ported to KDE4.

The program consists of a main window and an embedded KPart, so you can integrate it easily into your own program and also view NFO files embedded in Konqueror.

You need cmake>= 2.4 to compile it. Once unpacked, run the command "cmake . -DCMAKE_INSTALL_PREFIX=`kde-config --prefix`" from the source directory, and then just run make && make install like you normally would.
Last changelog:

11 years ago

Version 0.3.3
Changed : implemented the thumbnail viewer. Thumbnails are now generated for NFO files, and the preview panel now works for NFO files in KDE.

cochisepoeta

9 years ago

Your software is in a wrong category. He is nor a text processor.

Report

MoonBlossom

10 years ago

Hi! I'm wondering if you still have plans to port it to KDE4 :)

Report

michan

10 years ago

Add 'make uninstall' rules.
Install to /usr/local instead of /usr by default.

Report

C

ChaosWars

10 years ago

Sorry, but no. Both suggestions are totally against the KDE guidlines for programs. Additionally, KDE won't be able to find the kpart to load it if it is installed to /usr/local.

The icons have been moved to $KDEDIR/share/icons/hicolor though, as per the new guidlines, and the program has been ported to KDE4. I shall release an updated version for KDE3 as well as a new version for KDE4 sometime this month, once I have polished the documentation.

Report

ilj

11 years ago

Thanks very much for this nice program!

Report

spikyatlinux

11 years ago

Everytime I want to start knfoviewer I become the error 'Could not find our part.' My system is OpenSuse 10.3 x64, perhaps you can help me, thanks.

Report

C

ChaosWars

11 years ago

It will give that error if it can't find the file libknfoviewerpart.so. Could you confirm if that file is located on your system, and if so where it is installed.

In fact, email me a list of all the files installed by KNfoViewer and their locations, that would help tremendously to track down the problem.

Report

amigib

11 years ago

the problem is probably like on every multilib x86_64 systems, system libraries are in /usr/lib64 and knfoviewer is instaling it in /usr/lib

(for slamd64 im copying libs and editing*.la files manually)

Hey ChaosWars, it would be nice to know how to switch this to /usr/lib64...
hmmm cmake, i dont like it...

Report

C

ChaosWars

11 years ago

I think I've fixed the build system for x86_64. I have changed the CMakeLists.txt file to use the variable cmake finds for the kde library. If someone wants to check out the SVN and see if it installs to the right place, I can ready the next realease to use it.

Report

amigib

11 years ago

yep, it is putting *.so files in right place but i think /usr/local isnt good place for icon files, they usually are in /usr
and *.la files probably should goes where *.so files are

-------------------
bash-3.1$ ls -R
.:
usr

./usr:
bin lib64 local share

./usr/bin:
knfoviewer

./usr/lib64:
kde3

./usr/lib64/kde3:
knfoviewerthumbnail.so libknfoviewerpart.so

./usr/local:
lib share

./usr/local/lib:
kde3

./usr/local/lib/kde3:
knfoviewerthumbnail.la libknfoviewerpart.la

./usr/local/share:
icons

./usr/local/share/icons:
crystalsvg

./usr/local/share/icons/crystalsvg:
48x48

./usr/local/share/icons/crystalsvg/48x48:
apps

./usr/local/share/icons/crystalsvg/48x48/apps:
knfoviewer.png

--------------------------

sorry for late response

checked on SLAMD64

Report

luckykai

11 years ago

Multi-language support?

Report

C

ChaosWars

11 years ago

Actually, I'm busy porting the project to KDE4 and putting in multi-language support as I'm going. I think I can get out an interim release sometime soon. I'll just need translators though, I can only translate the Project into Dutch, and maybe German with some degree of accuracy :p

Report

gejobj

11 years ago

Hi!

When I tried to compile 0.3.1 version, I get this error:

$ cmake . -DCMAKE_INSTALL_PREFIX=`kde-config --prefix`
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Check size of void*
-- Check size of void* - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
CMake Error: Error in cmake code at
/home/gejobj/Compiling/knfoviewer-0.3.1/src/CMakeLists.txt:10:
Unknown CMake command "KDE3_ADD_UI_FILES".
-- Configuring done

Report

gejobj

11 years ago

I found how to solve this error.

Simply, add:
'FIND_PACKAGE( KDE3 REQUIRED )'

Into 'knfoviewer-0.3.1/src/CMakeLists.txt' file under first line.

And here is the mandriva 2008.0 rpm:
http://www.latuberia.net/rpms/2008.0/knfoviewer-0.3.1-1.mdv2008.0.i586.rpm

Bye.

Report

C

ChaosWars

11 years ago

That is odd, to say the least. If you look in the CMakeLists.txt file in the directory above src, you will see that that line is in there. It shouldn't have given you that error.
I retested the build here, I can only assume that the error is because of your CMake version. Which version of cmake are you running?

Report

gejobj

11 years ago

I'm using:
# cmake --version
cmake version 2.4-patch 7

If I delete that line 'FIND_PACKAGE( KDE3 REQUIRED )' I get this error:

$ cmake . -DCMAKE_INSTALL_PREFIX=`kde-config --prefix`
CMake Error: Error in cmake code at
/home/gejobj/Compiling/knfoviewer-0.3.1/src/CMakeLists.txt:10:
Unknown CMake command "KDE3_ADD_UI_FILES".
-- Configuring done

I see you put that line on knfoviewer v0.2 and when I put that line on knfoviewer v0.3.1 I can compile it with no errors

Maybe I have a different version of cmake but this change works for me :)

Bye.

Report

mapi

11 years ago

Mandriva 2008.0 i686 rpm here:

http://mandriva.99k.org/

Report

C

ChaosWars

11 years ago

I had a look on your site but I couldn't find the package. It's also in Italian, so I think most readers will have problems finding it :p If you put up a direct link I'll add it to the links above.

Thanks a lot to all of you who made packages.

Report

amigib

11 years ago

This is f***ng great, still was looking something similiar to DAMN NFO Viewer and now here it is, big thanks for your work

i made package for Slackware

http://www.amigib.nazwa.pl/linuks_en.php#KNFO

Report

jirityr

11 years ago

I made ebuild for Gentoo users:
http://bugs.gentoo.org/show_bug.cgi?id=202118

Report

C

ChaosWars

11 years ago

Thank you very much. I used to use Gentoo until two years ago, it still remains my favorite after Arch Linux :) I was planning to get around to writing an ebuild, thanks for doing it for me.

Report

gejobj

11 years ago

It's great! Now I can see nfos on kde!

Maybe you should configure the font (Fixed [Misc]) by default. It's a great application!!

I packed it into mandriva 2008.0 rpm, you can download it from here:

http://www.latuberia.net/rpms/2008.0/knfoviewer-0.1-1.mdv2008.0.i586.rpm

Bye!

Report

C

ChaosWars

11 years ago

Thanks very much for making the package.

The way the fonts work now, I think it initially follows the default font that the user has set in the KConfig for Monospace. I'm not 100% sure on this but that is what it seemed to do on my system.

However, once KNfoViewer has been run once, and the font has been set, the kpart remembers the font selected and will always use it, regardless of weather the kpart is opened in konqueror or any another application.

Report

11 years ago

Version 0.3.3
Changed : implemented the thumbnail viewer. Thumbnails are now generated for NFO files, and the preview panel now works for NFO files in KDE.

12345678910
product-maker Count:53 Rating: 7.23
File (click to download) Version Description PackagetypeArchitectureRelease Channel Downloads Date Filesize DL OCS-Install
Pling
*Needs ocs-url or ocs-store to install things
Details
license
version
0.3.3
updated Jan 23 2008
added Dec 08 2007
downloads today
0
page views today 3
System Tags app software
+