LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-13-2013, 06:51 PM   #1
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546
KDE 4 build scripts


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!
 
Old 03-13-2013, 09:07 PM   #2
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 2,548

Rep: Reputation: 8557Reputation: 8557Reputation: 8557Reputation: 8557Reputation: 8557Reputation: 8557Reputation: 8557Reputation: 8557Reputation: 8557Reputation: 8557Reputation: 8557
Quote:
Originally Posted by Woodsman View Post
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.
./KDE.SlackBuild <module>:<package>

e.g.:

./KDE.SlackBuild kdeedu:blinken

Quote:
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!
As it is, I don't think commenting out a few lines is a high barrier for entry compared with knowing what to do with the debugging output. Unless the plan was to just mail it to us.
 
Old 03-13-2013, 09:16 PM   #3
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Original Poster
Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546
The backtraces likely would not be much useful to you but are pretty much expected and often demanded when posting bug reports to the KDE folks.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Build scripts for 3.0 kernel? storkus Slackware 9 07-28-2011 08:57 PM
build scripts JasperLiermin Linux - Software 2 03-19-2009 09:46 PM
Xorg-7.1.1 build scripts jong357 Slackware 32 02-19-2007 10:38 PM
samples of LFS build scripts dimaash Linux From Scratch 3 07-20-2005 09:35 PM
Editting Build Scripts Corallis Linux - Newbie 1 06-30-2004 07:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration