Commit graph

93 commits

Author SHA1 Message Date
drochner
139f6475ac minor cleanup:
-remove obsolete WRKSRC definition
-the http overflow (CVE-2006-2802) was fixed upstream
2006-12-08 18:47:41 +00:00
abs
2794ccb3f2 Update xine-lib to 1.1.3
* Security fixes:
    - Heap overflow in libmms (related to CVE-2006-2200)
    - Buffer overrun in Real Media input plugin. [bug #1603458]
      Thanks to Roland Kay for reporting and JW for the patch.
  * Update build system to support x86 Darwin setups, and merge patches to
    support Darwin OS better.
  * Replace custom ALSA check with pkg-config check, and make sure 0.9.0 is
    the requried version.
  * When the compiler supports it, enable hidden visibility for all the
    plugins to export only the plugin info entry (and eventual needed
    special functions), to replace the min-symtab option that wasn't working.
  * Add "m4b" to the list of supported file extensions for the Qt demuxer, to
    allow playing (unprotected) audiobooks in AAC format.
  * Remove --disable-fpic hack, prefer using --without-pic instead.
  * Add new output plugin: PulseAudio (based on PolypAudio plugin), that uses
    0.9 API (PulseAudio is PolypAudio renamed).
  * Remove PolypAudio plugin, latest version supported 0.7 API that is no more
    supported by upstream, and it's replaced by PulseAudio.
  * Allow 0 for DVD title/chapter (navigation or full title).
  * New experimental JACK audio driver.
  * Fix switch from alsa/dmix 2.0 to 5.1 [bug #1226595]
  * Don't use proxy for localhost connection. [bug #1553633]
  * Use mmap() to open local files if available.
  * Use pkg-config to look for external FFmpeg.
  * Allow FFmpeg to play MP3s in case MAD is not present.
  * Reduce the dead time when trying to connect to dead hosts, by falling back
    to non-blocking sockets on the last address found for an host, and allowing
    users to provide a connection timeout. [bug #1550844]
  * Return the correct error message to frontends when a file is inaccessible or
    the network connection is broken. [bug #1550763]
  * Support libcaca 0.99, thanks to cjacker huang.
  * Fix crash on video-only WMV streams. [bug #1564598]
  * Report audio stream on Shorten files (required for Amarok to play them).
  * Optionally use fontconfig to look up fonts to use for OSD. [bug #1551042]
  * Prefer FreeType2 rendered fonts to bitmap fonts.
  * Stone age platforms update
  * Enabled TrueSpeech codec
  * New X11 visual type: xine-lib may now use frontend's mutex/lock mechanism
    instead of XLockDisplay/XUnlockDisplay.
  * Allow playing of OggFlac files. [bug #1590690]
  * Allow playing FLAC files with an ID3 tag at the start.
  * Fix some crashes caused by MP3 files (and possibly others) being
    misdetected as AAC.
2006-12-08 09:24:26 +00:00
simonb
f4eba3da15 Fix a grammar nit. 2006-10-17 22:45:03 +00:00
dmcmahill
9ad18425ff - Fix a "==" in a shell test.
- Add missing header when testing for OSS audio on NetBSD

Fixes broken builds on NetBSD-2/i386
2006-09-29 21:20:04 +00:00
joerg
b7245d08cb Disable mutex debugging by default, it results in Xine spinning around
all the time at least on DragonFly. Move some inline functions around
so that they exist before they are used, avoiding compilation errors
on DragonFly where -fno-unit-at-a-time is disable by default.
2006-08-14 12:15:38 +00:00
wiz
8a2ba2ac4c Update to 1.1.2, provided by Kimura Fuyuki in PR 34107.
xine-lib (1.1.2)
  * Security fixes:
    - CVE-2005-4048: possible buffer overflow in libavcodec (crafted PNGs).
    - CVE-2006-2802: possible buffer overflow in the HTTP plugin.
    - possible buffer overflow via bad indexes in specially-crafted AVI files
  * Update gettext support to 0.14.5, disable internal gettext, fix locales
    handling, use the correct domain for strings.
  * Italian translation update
  * Czech translation update
  * Disable the XXMC plugin if Xv support isn't there
  * Also look for Xv support in /usr/lib for X.org's new location
  * Fix using xine-lib on systems with SELinux enabled
  * Build right with libiconv in /usr/local as default on FreeBSD
  * Fix a potential crash with fixed-size lacing in the Matroska demuxer
  * Patch from SuSE to fix alsa after hardware suspend
  * Fix the ./configure --enable-static-xv parameter
  * Really fix the speed changing race that was mentioned in 1.1.1
  * Send events for tvtime filmmode changes
  * Add an image decoder based on gdk-pixbuf
  * Add browseable capability to smb input plugin
  * Enable AMD64 mmx/sse support in some plugins (tvtime, libmpeg2, goom...)
  * Fix xxmc subpictures (broken since 1.1.1)
  * FFmpeg update (version 51.1.0)
  * Fix detection of locale containing a modifier (like "@euro")
  * New volume normalization post plugin
  * New image noise post plugin (useful for mitigating some compression artifacts)
  * Support for Vorbis-style comments in FLAC files
  * Coverity fixes
  * Add ATSC support to the DVB plugin
  * Make various structures and arrays constant.
  * Fix up health check to find libX11 and libXv shared objects even if
    devel packages aren't installed (where appropriate). (Ubuntu 47357)
  * Fix install problems in case configure was generated by autoconf >= 2.59c.
  * Fixed some win32 codec freezes when configured w32-path doesn't exist
  * Add support for RealPlayer 10 codecs (from SUSE)

xine-lib (1.1.1)
  * Improve sound quality when using alsa 1.0.9 or above.
    When playing a 44.1khz stream on a 48khz only capable sound card.
    It bypasses alsa-lib resampler and uses xine's
  * Windows ports bug fixes and improvements
  * Set up the framebuffer palette (fb video out).
  * build fixes and improvements, added --with-pthread-prefix and
    --with-zlib-prefix options
  * new DirectFB video output plugin with many improvements (output to overlay
    or TV, deinterlacing, image controls, zoom, OSD, double/triple buffering,
    vsync, flicker filtering, field parity control)
  * overlay cropping fixes for small streams or when using cropping support
  * experimental frame allocation optimization reduces cpu usage of the
    deinterlacer plugin by up 25%
  * implement time seeking on DVD plugin
  * move CFLAGS optimizations to a separated file (added --disable-optimizations)
  * use the same codec path as MPlayer (/usr[/local]/lib/codecs)
  * FFmpeg sync (new QDM2 decoder)
  * imported Duck TrueMotion 2 decoder from FFmpeg
  * sync libfaad2 to latest GPL compatible version; fixes AAC decoding on x86_64 arch
  * support gapless playback while switching streams (requires UI cooperation)
  * fix speed changing race causing deadlock with v4l plugin
  * cddb improvements/fixes (DTITLE/DYEAR parsing, timeout increase and
    multiline entries support) [#1205274]

xine-lib (1.1.0)
  * new quality deinterlacer from dscaler: GreedyH (Greedy High Motion)
  * new quality deinterlacer from dscaler: TomsMoComp (Tom's Motion Compensated)
  * added help for most deinterlace methods
  * ffmpeg update
  * use ImageMagick to convert and display different type of images (png, jpg...)
  * improve ASX playlist parsing
  * add an extended MRL reference event (MRL title, start time, play time):
    needed for the ASX parser; deprecates plain MRL reference events.
  * goom updated to 2k4-0

xine-lib (1.0.4)
  * tiny doc update
  * build fixes and cross build improvements
  * fixed an align problem in Win32 DirectX video output plugin
  * fixed linking of X11 plugins for some platforms
2006-08-06 10:36:50 +00:00
drochner
955828df2b add CDDA input on NetBSD, from Kimura Fuyuki per PR pkg/34053 2006-07-24 20:42:07 +00:00
jlam
7d1f4cca8e "BUILD_ENV" was misnamed. It's actually the environment that is passed
to all internal recursive make processes.  As such, rename it to
"PKGSRC_MAKE_ENV".

XXX Note, some of the usage of this variable in package Makefiles seems
XXX incorrect.  They probably want "MAKE_ENV", which is the environment
XXX passed to the make process when running "make" within ${WRKSRC}.
2006-07-21 14:27:56 +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
tron
7913b5ab27 Fix build problem with version 2.60 of the "autoconf" package.
Patch provided by Thomas 'wiz' Klausner in private e-mail.
2006-07-04 16:42:38 +00:00
tron
e3ffa060bd Add missing bound check in HTTP Plugin "xineplug_inp_http.so".
This fixes the vulnerability reported in CVE-2006-2802.
2006-06-30 13:51:40 +00:00
wiz
00d63daf93 Fix build with gcc4 on NetBSD-3.99.21. 2006-06-26 17:13:36 +00:00
wiz
e3afdf8b7b regen (with correct offsets) 2006-06-26 17:13:11 +00:00
drochner
7344a6a09a make this build on FreeBSD-6.1, from Peter Schuller per PR pkg/33770 2006-06-21 18:31:14 +00:00
wiz
ad782541d0 Bump PKGREVISION and BUILDLINK_ABI_DEPENDS (where applicable)
for SDL shlib changes.
2006-06-12 16:28:05 +00:00
tron
50f4b4d815 Fix security problem reported in CVE-2006-1664.
Bump package revision because of this fix.
2006-05-18 18:45:37 +00:00
drochner
111bee40e6 another missing mutex init
bump PKGREVISION
2006-05-03 12:32:10 +00:00
rillig
9fc2d7d281 Removed the superfluous "quotes" and 'quotes' from variables that don't
need them, for example RESTRICTED and SUBST_MESSAGE.*.
2006-04-22 09:22:05 +00:00
wiz
02f8f7c52d Bump BUILDLINK_ABI_DEPENDS.png and PKGREVISION for png-1.2.9nb2 update. 2006-04-17 13:45:57 +00:00
jlam
ea5f9f80b6 Strip ${PKGLOCALEDIR} from PLISTs of packages that already obey
PKGLOCALEDIR and which install their locale files directly under
${PREFIX}/${PKGLOCALEDIR} and sort the PLIST file entries.  From now
on, pkgsrc/mk/plist/plist-locale.awk will automatically handle
transforming the PLIST to refer to the correct locale directory.
2006-04-17 07:07:11 +00:00
jlam
1cf9796f3c BUILD_USE_MSGFMT and USE_MSGFMT_PLURALS are obsolete. Replace with
USE_TOOLS+=msgfmt.
2006-04-13 18:23:29 +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
6ad6aef9d4 Replace references to ossaudio.buildlink3.mk with oss.buildlink3.mk.
Remove deprecated ossaudio.buildlink3.mk.
2006-03-09 21:04:39 +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
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
tron
ab9a3f3ab7 Backport security fix for CVE-2005-4048 to our old "xine-lib" version.
Bump package revision.
2006-01-25 20:06:33 +00:00
jmmv
d971a332da Drop maintainership. I can't seriously be the maintainer of so many
packages - specially of packages that I haven't touched for a long
while or those that other people can handle better than me.
2006-01-20 16:15:52 +00:00
martti
40166406b5 Set XINE_LIB_VER=1.0.3 in Makefile and use ${XINE_LIB_VER}
in all PLIST.* files to make future version changes easier.

Approved by jmmv@
2006-01-13 08:42:30 +00:00
jmmv
e08a9a7ce2 Require libcdio>=0.75. The build of xine-lib fails on amd64 with older
versions of this library as reported in:

    http://mail-index.netbsd.org/port-amd64/2005/11/04/0001.html

Bump PKGREVISION to 3.

Maybe we should do this dependency bump in libcdio's buildlink3.mk file,
because it might also affect other packages...
2005-12-24 12:49:35 +00:00
wiz
7e1c5bfbc9 Convert aalib to options framework, adding an 'x11' option, and remove
aalib-x11 and aview-x11.
SDL dependencies change, so bump PKGREVISION (and BUILDLINK_RECOMMENDED)
for affected packages.

Addresses PR 32046 by Leonard Schmidt.
2005-12-11 09:40:37 +00:00
reed
630ac248ed Add DragonFly PLIST entries. And bump PKGREVISION.
This plugin has not been tested yet.

Todo: test xineplug_ao_out_oss plugin and make sure /dev/ device
is correct.
Todo: check to see if other plugins can be enabled -- see what is done
for FreeBSD.
2005-11-01 06:20:42 +00:00
reed
c279feaf0c Add patch to fix DragonFly issue in bswap.h:
"You need to add endian swap macros for you're system"
This was noted by Jonathan Fosburgh on DragonFly users list.
2005-11-01 06:15:33 +00:00
reed
45830ff968 Fix typo to make it configure for -pthread correctly on
DragonFly. (J. Fosburgh said on DragonFly users list that
configure failed due to the lack of a -lpthread.)
2005-11-01 05:39:53 +00:00
jmmv
1f5756eb29 Update to 1.0.3a. Man... I hate this package in its actual form... it's
completely unmaintenable.

Changes:
* fixed format string vulnerability in audio CD input plugin
* some build system fixes for Windows
2005-10-13 10:48:01 +00:00
joerg
eee84fa9a8 Allowing building on DragonFly. 2005-10-10 22:51:04 +00:00
dmcmahill
f51d5140d2 put the pkgrevision bump in Makefile not Makefile.common 2005-09-20 12:49:30 +00:00
dmcmahill
38ad77c743 bump pkgrevision after strsep() and pgx32 fixes 2005-09-20 12:12:27 +00:00
dmcmahill
afc8385395 regen 2005-09-20 12:11:54 +00:00
dmcmahill
8a2400b88f Add missing source file for PGX32. The PGX32 plugin works now. 2005-09-20 12:11:37 +00:00
dmcmahill
6b41c6a2aa when the os is missing strsep() and we provide a replacement,
do it in the header file too otherwise xine-ui won't find the
replacement.
2005-09-20 12:10:53 +00:00
dmcmahill
a19f279615 avoid a non-constant initializer element. Only affects solaris and irix 2005-09-15 01:15:47 +00:00
jlam
7820875fff Remove the abuse of buildlink that was pkg-config/buildlink3.mk. That
file's sole purpose was to provide a dependency on pkg-config and set
some environment variables.  Instead, turn pkg-config into a "tool"
in the tools framework, where the pkg-config wrapper automatically
adds PKG_CONFIG_LIBDIR to the environment before invoking the real
pkg-config.

For all package Makefiles that included pkg-config/buildlink3.mk, remove
that inclusion and replace it with USE_TOOLS+=pkg-config.
2005-08-10 20:56:10 +00:00
drochner
d774c35d0a update to 1.0.2
changes:
* fixed playback of single-session Real RTSP streams, such as
  rtsp://stream.samurai.fm/broadcast/live_hi.rm
* fixed xxmc / xvmc mocomp / IDCT rendering errors caused by the big update.
* support --enable-fpic with recent versions of gcc
* clip goom fps value to >= 1 [bug #1193783]
* fixed xvmc plugin segfault when it tried software blending on nonexistant xv image
* cleaned up libmpeg2 behaviour on xxmc plugin abrupt software fallback
* use -fno-inline-functions with gcc < 3.4.0 (bug known to be in 3.3.5)
* fix xxmc plugin wanting to change vld xvmc context when stream changes from
  non-interlaced to interlaced [bug #1194350]
* speed up xx44 alphablending of large transparent areas
* stop libmpeg2 XvMC IDCT / MOCOMP attempting software motion compensation
  [bug #1194754]
* improve xxmc cpu-usage for IDCT / MOCOMP acceleration through better locking
  [bug #1195282]
* gcc4 build patches [bug #1175002]
* don't assume that file is in /usr/bin (build fix) [bug #1195539]
* plugin loader fixes - could cause xine to lock up hard on startup [bug #1196819]
* Fix xxmc bob deinterlacing for field-coded interlaced streams
* Fix LE_64/BE_64 macros on non-x86 plataforms. may fixes issues with some
  demuxers like avi, asf and ogg.
* sputext improvements/workarounds
* add a new error message when a file we tried to play is an empty
  (zero-sized) file
* be more POSIX-compliant (head, tail) (build fix)
* fixed deadlock when libxine was called from the event listener thread and
  tried to flush all pending events.
* Added xine(5), documenting MRL syntax.
* allow playing just a single title/chapter from dvd (useful for extracting audio -
  check media.dvd.play_single_chapter)
* new stream infos allows frontends to query current title/chapter/angle on dvds
* new upmix_mono audio post plugin to convert mono to stereo
* added --with-external-a52dec and --with-external-libmad switches
* fix a locking bug which affects configuration callback functions
2005-07-29 16:09:11 +00:00
wiz
d774725534 Change path from devel/pkgconfig to devel/pkg-config.
No PKGREVISION bump since pkg-config is only a BUILD_DEPENDS.
2005-07-21 16:29:42 +00:00
reed
f60c520a97 Remove alsa entries which broke packaging on minskim's
bulk build. Okay'd by wiz during freeze.

No PKGREVISION bumped because this is Linux specific
and package could never be packaged in first place.
No change to code.

I think this may detect alsa on some systems and still
add the support. Maybe need to add --disable-alsa configure
switch, but I can't test now.
I will fix this later when I import alsa-lib.
2005-06-17 20:30:55 +00:00
jlam
fcb7da800b Remove mk/autoconf.mk and mk/automake.mk and replace their usage with
USE_TOOLS and any of "autoconf", "autoconf213", "automake" or
"automake14".  Also, we don't need to call the auto* tools via
${ACLOCAL}, ${AUTOCONF}, etc., since the tools framework takes care
to symlink the correct tool to the correct name, so we can just use
aclocal, autoconf, etc.
2005-06-01 20:07:59 +00:00
reed
3dd6c5696d Add PLIST.FreeBSD and three patches to make it build for FreeBSD.
Add patch-ak and patch-an to support -enable-fpic with recent
versions of gcc.  From xine cvs.

Bump PKGREVISION just in case these patch-ak and patch-an change
functionality.

Tested builds and running on FreeBSD 5.4-STABLE with gcc 3.4.2 and
FreeBSD 5.3, and Linux 2.6.9 with gcc 3.3.5. And tested build
and install on NetBSD 1.6.2_STABLE.

Okayed by jmmv a couple weeks ago.
2005-05-26 22:47:22 +00:00
jlam
585534220c Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:
USE_GNU_TOOLS	-> USE_TOOLS
	awk		-> gawk
	m4		-> gm4
	make		-> gmake
	sed		-> gsed
	yacc		-> bison
2005-05-22 20:07:36 +00:00