
KNfoViewer
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
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.
13 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.
13 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
11 years ago
Report
MoonBlossom
11 years ago
Report
michan
12 years ago
Install to /usr/local instead of /usr by default.
Report
ChaosWars
12 years ago
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
12 years ago
Report
spikyatlinux
13 years ago
Report
ChaosWars
13 years ago
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
13 years ago
(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
ChaosWars
13 years ago
Report
amigib
13 years ago
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
13 years ago
Report
ChaosWars
13 years ago
Report
gejobj
13 years ago
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
13 years ago
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
ChaosWars
13 years ago
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
13 years ago
# 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
13 years ago
http://mandriva.99k.org/
Report
ChaosWars
13 years ago
Thanks a lot to all of you who made packages.
Report
amigib
13 years ago
i made package for Slackware
http://www.amigib.nazwa.pl/linuks_en.php#KNFO
Report
jirityr
13 years ago
http://bugs.gentoo.org/show_bug.cgi?id=202118
Report
ChaosWars
13 years ago
Report
gejobj
13 years ago
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
ChaosWars
13 years ago
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