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:
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.
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.
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.
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...
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.
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
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
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
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.
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?
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.
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.
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
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.
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!
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.
Ratings & Comments
23 Comments
Your software is in a wrong category. He is nor a text processor.
Hi! I'm wondering if you still have plans to port it to KDE4 :)
Add 'make uninstall' rules. Install to /usr/local instead of /usr by default.
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.
Thanks very much for this nice program!
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.
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.
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...
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.
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
Multi-language support?
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
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
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.
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?
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.
Mandriva 2008.0 i686 rpm here: http://mandriva.99k.org/
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.
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
I made ebuild for Gentoo users: http://bugs.gentoo.org/show_bug.cgi?id=202118
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.
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!
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.