Commit graph

285 commits

Author SHA1 Message Date
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 a5c39c58aa gettext-runtime: add missing libtool dependency.
--HG--
extra : convert_revision : 2ea4dbf54461325966c37534c8b8b68fde67f6e2
2008-10-16 08:19:59 +02:00
Juan RP 43ecc15c53 mono: added missing XML-Parser dependency.
--HG--
extra : convert_revision : ac59d4648fd564f7376821f04ff23131685069bf
2008-10-16 07:26:53 +02:00
Juan RP bee2cfe2c2 Fixup info_tmpl now that $url is gone.
--HG--
extra : convert_revision : b79e598e34d9297e690ed130d28c99f404ad51e4
2008-10-16 06:59:32 +02:00
Juan RP 289b8130a2 If exists $wrksrc/ltmain.sh make libtool available.
--HG--
extra : convert_revision : bacfefa0436ac6c61f7958ac5a81f67b0ce0ea72
2008-10-16 06:31:40 +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 b3f4a90070 Do not set blindly 'prefix=...' in the install phase.
Rather if $make_install_prefix is not defined, use defaults.

--HG--
extra : convert_revision : be83ac6eefe4dce25e82f7c57a9063dd77e5b049
2008-10-16 06:18:25 +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 7c5b471ca0 Ignore fixup_tmpl_libtool if $pkgname = libtool.
--HG--
extra : convert_revision : 2c3cea2b0eda84ad4e7c79eb78af8acb7a41ad89
2008-10-16 03:29:19 +02:00
Juan RP d45bdcbbfa xbps.sh: use configure_script if it's set in templates.
--HG--
extra : convert_revision : b10300a5b10ca2ba1bb0751733bd9820f9092b6c
2008-10-16 00:57:53 +02:00
Juan RP cf00486d45 replace-interpreter: fix chmod.
--HG--
extra : convert_revision : 2ef1a74fa2ddbf99cb4f7113abd3e23c31bdb910
2008-10-16 00:24:17 +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 9c31a76231 xbps.sh: remove $wrksrc/ltmain.sh before making the link.
--HG--
extra : convert_revision : 380e630bc66a54b08447bd0c636cec0c2cb93a08
2008-10-15 02:19:31 +02:00
Juan RP abb748cf1e xbps.sh: add {sgml,xml}_entries vars into reset_tmpl_vars.
--HG--
extra : convert_revision : 7f2b11b0143040d90c22cfaf38bb059a7c36985c
2008-10-15 02:00:56 +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 99dff83ee4 Added a new helper to register DTDs and XML/SGML catalogs via xmlcatmgr.
--HG--
extra : convert_revision : f88895c26edc3d030b53540136415fe1e66ce90b
2008-10-15 01:59:41 +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 4833911e22 xbps.sh: override all libtool scripts after configure.
--HG--
extra : convert_revision : 555b2d477c4e0691a8d1994ad7ee264c161e372f
2008-10-15 00:21:35 +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 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