Commit Graph

15778 Commits

Author SHA1 Message Date
Juan RP 5dd7a6203b Again: 755 for all template files.
--HG--
extra : convert_revision : 5c104a0b9a1df58d57494ee1c20402eadb94760e
2008-10-02 04:54:09 +02:00
Juan RP c3bd14e65c Change permissions to 755 for new templates.
--HG--
extra : convert_revision : d68b03eba9f403d90cd66fe32023f940beb34077
2008-10-02 04:53:22 +02:00
Juan RP 98f478185d Added compositeproto-0.4, damageproto-1.1.0, evieext-1.0.2,
glproto-1.4.9, libXi-1.1.3, libdrm-2.3.1, randrproto-1.2.2,
recordproto-1.13.2, renderproto-0.9.3, resourceproto-1.0.2,
scrnsaverproto-1.1.0, trapproto-3.4.3, videoproto-2.2.2,
xf86dgaproto-2.0.3 and xf86driproto-2.0.4.

Holy fuck... I'm really hating all those small packages...

--HG--
extra : convert_revision : baf6128476e2b444eecc425f31273f083bfb31ab
2008-10-02 04:49:34 +02:00
Juan RP 61d42c32c7 Added the flags "-i". Use it when you only want to build and install
a package into destdir but do not want to have it in masterdir.

Useful to test different versions, with incompatible ABI changes, etc.

--HG--
extra : convert_revision : cd13448fb92fdf0df6547477c7e9d7343bb197a0
2008-10-02 03:52:21 +02:00
Juan RP 7b9c3503fa Make it possible to use multiple stages in run_stuff_*, e.g:
run_stuff_before="configure build install"

while here, document them in example.tmpl.

--HG--
extra : convert_revision : acca2ad2aed2467b244037b60132cf5461057acc
2008-10-02 03:19:27 +02:00
Juan RP ea61d25a06 Add some new recently template vars into reset_tmpl_vars().
--HG--
extra : convert_revision : ae223994324cc5903f5a83f384dfb7b94fe9e089
2008-10-02 03:00:32 +02:00
Juan RP 7571f01b6c For now when stowning/unstowing ignore perllocal.pod files.
--HG--
extra : convert_revision : c48e533d95faa66db06b52cb5f77f7301608d090
2008-10-02 02:53:09 +02:00
Juan RP 812ae0695e Added xkeyboard-config-1.3 template.
--HG--
extra : convert_revision : 9d3cb7e7c857f53fcfda1b6788746c7b6715c913
2008-10-02 02:32:01 +02:00
Juan RP d6f542964d mktmpl.sh: do not force user to specify path to pkgfs.conf every time,
rather look at default location (/usr/local/etc/pkgfs.conf), current
directory, or error out.

--HG--
extra : convert_revision : a9d76d181c1d384c98e635bcb1375d20098c030e
2008-10-02 02:25:16 +02:00
Juan RP 8c6111d4ab Use the perl-module.sh helper in irssi template to use the correct dirs
for the perl module.

--HG--
extra : convert_revision : 2cb661f13b391d96b931550fb4649d704b9fd5f2
2008-10-02 02:10:35 +02:00
Juan RP c78b7af35c Do not transform pkg-config files that are meant to be installed in
glib and pixman.

--HG--
extra : convert_revision : 6b0315f0a8271d22c637298f05c36c07ebb4dd6a
2008-10-02 02:06:52 +02:00
Juan RP 37c599e017 Bah. Fix wrksrc in templates that use it.
--HG--
extra : convert_revision : 652b945cce3ea8c774f38a80a3ff9bf395d16b3f
2008-10-02 01:48:48 +02:00
Juan RP 0fdfc94802 Added support for build_style=perl_module. That means that perl modules
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
2008-10-02 01:38:12 +02:00
Juan RP 0220b27822 Bah, fix permissions again on previous added templates.
--HG--
extra : convert_revision : 311020de89ca62ffc756eaf1083dde8f020a6e06
2008-10-01 17:19:39 +02:00
Juan RP 465f6f6e9f Added fixesproto-4.0, libXfixes-4.0.3, libXfont-1.3.3, libXxf86misc-1.0.1,
libXxf86vm-1.0.2, libfontenc-1.0.4, libxkbui-1.0.2, pixman-0.12.0,
xf86miscproto-0.9.2 and xf86vidmodeproto-2.2.2 templates.

--HG--
extra : convert_revision : d88f611c191ffcad3776c31b0b696ced2c23940c
2008-10-01 17:07:54 +02:00
Juan RP e925309307 Add libXaw-1.0.4, libXp-1.0.0, libXpm-3.5.7 templates and fix permissions
again in some templates made yesterday in a chroot.

--HG--
extra : convert_revision : afe949bccb867b81e13863607b5b0182daaeca20
2008-10-01 16:09:22 +02:00
Juan RP f849c5dc54 Mention pkgconfig_override in example.tmpl.
--HG--
extra : convert_revision : f1c838ff0e44b091913544f46c0464d334731a8f
2008-10-01 15:01:03 +02:00
Juan RP 5d65d4762c Add a not so useful "HOW TO MAKE TEMPLATES" section.
--HG--
extra : convert_revision : c6c7012bdec2666685c2b3f5578fdcbd800470bd
2008-10-01 05:27:15 +02:00
Juan RP d53b7c6dd3 mktmpl.sh: add pkg-config dependency if the user sets .pc files.
Minor nits too.

--HG--
extra : convert_revision : 6ff4dcca5bb5ffebc503d7c039e70e84f1ed3abc
2008-10-01 05:11:26 +02:00
Juan RP fbcab43d84 Some new packages that were made with mktmpl.sh from modular x.org.
--HG--
extra : convert_revision : a9f4495062c480559eae53bb987d38e77c099964
2008-10-01 05:09:19 +02:00
Juan RP 1c7b760421 mktmpl.sh: now it asks you if pkg requires GNU make or libtool, and
adds the dependency automagically.

--HG--
extra : convert_revision : 790cfa2829b0f6db97f91fc1a070a92ec1e5e812
2008-10-01 04:36:43 +02:00
Juan RP 990247efe8 Add mktmpl.sh, a shell script to create new templates.
It will make you some questions and it will download the tarball,
compute the checksum to finally create a minimal template that should
work for many cases using GNU configure scripts.

--HG--
extra : convert_revision : f6c1d7793c32ebd3d29eb679ad1ea0d38aa84210
2008-10-01 03:56:21 +02:00
Juan RP 9a67e2e245 Use the bzip2 tarball in bigreqsproto, as I inteded in first time.
--HG--
extra : convert_revision : 79cc59961bf2dab888fb757ba9284510969f4b8d
2008-10-01 01:14:34 +02:00
Juan RP 854f8ba687 Change permission mode to 755 in some template files, for consistency
with all the other ones.

--HG--
extra : convert_revision : f1efaa4dbe73e72f0e00e7435163bef35a557fb1
2008-10-01 01:01:53 +02:00
Juan RP 1c0c15eeef Added vim-7.2 template.
--HG--
extra : convert_revision : 5ff3e5e547fc481cfea264b1dc524311aeea5f23
2008-10-01 01:01:18 +02:00
Juan RP f369e3648b Use the pkg-config helper in libX11 required deps and fix libX11 deps db file.
--HG--
extra : convert_revision : 8604fbfd9918bfca3c3ceb2dbd068754f3b0d218
2008-09-30 23:18:02 +02:00
Juan RP 01799e1e18 Multiple changes to gnu_configure style packages, as well as other
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
2008-09-30 22:48:52 +02:00
Juan RP 42eda74f0d There's no need to defined path to pkg-config in glib's template anymore.
pkgfs.sh does this if build_style=gnu_configure.

--HG--
extra : convert_revision : 77c700a9700dbd848b31b4b9d12af609c2310c7f
2008-09-30 18:59:00 +02:00
Juan RP 26c001f582 Pass some more args to gnu configure scripts to get the correct dirs
and remove specific hacks from templates.

--HG--
extra : convert_revision : 3abbceb03c42e5d38bfae226ee433f2461b77ce7
2008-09-30 18:58:04 +02:00
Juan RP 6c2449b7e1 Fix libidn pkg-config file. It was looking at PKGFS_DESTDIR rather
than PKGFS_MASTERDIR!

--HG--
extra : convert_revision : 091e9a8c91e27230c47d6f7116e8f85e3ad76e83
2008-09-30 18:38:44 +02:00
Juan RP bd7d61352f Also ignore share/info/dir when unstowning a package!
--HG--
extra : convert_revision : 92505e2210297d812abaa9784f55aa8ac37b3f60
2008-09-30 18:38:09 +02:00
Juan RP ec4eec30f4 Fix info dir file handling correctly this time. Reset xstow_args into
the default value once the package has been stowned successfully.

--HG--
extra : convert_revision : 74158cdc505ccc38d01120810e593215ed14ddaa
2008-09-30 18:19:52 +02:00
Juan RP 24e08d308b Use "export FOO" directly rather than "FOO="..."; export FOO".
--HG--
extra : convert_revision : a92cf1681ad93ba62d4765399a0190696429bf5f
2008-09-30 17:17:11 +02:00
Juan RP 2a2f97a1da Really fix python build this time, and use some patches from pkgsrc
to fix curses, mremap, and bluetooth modules.

--HG--
extra : convert_revision : fd555dc3aeb2085fe1d7913bd5d4fdc24c41959e
2008-09-30 17:16:02 +02:00
Juan RP ec04f32481 Pass consistent arguments to configure script if build_style=gnu_configure,
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
2008-09-30 15:22:57 +02:00
Juan RP 5aa453e8f8 Minor nit to the perl's template comment.
--HG--
extra : convert_revision : 89ea8480061faaa4d3fca053443f76a2164809c7
2008-09-30 14:38:59 +02:00
Juan RP f0a64e19ab Pass the correct directory to find the pkg-config files.
--HG--
extra : convert_revision : f2c34b0fdb2cd70f7177fed8e2c3350ede663f45
2008-09-30 14:38:11 +02:00
Juan RP 4278334a72 Minor nits to informative messages.
--HG--
extra : convert_revision : 34f0eeda043d127b8d9f5726854ad960b26029b3
2008-09-30 06:14:17 +02:00
Juan RP 34ecd815f1 Add ruby-1.8.7-p72 template based on the one sent by morr@.
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
2008-09-30 05:58:50 +02:00
Juan RP 183ba0cfea Show the list of dependencies required for a package to be built
in the "list" target.

--HG--
extra : convert_revision : e49a14940a078c994703d7ef678cc7e808b9d192
2008-09-30 04:28:05 +02:00
Juan RP 09dccc8719 Use "-P 512" when creating the deps.db files, so that they are smaller.
--HG--
extra : convert_revision : c33b4876293c47b96385caa71ad57aeda03d22e0
2008-09-30 04:14:35 +02:00
Juan RP 9a7303df8a Add latest libX11 template and its required dependencies.
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
2008-09-30 04:02:44 +02:00
Juan RP 8adcb3fdb9 Add python-2.5.2 template. Also allow to templates to setting LDFLAGS
if they need, as python needed to make shared modules resolve rpath.

--HG--
extra : convert_revision : 4afad8b2d37d8a644a3d77e5c0f8212c0cf1d33e
2008-09-30 02:56:49 +02:00
Juan RP 7ea1076ab3 Do not require on install/remove commands to specify path to templates
directory, or full name to template files. Now you do:

$ pkgfs.sh install perl-5.10.0

Removed the item from TODO, which was suggested by milosn@freenode.

--HG--
extra : convert_revision : 55e41b27a940ed7d67ade5c185cbbfeb4d82c20a
2008-09-30 01:59:51 +02:00
Juan RP 37210e2d84 Add "list" targets, that prints pkg installed + short_desc.
--HG--
extra : convert_revision : dbce561949960303fea46d66b9920eff7e2dd244
2008-09-30 00:45:25 +02:00
Juan RP 71c3216f7a Add GNU Midnight Commander 4.6.1, as suggested by morr@.
--HG--
extra : convert_revision : 5581dec4dc1ce2de675484a010f1ae8cb343cc62
2008-09-30 00:01:24 +02:00
Juan RP 1e493264a3 build_tmpl_sources(): print $destdir/$pkgname, it's more correct.
--HG--
extra : convert_revision : 2cde88161d7ecf19ce20473a042d104224d90212
2008-09-30 00:00:37 +02:00
Juan RP 544f92e5b8 If $checksum is not set in template, exit. As found by morr@.
--HG--
extra : convert_revision : 00c146d64a7888c0a647a04ef010f0a65dc1b9eb
2008-09-29 22:51:08 +02:00
Juan RP 49dff5c7ca Add pcre-7.8 template and make glib use the installed pcre, rather
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
2008-09-29 22:32:08 +02:00
Juan RP bc450e9c6c Repeat after me: DO NOT ADD A SLASH AT THE END OF $url.
--HG--
extra : convert_revision : 1ab5266709ca4aab268e120ed1cc07f28e57cd63
2008-09-29 22:27:37 +02:00