
SuperKaramba addMenuTaskItem Patch
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
This patch allows you to create menu items that have the correct task icons for running tasks in SuperKaramba. This is based on another patch I wrote that is already in SuperKaramba (it allows you to create images using a task's icon by calling createTaskIcon).
The screenshot is of SlickBar v0.9.1, which I will be releasing in moments :). It demonstrates both patches. The icons on the taskbar are created using createTaskIcon (already in SuperKaramba 0.33). The icons in the menu are created using createMenuTaskIcon, which requires this patch.
To install the patch, you must download the SuperKaramba sources, and then put addMenuTaskItem.patch.tar.gz in the src/ directory. Then, cd into src/ and type:
tar zxvf addMenuTaskItem.patch.tar.gz
patch < addMenuTaskItem.patch
Then, compile and install superkaramba and all should be well.
17 years ago
* Oct 19 2003
- initial release
17 years ago
* Oct 19 2003
- initial release
bluelambda
17 years ago
Report
Enso
16 years ago
You can modify the rpm by extracting the files (in SRPMs there are only source files, patches and a .spec script) with rpm2cpio and cpio.
Then you have to add the patch in the .spec file and recreate the RPM with rpmbuild.
example:
rpm2cpio skaramba.src.rpm > skaramba.cpio
cpio --extract < skaramba.cpio
edit the .spec file:
add %patch0: (if there already is a %patch0 you'll add a %patch1 instead, and so on) where listing the source files and add %patch0 in %prep section.
then copy ALL the sources in the $RPM_BUILD_SOURCES dir (in RedHat it's /usr/src/redhat/SOURCES) and do:
rpmbuild -bs if you want a SRPM (then you'll have to do a rpmbuild --rebuild to create a binary package) or
rpmbuild -bb to directly create a binary package.
In RedHat the RPMs are moved in /usr/src/redhat/RPMS/ and the SRPMs in /usr/src/redhat/SRPMS.
Good luck!
Report
optikSmoke
17 years ago
Report