abs for builders (re-builders)

Arch based Porteus community project

Moderator: M. Eerie

aus9

abs for builders (re-builders)

Post#1 by aus9 » 20 Nov 2015, 04:40

OK this took me longer to find mainly because I was not sure what I was looking for.....also known as the meno paradox
https://wiki.archlinux.org/index.php/Arch_Build_System
The Arch Build System, or ABS, is a series of tools used to obtain the PKGBUILD
scripts that make the packages in Arch Linux's official repositories and work
with them.

Included with ABS is a collection of prototype PKGBUILD files, installed to
/usr/share/pacman, for building RCS-style packages (such as CVS or SVN). These
are installed alongside the stock PKGBUILD and .install file prototypes
provided by pacman.
######################################################################
Why would I want to use ABS?

The Arch Build System is used to:

Compile or recompile a package, for any reason
Make and install new packages from source of software for which no packages are yet available (see Creating packages)
Customize existing packages to fit your needs (enabling or disabling options, patching)
Rebuild your entire system using your compiler flags, "à la FreeBSD" (e.g. with pacbuilder)
Cleanly build and install your own custom kernel (see Kernel compilation)
Get kernel modules working with your custom kernel
Easily compile and install a newer, older, beta, or development version of an Arch package by editing the version number in the PKGBUILD

ABS is not necessary to use Arch Linux, but it is useful for automating certain tasks of source compilation.
to get it as root

Code: Select all

pman -S abs
abs
# currently I get a server error so repeat abs
abs
# adds multilib ABS stuff
Now you can check it out /var/abs

Code: Select all

ls /var/abs
community  core  extra  local  multilib  README
As I am currently using no changes= cheatcode, modulate it........yes I make up words
or copy it somewhere safe ....size of dir is about 53 MB

PS I can now see the official build scripts for ca-certificates (which is in core) and will check them out over the next few days.

If anyone reading this, wants a specific dir that contains the build, install etc let me know and if I have time I might upload it to my dropbox account if it saves you from doing the download of everything

aus9

Re: abs for builders (re-builders)

Post#2 by aus9 » 20 Nov 2015, 07:37

just found this link which might be equally relevant but as I appear to have the full download will check out later

http://xyne.archlinux.ca/projects/pbget/

aus9

Re: abs for builders (re-builders)

Post#3 by aus9 » 13 Jan 2016, 06:08

just attempted to download abs again as I destroyed all of my old packages.

my above commands are not working here is error message after changing to root

Code: Select all

pman -S abs
error: target not found: abs
and my settings are loaded

Code: Select all

ls /mnt/live/memory/images
000-kernel.xzm  001-core.xzm  002-gui.xzm  002-xtra.xzm  003-lxde.xzm  003-lxdextra.xzm  003-shared.xzm  pacman-settings.xzm
so I update package list with pacman -Sy

Code: Select all

pacman -Sy
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
repeat abs command and still no joy

aus9

Re: abs for builders (re-builders)

Post#4 by aus9 » 13 Jan 2016, 06:16

in the meantime I have the wiki to get the specific pkgbuild I want by

Code: Select all

svn checkout --depth=empty svn://svn.archlinux.org/packages
Checked out revision 258150.
guest ~ $ cd packages
svn update adwaita-icon-theme
Updating 'adwaita-icon-theme':
A    adwaita-icon-theme
A    adwaita-icon-theme/repos
A    adwaita-icon-theme/repos/extra-any
A    adwaita-icon-theme/repos/extra-any/PKGBUILD
A    adwaita-icon-theme/repos/extra-any/adwaita-icon-theme.install
A    adwaita-icon-theme/trunk
A    adwaita-icon-theme/trunk/PKGBUILD
A    adwaita-icon-theme/trunk/adwaita-icon-theme.install
Updated to revision 258150.
guest ~/packages $ ls
adwaita-icon-theme

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3932
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

Re: abs for builders (re-builders)

Post#5 by ncmprhnsbl » 13 Jan 2016, 21:22

check out :
https://wiki.manjaro.org/index.php?title=Manjaro-tools (buildtree, buildpkg)
https://github.com/manjaro/manjaro-tools
https://github.com/manjaro/packages-community
from the wiki:
"buildtree is a little tools to sync arch abs and manjaro packages git repos.
The arguments are:

Code: Select all

$ buildtree -h
Usage: buildtree [options]
    -s            Sync manjaro tree
    -a            Sync arch abs
    -c            Clean package tree
    -q            Query settings
    -h            This help
To sync Arch and Manjaro trees:

Code: Select all

buildtree -as
"
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

Post Reply