That means that it's not necessary anymore to use an '@' before the
extract suffix string. yay.
--HG--
extra : convert_revision : 83ce2c783cb917ef59b87eacb0565cfcff277218
Rather than using a file for stuff like this, change them to be
functions in templates. Now if any template want to use them, it
can specify for example a {pre,post}_<stage>() shell function.
Also remove some NetBSD specific stuff that is not useful anymore.
--HG--
extra : convert_revision : b7157c61c92c05904e0e4d971268e5f018db46bc
Two new utilities in C have been created:
- xbps-digest: shows the SHA256 hash for a file.
- xbps-pkgdb: handles dependency stuff via proplib.
Templates should use now $build_depends and change $checksum to be
a SHA256 hash. That means that I'm currently using xbps on Linux and
I lost interest on NetBSD, perhaps I'll add support for it in the
future.
Only git and its dependencies have been converted, as well as vim.
--HG--
extra : convert_revision : 53a7e030ca6b6d02bb6cd3e51d42b7d5702c1b57
Each template now needs to use $distfiles that accepts the full
URL to download the distfile and old $extract_sufx is now merged
on it, but this must be separated by the '@' character. Example:
distfiles="http://www.foo.org/blah-6.2@.tar.gzhttp://www.foo.org/blob-1.0@.tar.bz2"
If distfiles contains multiple files defined, $wrksrc is now
mandatory.
--HG--
extra : convert_revision : 1c3fa35f148af8323ce3cbcf5732104960de6bc4
Now if a file "$pkgname-runstuff-<stage>-<phase>.sh" exists in
PKGFS_TEMPLATESDIR exists, it's executed automatically. Therefore
templates are simplified a lot.
--HG--
extra : convert_revision : 94f1da6424d3df70ef763d4339cf4d8e778ccbac
Introduce run_stuff_<state>_<stage>_cmd. These are used to run
a specific command before or after the specified stage.
Introduce two new helpers: fontconfig-update.sh and mkfontxx-rebuild.sh.
The first runs fc-cache once fontconfig is installed, the second
rebuilds the fonts.dir and fonts.scale files in a directory for
a template.
Allow run_stuff_* to execute a script with any path, not just
from PKGFS_TEMPLATESDIR.
That means that now if you install GTK+ and any fonts package,
gtk-demo will work without any additional stuff.
--HG--
extra : convert_revision : c8aa7eb8d1ab958f64808af0d4c1cce8760d012e
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