Commit Graph

278 Commits

Author SHA1 Message Date
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