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
That means that the correct rpath dir is used now even if
/usr/pkg is there.
--HG--
extra : convert_revision : a1e1417bb9349274805426fd12676810f38a2c2e
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
I will report this upstream if the bug is not on NetBSD, but I'm not
sure. It seems that on NetBSD you aren't allowed to call
pthread_attr_getschedparam() without first calling _setschedparam().
--HG--
extra : convert_revision : 6a2ed6884cd148e48af908be38e8bb1d0060ccab
The following templates were added:
- font-cursor-misc-1.0.0
- font-misc-misc-1.0.0
- xf86-video-vmware-10.16.4
- xrandr-1.2.3
- xterm-237
Also xorg-fonts now depends on font-cursor-misc and font-misc-misc,
otherwise it won't work by default on VMware!
--HG--
extra : convert_revision : c09a46be2344ea77b9993ed1c2d096e22367cd79
I'll add soon a chroot target that will build the package specified
in a chroot and with root privileges, so that setuid/setgid apps are
fully supported while unpacking binary packages.
--HG--
extra : convert_revision : 1e94fa5ffab2a89f52c79442deb632e697cc569e
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
run_stuff_before="configure build install"
while here, document them in example.tmpl.
--HG--
extra : convert_revision : acca2ad2aed2467b244037b60132cf5461057acc
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
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
I fixed the package to install into the correct directory and therefore
being stowned correctly, by using --exec-prefix.
morr@ please check this next time!
--HG--
extra : convert_revision : 895c4af1bf5336e35f4579aee5e45778932185f9
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
used in templates.
Remove all comments from the other templates, if you want to know what
are their meaning, look at the example template.
--HG--
extra : convert_revision : 348bbf4b780be0eba186ba2062cecf05cbbf8a69
Also use a template for xstow to avoid hardcoding the vars into the script,
as bonus don't allow to unstow 'xstow' once is stowned... heh.
--HG--
extra : convert_revision : 94b5676b13ed79d54f1968120ddb50a20429bca9
It's a simple wrapper to shell scripts to allow building source
distribution files through an easy cli. For now it's only able
to fetch/build/install a package into a destination directory.
Goal is to be able to have same functionality like GNU's stow.
I added three template files to allow building: glib2, gmake
and libtool.
--HG--
extra : convert_revision : 5e52738f97edc0ff4a9e5de48a75834bf0916651