Posted by abhiitechie on May 19, 2009
Three days of work all gone I wont say waste when I found openVPN already in the /pending directory by someone named Martin but still I learned from my mistakes and gained some experience with this thing and so I have been able to make three submissions in one day to the Source juicer hoping for some success. Still I am in my early days as a software porter for opensolaris and has lot to learn . Keeping my fingers crossed for the submissions to get accepted .
The specs submitted by me are for:
Sribes ( http://scribes.sourceforge.net): Very sleek looking graphical editor for the Gnome desktop of Opensolaris.
Gnome-schedule ( http://gnome-schedule.sourceforge.net ) : Graphical sytem administration tool.
GTK2Edit ( http://sourceforge.net/projects/gtk2edit ): Simple Gnome text editor.
Posted in Opensolaris, sun | Tagged: abhishek, day, gnome-schedule, gtk2edit, gupta, juicer, one, open, openvpn, package, port, scribes, solaris, source, specs, submitted, three | Leave a Comment »
Posted by abhiitechie on May 17, 2009
The Getting Started with OpenSOlaris 2008.11 mini-books were recently
released. They are available in English, Brazilian Portuguese, Spanish, Italian, German, Traditional Chinese, Simplified Chinese, Korean and Japanese.
You might notice that there is a difference between the content of these books. They are composed by three different documents, and only the ones in English, Simplified Chinese and Japanese have them all. All other languages have only one document.
The books have a pretty basic approach, so they are aimed at people who doesn’t have much experience with the OS. This makes them perfect to be indicated during basic courses and presentations.
It seems that the 2008.11 version of these mini-books will be available only in the digital format.
Download:
OpenSOlaris 2008.11 mini-book (English)
Posted in sun | Tagged: abhishek, book, Club, download, durgapur, free, gupta, mini, nit, open, open solaris, Opensolaris, solaris, sun | 1 Comment »
Posted by abhiitechie on May 14, 2009
Its been four days for me with IPS and I am proud to say that now I am able to write a post dedicated to the very topic of Image Packaging System and porting packages to OpenSolaris . Engineers from the Solaris team have been working to create IPS packages for OpenSolaris for most of the existing popular open source softwares which are still not existing as binaries to be directly installed to OpenSolaris and needs to be build from source and along with which lies the tedious task of resolving dependencies which some times becomes almost killing and dis-heartening.
Generating IPS package is similar to RPMs which is popular in GNU/Linux and it also uses a file called a Spec file . So IPS specs are similar to RPM specs with some minor differences.
Need for a Spec file:
Typical OSS package builds the code using ./configure ; make ; make install . Writing a pkginfo file with package metainfo, like name, version,description etc. Writing a prototype file with list of files and attributes and not to forget the dependency file. All these requires lots of typing and is error prone to . Because of the tediousness people tend to avoid packaging binary tarballs and even worse build from source.
So we follow the new approach of buillding and packaging in the same step using Spec files . A typical spec file consists of a simple text metainfo mixed with some perl syntax variables and small shell sripts.Metainfo may consist of name, version, description, etc. of the software .It also applies the code changes called patches to the original source while building. Build instructions are tiny shell scriptlets . Package contents are also specified called globs.
Whats inside a spec file ?
- Source code availability (URL)
- Local code changes (unified or context diffs)
- Build instructions
- Lists of files to package up (globs)
- Package scripts
- Metainfo
- Build-time and package dependencies
- Changelog
What we can do as developers ?
● Write a spec file for your favourite app
● Build existing spec files
● Report bugs
● Update packages to the latest version availableBuild the code any way you want
> typical OSS package: ./configure; make;
make install
• Write a pkginfo file:
> package metainfo, like name, version,
description
• Write a prototype file:
> list of files and attributes
• Write a dependency file
- Write a spec file for our favourite app
- Build existing spec files
- Report bugs
- Update packages to the latest version available
More information in the following URLs
- http://pkgbuild.sf.net/
- http://pkgbuild.sf.net/spec-files-extra
- http://opensolaris.org/os/project/jds
- http://opensolaris.org/os/project/xfce
- http://jucr.opensolaris.org
Posted in sun | Tagged: binary, build, changelog, configure, diffs, from, globs, Image, install, IPS, linux, make, make install, metainfo, Opensolaris, overview, packages, Packaging, patches, pkg, pkgbuild, pkgtool, port, porting, rpm, solaris, source, spec, system, tarballs | Leave a Comment »