Eric,
How do I build only one component of a package? I'd like to help test some patches. I don't want to build the entire package set for that. I only want to rebuild the affected component package. I saw the note at the top of the KDE.SlackBuild script, but I'm uncertain if more is needed.
Second, for users who build their own packages and want to help with testing, could a command line parameter be added to the build scripts to not strip the debugging symbols from the final package?
I'd like to capture some backtraces but can't do that right now. I can manually edit the build scripts for myself, but I'm hoping a command line parameter could be added to make that easier for everybody. Plus then I'd be sure I'm using the same build scripts as you and Pat.
Possibly something like this:
Code:
if [ "${STRIP_BIN:-yes}" = "yes" ]
# Strip binaries:
strip_binaries $PKG
fi
That would work with the main build script, but the individual build script for the dependency packages would need separate attention.
Side comment: I often thought that all Slackware build scripts should contain something like that. Of course, the default would be to strip but with the option some users could rebuild any package when wanting to help with debugging. Just an idea.
Thanks!