Welcome, Guest. Please login or register.
April 16, 2014, 06:22:27 AM
Home Help Search Calendar Login Register
Show unread posts since last visit.
News: Let Pardus-Anka become #1: Pardus-Anka Bug ReportPardus-Anka World Google+ | The Pardus wiki  | Visit Pardus-Anka official website  | Register as forum member?  Email the moderator!

+  Pardus Worldforum
|-+  General
| |-+  Tips and tricks
| | |-+  Instruction for building Pisi-packages
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Instruction for building Pisi-packages  (Read 3204 times)
« on: August 14, 2009, 12:52:20 PM »

Hello together,

here one instruction for building a pisi-package for example Opera Unite, which wrote me the kindly developer "Serdar":  Wink

First, make sure that you have system.devel component installed.

change to a root user by su -
pisi it -c system.devel

after this, install subversion
pisi it subversion.

subversion is needed to checkout the source codes.

so let's begin :)

first, checkout https://svn.pardus.org.tr/pardus/playground/sdalgic/network/web/opera-unite/

svn co https://svn.pardus.org.tr/pardus/playground/sdalgic/network/web/

here, you will see that kind of structure:

sdalgic@Virt-2009-Deus-Ex-Machina web $ ls -R
component.xml  opera-unite

actions.py  files  pspec.xml  translations.xml

component.xml file at the upper directory of opera-unite package is essential to build the package.

Most of the packages are kept in that kind of repository structure. So keep in mind, in order to build a package with source repository, component.xml file in one level upper of the package directory is essential.

After you got the source package, investigate the files

there are

    * actions.py : The instructions for building the package
    * pspec.xml: Package specifications
    * translations.xml : Package Summary and Description translations.
    * files/ directory: Additional files, patches etc.
    * comar/ directory: not present in this packages, but includes post-install scripts, pre-removal scripts etc..

For building a package, we use pisi build command. type pisi help bi for more information.

pisi bi -d pspec.xml
is the command you will write in the command line. -d option is for debugging purposes, it will be on by default in the next version of pisi ;)

After this, pisi package is being built. Just watch pisi build the package ;)

After the process has ended, you will see the package in your working directory. It will be opera-unite-10.00-1.pisi .

That's all. Pardus svn is here[1] . check out the repository and you can try building packages.

Take a look at pspec.xml file. It is easy to read, and you will get a clue about the package. The maintainer of the package, the source of the source package (Main source code of the program) The package's dependencies, the packages it conflicts, The file paths of the package.

btw, you can see the contents of the package by writing lspisi <package_name.pisi>
for ex:
sdalgic@Virt-2009-Deus-Ex-Machina opera-unite $ lspisi opera-unite-10.00-1.pisi

These are the paths the contents of the package will go to.

« Reply #1 on: January 20, 2010, 12:19:28 PM »

Hello together,

the Adim LinuxFanatic from pardususer.de has published a book with over 210 pages on the construction of PISI packages.

You find it here

Great work of LinuxFanatic  Wink Smiley

Pardus Guru
Posts: 2317

View Profile
« Reply #2 on: January 20, 2010, 13:47:58 PM »

Great work of LinuxFanatic  Wink Smiley
Pardus fellow craft
Gender: Male
Posts: 79

View Profile
« Reply #3 on: November 23, 2010, 17:44:24 PM »


I tried downloading from the given link. but it referred to dead link.

could you be king enough to give me a direct link.


Speak Your Truth and Clearly; and listen to others, even the dull and ignorant; they too have their story. ('Cheesy')
Pardus Guru
Posts: 2317

View Profile
« Reply #4 on: November 23, 2010, 20:49:14 PM »

....... but it referred to dead link.
Have a look in this Post and I am  
And feel free to react in the English language over there. Wink
« Last Edit: February 03, 2011, 13:23:07 PM by atolboo » Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!