Commit Graph

24735 Commits

Author SHA1 Message Date
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
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
50939e53c9 Add missing glproto dependency to MesaLib.
--HG--
extra : convert_revision : b87ff3e446496cc45d7f4335313d41bed4e314a7
2008-10-04 00:55:01 +02:00
Juan RP
2b14031db2 Some changes in how the configuration file is searched.
If the configuration file is not specified through the -c flag, try
to find it before at default location, and as last resort in current
directory.

This avoids having to specify -c all the time, even if you are using
it from distribution dir.

--HG--
extra : convert_revision : d0b48a1e53a064fe011c72c4f2492a897b113179
2008-10-03 18:53:58 +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
ce2680b740 Add PKGFS_SYSCONFDIR option to the configuration file.
This is the directory where the configuration files in a package
will be installed. pkgfs won't have control over it, so if a package
overwrites them, be sure to make a backup!

--HG--
extra : convert_revision : a96e3871f7683f96b8711aa060dddadcb4970cb2
2008-10-03 15:41:26 +02:00
Juan RP
32ae8e7df3 Add missing xf86dgaproto dependency to xorg-server.
--HG--
extra : convert_revision : f83bb4977e79366621891894b642e441fce9c624
2008-10-03 14:44:50 +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
6d6d456951 Add missing videoproto dependency to xorg-server.
--HG--
extra : convert_revision : a3e3cc1f6f04d6a6111980b1069ea31f0dc532bf
2008-10-03 14:30:32 +02:00
Juan RP
d8034919a3 Fix typo in previous commit that broke libX11.
--HG--
extra : convert_revision : 63e0e3869ea483c8c451e27fb939947939bee39e
2008-10-03 03:24:57 +02:00
Juan RP
84f4968e8d Add missing xf86bigfontproto dependency to libX11.
--HG--
extra : convert_revision : c3fc72fc41d1a4003552a5b4e6e4045c84421e4b
2008-10-03 03:03:25 +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
39d7aee194 Add make_{build,install}_target to reset_tmpl_vars().
--HG--
extra : convert_revision : 228eda501c8fe292202dfa69393f7190bc5e53cd
2008-10-02 22:56:00 +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