LinuxQuestions.org
Visit Jeremy's Blog.
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 02-22-2010, 10:33 AM   #1
Mauro Giachero
LQ Newbie
 
Registered: Sep 2009
Posts: 4

Rep: Reputation: 1
[ANNOUNCE] SBo/Sbopkg comprehensive queue archive


Hello everybody,

I'd like to share with the community the availability of a comprehensive queue repository for SBo/Sbopkg, including a queue file for each and every SBo package for Slackware 13.0. My hope is that it will help reducing the amount of time required to sort out the packages' build order.

Project repository:
http://gitorious.org/sbopkg-slackware-queues
Full announcement:
http://sbopkg.org/pipermail/sbopkg-u...ry/000440.html

I'm looking forward to hear comments, suggestions and of course problem reports.

With best regards
--
Mauro Giachero
 
Old 02-22-2010, 11:28 AM   #2
sahko
Senior Member
 
Registered: Sep 2008
Distribution: Slackware
Posts: 1,041

Rep: Reputation: Disabled
Thanks, i dont use sbopkg so i cant comment on the content, but its queues seem very useful.

Any reason you dont submit them to the project?
Also did you use a script to generate them?
That might be more worth sharing

Last edited by sahko; 02-22-2010 at 11:30 AM.
 
Old 02-22-2010, 12:00 PM   #3
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,766

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
"Also did you use a script to generate them?
That might be more worth sharing"

+1
 
Old 02-22-2010, 12:59 PM   #4
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,458

Rep: Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888
thanx Mauro, that sure was a lot of work, I've seen you're on it from last september

and thanx also for putting them on git, so one can track your repository branching his changes
 
Old 02-22-2010, 02:23 PM   #5
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,766

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
I found the script in the download. Thanks.
 
Old 02-22-2010, 07:07 PM   #6
escaflown
Member
 
Registered: Apr 2009
Location: Canada
Distribution: Slackware
Posts: 237

Rep: Reputation: 30
Thanks. That's a very useful idea.
 
Old 02-22-2010, 08:26 PM   #7
mrclisdue
Senior Member
 
Registered: Dec 2005
Distribution: Slackware -current, 14.1
Posts: 1,048

Rep: Reputation: 170Reputation: 170
Thank you - had *thought* about this previously; glad to see one of us has some initiative....
 
Old 02-23-2010, 03:22 AM   #8
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Ruhr Area, Germany
Distribution: Slackware64 14.0
Posts: 1,524

Rep: Reputation: 94
Thanks a lot, your work is highly appreciated!
 
Old 02-23-2010, 07:06 AM   #9
Mauro Giachero
LQ Newbie
 
Registered: Sep 2009
Posts: 4

Original Poster
Rep: Reputation: 1
Thanks to everybody for the nice words!

Quote:
Originally Posted by sahko View Post
Any reason you dont submit them to the project?
I assume "the project" is sbopkg. Well, I feel it's just too much stuff.

Quote:
Originally Posted by ponce View Post
thanx Mauro, that sure was a lot of work, I've seen you're on it from last september
Actually, last September is when I rebuilt the repository, the work started earlier...

For the scripts, the interested folks can find them in the scripts directory. I usually do:
- sync with sbopkg
- ./gen-updates.sh
- kate *.sqf (manual queue review)
- ./cleanup-comments.sh
- mv *.sqf ..
- ./sanity-check.sh
- remove backups (*~ files) and commit.

I should also refresh the contents of the doc directory. Oh, well...
 
Old 02-23-2010, 06:46 PM   #10
grissiom
Member
 
Registered: Apr 2008
Location: China, Beijing
Distribution: Slackware
Posts: 423

Rep: Reputation: 45
If SBo would unify the form of specifying dependencies, your work will be easier. However, I think this proposal will never get accepted.
 
Old 02-24-2010, 02:28 AM   #11
Mauro Giachero
LQ Newbie
 
Registered: Sep 2009
Posts: 4

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by grissiom View Post
If SBo would unify the form of specifying dependencies, your work will be easier. However, I think this proposal will never get accepted.
Actually, the thing works reasonably well even without a specific agreement. The greatest hassle are READMEs telling things like "This is a dependency for foo", since they cause the generation of false dependencies.
 
Old 03-02-2010, 02:39 AM   #12
saulgoode
Member
 
Registered: May 2007
Distribution: Slackware
Posts: 239

Rep: Reputation: 109Reputation: 109
Should the lists of the packages in the queue files be in the proper order for building the entire queue without interruption? For example, the Inkscape queue has pangomm listed after gtkmm, yet gtkmm depends upon pangomm. Though things may work regardless of the order built (i.e., it is not a build dependency), the program does halt and prompts the user whether or not to continue.
 
Old 03-02-2010, 05:00 AM   #13
Mauro Giachero
LQ Newbie
 
Registered: Sep 2009
Posts: 4

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by saulgoode View Post
Should the lists of the packages in the queue files be in the proper order for building the entire queue without interruption? For example, the Inkscape queue has pangomm listed after gtkmm, yet gtkmm depends upon pangomm. Though things may work regardless of the order built (i.e., it is not a build dependency), the program does halt and prompts the user whether or not to continue.
Good question. The answer is no, it shouldn't.

If you look at the queues, you'll notice that all dependencies refer to other queues, not to single packages. In your example, the inkscape queue is

Code:
@cairomm
@gc
@glibmm
@gtkmm
@gsl
@libsigc++
@pangomm
inkscape
(notice the '@' characters before package names, that trigger queue loadings). When parsing this, sbopkg will load the queues in order and, finding '@gtkmm', will load this:

Code:
@pangomm
@cairomm
gtkmm
that builds pangomm. The '@pangomm' in the inkscape queue then turns out being ignored by sbopkg.

The rationale is that every package/queue should list its dependencies only, not the dependencies' dependencies.

I've been thinking about writing a script that "simplifies" the queues by removing unneeded dependency specifications, like the pangomm one in the inkscape queue. I wonder whether this would be a good idea though.
 
Old 03-02-2010, 09:30 AM   #14
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 1,913

Rep: Reputation: Disabled
I just wanted to throw in a "Thanks - great job" on this too! :-)
 
Old 03-02-2010, 10:59 AM   #15
saulgoode
Member
 
Registered: May 2007
Distribution: Slackware
Posts: 239

Rep: Reputation: 109Reputation: 109
Quote:
Originally Posted by Mauro Giachero View Post
(notice the '@' characters before package names, that trigger queue loadings). When parsing this, sbopkg will load the queues in order and, finding '@gtkmm', will load this:

Code:
@pangomm
@cairomm
gtkmm
that builds pangomm. The '@pangomm' in the inkscape queue then turns out being ignored by sbopkg.
Though in retrospect my question was ill-advised -- I had removed the @ symbols because my version of sbopkg* wouldn't read the queue file -- your response was enlightening and I thank you.


* While a great tool, my usage of sbopkg has thus far been limited to installing packages with which I am already familiar. There is just too much opportunity to learn by manually resolving dependencies, visiting the projects' websites, and perhaps updating packages to more recent releases.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
How to untar my tarred mail queue folder back to the sendmail queue directory again? Md.Abul Quashem Linux - Server 6 02-16-2010 08:32 AM
Opera 10.01 in SBo hitest Slackware 2 11-09-2009 02:14 PM
Slackware64, trying to compile wine with SBo suid0 Slackware 6 05-27-2009 09:48 AM
Openoffice with Openclipart sBo pkg ? slackass Slackware 2 01-30-2009 09:24 AM
Is it possible for me to write in front of queue in case of message queue? hemanthv414 Linux - Newbie 1 11-17-2008 04:40 PM


All times are GMT -5. The time now is 04:01 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration