Commit graph

3208 commits

Author SHA1 Message Date
Juan RP
b9107abc20 replace-interpreter.sh: also set chmod a+x in new created files.
--HG--
extra : convert_revision : 12b704d249814755ee9162cac934410a906cb723
2008-10-14 19:32:17 +02:00
Juan RP
b2378e259c Fix replace-interpreter.sh to use doble quotes in sed.
--HG--
extra : convert_revision : 9159fb23ddb11d4980276064f4d7aebad1927ad9
2008-10-14 19:22:05 +02:00
Juan RP
105c647e3b xbps.sh: move fixup_tmpl_libtool to the configure phase.
--HG--
extra : convert_revision : aafb25725f51716896e3d32799571dd64e42981a
2008-10-14 18:44:31 +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
e1128e1871 replace-interpreter.sh: fix typo.
--HG--
extra : convert_revision : 56cafcdda4ea65996b9f73d863eb56525d6da75e
2008-10-14 18:26:31 +02:00
Juan RP
15a0e2c005 Added a new helper that replaces wrong shebang paths.
Inspired by replace-interpreter.mk from pkgsrc.

--HG--
extra : convert_revision : 7e7096b97c156ea861d3d782f2af532d1e73f5fd
2008-10-14 18:24:53 +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
20691bb4b2 Add support to use another tar(1) command than the one in base.
A new variable may be used in templates, $tar_override_cmd.
This accepts a full path to the binary, note that dependency must
be added before using this.

--HG--
extra : convert_revision : fc2a20d8e0104152d624d355e077e2b4219a1b73
2008-10-14 09:27:25 +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
cdf77cd1ad pkgfs.sh: misc bugs fixed and performance improvements.
- Fixed a bug with XBPS_MAKEJOBS that only worked for the first package.
- Fixed a bug in dependency handling when pkg A depends on B, and
  package C that needs B wasn't installed, so it was skipped.
- Improvement to not source the template file if it's currently sourced.

--HG--
extra : convert_revision : 27b7e95b2360258db8da92063f173da7558be9ba
2008-10-13 10:28:51 +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
0f17943ee8 xbps.sh: fix runstuff by removing a spurious char!
Also unset some vars ASAP if they aren't used anymore.

--HG--
extra : convert_revision : 055ecc0e1dced7ed2d123d11d9e8baf4074e8b61
2008-10-13 09:08:10 +02:00
Juan RP
84d4f6391a Change helper-templates files to mode 644.
--HG--
extra : convert_revision : a156c08bb49d2314e667b86feba5a5a3180e39f2
2008-10-13 07:51:55 +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
b947d143c7 Massive renaming: pkgfs is now called xbps.
Also known as "xtraeme's build package system".

--HG--
extra : convert_revision : 3c3a8604ca064e711631bcc09be5276ec11f90b2
2008-10-13 07:29:38 +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
6752045a4f README: explain the 'listfiles' target.
--HG--
extra : convert_revision : 38a1815946f4b65ae4aa6f49e2a6cda80c638c6c
2008-10-13 06:19: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
6a5e9b27c8 pkgfs.sh: add a new target 'listfiles'.
This target lists the files (sorted) installed by a package.
Please note that package must be available in destdir and that
you must specify pkgname-version as argument.

--HG--
extra : convert_revision : 0e9010a41e4cb658403bc21226bf985fe21b8907
2008-10-13 05:50:40 +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
037049a438 pkgfs.sh: fix install target.
--HG--
extra : convert_revision : c569e39e4506522606771df4f68611f0735abc5a
2008-10-13 05:30:59 +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
ba2fd360bb pkgfs.sh: updated TODO with more wanted items.
--HG--
extra : convert_revision : 81430a79c6539799dc6b2ecaf1fab3a48a0f35f0
2008-10-13 02:29:14 +02:00
Juan RP
48c3875d83 README: remove stuff about PKGFS_TEMPLATESDIR.
The user doesn't have to mess with it anymore.

--HG--
extra : convert_revision : 7d14d681346a544f6cc3c4a8be53df42965388ca
2008-10-13 01:18:59 +02:00
Juan RP
c80d154fc4 pkgfs.sh: added new 'install-destdir' target.
This target will build and install a package into destdir but without
stowning it in masterdir. Useful to test new versions with already
stowned packages.

--HG--
extra : convert_revision : 6845fd51ecb6791396717339e0c3b23edcd61d85
2008-10-13 01:11:24 +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
d9b394647c pkgfs.sh: fix configure_src_phase::configure_args paths.
--HG--
extra : convert_revision : aadd57402fda4def956aa7ebf50261747e4a524f
2008-10-13 00:14:51 +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
efb3bf3ec4 sylpheed: add missing GTK+ dependency.
--HG--
extra : convert_revision : 7fb85c0a37c0f7080eee6507888ce5cceff0f53d
2008-10-12 21:09:35 +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
f0890caaba jpeg: missing libtool dependency.
--HG--
extra : convert_revision : 3573276bfa9dbfb5af04f84078558cecdbd962bd
2008-10-12 03:22:30 +02:00
Juan RP
11103a49a8 pkgfs.sh: misc changes to collapse various conditionals into one line.
Also some misc cosmetics in messages.

--HG--
extra : convert_revision : d61042aac5bac8be07638beb9b7cd85bae1da577
2008-10-11 15:48:01 +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
3784047244 autoconf: missing perl dependency.
--HG--
extra : convert_revision : 72ac96cf12c091a64edc1a0ab2b7f7d938b4f596
2008-10-11 12:44:13 +02:00
Juan RP
3c63eaa15f pkgfs.sh: also reset the build vars in reset_tmpl_vars().
--HG--
extra : convert_revision : 9b679b8eed80e0189ea70cdc0d992b11baa7aaad
2008-10-11 12:35:04 +02:00
Juan RP
5a8e34edf2 gettext-runtime: needs gmake dependency.
--HG--
extra : convert_revision : 4802f8a33a84444ac29fce2bb198912661f08df9
2008-10-11 12:34:40 +02:00
Juan RP
0d54f15a4a pkg-config needs libtool, add its build dependency.
--HG--
extra : convert_revision : c1445b960c7cc2a293a0598a8e6007584436ad87
2008-10-11 12:28:12 +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