Commit graph

12712 commits

Author SHA1 Message Date
Juan RP
9b3f2656b0 Bah. Fix info_tmpl() this time.
--HG--
extra : convert_revision : 1beba2e6110298e38650ef8078d334ea5fb419d8
2008-10-07 04:07: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
6e5dfe2907 Fix info_tmpl() and more strict dependency version checks.
--HG--
extra : convert_revision : c7f02e1c10366a5d51a370efffc95af356026914
2008-10-07 01:39:32 +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
b9c94dbdbd Added PKGFS_MAKEJOBS to the configuration file.
This specifies the number of GNU/BSD make jobs while building packages.
It's disabled by default.

--HG--
extra : convert_revision : d422b7df36276b849e2a19113c5407ed67bffa68
2008-10-07 00:10:13 +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
ef661f001c mktmpl.sh: if PKGFS_SRCDISTDIR doesn't exist, create it.
--HG--
extra : convert_revision : 3fa28c8652b9536a50b26d1a9eafe7d562ded214
2008-10-06 15:58:14 +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
efe4616185 Added missing gmake dependency to libpng.
--HG--
extra : convert_revision : bb1e01abc7b1a54c55ff38500c732d1af47beb8c
2008-10-06 04:31:24 +02:00
Juan RP
de994b8fa4 Added default build directory to .gitignore.
--HG--
extra : convert_revision : 5477683e469e0e901562ae4cf2efa1577580d576
2008-10-06 04:13:00 +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
21886c627f Fix unzip's helper to work with last set of changes.
--HG--
extra : convert_revision : 69852888e9293ee0bbbcd8aa380f8dc6a7403e02
2008-10-06 02:51:34 +02:00
Juan RP
16ae7bdf63 Added a .gitignore file to ignore default created dirs.
--HG--
extra : convert_revision : d473acec23244590a51d885df2c56c224a4cd6c4
2008-10-06 02:04:54 +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
d36db715e5 Implement a very basic routine to check minimal required dependency.
It's a very basic routine in shell+sed that checks if the installed
package version is greater than the one required. It works by removing
all stuff that is not a digit from $version, and comparing with
-gt or -eq to the required version.

It's not optimal and will give errors, but for now seems to work.

--HG--
extra : convert_revision : 5773180344f6759d0992a837f02608fe61603664
2008-10-05 21:23:39 +02:00
Juan RP
15f4d9b5dd Add a function to remove duplicate deps and print the ones that are
installed as well as the ones are not installed.

--HG--
extra : convert_revision : 8412f9ed0a59f83932a98da1e1309b7d3044b669
2008-10-04 20:44:56 +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
1b7cd6814b Bah, fix mktmpl.sh by adding a missing continuation line char.
--HG--
extra : convert_revision : d2dd99aacf50c6a5d66ceee82b380ed5911a4af3
2008-10-04 16:52:04 +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
39c3c5da7b Sync mktmpl.sh with current code.
--HG--
extra : convert_revision : 68e2d79c424b30aed9d33aca792bf625049823c9
2008-10-04 16:33:03 +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
725ad53038 Add another helper to replace default perl shebang path with the
one pointing at PKGFS_MASTERDIR.

--HG--
extra : convert_revision : d17d9634efe15636385b52e92f66434a89d1efae
2008-10-04 16:27:56 +02:00
Juan RP
21fadc77d8 Only run pkgconfig_transform_file if file is there.
--HG--
extra : convert_revision : 8639a06fd5e8787331a5092ee6067ee71dad8fd2
2008-10-04 16:27:27 +02:00
Juan RP
b4b9a41fac Update PERFORMANCE section with numbers building libX11 and all
its dependencies in pkgfs vs pkgsrc. You know, pkgsrc is 40% slower.

--HG--
extra : convert_revision : 6fe7cc35419d7d936cc4a996c481a7b5da57cf44
2008-10-04 15:09:11 +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
ff05dd1e42 Fix remove_tmpl() and misc cosmetics to info_tmpl().
--HG--
extra : convert_revision : fa0c299f6d8a85c2a99932eef471dd46a5c31a9c
2008-10-04 14:02:39 +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
98b7b40a7b Update README to match current behaviour of code.
--HG--
extra : convert_revision : a402005d8da8335c696889b9c5a264a5b8cb1bb2
2008-10-04 06:35:43 +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
4cd4543c72 Add missing xf86driproto dependency to xorg-server.
--HG--
extra : convert_revision : 446a0cb50a38173871f6b9be1b7c2682c168914b
2008-10-04 01:08:15 +02:00