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
New changes include adding the following targets:
build, configure, extract, fetch and install.
Those targets replace the not very understood old flags. Also
the code has been restructured to really understand what's going
on all the time.
--HG--
extra : convert_revision : c591d7ffd5251b7bb80e5e56bf2f4a7909c887dc
Another helper was made to be able to build GIMP, which will use the
external gettext-tools package when a template needs it.
--HG--
extra : convert_revision : 80ebdea771b9dec28a1741b5fcae6bd17b50b143
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
by pango itself.
To be able to run those helpers once the package has been stowned
properly, another variable available for templates has been added:
"postinstall_helpers".
This accepts a list of template helper names, e.g:
postinstall_helpers="gtk-update-gdkpixbufloaders.sh gtk-update-immodules.sh".
Also rather than setting extract_cmd itself in pkgfs.sh when
extract_sufx=".zip", set it in the helper itself.
--HG--
extra : convert_revision : 0f55c35f201daf6ff2e6d18cc808d0a34d8f4ddf
- Fix a bug in unzip-extraction.sh that skipped the package that
requested unzip and instead used the origin template.
- Pass CFLAGS, CXXFLAGS and CPPFLAGS through the environment and unset
them once the package has been installed.
- Do not show the dependencies required for a pkg more than once time.
--HG--
extra : convert_revision : 731135558d29787ab5178b80df3578420872709d
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
changes to allow better linking flags in future packages through
pkg-config.
Removed the PKGFS_TEMPLATESDIR, PKGFS_DEPSDIR and others that weren't
too useful. Instead use a single PKGFS_DISTRIBUTIONDIR on which all
those directories/files can be found.
Added a template helper for pkg-config, that changes a pkg-config file
after it's installed to produce correct linker paths.
More helpers could be added in the future.
--HG--
extra : convert_revision : a42fd2e72915a4219714de92579011bca2b0f4a6