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 revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
howtos:slackware_admin:building_packages_with_sbopkg [2016/08/18 21:55 (UTC)]
willysr [Configure sbopkg]
howtos:slackware_admin:building_packages_with_sbopkg [2016/08/18 22:04 (UTC)]
willysr [Example of Using sbopkg]
Line 65: 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 =====
  
Line 103: Line 86:
 </​code>​ </​code>​
  
-Load the "''​gramps.sqf''"​ queue file in sbopkg'​s curses interface, and Gramps will be successfully built on your Slackware 14 system and installed, along with all its dependencies.+Load the "''​gramps.sqf''"​ queue file in sbopkg'​s curses interface, and Gramps will be successfully built on your Slackware 14.2 system and installed, along with all its dependencies.
  
 Alternatively you can use the less interactive command-line interface: <​code>​ Alternatively you can use the less interactive command-line interface: <​code>​
-sbopkg -i gramps+sbopkg -i gramps
 Both a queuefile and a package were found with the name "​gramps"​. Both a queuefile and a package were found with the name "​gramps"​.
  
 Use (Q)ueuefile,​ (P)ackage, or (A)bort?: q Use (Q)ueuefile,​ (P)ackage, or (A)bort?: q
- 
-One or more build option files for the avahi 
-SlackBuild script were found: 
- 
-Queuefile options: MONO=yes 
- 
-Use (N)one, (Q)ueuefile,​ or (A)bort?: n 
  
 ###########################################​ ###########################################​
        New queue process started on:        New queue process started on:
-       Thu Nov 15 23:05:16 CET 2012+       Fri Aug 19 04:57:12 WIB 2016
 ###########################################​ ###########################################​
  
 +++++++++++++++++++++++++++++++++++++++++++ +++++++++++++++++++++++++++++++++++++++++++
-PACKAGE BUILDING/​INSTALLATION ​PRE-CHECK LOG +PRE-CHECK LOG 
-Using the SBo repository for Slackware 14.0 +Using the SBo repository for Slackware 14.2 
-Queue Process:  ​Build and install+Queue Process:  ​Download, build, ​and install
  
-<long list of package checks...>+ORBit2: 
 +  Checking GPG for ORBit2.tar.gz ... OK 
 +  Processing ORBit2 2.14.19-3 
 +  Using original .info file 
 +  Using original SlackBuild file 
 +  No build options selected. 
 + 
 +pyorbit: 
 +  Checking GPG for pyorbit.tar.gz ... OK 
 +  Processing pyorbit 2.24.0-1 
 +  Using original .info file 
 +  Using original SlackBuild file 
 +  No build options selected. 
 + 
 +libbonobo:​ 
 +  Checking GPG for libbonobo.tar.gz ... OK 
 +  Processing libbonobo 2.32.1-3 
 +  Using original .info file 
 +  Using original SlackBuild file 
 +  No build options selected. 
 + 
 +gnome-mime-data:​ 
 +  Checking GPG for gnome-mime-data.tar.gz ... OK 
 +  Processing gnome-mime-data 2.18.0-2 
 +  Using original .info file 
 +  Using original SlackBuild file 
 +  No build options selected. 
 + 
 +gnome-vfs:​ 
 +  Checking GPG for gnome-vfs.tar.gz ... OK 
 +  Processing gnome-vfs 2.24.4-3 
 +  Using original .info file 
 +  Using original SlackBuild file 
 +  No build options selected. 
 + 
 +libgnome: 
 +  Checking GPG for libgnome.tar.gz ... OK 
 +  Processing libgnome 2.32.1-2 
 +  Using original .info file 
 +  Using original SlackBuild file 
 +  No build options selected. 
 + 
 +gnome-python:​ 
 +  Checking GPG for gnome-python.tar.gz ... OK 
 +  Processing gnome-python 2.28.1-1 
 +  Using original .info file 
 +  Using original SlackBuild file 
 +  No build options selected. 
 + 
 +gramps: 
 +  Checking GPG for gramps.tar.gz ... OK 
 +  Processing gramps 3.4.3-1 
 +  Using original .info file 
 +  Using original SlackBuild file 
 +  No build options selected. 
 + 
 ++++++++++++++++++++++++++++++++++++++++++++
  
 Pre-check complete. Pre-check complete.
Line 135: Line 167:
 found will be skipped during the process. found will be skipped during the process.
  
-(P)roceed or (Q)uit?: ​p+(P)roceed or (Q)uit?: ​P
 </​code>​ etcetera. </​code>​ etcetera.
  

In Other Languages
QR Code
QR Code howtos:slackware_admin:building_packages_with_sbopkg (generated for current page)