summaryrefslogtreecommitdiff
path: root/multimedia/xine-ui
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2004-01-26 13:04:46 +0000
committerjmmv <jmmv@pkgsrc.org>2004-01-26 13:04:46 +0000
commitd876dfb6dff00576b3b72a53322ec9d33f310135 (patch)
treeb0c48b19884a81736fe58a74678491d6c6c9bd05 /multimedia/xine-ui
parent65d5ed7ecfc8b25adb3d1dea7ff2b12844963168 (diff)
downloadpkgsrc-d876dfb6dff00576b3b72a53322ec9d33f310135.tar.gz
Move xine-ui to the multimedia category (coming from graphics).
This is version 0.9.22nb1.
Diffstat (limited to 'multimedia/xine-ui')
-rw-r--r--multimedia/xine-ui/DESCR6
-rw-r--r--multimedia/xine-ui/Makefile30
-rw-r--r--multimedia/xine-ui/PLIST243
-rw-r--r--multimedia/xine-ui/distinfo10
-rw-r--r--multimedia/xine-ui/patches/patch-aa13
-rw-r--r--multimedia/xine-ui/patches/patch-ab22
-rw-r--r--multimedia/xine-ui/patches/patch-ac37
-rw-r--r--multimedia/xine-ui/patches/patch-ad21
-rw-r--r--multimedia/xine-ui/patches/patch-ae14
-rw-r--r--multimedia/xine-ui/patches/patch-ag19
10 files changed, 415 insertions, 0 deletions
diff --git a/multimedia/xine-ui/DESCR b/multimedia/xine-ui/DESCR
new file mode 100644
index 00000000000..0fa85875191
--- /dev/null
+++ b/multimedia/xine-ui/DESCR
@@ -0,0 +1,6 @@
+ This is the official, xlib-based xine frontend. Xine is a free
+multimedia player. It plays back CDs, DVDs, and VCDs. It also decodes
+multimedia files like AVI, MOV, WMV, and MP3 from local disk drives, and
+displays multimedia streamed over the Internet. It interprets many of the
+most common multimedia formats available -- and some of the most uncommon
+formats, too.
diff --git a/multimedia/xine-ui/Makefile b/multimedia/xine-ui/Makefile
new file mode 100644
index 00000000000..8bf084ab08c
--- /dev/null
+++ b/multimedia/xine-ui/Makefile
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/01/26 13:04:46 jmmv Exp $
+#
+
+DISTNAME= xine-ui-0.9.22
+PKGREVISION= 1
+CATEGORIES= multimedia
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xine/}
+
+MAINTAINER= tech-pkg@NetBSD.org
+HOMEPAGE= http://xinehq.de/
+COMMENT= Skinned xlib-based xine GUI
+
+BUILD_USES_MSGFMT= YES
+BUILDLINK_DEPENDS.curl= curl>7.10.2
+
+USE_PKGLOCALEDIR= YES
+USE_BUILDLINK2= YES
+USE_X11= YES
+USE_LIBTOOL= YES
+LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
+GNU_CONFIGURE= YES
+
+.include "../../converters/libiconv/buildlink2.mk"
+.include "../../devel/gettext-lib/buildlink2.mk"
+.include "../../graphics/png/buildlink2.mk"
+.include "../../multimedia/xine-lib/buildlink2.mk"
+.include "../../www/curl/buildlink2.mk"
+.include "../../mk/pthread.buildlink2.mk"
+.include "../../devel/ncurses/buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/multimedia/xine-ui/PLIST b/multimedia/xine-ui/PLIST
new file mode 100644
index 00000000000..f7b567e0f31
--- /dev/null
+++ b/multimedia/xine-ui/PLIST
@@ -0,0 +1,243 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/01/26 13:04:47 jmmv Exp $
+bin/aaxine
+bin/xine
+bin/xine-bugreport
+bin/xine-check
+bin/xine-remote
+man/man1/aaxine.1
+man/man1/xine-bugreport.1
+man/man1/xine-check.1
+man/man1/xine-remote.1
+man/man1/xine.1
+share/doc/xine-ui/README.config_en
+share/doc/xine-ui/README.corba
+share/doc/xine-ui/README_cs
+share/doc/xine-ui/README_de
+share/doc/xine-ui/README_en
+share/doc/xine-ui/README_es
+share/doc/xine-ui/README_fi
+share/doc/xine-ui/README_fr
+share/doc/xine-ui/README_it
+share/doc/xine-ui/README_pl
+share/doc/xine-ui/README_uk
+share/doc/xitk/README
+${PKGLOCALEDIR}/locale/cs/LC_MESSAGES/xine-ui.mo
+${PKGLOCALEDIR}/locale/cs/LC_MESSAGES/xitk.mo
+${PKGLOCALEDIR}/locale/de/LC_MESSAGES/xine-ui.mo
+${PKGLOCALEDIR}/locale/de/LC_MESSAGES/xitk.mo
+${PKGLOCALEDIR}/locale/es/LC_MESSAGES/xine-ui.mo
+${PKGLOCALEDIR}/locale/es/LC_MESSAGES/xitk.mo
+${PKGLOCALEDIR}/locale/fr/LC_MESSAGES/xine-ui.mo
+${PKGLOCALEDIR}/locale/fr/LC_MESSAGES/xitk.mo
+${PKGLOCALEDIR}/locale/it/LC_MESSAGES/xine-ui.mo
+${PKGLOCALEDIR}/locale/it/LC_MESSAGES/xitk.mo
+${PKGLOCALEDIR}/locale/pl_PL/LC_MESSAGES/xine-ui.mo
+${PKGLOCALEDIR}/locale/pl_PL/LC_MESSAGES/xitk.mo
+${PKGLOCALEDIR}/locale/pt_BR/LC_MESSAGES/xine-ui.mo
+${PKGLOCALEDIR}/locale/pt_BR/LC_MESSAGES/xitk.mo
+${PKGLOCALEDIR}/locale/sk/LC_MESSAGES/xine-ui.mo
+${PKGLOCALEDIR}/locale/sk/LC_MESSAGES/xitk.mo
+${PKGLOCALEDIR}/locale/uk/LC_MESSAGES/xine-ui.mo
+${PKGLOCALEDIR}/locale/uk/LC_MESSAGES/xitk.mo
+share/pixmaps/xine.xpm
+share/pixmaps/xine_16x16.png
+share/pixmaps/xine_22x22.png
+share/pixmaps/xine_32x32.png
+share/pixmaps/xine_48x48.png
+share/xine/desktop/xine.desktop
+share/xine/skins/CelomaChrome/BigArrowDown.png
+share/xine/skins/CelomaChrome/BigArrowLeft.png
+share/xine/skins/CelomaChrome/BigArrowRight.png
+share/xine/skins/CelomaChrome/BigArrowUp.png
+share/xine/skins/CelomaChrome/CtlBg.png
+share/xine/skins/CelomaChrome/CtlBtn.png
+share/xine/skins/CelomaChrome/CtlDismiss.png
+share/xine/skins/CelomaChrome/CtlItemBtn.png
+share/xine/skins/CelomaChrome/FlitArrowDown.png
+share/xine/skins/CelomaChrome/FsBtn.png
+share/xine/skins/CelomaChrome/HideBtn.png
+share/xine/skins/CelomaChrome/LettersBlue.png
+share/xine/skins/CelomaChrome/LettersDigit.png
+share/xine/skins/CelomaChrome/LettersMiddle.png
+share/xine/skins/CelomaChrome/LettersMini.png
+share/xine/skins/CelomaChrome/MainAutoButton.png
+share/xine/skins/CelomaChrome/MainBg.png
+share/xine/skins/CelomaChrome/MainButton.png
+share/xine/skins/CelomaChrome/MainDummy.png
+share/xine/skins/CelomaChrome/MainEject.png
+share/xine/skins/CelomaChrome/MainFastB.png
+share/xine/skins/CelomaChrome/MainFastF.png
+share/xine/skins/CelomaChrome/MainMute.png
+share/xine/skins/CelomaChrome/MainNav.png
+share/xine/skins/CelomaChrome/MainNext.png
+share/xine/skins/CelomaChrome/MainPause.png
+share/xine/skins/CelomaChrome/MainPlay.png
+share/xine/skins/CelomaChrome/MainPower.png
+share/xine/skins/CelomaChrome/MainPrev.png
+share/xine/skins/CelomaChrome/MainStop.png
+share/xine/skins/CelomaChrome/MainVolumeBg.png
+share/xine/skins/CelomaChrome/MainVolumePad.png
+share/xine/skins/CelomaChrome/MrlBg.png
+share/xine/skins/CelomaChrome/MrlBtn.png
+share/xine/skins/CelomaChrome/MrlDismiss.png
+share/xine/skins/CelomaChrome/MrlSelect.png
+share/xine/skins/CelomaChrome/Onglet.png
+share/xine/skins/CelomaChrome/OngletSmall.png
+share/xine/skins/CelomaChrome/PlBg.png
+share/xine/skins/CelomaChrome/PlBtn.png
+share/xine/skins/CelomaChrome/PlDelete.png
+share/xine/skins/CelomaChrome/PlDeleteAll.png
+share/xine/skins/CelomaChrome/PlDismiss.png
+share/xine/skins/CelomaChrome/PlInputTxt.png
+share/xine/skins/CelomaChrome/PlItemBtn.png
+share/xine/skins/CelomaChrome/PlMoveDn.png
+share/xine/skins/CelomaChrome/PlMoveUp.png
+share/xine/skins/CelomaChrome/PlPlay.png
+share/xine/skins/CelomaChrome/PlSlidHBg.png
+share/xine/skins/CelomaChrome/PlSlidHPad.png
+share/xine/skins/CelomaChrome/SetupBtn.png
+share/xine/skins/CelomaChrome/SkItemBtn.png
+share/xine/skins/CelomaChrome/SkSlidBG.png
+share/xine/skins/CelomaChrome/SkSlidHBg.png
+share/xine/skins/CelomaChrome/SkSlidPad.png
+share/xine/skins/CelomaChrome/SliderHBg.png
+share/xine/skins/CelomaChrome/SliderHPad.png
+share/xine/skins/CelomaChrome/SliderVBg.png
+share/xine/skins/CelomaChrome/SliderVPad.png
+share/xine/skins/CelomaChrome/SnapBtn.png
+share/xine/skins/CelomaChrome/skinconfig
+share/xine/skins/black.mpv
+share/xine/skins/cloudy/ComBox.png
+share/xine/skins/cloudy/ComDismiss.png
+share/xine/skins/cloudy/ComLetters.png
+share/xine/skins/cloudy/ComScrollArrowDown.png
+share/xine/skins/cloudy/ComScrollArrowLeft.png
+share/xine/skins/cloudy/ComScrollArrowRight.png
+share/xine/skins/cloudy/ComScrollArrowUp.png
+share/xine/skins/cloudy/ComScrollBg.png
+share/xine/skins/cloudy/ComScrollHBg.png
+share/xine/skins/cloudy/ComScrollHPad.png
+share/xine/skins/cloudy/ComScrollPad.png
+share/xine/skins/cloudy/CtlBg.png
+share/xine/skins/cloudy/CtlSkinItem.png
+share/xine/skins/cloudy/CtlSkinScrollBg.png
+share/xine/skins/cloudy/CtlSkinScrollHBg.png
+share/xine/skins/cloudy/CtlSliderBg.png
+share/xine/skins/cloudy/CtlSliderPad.png
+share/xine/skins/cloudy/MainAutoButton.png
+share/xine/skins/cloudy/MainBg.png
+share/xine/skins/cloudy/MainClose.png
+share/xine/skins/cloudy/MainCtlBtn.png
+share/xine/skins/cloudy/MainEject.png
+share/xine/skins/cloudy/MainFullScreen.png
+share/xine/skins/cloudy/MainMrlBtn.png
+share/xine/skins/cloudy/MainMute.png
+share/xine/skins/cloudy/MainNav.png
+share/xine/skins/cloudy/MainNext.png
+share/xine/skins/cloudy/MainPause.png
+share/xine/skins/cloudy/MainPlBtn.png
+share/xine/skins/cloudy/MainPlay.png
+share/xine/skins/cloudy/MainPlayFast.png
+share/xine/skins/cloudy/MainPlaySlow.png
+share/xine/skins/cloudy/MainPower.png
+share/xine/skins/cloudy/MainPrev.png
+share/xine/skins/cloudy/MainSetup.png
+share/xine/skins/cloudy/MainSliderBg.png
+share/xine/skins/cloudy/MainSliderPad.png
+share/xine/skins/cloudy/MainSmallArrowDown.png
+share/xine/skins/cloudy/MainSmallArrowUp.png
+share/xine/skins/cloudy/MainSnapshot.png
+share/xine/skins/cloudy/MainStop.png
+share/xine/skins/cloudy/MainVolumeBg.png
+share/xine/skins/cloudy/MainVolumePad.png
+share/xine/skins/cloudy/MrlBg.png
+share/xine/skins/cloudy/MrlItem.png
+share/xine/skins/cloudy/MrlPlay.png
+share/xine/skins/cloudy/MrlSelect.png
+share/xine/skins/cloudy/MrlSlidHBg.png
+share/xine/skins/cloudy/PlAdd.png
+share/xine/skins/cloudy/PlBg.png
+share/xine/skins/cloudy/PlDelete.png
+share/xine/skins/cloudy/PlDeleteAll.png
+share/xine/skins/cloudy/PlInputText.png
+share/xine/skins/cloudy/PlItem.png
+share/xine/skins/cloudy/PlMoveDown.png
+share/xine/skins/cloudy/PlMoveUp.png
+share/xine/skins/cloudy/PlPlay.png
+share/xine/skins/cloudy/fatsolid.pcf.gz
+share/xine/skins/cloudy/fonts.dir
+share/xine/skins/cloudy/skinconfig
+share/xine/skins/cloudy/smooth.pcf.gz
+share/xine/skins/xine-ui_logo.mpv
+share/xine/skins/xine_splash.png
+share/xine/skins/xinetic/BigArrowDown.png
+share/xine/skins/xinetic/BigArrowLeft.png
+share/xine/skins/xinetic/BigArrowRight.png
+share/xine/skins/xinetic/BigArrowUp.png
+share/xine/skins/xinetic/CtlBg.png
+share/xine/skins/xinetic/CtlBtn.png
+share/xine/skins/xinetic/CtlDismiss.png
+share/xine/skins/xinetic/CtlDummy.png
+share/xine/skins/xinetic/CtlReset.png
+share/xine/skins/xinetic/CtlSave.png
+share/xine/skins/xinetic/Letters.png
+share/xine/skins/xinetic/Letters2.png
+share/xine/skins/xinetic/MainAutoButton.png
+share/xine/skins/xinetic/MainBg.png
+share/xine/skins/xinetic/MainCam.png
+share/xine/skins/xinetic/MainClose.png
+share/xine/skins/xinetic/MainDown.png
+share/xine/skins/xinetic/MainEject.png
+share/xine/skins/xinetic/MainFastB.png
+share/xine/skins/xinetic/MainFastF.png
+share/xine/skins/xinetic/MainFullScreen.png
+share/xine/skins/xinetic/MainMute.png
+share/xine/skins/xinetic/MainNav.png
+share/xine/skins/xinetic/MainNext.png
+share/xine/skins/xinetic/MainPause.png
+share/xine/skins/xinetic/MainPlay.png
+share/xine/skins/xinetic/MainPower.png
+share/xine/skins/xinetic/MainPrev.png
+share/xine/skins/xinetic/MainSetup.png
+share/xine/skins/xinetic/MainStop.png
+share/xine/skins/xinetic/MainUp.png
+share/xine/skins/xinetic/MainVolumeBg.png
+share/xine/skins/xinetic/MainVolumePad.png
+share/xine/skins/xinetic/MrlBg.png
+share/xine/skins/xinetic/MrlBtn.png
+share/xine/skins/xinetic/MrlDismiss.png
+share/xine/skins/xinetic/MrlFlit.png
+share/xine/skins/xinetic/MrlSelect.png
+share/xine/skins/xinetic/Onglet.png
+share/xine/skins/xinetic/PlBg.png
+share/xine/skins/xinetic/PlBtn.png
+share/xine/skins/xinetic/PlDelete.png
+share/xine/skins/xinetic/PlDeleteAll.png
+share/xine/skins/xinetic/PlDismiss.png
+share/xine/skins/xinetic/PlInputTxt.png
+share/xine/skins/xinetic/PlItemBtn.png
+share/xine/skins/xinetic/PlMoveDn.png
+share/xine/skins/xinetic/PlMoveUp.png
+share/xine/skins/xinetic/PlPlay.png
+share/xine/skins/xinetic/PlSlidHBg.png
+share/xine/skins/xinetic/SkItemBtn.png
+share/xine/skins/xinetic/SkSlidBG.png
+share/xine/skins/xinetic/SkSlidHBg.png
+share/xine/skins/xinetic/SkSlidHPad.png
+share/xine/skins/xinetic/SlidHPad.png
+share/xine/skins/xinetic/SliderHBg.png
+share/xine/skins/xinetic/SliderHPad.png
+share/xine/skins/xinetic/SliderVBg.png
+share/xine/skins/xinetic/SliderVPad.png
+share/xine/skins/xinetic/SmallArrowDown.png
+share/xine/skins/xinetic/SmallArrowUp.png
+share/xine/skins/xinetic/skinconfig
+share/xine/visuals/default.avi
+@dirrm share/xine/visuals
+@dirrm share/xine/skins/xinetic
+@dirrm share/xine/skins/cloudy
+@dirrm share/xine/skins/CelomaChrome
+@dirrm share/xine/skins
+@dirrm share/xine/desktop
+@dirrm share/doc/xitk
+@dirrm share/doc/xine-ui
diff --git a/multimedia/xine-ui/distinfo b/multimedia/xine-ui/distinfo
new file mode 100644
index 00000000000..e0c8d8d33ee
--- /dev/null
+++ b/multimedia/xine-ui/distinfo
@@ -0,0 +1,10 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/01/26 13:04:47 jmmv Exp $
+
+SHA1 (xine-ui-0.9.22.tar.gz) = bf9b7ad50f82ddb453a6c59bb68c81b6acb49f47
+Size (xine-ui-0.9.22.tar.gz) = 2637736 bytes
+SHA1 (patch-aa) = 15e4f1135ee4de954a0daafe63e4837840a708f7
+SHA1 (patch-ab) = 7f3a44781d0a0418f277c082486e606058fa5357
+SHA1 (patch-ac) = 44925827dd883dabb5864ad739ed47a99fd10bda
+SHA1 (patch-ad) = d285a0142c2c91ebec169839bc266c8cbe7a47e4
+SHA1 (patch-ae) = 813c897b89edbc1e37b731008b87fe6b04cf53f2
+SHA1 (patch-ag) = 4dd810e87922da673dc463367dc231105cfdeb6a
diff --git a/multimedia/xine-ui/patches/patch-aa b/multimedia/xine-ui/patches/patch-aa
new file mode 100644
index 00000000000..06a9a7717be
--- /dev/null
+++ b/multimedia/xine-ui/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/01/26 13:04:47 jmmv Exp $
+
+--- doc/man/Makefile.in.orig 2003-08-07 19:39:57.000000000 +0200
++++ doc/man/Makefile.in 2003-08-24 12:57:44.000000000 +0200
+@@ -159,7 +159,7 @@
+ am__include = @am__include@
+ am__quote = @am__quote@
+ install_sh = @install_sh@
+-SUBDIRS = fr es en pl de
++SUBDIRS = en
+ subdir = doc/man
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+ CONFIG_HEADER = $(top_builddir)/config.h
diff --git a/multimedia/xine-ui/patches/patch-ab b/multimedia/xine-ui/patches/patch-ab
new file mode 100644
index 00000000000..4d49e899153
--- /dev/null
+++ b/multimedia/xine-ui/patches/patch-ab
@@ -0,0 +1,22 @@
+$NetBSD: patch-ab,v 1.1.1.1 2004/01/26 13:04:47 jmmv Exp $
+
+--- src/xitk/xine-toolkit/label.c.orig Tue Mar 4 00:43:46 2003
++++ src/xitk/xine-toolkit/label.c
+@@ -294,7 +294,7 @@ static void label_setup_label(xitk_widge
+
+ if(label_len > private_data->length) {
+ pthread_attr_t pth_attrs;
+-#if ! defined (__OpenBSD__)
++#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING
+ struct sched_param pth_params;
+ #endif
+
+@@ -303,7 +303,7 @@ static void label_setup_label(xitk_widge
+ pthread_attr_init(&pth_attrs);
+
+ /* this won't work on linux, freebsd 5.0 */
+-#if ! defined (__OpenBSD__)
++#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING
+ pthread_attr_getschedparam(&pth_attrs, &pth_params);
+ pth_params.sched_priority = sched_get_priority_min(SCHED_OTHER);
+ pthread_attr_setschedparam(&pth_attrs, &pth_params);
diff --git a/multimedia/xine-ui/patches/patch-ac b/multimedia/xine-ui/patches/patch-ac
new file mode 100644
index 00000000000..01ff0ce723e
--- /dev/null
+++ b/multimedia/xine-ui/patches/patch-ac
@@ -0,0 +1,37 @@
+$NetBSD: patch-ac,v 1.1.1.1 2004/01/26 13:04:47 jmmv Exp $
+
+--- src/xitk/xine-toolkit/tips.c.orig Tue Mar 4 00:43:48 2003
++++ src/xitk/xine-toolkit/tips.c
+@@ -240,12 +240,12 @@ static void *_tips_thread(void *data) {
+ /* Create a thread which will destroy the tips window */
+ {
+ pthread_attr_t pth_attrs;
+-#if ! defined (__OpenBSD__)
++#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING
+ struct sched_param pth_params;
+ #endif
+
+ pthread_attr_init(&pth_attrs);
+-#if ! defined (__OpenBSD__)
++#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING
+ pthread_attr_getschedparam(&pth_attrs, &pth_params);
+ pth_params.sched_priority = sched_get_priority_min(SCHED_OTHER);
+ pthread_attr_setschedparam(&pth_attrs, &pth_params);
+@@ -266,7 +266,7 @@ static void *_tips_thread(void *data) {
+ */
+ void xitk_tips_create(xitk_widget_t *w) {
+ pthread_attr_t pth_attrs;
+-#if ! defined (__OpenBSD__)
++#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING
+ struct sched_param pth_params;
+ #endif
+ tips_private_t *tp;
+@@ -283,7 +283,7 @@ void xitk_tips_create(xitk_widget_t *w)
+ tp->w = w;
+ pthread_attr_init(&pth_attrs);
+
+-#if ! defined (__OpenBSD__)
++#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING
+ pthread_attr_getschedparam(&pth_attrs, &pth_params);
+ pth_params.sched_priority = sched_get_priority_min(SCHED_OTHER);
+ pthread_attr_setschedparam(&pth_attrs, &pth_params);
diff --git a/multimedia/xine-ui/patches/patch-ad b/multimedia/xine-ui/patches/patch-ad
new file mode 100644
index 00000000000..a8d6f4d6aec
--- /dev/null
+++ b/multimedia/xine-ui/patches/patch-ad
@@ -0,0 +1,21 @@
+$NetBSD: patch-ad,v 1.1.1.1 2004/01/26 13:04:47 jmmv Exp $
+
+--- src/xitk/panel.c.orig Thu Mar 13 06:28:54 2003
++++ src/xitk/panel.c
+@@ -1320,14 +1320,14 @@ void panel_init (void) {
+
+ {
+ pthread_attr_t pth_attrs;
+-#if ! defined (__OpenBSD__)
++#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING
+ struct sched_param pth_params;
+ #endif
+
+ pthread_attr_init(&pth_attrs);
+
+ /* this won't work on linux, freebsd 5.0 */
+-#if ! defined (__OpenBSD__)
++#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING
+ pthread_attr_getschedparam(&pth_attrs, &pth_params);
+ pth_params.sched_priority = sched_get_priority_min(SCHED_OTHER);
+ pthread_attr_setschedparam(&pth_attrs, &pth_params);
diff --git a/multimedia/xine-ui/patches/patch-ae b/multimedia/xine-ui/patches/patch-ae
new file mode 100644
index 00000000000..a9aef1c0fb4
--- /dev/null
+++ b/multimedia/xine-ui/patches/patch-ae
@@ -0,0 +1,14 @@
+$NetBSD: patch-ae,v 1.1.1.1 2004/01/26 13:04:47 jmmv Exp $
+
+--- src/xitk/event.c.orig Thu Mar 20 01:36:08 2003
++++ src/xitk/event.c
+@@ -985,7 +985,9 @@ void gui_init (int nfiles, char *filenam
+ if (!XInitThreads ()) {
+ printf (_("\nXInitThreads failed - looks like you don't have a "
+ "thread-safe xlib.\n"));
++#ifndef _PTH_PTHREAD_H_
+ exit (1);
++#endif
+ }
+
+ if((gGui->display = XOpenDisplay((getenv("DISPLAY")))) == NULL) {
diff --git a/multimedia/xine-ui/patches/patch-ag b/multimedia/xine-ui/patches/patch-ag
new file mode 100644
index 00000000000..f29997a28cc
--- /dev/null
+++ b/multimedia/xine-ui/patches/patch-ag
@@ -0,0 +1,19 @@
+$NetBSD: patch-ag,v 1.1.1.1 2004/01/26 13:04:47 jmmv Exp $
+
+--- src/xitk/common.h.orig 2004-01-26 01:39:55.000000000 +0100
++++ src/xitk/common.h 2004-01-26 01:43:43.000000000 +0100
+@@ -76,6 +76,14 @@
+ #include <lirc/lirc_client.h>
+ #endif
+
++#if !defined(TRUE)
++#define TRUE 1
++#endif
++
++#if !defined(FALSE)
++#define FALSE 0
++#endif
++
+ /*
+ * config related constants
+ */