Current code uses "-[0-9].*" to find the version string, so
I think that is the best option.
--HG--
extra : convert_revision : 60767af56678c07ebbb241ff7965856082b4cbe4
meta-templates are just packages that do not install or remove stuff
but only have dependencies.
For testing this, I added the xorg-fonts-0.1 template; it just
depends in some of all X.org fonts packages.
--HG--
extra : convert_revision : c19e937dfd34eb8f0a0cedd4cba1297be765a253
This fixes the following error:
(EE) XKB: Couldn't open rules file /home/juan/pkgfs/depot/share/X11/xkb/rules/xorg
(EE) XKB: No components provided for device Keyboard0
(WW) Couldn't load XKB keymap, falling back to pre-XKB keymap
--HG--
extra : convert_revision : 10c16e695465595937bec2dbed3aba51db695a3d
While fixing this, I had to make autoconf, automake and m4
templates (latest versions).
xorg-server-1.5.1 now fully works on NetBSD with these patches!
--HG--
extra : convert_revision : a80bb709a48a3cd144c596170d24fdfc7f7feede
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
It seems that ltmain.sh created libtool archive files with references
to PKGFS_DESTDIR/$pkgname-$version. I just removed them, as they
aren't needed (or at least doesn't seem so).
--HG--
extra : convert_revision : f13c3377a9fe9c5a645d21adffe12f90906094cd
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
Use them if package doesn't use defaults.
While here always create $wrksrc/libtool if libtool is installed,
sometimes it's not there and you might need it anyway.
This fixes jpeg package.
--HG--
extra : convert_revision : 6d846b82f44bc4b2e837c6cb6355b4d18bc7edfb