Commit Graph

475 Commits

Author SHA1 Message Date
Juan RP 5a249b6c4f Require to configure/build/install in the chroot all packages.
This is to ensure that only stuff found in the chroot will be used,
and to avoid some stupid problems with libtool scripts. Therefore only
templates that have $base_chroot set can be built without the chroot.

As bonus now all messages are prepended with "[chroot]" when xbps.sh
is running inside of it.

--HG--
extra : convert_revision : 68195f4b240c01eea18777767b555604d892400f
2008-10-27 07:42:40 +01:00
Juan RP e9231b5999 More changes to {pre,post}_<stage> stuff.
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
2008-10-27 06:12:30 +01:00
Juan RP aca77c9284 grep: disable perl regexp to avoid pcre dependency.
--HG--
extra : convert_revision : 7c3ed8141c4ed3ebfa078f87245b6d5e53402f9b
2008-10-27 05:22:43 +01:00
Juan RP 5ef5ca8d35 Simplify templates by not needing $patch_files in some cases.
If exists a patch called $pkgname-fix-{build,install}.diff in the
templates directory, they will be applied automatically. If patches
are named differently $patch_files must be used yet.

--HG--
extra : convert_revision : 21f6edfab580c569b3737280f54a6332c44baa49
2008-10-27 04:08:55 +01:00
Juan RP c06defc719 Replace run_stuff with post/pre_<stage> variables.
If there's a file called "$pkgname.{pre,post}_{configure,build,install}
it will be automatically executed. In addition to this, templates may
use {pre,post}_{configure,build,install}_cmd variables to run arbitrary
commands.

--HG--
extra : convert_revision : 62ad549b8299689ecf8c833e73eda436ffdb7aa7
2008-10-27 03:56:42 +01:00
Juan RP 1d093050d1 Added linux-pam-1.0.2 template.
--HG--
extra : convert_revision : 6814b80f8a0fc85a12c497739d761b077600a5ca
2008-10-26 06:55:05 +01:00
Juan RP d1e72a822e Added udev-130 template.
--HG--
extra : convert_revision : 795d3a599da5114f7ade5cba6f1d15dd4d70c404
2008-10-26 01:43:11 +02:00
Juan RP ade1e606bd Added module-init-tools-3.5 template.
--HG--
extra : convert_revision : c388ecb844e7514b7edbc3910260fdde1e8db8ed
2008-10-26 00:39:27 +02:00
Juan RP d71e6de243 zlib: also install the static lib.
--HG--
extra : convert_revision : a3b5a20480ac8d515b085c2399a3ab1ff517afee
2008-10-26 00:38:12 +02:00
Juan RP c12edf7936 Added cpio-2.9 template.
--HG--
extra : convert_revision : e2f6eca8b1f66fb869bdd7e307cb5d48254b5f44
2008-10-25 23:45:38 +02:00
Juan RP 3ff6b65c09 tar: escape quotes in long_desc.
--HG--
extra : convert_revision : b684d9ab8c12dd8d17ebc4ee98b165bab7caefbb
2008-10-25 19:17:29 +02:00
Juan RP 02adafc573 Added syslinux-3.72 template.
--HG--
extra : convert_revision : 460f62f2c0ad06064f03e34e9dac276f8db1bf4f
2008-10-25 09:40:27 +02:00
Juan RP 9d4e740e48 Added nasm-2.05 template.
--HG--
extra : convert_revision : 7691a4282341883538550e75e7ac480729b5350c
2008-10-25 08:02:43 +02:00
Juan RP 1ebe669478 kbd: needs gettext.
--HG--
extra : convert_revision : 1ea5beef72a2535df60c71fd84f325d435299c5e
2008-10-25 05:06:16 +02:00
Juan RP c08f090723 Added kbd-1.12 template.
--HG--
extra : convert_revision : 5195692f068c320da2475af2e0613146de2b38c7
2008-10-25 05:04:19 +02:00
Juan RP 1bca126e4c Added flex-2.5.35 template.
--HG--
extra : convert_revision : ae347c9e566e291366a7d3a0e7bdf5e24e7246cf
2008-10-25 04:46:17 +02:00
Juan RP 5af1e6a2a3 bison: use /usr/bin/m4 because the binary hardcodes this!
--HG--
extra : convert_revision : 9f5017153d62d86bc95560bf74111b8768370ea0
2008-10-25 04:45:28 +02:00
Juan RP 345a373d41 m4: ignore_files is no more.
--HG--
extra : convert_revision : bef6c475ab68af95f25606a7f903d15309d17d2e
2008-10-25 04:21:55 +02:00
Juan RP 2aad031f3f sysklogd: make required dirs in patch.
--HG--
extra : convert_revision : 609d85d4b6911170ab36b7bf71e716ce2d0be05c
2008-10-25 04:06:07 +02:00
Juan RP 0f3d2de3fc Added iana-etc-2.30 template.
--HG--
extra : convert_revision : e7453d78d963281f1d75712c42cb9707e51364fa
2008-10-25 04:01:36 +02:00
Juan RP fec919b806 Added sysklogd-1.5 template.
--HG--
extra : convert_revision : 82ed229ee3c970417199eea98e6a8a8bd62e216d
2008-10-25 03:39:51 +02:00
Juan RP 6d1cbcf4d1 Added man-pages-3.11 template.
--HG--
extra : convert_revision : aba6219c8ec31da33998c9dd134cf979c5b8b7c8
2008-10-25 03:01:00 +02:00
Juan RP 0032a03f87 Added man-db-2.5.2 template.
--HG--
extra : convert_revision : 919bae8155921673fa9d6dd554f54bd4395b26f4
2008-10-25 02:51:08 +02:00
Juan RP c4807854f7 Added groff-1.19.2 template.
--HG--
extra : convert_revision : f70ff72863104645af64d3aa82e65aac3c0e924b
2008-10-25 02:50:55 +02:00
Juan RP cea083f451 Added gdbm-1.8.3 template.
--HG--
extra : convert_revision : 07904d75e354dbc83240e927e3576dac37f67cf1
2008-10-25 02:33:04 +02:00
Juan RP c21c5dac78 Added e2fsprogs-1.41.3 template.
--HG--
extra : convert_revision : d1c484711c0d0341f6cad5ac6e6339c497b49beb
2008-10-25 02:14:03 +02:00
Juan RP 8c49b78736 openssl: install config files into /etc/ssl.
--HG--
extra : convert_revision : 3992707b1fa7d9c2c2a121395e83740021a80e47
2008-10-25 01:36:39 +02:00
Juan RP e42f88bd4a Added upstart-0.5.0 template.
--HG--
extra : convert_revision : b262f159351aba7ce8662ef2a02548ccc647086c
2008-10-25 01:30:54 +02:00
Juan RP c1742cf50b Added dbus-1.2.4 template... required by upstart!
--HG--
extra : convert_revision : e5573f2d8f89366895240a6a932839d111aaf57e
2008-10-25 01:07:58 +02:00
Juan RP 3481a931bf ruby: install into /usr.
--HG--
extra : convert_revision : b52396e2ece2c0f290bcd8eafc2e63c732451000
2008-10-24 18:32:35 +02:00
Juan RP 492d77ec10 Added less-424 template. We call it 4.24...
--HG--
extra : convert_revision : 0d5168bbde19ea6dc706711fcbf9f474954feb7a
2008-10-24 10:10:54 +02:00
Juan RP 46d117ee4e Added procps-3.2.7 template.
kill(1) and uptime(1) commands are disabled because we are using
the ones from coreutils.

--HG--
extra : convert_revision : 3d581dad2c9002c7fad4863d445abeb9ca662d77
2008-10-24 08:50:19 +02:00
Juan RP 7543311304 curl: make it depend in openssl for https:// etc.
--HG--
extra : convert_revision : 67a8cf099db2ccdb04ec92e17933a631968331c1
2008-10-24 07:01:23 +02:00
Juan RP 0aa65e912f irssi: updated and make it depend in openssl.
--HG--
extra : convert_revision : ee4d84fc0b457ec7e199f3aaa8a4e8c6f8260e22
2008-10-24 06:56:03 +02:00
Juan RP ab167795ff Added openssl-0.9.8i template.
--HG--
extra : convert_revision : a7553cc0c698fa01b4ae03b660230c3cee9e703e
2008-10-24 06:46:29 +02:00
Juan RP 807a6a2fa4 glib: updated for linux.
--HG--
extra : convert_revision : 8ce37923bfe960abb8be6cb204a6e58a08cf1a70
2008-10-24 05:53:23 +02:00
Juan RP cdb1f0811f Added gettext-0.17 replacing previous tools/runtime pkgs.
--HG--
extra : convert_revision : d692f873dcf57fd7adeb402ee9143bc24e23082f
2008-10-24 05:47:41 +02:00
Juan RP b23764df75 Set 644 perms to template files.
--HG--
extra : convert_revision : 728a6f45f233ad4ec5e58556eeaa4a33781217b5
2008-10-24 05:35:08 +02:00
Juan RP c50d4b80b5 vim: update depends.
--HG--
extra : convert_revision : 8618a54f2eb64a33899d9e3388b366a26f437e52
2008-10-24 05:32:40 +02:00
Juan RP 27a678cc5f git: updated for linux.
--HG--
extra : convert_revision : 551a1fd2288036ac4ac068c465a54d5d54d5268d
2008-10-24 05:28:44 +02:00
Juan RP eda71059dd expat: update depends.
--HG--
extra : convert_revision : af18ebd35c4fd6667eac70e01cd1371b644eead2
2008-10-24 05:22:18 +02:00
Juan RP 7adb9a2f23 curl: update depends.
--HG--
extra : convert_revision : d7d2c1e5c5665299d2eee98b59fb23ac631d95e4
2008-10-24 05:19:37 +02:00
Juan RP f59b755dba curl: updated for linux.
--HG--
extra : convert_revision : 8f72330cbf225b97dbce468e8f3115a1c5fd7229
2008-10-24 05:07:07 +02:00
Juan RP 247f6a3772 util-linux: reenable to patch to fix build.
--HG--
extra : convert_revision : 988b1c12d356a51b2b03be6250357bf448430de2
2008-10-24 04:58:31 +02:00
Juan RP f0a7ea4d3c perl: works in the chroot now.
--HG--
extra : convert_revision : d2ec570e3c42559f78715fb180300e7beb17b007
2008-10-24 04:54:40 +02:00
Juan RP cc54ab04bd glibc: install info files in destdir.
--HG--
extra : convert_revision : 43020907daea7a2c325fc3795a1a898e856eaae7
2008-10-24 04:24:43 +02:00
Juan RP dfe4112a54 gcc: do not install libiberty.a, thanks LFS.
--HG--
extra : convert_revision : dcbc41866d3d66ea11ef3c86daf45c3a5c5f7f0b
2008-10-24 04:03:48 +02:00
Juan RP a3631cec1c libidn: updated for linux.
--HG--
extra : convert_revision : 971154c7871cdc39736fecbba20cae7e7ac5b693
2008-10-24 03:54:19 +02:00
Juan RP 4cf232d417 Added patch-2.5.4 template and make xbps-base-chroot depend on it.
--HG--
extra : convert_revision : 42488dbcbc44425f1148c5fe114bd9eda88399f8
2008-10-24 03:33:27 +02:00
Juan RP 34084d3e92 coreutils: install bins into destdir not masterdir!
--HG--
extra : convert_revision : cd5d4e67091df5da0a2f284b5a0d162d1930056a
2008-10-24 03:32:46 +02:00
Juan RP 7d417a5d34 grep: install grep into /bin, to mimic ubuntu.
--HG--
extra : convert_revision : 3d6e1da0b1826ddaf6d0795b35b627d424b2dda0
2008-10-24 02:08:04 +02:00
Juan RP 86184903d4 gcc: make /usr/bin/cc symlink after install.
--HG--
extra : convert_revision : fbd558de2bee2f1f5ae06c59c7d595fbde2189b8
2008-10-24 02:03:54 +02:00
Juan RP 17185fb761 bash: make /bin/sh symlink after install.
--HG--
extra : convert_revision : 73f6a4f20ed25500a11cd94ed532cbf395c582ed
2008-10-24 02:03:11 +02:00
Juan RP dba678e065 glibc: use /lib and /usr/lib on x86_64.
--HG--
extra : convert_revision : 1ce01731dbc3def0837480dbc7bb2a65b0785033
2008-10-24 02:01:54 +02:00
Juan RP c07feca694 gcc: ignore_files is no more.
--HG--
extra : convert_revision : c58063c50f3999eafbd41ead5a70ec6875d0d4ef
2008-10-24 01:03:04 +02:00
Juan RP 0c2a5b90da Added file-4.26 template and make xbps-base-chroot depend on it.
Also allow packages to disable fixup_libtool_file() via
$no_fixup_libtool, it's enabled by default.

--HG--
extra : convert_revision : 5fd550379cc78d08c2131fa011ee0121422bbae4
2008-10-23 23:27:10 +02:00
Juan RP 58af2b6d25 Added diffutils-2.8.1 and make xbps-base-chroot depend on it.
--HG--
extra : convert_revision : c7b0895819755bb65999fd9bee7372b5246d8f3c
2008-10-23 19:17:35 +02:00
Juan RP 81fe5b8859 coreutils: install in correct location.
--HG--
extra : convert_revision : b6a6e02582c5341619426c5469c728941ee2860f
2008-10-23 19:10:13 +02:00
Juan RP 8e2b090575 Added findutils-4.4.0 and make xbps-base-chroot depend on it.
--HG--
extra : convert_revision : 5bf63ed58062cd04981b161022715902feea3c6b
2008-10-23 19:06:57 +02:00
Juan RP b3adf145a6 Added util-linux-2.12r template.
This needs to be installed with the install-chroot target.

--HG--
extra : convert_revision : 6ae15641b17a802bf6c928b6e23a6ccc25203460
2008-10-23 18:49:50 +02:00
Juan RP e6707c6f99 Added grep-2.53 and make xbps-base-chroot depend on it.
--HG--
extra : convert_revision : a484eddecd8a332be4c61c74d7a6225afa11b9a5
2008-10-23 18:32:34 +02:00
Juan RP abcce0a7b5 Added texinfo-4.13a template.
--HG--
extra : convert_revision : 732f4654ab21ce97ca9a9c38018ce1560d43a7af
2008-10-23 18:26:11 +02:00
Juan RP 996b1df5f7 Added gawk-3.1.6 and make xbps-base-chroot depend on it.
--HG--
extra : convert_revision : ef54a354d5099af9d2d75c0eb07371fcf2097952
2008-10-23 17:22:37 +02:00
Juan RP 89f264e88c Massive changes to allow installing pkgs in a chroot.
Some changes include:
 - Xstow is not used anymore, files are copied into masterdir.
 - a new target install-chroot has been created.
 - a new meta-template xbps-base-chroot has been created required for
   the install-chroot target.
 - Removed XBPS_SYSCONFDIR, /etc is used by default.
Other changes that I cannot remember right now...

--HG--
extra : convert_revision : fb57d9dafb56aeb03cc935580172e075ce584fd5
2008-10-23 17:14:00 +02:00
Juan RP f55c8fa49e fakeroot, gmp, mpfr: update depends.
--HG--
extra : convert_revision : b815b1ac92183c12768b4e3c1bc4c6dd8b8fb57d
2008-10-23 02:48:55 +02:00
Juan RP b17218a459 pkg-config: do not specify a pc config path, pick default.
--HG--
extra : convert_revision : ff89175b2e46a92bc59ea51c0b4fe09959d73505
2008-10-23 02:47:04 +02:00
Juan RP a3185bb441 bash, binutils: install into the correct location.
--HG--
extra : convert_revision : 125f07452d3adda54a3f2c0ad26bfe998dff47af
2008-10-23 02:44:56 +02:00
Juan RP fbc361f995 Added util-linux-2.12r template.
--HG--
extra : convert_revision : 93aed888a20c2cfb85a77ffa6634771e61adffe1
2008-10-23 02:43:46 +02:00
Juan RP 5f97587bc8 Added proplib-0.1 template.
--HG--
extra : convert_revision : 937a10310e3194b268d34203ce9583993fc16284
2008-10-23 02:43:29 +02:00
Juan RP e9ac80f8be Rename template file gmake to make.
--HG--
extra : convert_revision : c116b2c0fcecbbee80fec33adab4a66cc57b20b3
2008-10-23 02:43:12 +02:00
Juan RP 8f3ffc43c7 Rename template file gtar to tar.
--HG--
extra : convert_revision : 855ea4576a1898d4609248af3e214cc226ea3795
2008-10-23 02:42:30 +02:00
Juan RP 6a22274980 Added bzip2-1.0.5 template.
--HG--
extra : convert_revision : a95f241b33ba9592d2a82301c2ab9555d8063126
2008-10-23 02:41:51 +02:00
Juan RP 0970bc48d5 Added gzip-1.3.12 template.
--HG--
extra : convert_revision : b0b83d1d8b9bd42f420cb23804a8f6e02eb3d50c
2008-10-23 02:41:36 +02:00
Juan RP 04bd07c1c5 Adapt perl to linux.
--HG--
extra : convert_revision : 0195de3a330193ea5caa9426ce893e682017e49c
2008-10-22 18:39:17 +02:00
Juan RP 420f14d2ae Added sed-4.1.5 template.
--HG--
extra : convert_revision : eb1a6ddd6178b9316c0d501e88398831c8c321c4
2008-10-22 16:58:56 +02:00
Juan RP 05ba1d3abd zlib: added missing glibc rundep.
--HG--
extra : convert_revision : bf06dd1e4a51e36b21d5d878f89feecd8d4c1028
2008-10-22 16:52:17 +02:00
Juan RP 9187ce315e Added zlib-1.2.3 template.
--HG--
extra : convert_revision : e5d6e2ff7a872ee407285c4789738f00c376a28b
2008-10-22 16:51:18 +02:00
Juan RP 58c633fc53 python: remove unused LDFLAGS.
--HG--
extra : convert_revision : 2fa4e41131b3efc75af869ead19a401f9ff0f4d9
2008-10-22 16:38:02 +02:00
Juan RP b6ccaaa2d2 Added coreutils-6.12 template.
--HG--
extra : convert_revision : b478d03a0b8f9fe7a741ba587920e3a69b0e1a91
2008-10-22 16:11:22 +02:00
Juan RP 3b5c4b506d gcc: install libs into /lib and not /lib64 on x86_64.
This is to mimic what debian and derivatives do.

--HG--
extra : convert_revision : 02e15adf1f06ba45f14f06aad9c28ac4553c8621
2008-10-22 04:07:58 +02:00
Juan RP 8ef456bcd2 bash: updated checksum and {build,run}_depends.
--HG--
extra : convert_revision : 1e44a58e5f3fa13b32bb72927b9ca71f2927ee38
2008-10-22 02:43:51 +02:00
Juan RP 1def87c72c Added ncurses-5.6 template.
--HG--
extra : convert_revision : 5e6d5888ae0aea2be6bebdf5d007c9e6eed9bae9
2008-10-22 02:43:20 +02:00
Juan RP 28a5a070c1 Change autoconf pkgs to configure it with /usr or /.
This depends if a package uses $base_package, by default not set,
means the package will be installed into masterdir/usr, if set
will be installed into masterdir directly.

While here fixup binutils, gcc and glibc! I'm approaching to the point
on where I'll be able to chroot into masterdir and having working pkgs
installed.

--HG--
extra : convert_revision : be3c3e0d7368e7a1e1ef1c9add932aeeab82688d
2008-10-22 01:54:48 +02:00
Juan RP 680c82f965 bison, m4: updated checksum and {build,run}_depends.
--HG--
extra : convert_revision : 0f6020284c6c086758627a29adeb4a32011a6447
2008-10-22 01:53:04 +02:00
Juan RP e556f891a2 Added fakeroot-1.10.1 template from debian.
--HG--
extra : convert_revision : e2e530483608cf2a44996f56ee82f3f6ed1ea125
2008-10-21 06:36:29 +02:00
Juan RP 8ba6111542 glibc: add gcc build depend, to avoid stuff like -fstack-protector built
in.

--HG--
extra : convert_revision : 4d14e85d8e8ba2b6f965a5049afbffb15a24f954
2008-10-21 05:30:10 +02:00
Juan RP 61adbd28db Added glibc-2.8 (tarball taken from archlinux).
While here add a new variable for templates: disable_ldflags.
If set LDFLAGS won't be used while building the package, it was
required by glibc which refused to link with a rpath set.

--HG--
extra : convert_revision : 14c547aa7470145c883ca982c517c50ca8f15fc5
2008-10-21 05:27:22 +02:00
Juan RP e5afbd9313 Added gcc-4.3.2 template.
--HG--
extra : convert_revision : f0578d57b53b1cfda7a7222c3afed91df1133014
2008-10-21 04:38:29 +02:00
Juan RP 070fc697bf Added binutils-2.18 template.
--HG--
extra : convert_revision : 2d5b2dbb54488cb83a4b98480d3b87a4367ac08a
2008-10-21 03:09:29 +02:00
Juan RP efa86250d8 Added mpfr-2.3.2 template.
--HG--
extra : convert_revision : 621f2fc3df591bd7a9ba1fe6debccbb6dc1d74c5
2008-10-21 01:49:59 +02:00
Juan RP 84e0dc6717 Added gmp-4.2.4 template.
--HG--
extra : convert_revision : 535b3d634cb12f74354df1dbc1025b8a916a0ba9
2008-10-21 01:43:33 +02:00
Juan RP a464e355d2 Added lzma-utils-4.32.7 template.
--HG--
extra : convert_revision : dc0cf41d557fd16469b23aff7813c8877c83eeca
2008-10-20 23:37:25 +02:00
Juan RP daef272db2 atk: updated {build,run}_depends and checksum.
--HG--
extra : convert_revision : c6378dc3a2ac7572eda046b85fa063eaedb9e3af
2008-10-20 18:00:55 +02:00
Juan RP 150fd8340b ruby: updated checksum.
--HG--
extra : convert_revision : 65ce3e0c4ef97be4fe6f1102fe8b74e04d4e80e6
2008-10-20 17:38:39 +02:00
Juan RP 10a673b0e8 mc: updated build_depends and checksum.
--HG--
extra : convert_revision : 6eb8f9e1a9579ddf0954a1ab07810ebf38996021
2008-10-20 17:27:37 +02:00
Juan RP 8fd730d342 glib: updated to 2.18.2, updated checksum and build_depends, removed
NetBSD patches.

--HG--
extra : convert_revision : f4a62389207c9349988e296d8b174e89593b30be
2008-10-20 17:23:34 +02:00
Juan RP 7fc3181aa2 pcre: add libtool build dep, update checksum.
--HG--
extra : convert_revision : 7afd86a367ad83307ed333a1f4649ac5a0a1783f
2008-10-20 17:15:59 +02:00
Juan RP 841da643dc pkg-config: added libtool build dep.
--HG--
extra : convert_revision : 25b065f5df4a9fa3df53d73bdd52a387d66f3222
2008-10-20 17:12:44 +02:00
Juan RP 135e86e0b8 python: updated checksum, removed unused NetBSD patches.
--HG--
extra : convert_revision : ba9d4f1aac2988c71f63db109bf9b94bf2cff0f4
2008-10-20 17:07:03 +02:00
Juan RP 99d5350b30 Major changes to not depend on cksum and db from NetBSD.
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
2008-10-20 16:34:27 +02:00
Juan RP 8729d8de2b Added monodevelop-1.9 template. Needs deps that aren't there yet.
--HG--
extra : convert_revision : 9227bd2af077d819cd5a8761abfe8d0cbd770a07
2008-10-16 06:21:27 +02:00
Juan RP ae3bc61f35 sqlite: updated to 3.6.4.
--HG--
extra : convert_revision : a054dbc21dea50b1e8068d2ba5ca94a448288ff6
2008-10-16 06:17:58 +02:00
Juan RP 009c05c517 perl: fix path to configure script.
--HG--
extra : convert_revision : cb25308baa28b85fe0055366214aa623a885c7ec
2008-10-16 05:24:32 +02:00
Juan RP 23a1318acd libtool: override shlib naming on NetBSD, as done in pkgsrc.
While here there's no need to override ltmain.sh, remove this block
from the xbps.sh script.

--HG--
extra : convert_revision : 76951b6f01e95e717a6f2cd8b36c1e3cfc9882fc
2008-10-16 05:22:04 +02:00
Juan RP bdb08ba5dd pkg-config: disable threads as done in pkgsrc.
--HG--
extra : convert_revision : b5f88c393c81c87fd102864e60231bfbe89d292b
2008-10-16 03:29:42 +02:00
Juan RP cd85d40608 Fix paths in pkg-config files from mono and gtk-sharp.
--HG--
extra : convert_revision : 075ecd8ba9dca2e2fc7e05c6da64ef269a74aa47
2008-10-15 05:57:27 +02:00
Juan RP 0abdec75e6 Added desktop-file-utils-0.15 template and its associated helper.
--HG--
extra : convert_revision : 080e2c1e9930a480e88af722f91605a8a69c66cc
2008-10-15 02:50:10 +02:00
Juan RP 128107c3ee Added mono-addins-0.3.1 template.
--HG--
extra : convert_revision : 3a8585a5515918195ed3a94bbb58d93dd1201bfd
2008-10-15 02:34:03 +02:00
Juan RP 169283898d Added gtk-sharp-2.12.4 template.
--HG--
extra : convert_revision : ca05d737d92009386d2f89b0d3e8fc9fcf21ed69
2008-10-15 02:20:03 +02:00
Juan RP d7170f3fd5 Added libglade-2.6.3 template.
--HG--
extra : convert_revision : 778a633b30eca36556ed3ca6c71d9065a8fba4cb
2008-10-15 02:00:07 +02:00
Juan RP d0e0830c7e Added monodoc-2.0 template.
--HG--
extra : convert_revision : 08955d700338f0c8fe10ccd19ee7a09c25a32ba9
2008-10-15 00:44:03 +02:00
Juan RP bdf53e2876 mono: remove unused stuff from template.
--HG--
extra : convert_revision : 07acaa855412a1ef58a68bdb619705adde3a30a6
2008-10-15 00:23:38 +02:00
Juan RP c2a0231719 Added mono-2.0 template. Patches from pkgsrc, thanks!
--HG--
extra : convert_revision : 6adafdffed0e60747feb7cc84f5b3f0f4926e034
2008-10-15 00:22:15 +02:00
Juan RP dcaa308afe font-util: use replace-interpreter.sh and remove perl-replace-path.sh
helper which isn't used now.

--HG--
extra : convert_revision : b1291d48a5b55e229c37e0374a618ab079eaeb83
2008-10-14 19:44:22 +02:00
Juan RP b029cb3d90 bash: gmake isn't needed.
--HG--
extra : convert_revision : 3c4e084f7e356223e5205d10daac810ae6a22eb9
2008-10-14 18:43:53 +02:00
Juan RP bd95232dd2 Added bash-3.2 template (aka GNU Bourne Again SHell).
--HG--
extra : convert_revision : 723ae87da7096889e7a4b1eb0ceb90e1e63765c3
2008-10-14 18:41:37 +02:00
Juan RP f8fb7d162c m4: updated to 1.4.12.
--HG--
extra : convert_revision : d0ff1b1b8b862675bf672b1336209745a7deab5e
2008-10-14 17:45:34 +02:00
Juan RP 13b9424f1e Added bison-2.3 template (aka GNU yacc).
--HG--
extra : convert_revision : ecc26d3e35cf8040d1eeeb815483874acc45a4aa
2008-10-14 09:42:10 +02:00
Juan RP f04af04cb0 m4: install it as "gm4" to not conflict with m4 from base.
--HG--
extra : convert_revision : 096680e449f97b93d07b0ea18f47f06bec66ccd2
2008-10-14 09:36:28 +02:00
Juan RP 71b9a79168 Added gtar-1.20 template (aka GNU tar).
--HG--
extra : convert_revision : 058a62a9f915a9520528d8ebcb345360e84ee3e3
2008-10-14 09:26:36 +02:00
Juan RP 6547c9bef2 Added icu-4.0 template.
--HG--
extra : convert_revision : 3fc4a54fe5b144cf4d341a73213d5800f59d8e6b
2008-10-14 09:03:18 +02:00
Juan RP b52d064544 Major changes to support multiple distfiles in templates.
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.gz
http://www.foo.org/blob-1.0@.tar.bz2"

If distfiles contains multiple files defined, $wrksrc is now
mandatory.

--HG--
extra : convert_revision : 1c3fa35f148af8323ce3cbcf5732104960de6bc4
2008-10-14 07:52:29 +02:00
Juan RP ef4a64bdba font-util: bah, fix previous commit!
--HG--
extra : convert_revision : c639c9f6bbbfdf2d4a857e3d4a9a46c873ca3127
2008-10-13 10:28:24 +02:00
Juan RP f109fd5d82 font-util: use run_stuff_before_<phase>_cmd to make this build.
--HG--
extra : convert_revision : 7725d0c055964f7176cecada81e302de5264e9c9
2008-10-13 10:20:04 +02:00
Juan RP 7b57c7507f gimp: use run_stuff_before_configure_cmd to make this build.
--HG--
extra : convert_revision : 5e355fafeaa0561fd22a4dec7f6a0c72d009e1d0
2008-10-13 10:16:43 +02:00
Juan RP cfa18b4416 Massive renaming, pkgfs is now called xbps.
Also known as "xtraeme's build package system".

--HG--
extra : convert_revision : 119840ceae588fef65d6dcab651f607f54fa0be6
2008-10-13 07:32:05 +02:00
Juan RP c5e09892b5 Added libxslt-1.1.24 template.
--HG--
extra : convert_revision : 2c24c3ad0076959e6a82e947d2d1e88116945520
2008-10-13 06:26:35 +02:00
Juan RP ef0fe41c49 Added libgcrypt-1.4.3 template.
--HG--
extra : convert_revision : abe6b4b2103b9c42bea2eb3e3d203fba363d6acb
2008-10-13 06:18:52 +02:00
Juan RP aa35ce692a Added libgpg-error-1.6 template.
--HG--
extra : convert_revision : 46d5f117f85e18373de18ab93226ea728b5f2ae7
2008-10-13 05:33:25 +02:00
Juan RP 6575a051be Simplify template files by removing run_stuff_<stage>_<phase> variables.
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
2008-10-13 05:04:50 +02:00
Juan RP 3e4a2a977c Added xmlcatmgr-2.2 template.
--HG--
extra : convert_revision : adf09323e9455ff5ec35618c996ffee2e6d618a4
2008-10-13 04:50:32 +02:00
Juan RP c6da43c864 git: remove hardcoded /usr/pkg stuff from Makefile for NetBSD!
That means that the correct rpath dir is used now even if
/usr/pkg is there.

--HG--
extra : convert_revision : a1e1417bb9349274805426fd12676810f38a2c2e
2008-10-13 00:40:57 +02:00
Juan RP 05a7bcc95e curl: updated to 7.19.0 and enabled ldaps now.
--HG--
extra : convert_revision : a9edea94bf719d980af9866487a548ed53ee202a
2008-10-13 00:28:53 +02:00
Juan RP 15935a89d1 Added libXcursor-1.1.9 template.
--HG--
extra : convert_revision : 3f904573df016b26aae13ad0d993c1e664d248e4
2008-10-12 21:43:46 +02:00
Juan RP b53922a2ec Major changes adding new targets and supporting build phases.
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
2008-10-12 20:05:52 +02:00
Juan RP 2ed298ac70 libwmf: fix typo in previous.
--HG--
extra : convert_revision : 3791c69e2bdaad64b4a95113b8f69dca478f86dc
2008-10-11 14:09:03 +02:00
Juan RP ae78bca0fb libwmf: install stuff into the correct dirs.
--HG--
extra : convert_revision : c1b3578d93c9cda02e6f34d462eaafde598dc8ea
2008-10-11 13:50:58 +02:00
Juan RP 577dd85579 glib: ignore charset.alias and do not link it in masterdir.
--HG--
extra : convert_revision : f64baef000bec35c0e10b29a985d82090865f7af
2008-10-11 13:04:05 +02:00
Juan RP 955e05fa58 gettext-tools: only link against libintl provided by gettext-runtime.
--HG--
extra : convert_revision : f5957559a65e0fc1ed49214f9feae7fed3499b13
2008-10-11 11:06:37 +02:00
Juan RP 9df0bbed01 gettext-runtime: do not link against libintl from base.
--HG--
extra : convert_revision : 59206e9b1a020b0687d4505895cf3de711486c90
2008-10-11 09:47:05 +02:00
Juan RP 8a0d474c67 Added GIMP 2.6.1 template and other related stuff required.
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
2008-10-11 09:17:47 +02:00
Juan RP 1ff8e9e747 Added gettext-runtime and gettext-tools 0.17 templates.
--HG--
extra : convert_revision : 2b438f6d2798207327249cd0c5736291dd8f7aed
2008-10-11 08:40:18 +02:00
Juan RP f030c1fae5 Added babl-0.0.22, gegl-0.0.20, iso-codes-3.3 and mng-1.0.10 templates.
--HG--
extra : convert_revision : e42e0255389433a8b5b99438fea34fe33e487e3d
2008-10-11 06:33:25 +02:00
Juan RP ea82ff8d3d shared-mime-info: install the pkgconfig file in correct dir.
--HG--
extra : convert_revision : 008f93ddc3c8e051b0cafaca88be330821e22edb
2008-10-11 06:27:29 +02:00
Juan RP 8ad6467b0f Added libexif-0.6.16 template.
--HG--
extra : convert_revision : 18154fe6dbeec61634c4df6c555f704db145cd66
2008-10-11 02:33:03 +02:00
Juan RP 356b63e660 Added libart-2.3.20 template.
--HG--
extra : convert_revision : 42773223501d1ad0388944620aec737284006a18
2008-10-11 02:27:03 +02:00
Juan RP 774dc064ba Added lcms-1.17 template.
--HG--
extra : convert_revision : 3c1346e5a4faef5ed43d4d6c9b3dbbfea60dc513
2008-10-11 02:12:02 +02:00
Juan RP 6767460858 Added hicolor-icon-theme-0.10 and its acompannion helper.
--HG--
extra : convert_revision : 885f1c2f7759caa86909aed1831522d44b1e159f
2008-10-11 02:03:45 +02:00
Juan RP 259900136c Added shared-mime-info-0.51 template and its related helper.
--HG--
extra : convert_revision : 16763dc3fcd2361fef5ba0560c57a46b45333677
2008-10-10 19:14:25 +02:00
Juan RP 54139e95fb Added libwmf-0.2.8.4 template.
--HG--
extra : convert_revision : c45c116b539c4692b7cbe421039daf83eb53dc35
2008-10-10 18:36:53 +02:00
Juan RP ea6f54d724 pthread_attr_getschedparam() has been fixed on -current.
Remove glib's patch now that it's not needed.

--HG--
extra : convert_revision : ca3d40730eb576d7027826c7287a3ac3b4c61985
2008-10-10 15:05:10 +02:00
Juan RP c3a511ed1b Added poppler-0.10.0 and epdfview-0.1.6 templates.
--HG--
extra : convert_revision : 0916488178516c460155f0726b9fcaa3de9b47d3
2008-10-10 09:05:01 +02:00
Juan RP b76fe58826 Added gkrellm-2.3.2 template. YES, IT WORKS!!!
--HG--
extra : convert_revision : 0af07729a7e7df1564846952ae2a60253c2d1fa8
2008-10-10 07:38:56 +02:00
Juan RP e12127b861 glib: added a patch to fix gthread errors caught by gkrellm.
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
2008-10-10 07:37:17 +02:00
Juan RP a01d4997cc xorg-server: enable some more extensions.
--HG--
extra : convert_revision : 503f33993b029a2b5f47d1e54e1c4c5eadd95aeb
2008-10-10 06:30:56 +02:00
Juan RP 3b6d518c48 firefox: make it work on amd64 and install into the correct dir.
All patches were taken from pkgsrc.

--HG--
extra : convert_revision : a90ff297c78014f6ebc8e1361eadcbcd90d7e367
2008-10-10 04:31:46 +02:00
Juan RP 69f7cb761c Added firefox-3.0.3 template. Yes, it's working.
--HG--
extra : convert_revision : fac7e4b80eb7b0050e802441ac8174ec09727a25
2008-10-09 01:28:54 +02:00
Juan RP 87bfc20ca6 Added zip-2.32 template.
--HG--
extra : convert_revision : e052b3fe1076c708f50f5d26d1cbb306825b93a6
2008-10-09 00:44:28 +02:00
Juan RP 1d3449ba19 Added libIDL-0.8.11 template.
--HG--
extra : convert_revision : 0920b9868c8dc5bca8fa837c4fc940143f675ffa
2008-10-09 00:02:18 +02:00
Juan RP fde2cb983d Added sqlite-3.6.3 template... in preparation for firefox.
--HG--
extra : convert_revision : 08c7f087180fa5b7ddc37b82f2810841bed2f1cf
2008-10-08 23:54:44 +02:00
Juan RP 49cdd3c7a9 sylpheed: add a patch to build with latest GTK+.
I will submit it upstream later...

--HG--
extra : convert_revision : 6c604ee67c9a5ae29c3c69495996b51d1b0a7cd0
2008-10-08 20:09:59 +02:00
Juan RP 012beff7ba xorg-server: add a patch from pkgsrc to workaround pointer jumps.
It still happens but not as frequent as before...

--HG--
extra : convert_revision : a262ca7ffd8adb320a54ab67da3fcd4d1eb2e098
2008-10-08 19:32:52 +02:00
juan a71a679744 Added some templates to be able to run X11 on VMware.
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
2008-10-08 18:33:34 +02:00
juan 3751e61133 Updated libxml2 to 2.7.2 because previous distfile dissapeared.
--HG--
extra : convert_revision : 66aacd033e930d7a21e9bc4d77e4b675ff40f2f1
2008-10-08 18:31:52 +02:00
Juan RP 5691c92bea Added xprop-1.0.4 template.
--HG--
extra : convert_revision : 234f790d65e241e753bbbd20edcd11207db91521
2008-10-08 14:58:15 +02:00
Juan RP 8b651c76f2 Added xset-1.0.4 template.
--HG--
extra : convert_revision : 7144d6033fe212ad931cebd2288c20354c1284f9
2008-10-08 14:55:31 +02:00
Juan RP 7007ff6bcb Added freeglut-2.4.0 template.
--HG--
extra : convert_revision : cb399af1e10aa383bd3ce009fcd5f284a2160bdd
2008-10-08 14:46:04 +02:00
Juan RP 54e31f2866 Added imlib2-1.4.0 and libungif-4.1.4 templates.
--HG--
extra : convert_revision : f47c0178993ebc48b7952939516b8889b8fca8d5
2008-10-08 07:27:10 +02:00
Juan RP 56212ac244 Added sudo-1.6.9p17 template.
--HG--
extra : convert_revision : 3597f137b1b6395818359707aef83b21da63aa54
2008-10-08 07:03:47 +02:00
Juan RP 826cd990a2 Added xbitmaps-1.0.1 and xsetroot-1.0.2 templates.
--HG--
extra : convert_revision : 61d75b7247529f369e46247a9a670dbc388f7d61
2008-10-08 06:35:52 +02:00
Juan RP a0b2ade754 xorg-server: use --enable-install-setuid.
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
2008-10-08 03:38:56 +02:00
Juan RP db228de0b9 Added xf86-input-vmmouse-12.5.1 template.
--HG--
extra : convert_revision : dcfce7de8a49cb3d575e8da23602d5f6fc8236dc
2008-10-07 06:09:26 +02:00
Juan RP 50e8ff7378 Added xf86-input-joystick-1.3.3 template.
--HG--
extra : convert_revision : 3149c579c564f71703eac3c45bb17f424e8360a7
2008-10-07 05:47:26 +02:00
Juan RP b69cd15697 Added xf86-video-radeonhd-1.2.1 template.
--HG--
extra : convert_revision : bbfbcf73cacb7273159c779d34a247c3221fe6be
2008-10-07 05:43:31 +02:00
Juan RP 3cb450def7 Added xf86-video-intel-2.4.2 template.
--HG--
extra : convert_revision : 5c7557276705df7f44e5a9c9941a525d162f9c7c
2008-10-07 05:36:05 +02:00
Juan RP 2323e40109 Added libXv-1.0.4 and libXvMC-1.0.4 templates.
--HG--
extra : convert_revision : 3cac17b50e497dcd677fa815810f53b945dc135d
2008-10-07 05:30:50 +02:00
Juan RP caa31397d9 Fixed mc and ruby to install into correct destdir.
--HG--
extra : convert_revision : 5acc297a85412cc7e21d7401e66363690933991f
2008-10-07 03:59:16 +02:00
Juan RP bf1c05da71 jpeg: change version to 6.0b to find it as dependency.
Current code uses "-[0-9].*" to find the version string, so
I think that is the best option.

--HG--
extra : convert_revision : 60767af56678c07ebbb241ff7965856082b4cbe4
2008-10-07 03:35:20 +02:00
Juan RP 27870b10e8 Introduce the concept of "meta-templates".
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
2008-10-07 02:55:37 +02:00
Juan RP 1f7ea3a3ca font-adobe-utopia-type1: don't forget to run mkfont* stuff.
--HG--
extra : convert_revision : aa231349a9f45863bca9de8be2f77b520465941e
2008-10-07 02:54:01 +02:00
Juan RP 82546ecfef Added remaining font-bitstream-* templates.
--HG--
extra : convert_revision : 9a84ea5d74b182c569cb06d760de807b92c660a7
2008-10-07 01:54:47 +02:00
Juan RP 9ed89de4cc Added font-bitstream-100dpi-1.0.0 template.
--HG--
extra : convert_revision : e07c4f3e8585d1070c009924d424bb1fb88ab06f
2008-10-07 01:24:44 +02:00
Juan RP e8106a4a6a xorg-server: set --with-xkb-output explicitly.
With all this set of changes, xorg-server fully WORKS!

--HG--
extra : convert_revision : f10f8f32c4b44f0476e31ee25225ec3f46c09519
2008-10-07 00:14:19 +02:00
Juan RP cab440d638 xkeyboard-config: use --enable-compat-rules.
--HG--
extra : convert_revision : 0ff2bb87aa35c339cdccc5aa9627a231edd1e5cd
2008-10-07 00:12:55 +02:00
Juan RP 7befbe97ab Added xauth-1.0.3 and xinit-1.1.0 templates.
--HG--
extra : convert_revision : 044549bd8b6f06c3543908e95a36c19e6e964887
2008-10-06 23:29:59 +02:00
Juan RP ef668d63b4 xkeyboard-config: make xorg a symlink of xfree86 via configure_args.
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
2008-10-06 23:15:09 +02:00
Juan RP 6c0ceb6525 Added encodings-1.0.2 template.
--HG--
extra : convert_revision : 4e5188feae04020aebd07c611582ca6ce538e32f
2008-10-06 23:00:38 +02:00
Juan RP 9ec1cfd802 Added font-bh-ttf-1.0.0 and font-bh-type1-1.0.0 templates.
--HG--
extra : convert_revision : 7663da994c08499562a796bcba24b8cd525aff14
2008-10-06 22:56:27 +02:00
Juan RP 75bb8fbd06 Added font-bh-* templates.
--HG--
extra : convert_revision : 55522e16730fb6da3a85af455f140ec8a219fd7a
2008-10-06 22:46:21 +02:00
Juan RP 80e512a486 Added font-adobe-utopia-75dpi, font-adobe-utopia-type1 and font-alias
templates.

--HG--
extra : convert_revision : a890d06545e44921e5d2a87e6a4e9dfecc839eaf
2008-10-06 21:33:53 +02:00
Juan RP 9325f61bc0 Added xf86-input-keyboard, xf86-input-mouse and xf86-video-ati templates.
--HG--
extra : convert_revision : 27b48270c66005fdeafa109e7931063c613607f7
2008-10-06 21:14:58 +02:00
Juan RP b2dee1f637 Added NetBSD support to libpciaccess.
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
2008-10-06 21:11:03 +02:00
Juan RP 62c4509bd8 Added font-adobe-utopia-100dpi template.
--HG--
extra : convert_revision : 68382c13fcfc4fb9e2067024350bb14110de66b0
2008-10-06 17:03:19 +02:00
Juan RP 6ade2fe36a Some changes for better use of postinstall_helpers and run_stuff_*.
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
2008-10-06 16:57:36 +02:00
Juan RP 0d96fc4b8f Added font-adobe-75dpi-1.0.0 template.
--HG--
extra : convert_revision : 817bf04b2f2ffd78dc80f068fc8dda02ce55eecb
2008-10-06 05:57:25 +02:00
Juan RP 9df9233941 Added sylpheed-2.6.0beta1, but doesn't build with GTK+ 2.14.x.
--HG--
extra : convert_revision : b3319b1330d54fae8a35990b6155b230c60166cb
2008-10-06 05:48:43 +02:00
Juan RP 1543ffa25a Update xkeyboard-config to 1.4.
--HG--
extra : convert_revision : bb8f841834b99968f8c93ef10314777b07fcb094
2008-10-06 05:21:07 +02:00
Juan RP a888a3357b libtool: changed ltmain.sh to not add references to $destdir.
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
2008-10-06 05:08:33 +02:00
Juan RP 0f9b63e2a1 libX11: override X11_LOCALELIBDIR at install time and revert previous.
--HG--
extra : convert_revision : 34c8ce68c9bcb96f2d6dc8a112cf40d589939dd7
2008-10-06 04:11:47 +02:00
Juan RP e51058bb61 Override a path at install target to install into correct location.
--HG--
extra : convert_revision : 104b7b38f34bcf942f2aabd5f73d4040d48e80ab
2008-10-06 01:20:35 +02:00
Juan RP a891a9c571 libX11: also pass --libdir to install into correct dir.
--HG--
extra : convert_revision : 986dd179bf9fbf5b4dbec7a7b64a03c7196813e9
2008-10-06 00:33:07 +02:00
Juan RP fe56718ac0 Update libidn to 1.10.
--HG--
extra : convert_revision : d57f0df59cf84a02bf4b1476448efe803549e0c8
2008-10-05 21:42:19 +02:00
Juan RP 63f8f0912d Added font-adobe-100dpi-1.0.0, mkfontdir-1.0.4 and mkfontscale-1.0.5
templates.

--HG--
extra : convert_revision : c0596df933142306b2ba848a3f4087e67d3c7ff0
2008-10-04 17:16:00 +02:00
Juan RP a66c7f448e Added bdftopcf-1.0.1 template.
--HG--
extra : convert_revision : 29df476f9c51dc79b46c9d0612d0c8d687f498b5
2008-10-04 16:40:04 +02:00
Juan RP 64dc46f2a6 Added font-util-1.0.1 template.
--HG--
extra : convert_revision : b15964a859f61f0083cd26a998bb4d74cff57fdd
2008-10-04 16:29:00 +02:00
Juan RP 7029fec44d Also transform glitz-glx.pc in glitz template, now that MesaLib has
been fixed.

--HG--
extra : convert_revision : 55d45f4532556103fdd7c42a5d1c4fd6e0714681
2008-10-04 14:04:03 +02:00
Juan RP 78dfdd4241 libX11: Enable loadable I18N modules and set --datarootdir explicitly.
--HG--
extra : convert_revision : e8379818dd415e61d85435f166059a1f3524d37b
2008-10-04 13:43:50 +02:00
Juan RP e9def74b60 Mega patch to improve how build dependencies are handled and
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
2008-10-04 06:29:49 +02:00
Juan RP a1218c3f0b Make xorg-server build with DRI and GLX support now that MesaLib
has been fixed.

--HG--
extra : convert_revision : 17892a3a19cf904db170119b3b66add4d23f32cc
2008-10-04 00:56:27 +02:00
Juan RP a2c364b096 Fix MesaLib to build shared libraries and DRI modules.
--HG--
extra : convert_revision : e16d8a77a96c0a5789f184919665e7fe123f7993
2008-10-04 00:55:53 +02:00
Juan RP af116bf467 Added libXrandr-1.2.3 and pekwm-0.1.7 templates.
--HG--
extra : convert_revision : d698ea0e7c9aa8f6716613dbc259881d7d5d569b
2008-10-03 18:12:04 +02:00
Juan RP 724b821f30 Remove unnecessary arguments to LDFLAGS in python.
--HG--
extra : convert_revision : f21485b2f4ae6e2786151359a84933e2e9e5a3a9
2008-10-03 17:55:09 +02:00
Juan RP 0869d755ca Set CURLDIR via $configure_env in the git template, otherwise it won't
find the curl headers/lib.

--HG--
extra : convert_revision : e0a6bae386b15528f32502d84e730621713b0ee1
2008-10-03 17:38:50 +02:00
Juan RP 9078783ed1 Added three new helpers to be used by packages requiring GTK+ and
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
2008-10-03 17:19:37 +02:00
Juan RP 902512dd96 Multiple bugfixes and improvements after building gtk+ from scratch.
- 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
2008-10-03 14:32:26 +02:00
Juan RP bde7452fba Added gtk+-2.14.3 template. I'm currently working in some helpers
to update gdk-pixbuf.loaders and pango.modules... stay tuned.

--HG--
extra : convert_revision : c437acc341ff2c4e06e67f8e2649f532de73c252
2008-10-03 02:48:02 +02:00
Juan RP c9724cada7 Added libXinerama-1.0.3 template.
--HG--
extra : convert_revision : ab6516d1cf4da59827b4f33158e167096c7614f8
2008-10-03 01:11:09 +02:00
Juan RP b1c2d7613a Added support for building packages that use GNU or BSD Makefiles
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
2008-10-03 00:44:43 +02:00
Juan RP 208f99981a Added pango-1.22.0 template.
--HG--
extra : convert_revision : 4c52bd298949f03fab39c5428b941e0a5011efa9
2008-10-02 22:46:19 +02:00
Juan RP bc27614d53 Added libXft-2.1.13 template.
--HG--
extra : convert_revision : ad889dc302d1212a68c97662bebf9e1846dfca20
2008-10-02 22:31:33 +02:00
Juan RP b3ec7fdaa0 Add a patch to remove a block in doc/public/Makefile.in that uses
"which gtkdoc-rebase", which is unavailable for cairo.

--HG--
extra : convert_revision : 15c0ee3ae15fbb0c5943d0d1fb683d4fd27c2737
2008-10-02 21:56:05 +02:00
Juan RP ba3bf39409 Added cairo-1.7.6 template.
--HG--
extra : convert_revision : ae8cb5621e96bac133c801783656ca086c13c6df
2008-10-02 19:50:48 +02:00
Juan RP 681ce4fe81 Added glitz-0.5.6 template.
--HG--
extra : convert_revision : 5db6071b91a551637be1415d983d21892339edd4
2008-10-02 19:17:50 +02:00
Juan RP 52d473acc1 Added tiff-3.8.2 template.
--HG--
extra : convert_revision : bf3f291eba314d31bbf054cd6935a97cf9e41897
2008-10-02 19:09:56 +02:00
Juan RP 161abb75e7 Added libpng-1.2.32 template.
--HG--
extra : convert_revision : 17c472da22f2608f2ee51bb49830783909cfd7f1
2008-10-02 19:01:17 +02:00
Juan RP 8f11172f55 Added jpeg-6b template.
--HG--
extra : convert_revision : bb0a76c378d7fb1547abaf55a77016a547b6fc91
2008-10-02 18:41:25 +02:00
Juan RP 47e0dc43cd Added $make_{build,install}_target, to be used in templates.
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
2008-10-02 18:39:26 +02:00
Juan RP 43077fd21d Added fontconfig-2.6.0 and libxml2-2.7.1.
--HG--
extra : convert_revision : 9ab3430790647c809ceae2d662836ebfd1b0ee7c
2008-10-02 09:09:21 +02:00
Juan RP e6f5227c2a Added atk-1.24.0 template.
--HG--
extra : convert_revision : 347b8a05398cf55c0016c929bd6f6388d51da446
2008-10-02 08:46:18 +02:00
Juan RP a5c379d1d4 Added xorg-server-1.5.1, the latest one. GLX and DRI are disabled due
to mesa errors... but I don't really care much for now.

--HG--
extra : convert_revision : 5ada8a27c43b870e7503b6e55316d3055b6cf88d
2008-10-02 08:29:13 +02:00
Juan RP 8ac55ef618 Added dmxproto-2.2.2, libXrender-0.9.4 and libpciaccess-0.10.3.
All deps for xorg-server are now resolved...

--HG--
extra : convert_revision : 137e3c86bf222e14caba1ceb0f114f8a3e786867
2008-10-02 08:13:55 +02:00
Juan RP f4a6d7a16b Added MesaLib-7.2 template, DRI support is not built in... will fix this
later.

--HG--
extra : convert_revision : 2bcda2c38d12ec778b31efafbf34c0294859cc97
2008-10-02 07:36:10 +02:00
Juan RP 6a38c8bf2e Added libXdamage-1.1.1 template.
--HG--
extra : convert_revision : 946d3e0158adec1e6629143dc92caa8d915b8ec7
2008-10-02 06:47:10 +02:00
Juan RP e9e79a8087 Added util-macros-1.1.6 and xineramaproto-1.1.2.
--HG--
extra : convert_revision : 89d9f6804ebb24b3703244b46c5a76a2221baf29
2008-10-02 05:08:34 +02:00
Juan RP 5dd7a6203b Again: 755 for all template files.
--HG--
extra : convert_revision : 5c104a0b9a1df58d57494ee1c20402eadb94760e
2008-10-02 04:54:09 +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 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 812ae0695e Added xkeyboard-config-1.3 template.
--HG--
extra : convert_revision : 9d3cb7e7c857f53fcfda1b6788746c7b6715c913
2008-10-02 02:32:01 +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 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 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 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