[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

Welcome to the Slackware Documentation Project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
howtos:slackware_admin:building_packages_with_sbopkg [2016/08/18 21:50 (UTC)] – [Configure sbopkg] willysrhowtos:slackware_admin:building_packages_with_sbopkg [2016/08/18 22:01 (UTC)] – [Using Queuefiles with sbopkg] willysr
Line 41: Line 41:
  
 (C)reate or (A)bort?: (C)reate or (A)bort?:
-</code>. Select <key>'C'</key> to create these required directories. \\ The program will then present its main screen: \\ {{:howtos:sbopkg_start.png}}+</code>. Select <key>'C'</key> to create these required directories. \\ The program will then present its main screen: \\  
 +{{:howtos:slackware_admin:sbopkg_start.png}}
   - Your first task is to synchronize with the SlackBuilds.org repository - i.e. you let ''sbopkg'' create a local copy of all the SlackBuild entries on the remote server, for the Slackware release which you are running. You either use the first menu item in the curses-based main screen, or else you can do this from the commandline: <code>   - Your first task is to synchronize with the SlackBuilds.org repository - i.e. you let ''sbopkg'' create a local copy of all the SlackBuild entries on the remote server, for the Slackware release which you are running. You either use the first menu item in the curses-based main screen, or else you can do this from the commandline: <code>
 # sbopkg -r # sbopkg -r
Line 64: Line 65:
 ===== Using Queuefiles with sbopkg ===== ===== Using Queuefiles with sbopkg =====
  
-The ''sbopkg'' program itself allows a great deal of automation: the interactive curses interface helps you manage the burden of downloading source code archives, and allowing you to select multiple programs and then compile and package all of those in one go.\\ But you can automate this process even further, by using [[http://www.sbopkg.org/queues.php|queuefiles]] which contain pre-defined build sequences for a series of packagesQueuefiles themselves will be invoked recursively so that you can create a complex build chain with little effort.+The ''sbopkg'' program itself allows a great deal of automation: the interactive curses interface helps you manage the burden of downloading source code archives, and allowing you to select multiple programs and then compile and package all of those in one go.\\ But you can automate this process even further, by using sqg - sbopkg queueu generator (included in main package since 0.38.0).
  
-Luckily Mauro Giachero (a sbopkg co-developer) already created queuefiles for the //entire// SlackBuilds.org repository. Check out the git repository [[http://gitorious.org/sbopkg-slackware-queues]]. Every program you find in the SBo repository has its own queuefile, containing every dependency which has to be compiled //before// your target program can be compiled. +sqg can generate queuefile for each or all packages in SBo repository:<code> 
- +sqg -<filezilla# this will only generate queue file for filezilla package only 
-The following URL has a listing of individual packages along with a tar.gz file of the complete index for Slackware 14: http://gitorious.org/sbopkg-slackware-queues/sbopkg-slackware-queues/trees/sbo-14.0 +sqg -a # this will generate queue files for all packages in SBo repository 
- +</code>
-You can download an archive containing the full set for the Slackware 14.0 repository at SlackBuilds.org from this URL: http://gitorious.org/sbopkg-slackware-queues/sbopkg-slackware-queues/archive-tarball/sbo-14.0 . The resulting archive file will be named "''sbopkg-slackware-queues-sbopkg-slackware-queues-sbo-14.0.tar.gz''"+
- +
-Extract all of the *.sqf files to the directory which will be checked by ''sbopkg'': "''/var/lib/sbopkg/queues/''" with the following commands: <code> +
-# cd /var/lib/sbopkg/queues +
-# tar xvf /path/to/downloaded/sbopkg-slackware-queues-sbopkg-slackware-queues-sbo-14.0.tar.gz +
-# cd sbopkg-slackware-queues-sbopkg-slackware-queues +
-# mv * ../ +
-# cd .. +
-# rm -r sbopkg-slackware-queues-sbopkg-slackware-queues +
-</codeNow any queue file (*.sqf) can be selected to install any package (with dependencies) you desire. +
- +
-Another way to obtain queuefiles is run: +
-<code>cd /var/lib/sbopkg</code> +
-And then: +
-<code>git clone git://gitorious.org/sbopkg-slackware-queues/sbopkg-slackware-queues.git queues</code>+
  
-<note>To update queuesfiles in the future: +Note that everytime a public update is announced or new repository is available, it's recommended to run sqg -a to generate an updated queue files as deps may be added or removed.
-<code># cd /var/lib/sbopkg/queues +
-# git pull</code></note>+
 ===== Example of Using sbopkg ===== ===== Example of Using sbopkg =====
  
 howtos:slackware_admin:building_packages_with_sbopkg ()