summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrh <rh>2003-04-11 11:59:55 +0000
committerrh <rh>2003-04-11 11:59:55 +0000
commite1fe1a5d737b7b8fd2006a7b76069de7cd7edb4f (patch)
tree6b935ec3bcbe3f0dfe1293a8cf920a3d48400711
parent093b64414dcd2e26975126cf6f0181839e48c6cf (diff)
downloadpkgsrc-e1fe1a5d737b7b8fd2006a7b76069de7cd7edb4f.tar.gz
Initial import of xine-ui-0.9.20, a skinned xlib-based media player gui.
-rw-r--r--graphics/xine-ui/DESCR6
-rw-r--r--graphics/xine-ui/Makefile28
-rw-r--r--graphics/xine-ui/PLIST256
-rw-r--r--graphics/xine-ui/distinfo9
-rw-r--r--graphics/xine-ui/patches/patch-aa13
-rw-r--r--graphics/xine-ui/patches/patch-ab22
-rw-r--r--graphics/xine-ui/patches/patch-ac37
-rw-r--r--graphics/xine-ui/patches/patch-ad21
-rw-r--r--graphics/xine-ui/patches/patch-ae14
9 files changed, 406 insertions, 0 deletions
diff --git a/graphics/xine-ui/DESCR b/graphics/xine-ui/DESCR
new file mode 100644
index 00000000000..0fa85875191
--- /dev/null
+++ b/graphics/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/graphics/xine-ui/Makefile b/graphics/xine-ui/Makefile
new file mode 100644
index 00000000000..bbca0a046f6
--- /dev/null
+++ b/graphics/xine-ui/Makefile
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/04/11 11:59:55 rh Exp $
+#
+
+DISTNAME= xine-ui-0.9.20
+CATEGORIES= graphics
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xine/}
+
+MAINTAINER= packages@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 "../../graphics/xine-lib/buildlink2.mk"
+.include "../../www/curl/buildlink2.mk"
+.include "../../mk/pthread.buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/xine-ui/PLIST b/graphics/xine-ui/PLIST
new file mode 100644
index 00000000000..8707b969ccc
--- /dev/null
+++ b/graphics/xine-ui/PLIST
@@ -0,0 +1,256 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/04/11 11:59:55 rh 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/FAQ_de
+share/doc/xine-ui/FAQ_en
+share/doc/xine-ui/FAQ_es
+share/doc/xine-ui/FAQ_fr
+share/doc/xine-ui/FAQ_it
+share/doc/xine-ui/FAQ_pl
+share/doc/xine-ui/FAQ_uk
+share/doc/xine-ui/README.config_en
+share/doc/xine-ui/README.divx4
+share/doc/xine-ui/README.dxr3
+share/doc/xine-ui/README.dxr3_pl
+share/doc/xine-ui/README.freebsd
+share/doc/xine-ui/README.irix
+share/doc/xine-ui/README.mrl
+share/doc/xine-ui/README.opengl
+share/doc/xine-ui/README.solaris
+share/doc/xine-ui/README.syncfb
+share/doc/xine-ui/README.tvmode
+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/xine-ui/bug_report_form
+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/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/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/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/graphics/xine-ui/distinfo b/graphics/xine-ui/distinfo
new file mode 100644
index 00000000000..dcdf197d396
--- /dev/null
+++ b/graphics/xine-ui/distinfo
@@ -0,0 +1,9 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/04/11 11:59:55 rh Exp $
+
+SHA1 (xine-ui-0.9.20.tar.gz) = 07fb529584df6cbde01b3fa0c0f8cac88280dbdf
+Size (xine-ui-0.9.20.tar.gz) = 2460849 bytes
+SHA1 (patch-aa) = 2206a9399a5fed0b30c69cfa830e67bcb76c979c
+SHA1 (patch-ab) = 7f3a44781d0a0418f277c082486e606058fa5357
+SHA1 (patch-ac) = 44925827dd883dabb5864ad739ed47a99fd10bda
+SHA1 (patch-ad) = d285a0142c2c91ebec169839bc266c8cbe7a47e4
+SHA1 (patch-ae) = 813c897b89edbc1e37b731008b87fe6b04cf53f2
diff --git a/graphics/xine-ui/patches/patch-aa b/graphics/xine-ui/patches/patch-aa
new file mode 100644
index 00000000000..e00a86f6b0b
--- /dev/null
+++ b/graphics/xine-ui/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2003/04/11 11:59:55 rh Exp $
+
+--- doc/man/Makefile.in.orig 2003-04-11 20:18:22.000000000 +1000
++++ doc/man/Makefile.in
+@@ -150,7 +150,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/graphics/xine-ui/patches/patch-ab b/graphics/xine-ui/patches/patch-ab
new file mode 100644
index 00000000000..15ce6bcb5ca
--- /dev/null
+++ b/graphics/xine-ui/patches/patch-ab
@@ -0,0 +1,22 @@
+$NetBSD: patch-ab,v 1.1.1.1 2003/04/11 11:59:56 rh 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/graphics/xine-ui/patches/patch-ac b/graphics/xine-ui/patches/patch-ac
new file mode 100644
index 00000000000..e77dd6b2d75
--- /dev/null
+++ b/graphics/xine-ui/patches/patch-ac
@@ -0,0 +1,37 @@
+$NetBSD: patch-ac,v 1.1.1.1 2003/04/11 11:59:56 rh 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/graphics/xine-ui/patches/patch-ad b/graphics/xine-ui/patches/patch-ad
new file mode 100644
index 00000000000..eee458a50dc
--- /dev/null
+++ b/graphics/xine-ui/patches/patch-ad
@@ -0,0 +1,21 @@
+$NetBSD: patch-ad,v 1.1.1.1 2003/04/11 11:59:56 rh 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/graphics/xine-ui/patches/patch-ae b/graphics/xine-ui/patches/patch-ae
new file mode 100644
index 00000000000..a3115e59602
--- /dev/null
+++ b/graphics/xine-ui/patches/patch-ae
@@ -0,0 +1,14 @@
+$NetBSD: patch-ae,v 1.1.1.1 2003/04/11 11:59:56 rh 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) {