Commit graph

67 commits

Author SHA1 Message Date
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
Juan RP
854f8ba687 Change permission mode to 755 in some template files, for consistency
with all the other ones.

--HG--
extra : convert_revision : f1efaa4dbe73e72f0e00e7435163bef35a557fb1
2008-10-01 01:01:53 +02:00
Juan RP
1c0c15eeef Added vim-7.2 template.
--HG--
extra : convert_revision : 5ff3e5e547fc481cfea264b1dc524311aeea5f23
2008-10-01 01:01:18 +02:00
Juan RP
f369e3648b Use the pkg-config helper in libX11 required deps and fix libX11 deps db file.
--HG--
extra : convert_revision : 8604fbfd9918bfca3c3ceb2dbd068754f3b0d218
2008-09-30 23:18:02 +02:00
Juan RP
01799e1e18 Multiple changes to gnu_configure style packages, as well as other
changes to allow better linking flags in future packages through
pkg-config.

Removed the PKGFS_TEMPLATESDIR, PKGFS_DEPSDIR and others that weren't
too useful. Instead use a single PKGFS_DISTRIBUTIONDIR on which all
those directories/files can be found.

Added a template helper for pkg-config, that changes a pkg-config file
after it's installed to produce correct linker paths.

More helpers could be added in the future.

--HG--
extra : convert_revision : a42fd2e72915a4219714de92579011bca2b0f4a6
2008-09-30 22:48:52 +02:00
Juan RP
42eda74f0d There's no need to defined path to pkg-config in glib's template anymore.
pkgfs.sh does this if build_style=gnu_configure.

--HG--
extra : convert_revision : 77c700a9700dbd848b31b4b9d12af609c2310c7f
2008-09-30 18:59:00 +02:00
Juan RP
26c001f582 Pass some more args to gnu configure scripts to get the correct dirs
and remove specific hacks from templates.

--HG--
extra : convert_revision : 3abbceb03c42e5d38bfae226ee433f2461b77ce7
2008-09-30 18:58:04 +02:00
Juan RP
6c2449b7e1 Fix libidn pkg-config file. It was looking at PKGFS_DESTDIR rather
than PKGFS_MASTERDIR!

--HG--
extra : convert_revision : 091e9a8c91e27230c47d6f7116e8f85e3ad76e83
2008-09-30 18:38:44 +02:00
Juan RP
2a2f97a1da Really fix python build this time, and use some patches from pkgsrc
to fix curses, mremap, and bluetooth modules.

--HG--
extra : convert_revision : fd555dc3aeb2085fe1d7913bd5d4fdc24c41959e
2008-09-30 17:16:02 +02:00
Juan RP
ec04f32481 Pass consistent arguments to configure script if build_style=gnu_configure,
so that we can install the info files into the same directory, as well
as not requiring passing stuff from random templates.

While here use merge-info from Xstow to merge two info dir files.

As bonus I added git-1.6.0.2 and its dependencies, based on work done by
morr@. Thank you!

A git package built with pkgfs is fully functional now, enjoy!

--HG--
extra : convert_revision : 97c0b5c4b24cc6d63594f0f467349b13ea553980
2008-09-30 15:22:57 +02:00
Juan RP
5aa453e8f8 Minor nit to the perl's template comment.
--HG--
extra : convert_revision : 89ea8480061faaa4d3fca053443f76a2164809c7
2008-09-30 14:38:59 +02:00
Juan RP
f0a64e19ab Pass the correct directory to find the pkg-config files.
--HG--
extra : convert_revision : f2c34b0fdb2cd70f7177fed8e2c3350ede663f45
2008-09-30 14:38:11 +02:00