KPar2

System Software

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
Score 50.0%
Description:

KDE 3.5 frontend for libpar2. It depends (rather obviously) on libpar2 and sigc++ to be installed. You must install the developers packages on most distributions in order to be able to compile KPar2. They are called libpar2-dev sigc++2.0-dev and on Debian, and libpar2-devel and libsigc++2-devel on SuSe.
You need to compile it with the command cmake . -DCMAKE_INSTALL_PREFIX=`kde-config --prefix` && make install. If you are compiling and installing it as root you can just give the path to your KDE root directory (/opt/kde for example). If you are installing it as a user, say in a restricted environment (I do this at school for example) the point CMAKE_INSTALL_PREFIX to $HOME/.kde and add the command -DKPAR2_BIN_INSTALL_DIR=/path/to/bin to install the executable to a directory that you have added to your $PATH where you install binaries - for example, mine is /home/user/programs/bin at school. This allows you to install and run KPar2 in an environment where you don't have permission to install programs globally.
Last changelog:

12 years ago

0.3.1
Misc. code cleanups.
Handbook complete.
Icons complete.
Fixed Konqueror status bug.

0.3
GUI restucturing. Moved configuration options into settings dialog.
Implemented configuration option in settings menu.
Cleaned up code, got rid of random crash due to Qt3 multithreading weirdness on Xorg.
Added handbook/user manual.
Added some more gui icons when loading PAR2 files.

0.2.6
Resolved licensing conflict. Thanks to Anthony Mercatante for the heads up. The license file distributed with KPar2 and the license I had released it under was the GPLv2, but I'd copied the template files from another project of mine which was GPLv3 and therefor the header comments in the *.h and *.cpp files referred to the GPLv3. This has now been corrected and the headers in the source files refer to the GPLv2 as well.

There have been a few very minor GUI improvements as well. I'm busy revamping the GUI and the options menu as well as adding systray support so that the app can be hidden in the system tray during long operations. I'll throw in some progress visualization support as well, in the style of Amarok so that you can see the progress bars just by hovering with the mouse on the system tray.

0.2.5
Changed icon. Added textboxes to the gui, and what'sThis text. Also made some changes to the progress bars.

0.2.4
Fixed some minor bugs. Added an icon - it's a mix of the package.png and ok.png from the Crystal Diamond KDE icon theme. Added more status bar messages.
Known issue - crashes sometimes due to issue with libxcb. Will be looking into it to see if a patch is forthcoming in either Xorg, Qt3 or if I need to add a workaround myself. The issue is very sporadic, so you may never encounter it.

0.2.3
Added status bar messages. Fixed bug where total progress was not updated if a file was damaged or missing.

0.2.2
Flocks of penguins died for this release. Well no, not really ;) But bugs did. Fixed some minor issues, and one pretty big one where if uses (like me) were using a customized version of KDE like kdemod (kdemod.ath.cx ) that used custom (SuSe) KIO slaves in konqueror ( system:/ prefix in the adress bar ) the embedded kpart couldn't process the files. Thanks to DevEagle on kde4-devel on freenode for help fixing that.

0.2.1
Bugfix release. Added search paths to Findlibpar2.cmake and Findlibsigc.cmake to fix compile errors on SuSe and Debian. Note that in order to be able to compile kpar2, you will need to have the development packages of libpar2 and sigc++2 installed. If you have only the user packages installed the build WILL fail.

0.2
Prettied it up. Now with a KListView with pretty icons and stuff. Recommended by hurds of GNU's...

0.1
Initial release. It just works TM

C

ChaosWars

12 years ago

What's not worth the effort? Installing a package? That's a novel approach to running an OS - every package has its dependencies.

KPar2 does it all in a single click as well, if you enable the autocheck and autorepair options.

The detection problems are fixed already. Weather or not you are going to use the package is unrelated to the bugs getting fixed, so I am going to ignore you "don't bother" comment ;)

Report

454casull

12 years ago

I applied EVERY one of your suggestions and some of my own. Downloaded the newest version you claimed fixed the deficiencies. Installed ALL the required dependencies All with the same result (a failed install on debian).

I have very little trouble compiling and installing other applications.


Like I said "not worth the effort" , but thank you for yours.

No need to get snippy but feel free to "ignore me" on this post too.

Report

C

ChaosWars

12 years ago

Sorry, it wasn't my intention when I wrote the post to come across as irritated, it was only when I read it later after posting it that I realized that it sounded that way. I'd misread your post and thought you meant that installing the dependencies was too much trouble.

At any rate, the problems should be fixed now, there was a mistake in the Findlibpar2.cmake file that was causing libpar2 not being fully found on Debian and SuSe.

Report

C

ChaosWars

12 years ago

Ok, I've just looked at the online database of SuSe and you have to install the libpar2-devel package. Installing the libpar2 package isn't enough for this to compile, it's missing the header files. You will also need to install the libsigc++2-devel package.
Once those are installed though it should compile just fine though.

I will update the SVN today and maybe release a new package that will fix the compilation problems on SuSe and Debian derivatives (Ubuntu etc.)

Report

kerijan2003

12 years ago

I have the same problem on an openSuSE 10.3 system. The thing is, and I updated my locate database, that there is no libpar2Config.cmake anywhere from the installation of both libpar2 rpm's (includes the dev rpm). Maybe I'm not including the correct format of "-D". Should it be: -Dlibpar2_DIR= or -DLIBPAR2_DIR=?

Report

kerijan2003

12 years ago

I have the same problem on an openSuSE 10.3 system. The thing is, and I updated my locate database, that there is no libpar2Config.cmake anywhere from the installation of both libpar2 rpm's (includes the dev rpm). Maybe I'm not including the correct format of "-D". Should it be: -Dlibpar2_DIR= or -DLIBPAR2_DIR=?

Report

kerijan2003

12 years ago

I have the same problem on an openSuSE 10.3 system. The thing is, and I updated my locate database, that there is no libpar2Config.cmake anywhere from the installation of both libpar2 rpm's (includes the dev rpm). Maybe I'm not including the correct format of "-D". Should it be: -Dlibpar2_DIR= or -DLIBPAR2_DIR=?

Report

psilocybe

12 years ago

Hey man this looks like a nice implementation, but I can't get it to install.

I have already par2cmdline, which i guess wasn't enough. So i downloaded libpar from the link you provided, install went fine, installed to /usr/local/lib.
Then ran cmake . -DCMAKE_INSTALL_PREFIX=/usr/kde/3.5/
which i believe to be correct.


cmake then told me this output
cmake . -DCMAKE_INSTALL_PREFIX=/usr/kde/3.5/
-- 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: Could not find libpar2
-- Configuring done


I have checked /etc/ld.so.conf to be sure it contains /usr/local lib, and even env-update && source /etc/profile to be sure the lib was loaded properly, no go.

Report

C

ChaosWars

12 years ago

Sorry, it was a bug in the Findlibpar2.cmake file I wrote. It wasn't checking /usr/local/lib/include/libpar2 for the config.h file, which was causing it to fail. That is fixed now in the 0.2.1 release.

Report

lomo

12 years ago

Hello,

i had the same problem, you have to install the lipar2-devel packets, after that the install works fine for me.
thx for this fantastic app! =)

greets lomo

Report

C

ChaosWars

12 years ago

That IS strange, the Findlibsigc.cmake file should check /usr/local/lib for libpar2.

I see you're on Gentoo - surely Gentoo has an ebuild for libpar2? Otherwise, try compiling and installing libpar2 by first running ./configure --prefix=/usr in it's source directory first.

Also, I've released a new version - see if this one installs properly. If it still can't find libpar2, I've now exposed the LIBPAR2_* variables that it sues to check for libpar2 - you can pass them to cmake from the command line as flags such as -DLIBPAR2_LIBRARY=/usr/local/lib/libpar2.so
Have a look in the src/CMakeLists.txt file to see what vars you can pass - it's the last line. Alternatively, running cmake -i will give you access to a wizard which will step you through all the advanced variables you can set and you can change them if you want.

Report

psilocybe

12 years ago

Nice, Got it all working now.
Interface looks good.

If i knew how to make an ebuild I'd do it.
And no, unfortunately portage doesn't have an ebuild for libpar2, dunno why.

Report

Divilinux

12 years ago

compilation was fine..but when launching application i recive this error (and GUI doesn't start)

dyve@kubuntu:~/Desktop/kpar2-0.1/src$ sudo ./kpar2
kpar2: WARNING: KXMLGUIClient::setXMLFile: cannot find .rc file kpar2_shell.rc
dyve@kubuntu:~/Desktop/kpar2-0.1/src$


Running kubuntu 7.10

Report

C

ChaosWars

12 years ago

Where does the file kpar2_shell.rc get installed to on your system? Actually, where do all the files get installed to? Can you copy/paste the terminal install output?

Report

C

ChaosWars

12 years ago

Might be handy to mention that to compile it, you must have cmake > 2.4 installed. run cmake with the flag cmake . -DCMAKE_INSTALL_PREFIX=/path/to/kde inside the unpacked source directory. Then just run make && sudo make install (or just run make && make install as root)

Report

12 years ago

0.3.1
Misc. code cleanups.
Handbook complete.
Icons complete.
Fixed Konqueror status bug.

0.3
GUI restucturing. Moved configuration options into settings dialog.
Implemented configuration option in settings menu.
Cleaned up code, got rid of random crash due to Qt3 multithreading weirdness on Xorg.
Added handbook/user manual.
Added some more gui icons when loading PAR2 files.

0.2.6
Resolved licensing conflict. Thanks to Anthony Mercatante for the heads up. The license file distributed with KPar2 and the license I had released it under was the GPLv2, but I'd copied the template files from another project of mine which was GPLv3 and therefor the header comments in the *.h and *.cpp files referred to the GPLv3. This has now been corrected and the headers in the source files refer to the GPLv2 as well.

There have been a few very minor GUI improvements as well. I'm busy revamping the GUI and the options menu as well as adding systray support so that the app can be hidden in the system tray during long operations. I'll throw in some progress visualization support as well, in the style of Amarok so that you can see the progress bars just by hovering with the mouse on the system tray.

0.2.5
Changed icon. Added textboxes to the gui, and what'sThis text. Also made some changes to the progress bars.

0.2.4
Fixed some minor bugs. Added an icon - it's a mix of the package.png and ok.png from the Crystal Diamond KDE icon theme. Added more status bar messages.
Known issue - crashes sometimes due to issue with libxcb. Will be looking into it to see if a patch is forthcoming in either Xorg, Qt3 or if I need to add a workaround myself. The issue is very sporadic, so you may never encounter it.

0.2.3
Added status bar messages. Fixed bug where total progress was not updated if a file was damaged or missing.

0.2.2
Flocks of penguins died for this release. Well no, not really ;) But bugs did. Fixed some minor issues, and one pretty big one where if uses (like me) were using a customized version of KDE like kdemod (kdemod.ath.cx ) that used custom (SuSe) KIO slaves in konqueror ( system:/ prefix in the adress bar ) the embedded kpart couldn't process the files. Thanks to DevEagle on kde4-devel on freenode for help fixing that.

0.2.1
Bugfix release. Added search paths to Findlibpar2.cmake and Findlibsigc.cmake to fix compile errors on SuSe and Debian. Note that in order to be able to compile kpar2, you will need to have the development packages of libpar2 and sigc++2 installed. If you have only the user packages installed the build WILL fail.

0.2
Prettied it up. Now with a KListView with pretty icons and stuff. Recommended by hurds of GNU's...

0.1
Initial release. It just works TM

12345678910
product-maker Base: 4 x 5.0 Ratings
File (click to download) Version Description PackagetypeArchitectureRelease Channel Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
0.3.1
updated Jan 07 2008
added Nov 19 2007
downloads 24h
0
mediaviews 24h 0
pageviews 24h 0
System Tags app software