ActionsAPI
Last updated
Last updated
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)
Examples:
Configures the package according to the parameters given by the user.
Examples:
Compile the package with default GCC binutils, C flags and the parameters given by the user.
Example:
Builds the package according to the parameters given by the user.
Examples:
Install the package according to the parameters given by the user and PISI’s default parameters.
Examples:
Install the package according to the parameters given by the user.
Exmples:
Creates an aclocal.m4 file according to the configure.in file.
Examples:
Creates the configure script, with given parameters.
Example:
Recreates the configure script with given parameters.
Example:
Creates the makefile with given parameters.
Examples:
Creates the header file for the configure script.
Examples:
Configures the source with the given cmake parameters.
Examples:
Builds the source with the given parameters.
Example:
Installs the source with the parameters given by the user and PISI’s default parameters.
Example:
Installs the source with the parameters given by the user.
Example:
Returns current work directory’s path.
Returns currently running kernel’s version.
Returns currently used python’s version.
Returns currently used perl’s version.
Returns any given environ variable.
Example:
Returns the path of binary packages. Default is”/var/cache/pisi/packages”.
Returns the path of package work directory. For example it can return a path like “/var/pisi/texlive-core-0.0_20091107-4/work”.
Returns the package install directory. For example it can return a path like “/var/pisi/texlive-core-0.0_20091107-4/install”
Returns a dictionary filled through /etc/lsb-release.
Returns the name of source package. (i.e. flashplugin)
Returns the version of source package. (i.e. 5.2_p1, 10.1.82.76)
Returns the release number of source package. (i.e. 28)
Returns the name, version and release number of source package. (i.e. 5.2_p1-28)
Returns the directory name of the package source under “/var/pisi/”. (i.e. teeworlds-0.5.2)
Returns the default arch value written at “http://svn.pardus.org.tr/uludag/trunk/pisi/pisi/configfile.py” in class GeneralDefaults. (i.e i686)
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)
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.
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.
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.
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.
Return the current build type included in pspec.xml with <BuildType> tag.
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.
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.
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.
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.
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.
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.
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.
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
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.
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.
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.
Return GNU ar binutil executable variable of the system where the package being compiled. (i.e. ar)
Return GNU assembler binutil executable variable of the system where the package being compiled. (i.e. as)
Return gcc binutil executable variable of the system where the package being compiled. (i.e. i686-pc-linux-gnu-gcc)
Return gcc C++ binutil executable variable of the system where the package being compiled. (i.e. i686-pc-linux-gnu-g++)
Return GNU linker binutil executable variable of the system where the package being compiled. (i.e. ld)
Return GNU nm binutil executable variable of the system where the package being compiled. (i.e. nm)
Return ranlib binutil executable variable of the system where the package being compiled. (i.e. ranlib)
Return GNU fortran compiler binutil executable variable of the system where the package being compiled. (i.e. g77)
Return GNU java compiler binutil executable variable of the system where the package being compiled. (i.e. gcj)
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:
Builds the kde packages according to the parameters given by the user.
Example::
Install the package according to the parameters given by the user and PISI’s default parameters.
Example:
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.
It first cleans the system form .orig files, then starts kernel configuration.
Call this to set newly added symbols to their defaults after sedding some Kernel Configuration parameters.
Writes the specific kernel version into /etc/kernel.
Builds the kernel with given debug symbols, the default debugSymbols is False.
It first controls whether loadable module support is available, then it installs the kernel image.
If installFirmwares==False it removes firmwares.
Installs the additional kernel headers needed to build out-of-tree kernel modules.
Example:
Installs the Linux-Libc-Headers exculuding the givens.
Example:
Installs the kernel source files.
Cleans module.* files generated by depmod.
Create and install the initramfs image into the package.
Executes ldconfig command in the sourceDirectory.
Example:
Copies the newest config.sub and config.guess files to the source.
Example:
Makes it possible to execute libtoolize with given parameters on the source.
Examples:
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:
Author:
Semen Cirit
Date:
October 26, 2011
Version:
0.1
Author:
Semen Cirit
Date:
October 26, 2011
Version:
0.1
Author:
Semen Cirit
Date:
October 26, 2011
Version:
0.1
Author:
Semen Cirit
Date:
October 26, 2011
Version:
0.1
Author:
Semen Cirit
Date:
October 26, 2011
Version:
0.1
Author:
Semen Cirit
Date:
October 26, 2011
Version:
0.1