how packages are found.
First: I removed all these *-deps.db files and only a single file
is used now "build-depends.db"; it's smaller and will be easier
to handle in the future... when "run-depends.db" is added :-)
Second: there's no need to specify version of package anymore;
before you had to do:
$ pkgfs.sh install git-1.6.0.2
now you only do:
$ pkgfs.sh install git
This will read the variables located at PKGFS_TEMPLATESDIR/git.tmpl
and will the install the version that is there.
--HG--
extra : convert_revision : 9e3e5d70965a69c76f59e322b7c7b674d627af52
and extraction of zip distfiles via a new helper:
unzip-extraction.sh.
When a new template uses extract_sufx=".zip" and the unzip command
is not found on PKGFS_MASTERDIR/bin/unzip, the unzip package will
be installed automatically.
Also add jasper-1.900.1 template that uses a zip distfile.
--HG--
extra : convert_revision : a979bdd3aef82d64e490606c21aa8f557d76fdbd
now work on pkgfs.
While doing this work I added some new variables that can be used in
templates:
run_stuff_before="<stage>"
run_stuff_after="<stage>"
run_stuff_before_<stage>_file
run_stuff_after_<stage>_file
These can be used in a template when you need to do some stuff before
or after the stage specified, and the file will be read and the commands
on it executed.
Now that finally perl modules work, add the following templates:
intltool-0.40.4 and perl-XML-Parser-2.36.
Also mktmpl.sh has been updated to understand build_style=perl_module.
ENJOY!
--HG--
extra : convert_revision : 53c5148f1ba703e2b5af6e43f71668aac54a37d2
so that we can install the info files into the same directory, as well
as not requiring passing stuff from random templates.
While here use merge-info from Xstow to merge two info dir files.
As bonus I added git-1.6.0.2 and its dependencies, based on work done by
morr@. Thank you!
A git package built with pkgfs is fully functional now, enjoy!
--HG--
extra : convert_revision : 97c0b5c4b24cc6d63594f0f467349b13ea553980
While here, I compared install time in pkgfs vs pkgsrc on libX11,
and pkgfs built the package 12 seconds faster.
--HG--
extra : convert_revision : 7804a092c5d3ba879d9e869769ad912ddeb6743c
than use the included one.
While here, fix a bug in dependency handling when A package depends
B and B depends on C, C was installed two times because it was in
the dependency chain two times.
--HG--
extra : convert_revision : 379e161560cebd650a4f7e9d0f1b99f504317bbe
The code looks at db(1) btree files stored in PKGFS_DEPSDIR to know
what dependencies are required for X package, and walks the dependency
chain every time that X package contains a deps .db file.
Every time a package is stowned, the pkg is registered into
PKGFS_DESTDIR/.pkgfs-registered-pkgs.db, and removed when it's unstowned.
--HG--
extra : convert_revision : b5222a890dd41b96dc72ee3e90bb72a282fe0841