For the complete documentation index, see llms.txt. This page is also available as Markdown.

ActionsAPI

Autotools

Author:

Semen Cirit

Date:

October 26, 2011

Version:

0.1

configure

configure(parameters)

Configures the package according to the parameters given by the user and PISI’s default parameters.

The default parameters: (You can see the these defaults from http://svn.pardus.org.tr/uludag/trunk/pisi/pisi/configfile.py and http://svn.pardus.org.tr/uludag/trunk/pisi/pisi/actionsapi/variables.py)

--prefix
--build
--mandir
--infodir
--datadir
--sysconfdir
--localstatedir
--libexecdir

Examples:

autotools.configure()
autotools.configure("--with-libusb")

rawConfigure

Configures the package according to the parameters given by the user.

Examples:

compile

Compile the package with default GCC binutils, C flags and the parameters given by the user.

Example:

make

Builds the package according to the parameters given by the user.

Examples:

install

Install the package according to the parameters given by the user and PISI’s default parameters.

Examples:

rawInstall

Install the package according to the parameters given by the user.

Exmples:

aclocal

Creates an aclocal.m4 file according to the configure.in file.

Examples:

autoconf

Creates the configure script, with given parameters.

Example:

autoreconf

Recreates the configure script with given parameters.

Example:

automake

Creates the makefile with given parameters.

Examples:

autoheader

Creates the header file for the configure script.

Examples:

Cmaketools

Author:

Semen Cirit

Date:

October 26, 2011

Version:

0.1

configure

Configures the source with the given cmake parameters.

Examples:

make

Builds the source with the given parameters.

Example:

install

Installs the source with the parameters given by the user and PISI’s default parameters.

Example:

rawInstall

Installs the source with the parameters given by the user.

Example:

Get

Author:

Semen Cirit

Date:

October 26, 2011

Version:

0.1

Global Functions

curDIR

Returns current work directory’s path.

curKERNEL

Returns currently running kernel’s version.

curPYTHON

Returns currently used python’s version.

curPERL

Returns currently used perl’s version.

ENV

Returns any given environ variable.

Example:

pkgDIR

Returns the path of binary packages. Default is”/var/cache/pisi/packages”.

workDIR

Returns the path of package work directory. For example it can return a path like “/var/pisi/texlive-core-0.0_20091107-4/work”.

installDIR

Returns the package install directory. For example it can return a path like “/var/pisi/texlive-core-0.0_20091107-4/install”

lsbINFO

Returns a dictionary filled through /etc/lsb-release.

srcNAME

Returns the name of source package. (i.e. flashplugin)

srcVERSION

Returns the version of source package. (i.e. 5.2_p1, 10.1.82.76)

srcRELEASE

Returns the release number of source package. (i.e. 28)

srcTAG

Returns the name, version and release number of source package. (i.e. 5.2_p1-28)

srcDIR

Returns the directory name of the package source under “/var/pisi/”. (i.e. teeworlds-0.5.2)

ARCH

Returns the default arch value written at “http://svn.pardus.org.tr/uludag/trunk/pisi/pisi/configfile.py” in class GeneralDefaults. (i.e i686)

HOST

Returns the default host value written at “http://svn.pardus.org.tr/uludag/trunk/pisi/pisi/configfile.py” in class BuildDefaults. (i.e i686-pc-linux-gnu)

CFLAGS

Return the default cflags used for Pardus. You can see them from “http://svn.pardus.org.tr/uludag/trunk/pisi/pisi/configfile.py” in class BuildDefaults.

CXXFLAGS

Return the default cxxflags used for Pardus. You can see them from “http://svn.pardus.org.tr/uludag/trunk/pisi/pisi/configfile.py” in class BuildDefaults.

LDFLAGS

Return the default ldflags used for pardus. You can see them from “http://svn.pardus.org.tr/uludag/trunk/pisi/pisi/configfile.py” in class BuildDefaults.

makeJOBS

Return the default jobs value used for pardus. You can see it from “http://svn.pardus.org.tr/uludag/trunk/pisi/pisi/configfile.py” in class BuildDefaults.

buildTYPE

Return the current build type included in pspec.xml with <BuildType> tag.

docDIR

Returns the default doc files directory used for Pardus. You can see it from “http://svn.pardus.org.tr/uludag/trunk/pisi/pisi/actionsapi/variables.py” in class Dirs.

sbinDIR

Returns the default sbin directory used for Pardus. You can see it from “http://svn.pardus.org.tr/uludag/trunk/pisi/pisi/actionsapi/variables.py” in class Dirs.

infoDIR

Returns the default info files directory used for Pardus. You can see it from “http://svn.pardus.org.tr/uludag/trunk/pisi/pisi/actionsapi/variables.py” in class Dirs.

manDIR

Returns the default man files directory used for Pardus. You can see it from “http://svn.pardus.org.tr/uludag/trunk/pisi/pisi/actionsapi/variables.py” in class Dirs.

dataDIR

Returns the default data files directory used for Pardus. You can see it from “http://svn.pardus.org.tr/uludag/trunk/pisi/pisi/actionsapi/variables.py” in class Dirs.

confDIR

Returns the default configure files directory used for Pardus. You can see it from “http://svn.pardus.org.tr/uludag/trunk/pisi/pisi/actionsapi/variables.py” in class Dirs.

localstateDIR

Returns the default locale files directory used for Pardus. You can see it from “http://svn.pardus.org.tr/uludag/trunk/pisi/pisi/actionsapi/variables.py” in class Dirs.

libexecDIR

Returns the default library executable directory used for Pardus. You can see it from “http://svn.pardus.org.tr/uludag/trunk/pisi/pisi/actionsapi/variables.py” in

defaultprefixDIR

Returns the default prefix directory used for Pardus. You can see it from “http://svn.pardus.org.tr/uludag/trunk/pisi/pisi/actionsapi/variables.py” in class Dirs.

kdeDIR

Returns the default kde directory used for Pardus. You can see it from “http://svn.pardus.org.tr/uludag/trunk/pisi/pisi/configfile.py” in class DirectoriesDefaults.

qtDIR

Returns the default qt directory used for Pardus. You can see it from “http://svn.pardus.org.tr/uludag/trunk/pisi/pisi/configfile.py” in class DirectoriesDefaults.

AR

Return GNU ar binutil executable variable of the system where the package being compiled. (i.e. ar)

AS

Return GNU assembler binutil executable variable of the system where the package being compiled. (i.e. as)

CC

Return gcc binutil executable variable of the system where the package being compiled. (i.e. i686-pc-linux-gnu-gcc)

CXX

Return gcc C++ binutil executable variable of the system where the package being compiled. (i.e. i686-pc-linux-gnu-g++)

LD

Return GNU linker binutil executable variable of the system where the package being compiled. (i.e. ld)

NM

Return GNU nm binutil executable variable of the system where the package being compiled. (i.e. nm)

RANLIB

Return ranlib binutil executable variable of the system where the package being compiled. (i.e. ranlib)

F77

Return GNU fortran compiler binutil executable variable of the system where the package being compiled. (i.e. g77)

GCJ

Return GNU java compiler binutil executable variable of the system where the package being compiled. (i.e. gcj)

KDE

Author:

Semen Cirit

Date:

October 26, 2011

Version:

0.1

configure

Configures the kde packages according to the parameters given by the user and PISI’s

default parameters.

The default parameters: (You can see the these defaults from http://svn.pardus.org.tr/uludag/trunk/pisi/pisi/configfile.py and http://svn.pardus.org.tr/uludag/trunk/pisi/pisi/actionsapi/variables.py)

Example:

make

Builds the kde packages according to the parameters given by the user.

Example::

install

Install the package according to the parameters given by the user and PISI’s default parameters.

Example:

Kerneltools

Author:

Semen Cirit

Date:

October 26, 2011

Version:

0.1

Configuration Part

getKernelVersion

Returns the kernel version information to use with external module compilation This is something like 2.6.30_rc7-119 which will be appended to /lib/modules. If flavour==None, it will return the kernel version in the /etc/kernel/kernel file, else /etc/kernel/<flavour>. If it fails, it will return the running kernel version.

Configure

It first cleans the system form .orig files, then starts kernel configuration.

updateKConfig()

Call this to set newly added symbols to their defaults after sedding some Kernel Configuration parameters.

Building and Installing Part

dumpVersion

Writes the specific kernel version into /etc/kernel.

build

Builds the kernel with given debug symbols, the default debugSymbols is False.

install

It first controls whether loadable module support is available, then it installs the kernel image.

If installFirmwares==False it removes firmwares.

installHeaders

Installs the additional kernel headers needed to build out-of-tree kernel modules.

Example:

installLibcHeaders

Installs the Linux-Libc-Headers exculuding the givens.

Example:

installSource

Installs the kernel source files.

cleanModuleFiles

Cleans module.* files generated by depmod.

mkinitramfs

Create and install the initramfs image into the package.

Libtools

Author:

Semen Cirit

Date:

October 26, 2011

Version:

0.1

preplib

Executes ldconfig command in the sourceDirectory.

Example:

gnuconfig_update

Copies the newest config.sub and config.guess files to the source.

Example:

libtoolize

Makes it possible to execute libtoolize with given parameters on the source.

Examples:

gen_usr_ldscript

Since Pardus has critical dynamic libraries in /lib, and the static versions in /usr/lib, we need to have a dynamic lib in /usr/lib, otherwise we run into linking problems.

Examples:

Last updated

Was this helpful?