Commit graph

38 commits

Author SHA1 Message Date
asau
e1ab7079b6 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-31 11:16:30 +00:00
joerg
124e47c5d3 Drop lvalue cast to allow building with Clang. 2011-07-19 13:57:17 +00:00
wiz
92b0be14fd regen, line numbers were too high and patch warned about it.
No effective changes.
2010-02-07 16:12:25 +00:00
wiz
0338e5db2c Update to 0.3.17:
liboil-0.3.17
=============

New release of liboil out.  Fixes a bunch of compile bugs.

***** WARNING *****

Liboil is now in maintenence-only mode.  No new features will
be added, and bugs will be fixed according to their severity and
availablility of patches.

Users of liboil are recommended to switch to Orc
(http://code.entropywave.com/projects/orc/).  Please contact
David Schleef <ds at schleef.org> about converting liboil functions
to Orc code -- in many cases this work has already been done.
2010-02-07 16:10:02 +00:00
joerg
bacea7cad5 Remove @dirrm entries from PLISTs 2009-06-14 17:48:39 +00:00
tron
14425475c3 Fix the build under Mac OS X PowerPC by disabling the assembler routines. 2009-03-23 17:10:21 +00:00
wiz
3c1a4c919f Update to 0.3.16:
Version bump
if's need else's. Fix previous commit
Wrap force_align_arg_pointer in HAVE_I386
Add AltiVec detection support for OpenBSD
Fix double free on failed arm_init
Add SSE detection support for OpenBSD
init: shortcut benchmarking, if there is only one runable implementation.
Add x86_64/amd64 to unaligned access whitelist
Add cris to unaligned access whitelist
remove ltdl.m4
Clean up function prototypes used for casting
bump version
Remove ' DATA' from symbol list
Add srcdir to includes for out-of-source builds
Fix cpu detection on OS/X
Add avg2_32xn_u8
2009-03-22 21:02:17 +00:00
joerg
2d1ba244e9 Simply and speed up buildlink3.mk files and processing.
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
2009-03-20 19:23:50 +00:00
he
451a51f1da Upgrade from version 0.3.15 to 0.3.15nb1.
Pkgsrc changes:
 o Provide proper detection of altivec on NetBSD powerpc ports.
   As an added bonus, this now builds on NetBSD/macppc 3.1 where
   it didn't earlier.
2009-02-21 14:39:03 +00:00
sketch
9c729b006f Remove USE_FEATURES, it doesn't play well with libtool archives. Apologies
if this breaks any platforms; it still builds fine for me on Solaris...
2009-01-28 10:01:29 +00:00
sketch
58627bc5ce Although the Sun Studio compiler fools configure into thinking it supports
the necessary SSE2 instructions, the actual source doesn't build, so
explicitly disable it.
2009-01-26 14:08:13 +00:00
wiz
da5dc5f1ca Update to 0.3.15, changes undocumented.
Add debug option.
2008-07-30 09:53:36 +00:00
joerg
f605fec2db Mark as destdir ready. 2008-07-14 12:55:56 +00:00
drochner
b4b3d223e0 update to 0.3.14
sorry, no changelog available (The only message to the subject in
the mailing list says "Release notes tomorrow".),
a number of bugfixes afaict
2008-04-11 16:58:47 +00:00
drochner
f48a45606b add two patches from upstream:
-link against librt is needed
-fix some gcc inline asm for mmx to declare %ecx clobbered
2008-03-12 21:05:32 +00:00
tnn
0e0478034d Patches for upstream commit c77faaaa2fc48586902878ba33bd01286654dcb6:
- Add workaround for older versions of gas that don't have SSE3 support

Reported in PR pkg/38126.
2008-02-29 16:58:14 +00:00
drochner
c027ea1ea4 update to 0.3.13
This release merges lots of distributions patches and bug fixes
and adds new functionality used by the upcoming (now!) release
of Schroedinger-1.0.0.

pkgsrc note: someone with an arm (pun intended), or who knows how to
detect a "VFP" might want to tune the cpu feature detection code
2008-02-28 19:28:24 +00:00
tnn
d43d02c961 Fix bad preprocessor conditional. PR pkg/37849. 2008-01-23 11:24:47 +00:00
rillig
7c3d0acc9a Needs asprintf, which is missing on Solaris. 2007-11-25 09:56:35 +00:00
wiz
9f0aacfef3 Update to 0.3.12:
Support for the jpeg decoder was improved. C++ support was improved.
Various speedups and smaller improvements were done.
2007-06-01 20:21:03 +00:00
drochner
a50f6ecaaa Re-apply a modified version of the patches for PR pkg/34886 which was
about ICEs with gcc3.
The difference now is that SSE2+ generally works in i386, due to some
evil hacks in liboil which work around gcc's problems. With gcc4
everything is fine for me. So disable the functions suspected to cause
ICEs only for gcc<4 on i386.
This hopefully fixes PR pkg/36142 by Gilles Gravier.
2007-04-13 21:01:54 +00:00
joerg
6706ac4c2b Fix build on DragonFly. 2007-04-12 17:53:41 +00:00
drochner
4af26c2e7e update to 0.3.11
changes:
- Finally integrated the SSE stack realignment wrappers and reenabled
  the SSE intrinsics code.
- Migrated some new classes from Schroedinger for adding/subtracting
  s16 and u8 values.
- Improved CPU detection on Solaris
- Remove XScale timestamping function, since it's not available from
  user space
- Export oil_debug_print(), so the OIL_DEBUG() macros can be used
  outside the library.
- Various new implementations.
2007-04-10 16:09:42 +00:00
drochner
c3c3b42290 update to 0.3.10
changes:
- Lots of new classes and implementations were added for Schrödinger.
- Several i386 implementations also compile on amd64, so these were
  copied over to a separate directory and are now enabled on amd64.
- Feature detection on amd64 has been fixed.
- All known startup warnings have been fixed.
- The core now handles arrays that are 'N plus a constant' in length.
- Wrap a bunch of functions in HAVE_UNALIGNED_ACCESS to indicate that
  they require an architecture that handles unaligned access.
2006-11-24 13:02:48 +00:00
drochner
2ba1d3bff8 -Fix compiler errors with gcc-3.3.3 on i386, reported by Robert Elz per
PR pkg/34886. Just #ifdef out the code on i386; it was disabled at
 another layer anyway (due to alignment problems with any gcc on i386).
 Thanks to Robert for testing.
-Make sure cpuid is read on amd64, to enable mmx/sse support. (We could
 just assume it, but for the future this makes more sense.)
-bump PKGREVISION
2006-10-23 18:39:24 +00:00
drochner
2c2df4f925 update to 0.3.9
Most changes (since 0.3.6) were done in 0.3.7 appearently, where no
changelog doesn't exist for. I see many additions of MMX/SSE optimized
functions. The rest is bugfixes.

Pkgsrc patch: SSE2/3 are disabled on i386 for now because gcc doesn't
ensure stack alignment for automatic 128-bit variables. Future liboil
versions will work around this. See
http://lists.freedesktop.org/archives/liboil/2006-August/000102.html
and
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=368991
2006-10-19 14:27:33 +00:00
rillig
c47cc98f9c Oops, it's SUBST_MESSAGE, not SUBST_MESSAGES. 2006-09-03 22:55:33 +00:00
drochner
b2f744be28 add test target 2006-08-29 10:18:14 +00:00
rillig
711de1d31e The better way to fix the Solaris problem of <stdint.h> is to replace
the header name in the installed headers. Otherwise the packages that
depend on this one have to use the same hack as in the previous revision
of this file.
2006-07-13 18:23:14 +00:00
rillig
92be37b887 Solaris 5.8 does not have <stdint.h>, only <inttypes.h>. 2006-07-13 17:04:51 +00:00
jlam
c16221a4db Change the format of BUILDLINK_ORDER to contain depth information as well,
and add a new helper target and script, "show-buildlink3", that outputs
a listing of the buildlink3.mk files included as well as the depth at
which they are included.

For example, "make show-buildlink3" in fonts/Xft2 displays:

	zlib
	fontconfig
	    iconv
	    zlib
	    freetype2
	    expat
	freetype2
	Xrender
	    renderproto
2006-07-08 23:10:35 +00:00
jlam
9430e49307 Track information in a new variable BUILDLINK_ORDER that informs us
of the order in which buildlink3.mk files are (recursively) included
by a package Makefile.
2006-07-08 22:38:58 +00:00
rillig
96fc47c14f Aligned the last line of the buildlink3.mk files with the first line, so
that they look nicer.
2006-04-12 10:26:59 +00:00
reed
5abef9be14 Over 1200 files touched but no revisions bumped :)
RECOMMENDED is removed. It becomes ABI_DEPENDS.

BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.

BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.

BUILDLINK_DEPENDS does not change.

IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".

Added to obsolete.mk checking for IGNORE_RECOMMENDED.

I did not manually go through and fix any aesthetic tab/spacing issues.

I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.

I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.

As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.

As discussed on tech-pkg.

I will commit to revbump, pkglint, pkg_install, createbuildlink separately.

Note that if you use wip, it will fail!  I will commit to pkgsrc-wip
later (within day).
2006-04-06 06:21:32 +00:00
jlam
9c8b5ede43 Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
2006-03-04 21:28:51 +00:00
jmmv
bdbbea46bf Initial addition of the buildlink3.mk file. 2006-01-16 18:21:19 +00:00
jmmv
896ff0017d Upon further inspection (while writing the buildlink3.mk file), I noticed
that this does not really need glib2.  Remove the dependency.
2006-01-15 20:05:31 +00:00
jmmv
b6283244d9 Initial import of liboil, version 0.3.6:
Liboil is a library of simple functions that are optimized for various CPUs.
These functions are generally loops implementing simple algorithms, such as
converting an array of N integers to floating-point numbers or multiplying
and summing an array of N numbers.  Such functions are candidates for
significant optimization using various techniques, especially by using
extended instructions provided by modern CPUs (Altivec, MMX, SSE, etc.).

Many multimedia applications and libraries already do similar things
internally.  The goal of this project is to consolidate some of the code
used by various multimedia projects and also make optimizations easier to
use by a broader range of applications.

This is needed for the upcoming gstreamer 0.10.
2006-01-15 19:51:56 +00:00