
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
There was a very useful tool named RMT-installer to create rpm, Debian and Slackware packages in the past. Unfortunately it cannot be downloaded anymore. Moreover, because of a bash bug concerning the filter grep, it does not work on new systems. I modified the code and added some new functions to it.
You need to install the Kommander (1.1) before:
http://www.kde-apps.org/content/show.php?content=12865
(it is the part of the kdewebdev3 package on SUSE),
and the checkinstall utility:
http://asic-linux.com.mx/~izto/checkinstall/download.php
The general rpm, Debian and Slackware package includes a service menu, so you can start it from the KDE context menu (section Actions).
It was successfully tested on the following systems:
Debian
Slackware
SUSE 9.1, 10 and SLED 10
TODO:
- Improve the check function before checkinstall.
Known bugs:
- Time stamp problems (during checkinstall) may be present on old rpm based systems. Solution: Do make install before checkinstall.
14 years ago
Changelog for 2.7:
- Start from K-menu has been fixed.
- The error detection after compilation is complete.
- Sound effects added.
- Simplified checkinstall/debhelper frontend.
- New buttons: Make clean, remove the directory debian/ from the source.
Changelog for 2.6:
- Real support for Debian via debhelper. (Package dependencies and md5sums are calculated, doc files are in the right directory.)
- Default values displayed in comboboxes are more optimized for your system.
- A little bug in the code for building packages from statically compiled Qt binaries is fixed.
Changelog for 2.5:
- Start python configuration script, if it is present.
- Automatically rename source directory if it does not follow certain basic rules.
Changelog for 2.4:
- Support for packaging statically compiled qt applications.
- Autofill for the configure option --prefix=directory, depending on the system.
- View config.log.
- Cleanup after package creation.
Changelog for 2.3:
In this version of Package Wizard heavy modifications were made for the sake of SUSE 10.1. If the version before 2.3 worked well but the version 2.3 does not, please notify me!
- Simplified checkinstall frontend
- The last way to fix SUSE 10.1 "unkown function" problem
- A correction for SUSE cache/swap handling problem
Changelog for 2.2:
- You can define and use an alternative for the compiler and Qt.
Changelog for 2.1:
- Automated database handling for package description files. (The Load, Store and SAVE problems on the page for package description on SUSE is eliminated.)
- After 'make -f mMakefile.cvs', the file list display is refreshed.
Changelog for 2.0b2:
- Fix for Slackware (K menu icon and context menu item)
- Better detection for checkinstall
Changelog for 2.0b:
- A display for the installed and default cpp/gcc, qt, rpm, dpkg, makepkg and alien.
- Include qmake function.
- Integrated output konsoles.
- Integrated texteditor to create package description files.
- Local stock for package description files.
- Automated checkinstall run.
Info about the RMT-installer:
http://www.kde-apps.org/content/show.php?content=13134
14 years ago
Changelog for 2.7:
- Start from K-menu has been fixed.
- The error detection after compilation is complete.
- Sound effects added.
- Simplified checkinstall/debhelper frontend.
- New buttons: Make clean, remove the directory debian/ from the source.
Changelog for 2.6:
- Real support for Debian via debhelper. (Package dependencies and md5sums are calculated, doc files are in the right directory.)
- Default values displayed in comboboxes are more optimized for your system.
- A little bug in the code for building packages from statically compiled Qt binaries is fixed.
Changelog for 2.5:
- Start python configuration script, if it is present.
- Automatically rename source directory if it does not follow certain basic rules.
Changelog for 2.4:
- Support for packaging statically compiled qt applications.
- Autofill for the configure option --prefix=directory, depending on the system.
- View config.log.
- Cleanup after package creation.
Changelog for 2.3:
In this version of Package Wizard heavy modifications were made for the sake of SUSE 10.1. If the version before 2.3 worked well but the version 2.3 does not, please notify me!
- Simplified checkinstall frontend
- The last way to fix SUSE 10.1 "unkown function" problem
- A correction for SUSE cache/swap handling problem
Changelog for 2.2:
- You can define and use an alternative for the compiler and Qt.
Changelog for 2.1:
- Automated database handling for package description files. (The Load, Store and SAVE problems on the page for package description on SUSE is eliminated.)
- After 'make -f mMakefile.cvs', the file list display is refreshed.
Changelog for 2.0b2:
- Fix for Slackware (K menu icon and context menu item)
- Better detection for checkinstall
Changelog for 2.0b:
- A display for the installed and default cpp/gcc, qt, rpm, dpkg, makepkg and alien.
- Include qmake function.
- Integrated output konsoles.
- Integrated texteditor to create package description files.
- Local stock for package description files.
- Automated checkinstall run.
Info about the RMT-installer:
http://www.kde-apps.org/content/show.php?content=13134
klichota
14 years ago
Report
linux3114a
14 years ago
Report
trisz
14 years ago
Try another kommander application, eg.
http://www.kde-apps.org/content/show.php?content=43183
If "unknown function..." is displayed, it is worth to send a bud report to Opensuse.
About 20 % of the functions are unknown by SuSE > 9.3.
Report
linux3114a
14 years ago
Report
google01103
14 years ago
Error in widget ExtractButton:
Unknown widget function: 'changeWidgetText'.
Also on first screen in the instructions box the last (at least I think it's the last) line only top half of text shows (reads 'in most of the cases ....'
And last there is no kmenu item added
thanks,
Report
trisz
14 years ago
The problem with SUSE is general.
I have SUSE SLED 10. I had to replace a function for the sake of SUSE 10 and SLED 10.
Before, I recompiled the Kommander utility without any success. I think the kdelibs are broken or patched by the SUSE team.
The changeWidgetText function cannot be replaced, it is a basic function. I intend to change the Extract page in the future, but the problem is more general on SUSE. The font handling of SUSE is heavily pathched. I use an Nvidia card, and I have to set the default font size to 28 - 32. SUSE do not folows the general rules for font rendering applied on other Linux based systems.
The problen is more complicated for 64 bit machines.
What are the font sizes displayed in the KDE Control Center?
'I tried to install SUSE 10.1 on my pc. The third installation was only successful. The first and the second installation resulted broken systems. There were other errors on SUSE 10.1, so I changed it for SLED 10.' It was written to linux3114a.
Report
google01103
14 years ago
I'm running Suse 10.1 64bit
Other komander scripts that I use don't have the same widget error (dvdauthorwidget, konvenientSuse, kmpg2) though konvenientsuse did in it's first release. Have you considered using tabs?
I used to use the original and think it's great you've resurected it.
thanks,
Report
trisz
14 years ago
The utilities dvdauthorwidget, konvenientSuse, kmpg2 do not use the changeWidgetText function as they do not need it. You cannot display file contents without these function, and you cannot edit your package descrition file.
The changeWidgetText function appeared in an early state of Kommander, it must be present in all of the Linux disros.
Do not vote me, but NOVELL! It is due to a patch from NOVELL on KDE, it is a KDE bug specific to SUSE 10.1.
Report
google01103
14 years ago
comments:
on 'define altenatives for qmake' all the help pop-ups say 'directory for extract'
on the 'make & make install' page the 'make install' line is not not fully displayed (missing bottom half)
Suggestions:
1) on 'checkinstall page' add a package viewer (rpm -ql package)
2) on 'checkinstall page' add a 'remove source directory button
3) on the 'configure' page there should be an option to view .log files
4) when exiting clear all fields used (other than default dir and package format)
5) button on last page to go back to page 1 and install another
6) a way to save settings like 'package format' other than editing the script
thanks, looks great
Report
linux3114a
14 years ago
/usr/lib/rmt-installer/rmt-installer.kmdr: line 1: syntax error near unexpected token `
Report
trisz
14 years ago
Report
jackiebrown
14 years ago
Report
linux3114a
14 years ago
Report
trisz
14 years ago
Download the following file:
http://www.kde.me.uk/kommander-tutorial/konstruct.kmdr
It must work. It is a classic teaching example for kommander.
Report
trisz
14 years ago
kmdr-executor /usr/lib/rmt-installer/rmt-installer.kmdr
Maybe an other application tries to open it, not the kmdr-executor.
Report
trisz
14 years ago
There were not problems with it.
It also works on SUSE 9.1 and SLED 10.
The problem is specific to SUSE 10.1.
The line 1 is correct.
Try to download again the package.
If it does not help, try to remove the package kdewebdev3 and install the Kommander from source.
I tried to install SUSE 10.1 on my pc. The third installation was only successful. The first and the second installation resulted broken systems. There were other errors on SUSE 10.1, so I changed it for SLED 10.
Report
fireedo
14 years ago
and the weird things it cant detect my "checkinstall" eventough I have installer on my slack
but overall you have done a great job :)
Report
trisz
14 years ago
It was not tested on Slackware at all.
Open a konsole and type:
checkinstall.
I think, the checkinstall utility is not in the path, so it cannot be used. Make a link from the checkinstall AND installwatch scripts (can be found e.g. in the /usr/local/sbin) to the /usr/bin.
Report
linux3114a
14 years ago
Report
trisz
14 years ago
You must tell more about the problem.
Open a Konsole and type rmt-installer.
If the wizard does not appear at all, you have to install the package kdewebdev3 or the Kommander from source.
You must also install the checkinstall package. (See the links above!)
Report
linux3114a
14 years ago
kwebdev3 and checkinstall ( official of SuSE 10.1; Joins the log from console :
raoul@lotus:~/public_html/SuSE10.1> rmt-installer
local stock present
checkinstall-groups present
raoul@lotus:~/public_html/SuSE10.1>
Report
trisz
14 years ago
Type in a Konsole:
kmdr-executor /usr/lib/rmt-installer/rmt-installer.kmdr
If it works:
Modify the file /usr/bin/rmt-installer!
Change the line
kmdr-executor $KDEDIR/lib/rmt-installer/rmt-installer.kmdr
to
kmdr-executor /usr/lib/rmt-installer/rmt-installer.kmdr
Or use it from the context menu, right click on a tar.gz or tar.bz2 file, Actions... see the first picture!
If does not work:
Try to run an other commander script downloaded from the Kommander Scripts section of kde-apps.org!
Is the result the same?
Report
linux3114a
14 years ago
SuSE 10.1 KDE3 3.5.1
Report
linux3114a
14 years ago
Nice
Report