![]() Registered Member ![]()
|
There is kde revision for kde 4.5 with some patches in cpp format.
Can anyone tell me how to install those patch ?? I was windows user so patches installation was direct executable file in linux don't know how to patch. How to use ksvn for installation of patch if it can? |
![]() Administrator ![]()
|
In order to patch KDE, you will need to download the full source code, apply the patch to that, then compile and install it.
In general, you should wait for KDE to be packaged with this patch by your distributor.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
There are two types of patches, binary patches and source code patches.
Binary patches are like what you are describing for windows, and are provided by many distributions. They basically replace bits of an executable program. The patches you want to use, however, are source code patches. These are applied to the code (basically just text files) before it is compiled, and then the code has to be compiled into a format the computer can use before it can be executed. You cannot apply source code patches to the already-installed versions of your software because it is in compiled format (transformed from a human-readable text file to a machine-readable binary file). You need to get the source code, then apply the patches to it (either using a program like diff or a frontend like kompare), then compile the code, then install it to the proper location. You should not attempt any of these steps unless you really know what you are doing. That being said, are you sure you even have patches? A .cpp file is usually an extension for a C++ source file, not a patch. Patches usually have the extension .diff or .patch, although they might be in the form .cpp.diff or .cpp.patch. If you open the file, does it have + and/or - symbols as the first character in any of the lines?
Man is the lowest-cost, 150-pound, nonlinear, all-purpose computer system which can be mass-produced by unskilled labor.
-NASA in 1965 |
Registered users: Bing [Bot], blue_bullet, Google [Bot], rockscient, Yahoo [Bot]