head 1.9; access; symbols pkgsrc-2022Q1:1.8.0.24 pkgsrc-2022Q1-base:1.8 pkgsrc-2021Q4:1.8.0.22 pkgsrc-2021Q4-base:1.8 pkgsrc-2021Q3:1.8.0.20 pkgsrc-2021Q3-base:1.8 pkgsrc-2021Q2:1.8.0.18 pkgsrc-2021Q2-base:1.8 pkgsrc-2021Q1:1.8.0.16 pkgsrc-2021Q1-base:1.8 pkgsrc-2020Q4:1.8.0.14 pkgsrc-2020Q4-base:1.8 pkgsrc-2020Q3:1.8.0.12 pkgsrc-2020Q3-base:1.8 pkgsrc-2020Q2:1.8.0.10 pkgsrc-2020Q2-base:1.8 pkgsrc-2020Q1:1.8.0.6 pkgsrc-2020Q1-base:1.8 pkgsrc-2019Q4:1.8.0.8 pkgsrc-2019Q4-base:1.8 pkgsrc-2019Q3:1.8.0.4 pkgsrc-2019Q3-base:1.8 pkgsrc-2019Q2:1.8.0.2 pkgsrc-2019Q2-base:1.8 pkgsrc-2019Q1:1.7.0.10 pkgsrc-2019Q1-base:1.7 pkgsrc-2018Q4:1.7.0.8 pkgsrc-2018Q4-base:1.7 pkgsrc-2018Q3:1.7.0.6 pkgsrc-2018Q3-base:1.7 pkgsrc-2018Q2:1.7.0.4 pkgsrc-2018Q2-base:1.7 pkgsrc-2018Q1:1.7.0.2 pkgsrc-2018Q1-base:1.7 pkgsrc-2017Q4:1.6.0.32 pkgsrc-2017Q4-base:1.6 pkgsrc-2017Q3:1.6.0.30 pkgsrc-2017Q3-base:1.6 pkgsrc-2017Q2:1.6.0.26 pkgsrc-2017Q2-base:1.6 pkgsrc-2017Q1:1.6.0.24 pkgsrc-2017Q1-base:1.6 pkgsrc-2016Q4:1.6.0.22 pkgsrc-2016Q4-base:1.6 pkgsrc-2016Q3:1.6.0.20 pkgsrc-2016Q3-base:1.6 pkgsrc-2016Q2:1.6.0.18 pkgsrc-2016Q2-base:1.6 pkgsrc-2016Q1:1.6.0.16 pkgsrc-2016Q1-base:1.6 pkgsrc-2015Q4:1.6.0.14 pkgsrc-2015Q4-base:1.6 pkgsrc-2015Q3:1.6.0.12 pkgsrc-2015Q3-base:1.6 pkgsrc-2015Q2:1.6.0.10 pkgsrc-2015Q2-base:1.6 pkgsrc-2015Q1:1.6.0.8 pkgsrc-2015Q1-base:1.6 pkgsrc-2014Q4:1.6.0.6 pkgsrc-2014Q4-base:1.6 pkgsrc-2014Q3:1.6.0.4 pkgsrc-2014Q3-base:1.6 pkgsrc-2014Q2:1.6.0.2 pkgsrc-2014Q2-base:1.6 pkgsrc-2014Q1:1.5.0.14 pkgsrc-2014Q1-base:1.5 pkgsrc-2013Q4:1.5.0.12 pkgsrc-2013Q4-base:1.5 pkgsrc-2013Q3:1.5.0.10 pkgsrc-2013Q3-base:1.5 pkgsrc-2013Q2:1.5.0.8 pkgsrc-2013Q2-base:1.5 pkgsrc-2013Q1:1.5.0.6 pkgsrc-2013Q1-base:1.5 pkgsrc-2012Q4:1.5.0.4 pkgsrc-2012Q4-base:1.5 pkgsrc-2012Q3:1.5.0.2 pkgsrc-2012Q3-base:1.5 pkgsrc-2012Q2:1.4.0.18 pkgsrc-2012Q2-base:1.4 pkgsrc-2012Q1:1.4.0.16 pkgsrc-2012Q1-base:1.4 pkgsrc-2011Q4:1.4.0.14 pkgsrc-2011Q4-base:1.4 pkgsrc-2011Q3:1.4.0.12 pkgsrc-2011Q3-base:1.4 pkgsrc-2011Q2:1.4.0.10 pkgsrc-2011Q2-base:1.4 pkgsrc-2011Q1:1.4.0.8 pkgsrc-2011Q1-base:1.4 pkgsrc-2010Q4:1.4.0.6 pkgsrc-2010Q4-base:1.4 pkgsrc-2010Q3:1.4.0.4 pkgsrc-2010Q3-base:1.4 pkgsrc-2010Q2:1.4.0.2 pkgsrc-2010Q2-base:1.4 pkgsrc-2009Q4:1.3.0.26 pkgsrc-2009Q4-base:1.3 pkgsrc-2008Q4:1.3.0.24 pkgsrc-2008Q4-base:1.3 pkgsrc-2008Q3:1.3.0.22 pkgsrc-2008Q3-base:1.3 cube-native-xorg:1.3.0.20 cube-native-xorg-base:1.3 pkgsrc-2008Q2:1.3.0.18 pkgsrc-2008Q2-base:1.3 pkgsrc-2008Q1:1.3.0.16 pkgsrc-2008Q1-base:1.3 pkgsrc-2007Q4:1.3.0.14 pkgsrc-2007Q4-base:1.3 pkgsrc-2007Q3:1.3.0.12 pkgsrc-2007Q3-base:1.3 pkgsrc-2007Q2:1.3.0.10 pkgsrc-2007Q2-base:1.3 pkgsrc-2007Q1:1.3.0.8 pkgsrc-2007Q1-base:1.3 pkgsrc-2006Q4:1.3.0.6 pkgsrc-2006Q4-base:1.3 pkgsrc-2006Q3:1.3.0.4 pkgsrc-2006Q3-base:1.3 pkgsrc-2006Q2:1.3.0.2 pkgsrc-2006Q2-base:1.3 pkgsrc-2006Q1:1.2.0.10 pkgsrc-2006Q1-base:1.2 pkgsrc-2005Q4:1.2.0.8 pkgsrc-2005Q4-base:1.2 pkgsrc-2005Q3:1.2.0.6 pkgsrc-2005Q3-base:1.2 pkgsrc-2005Q2:1.2.0.4 pkgsrc-2005Q2-base:1.2 pkgsrc-2005Q1:1.2.0.2 pkgsrc-2005Q1-base:1.2 pkgsrc-2004Q4:1.1.0.6 pkgsrc-2004Q4-base:1.1 pkgsrc-2004Q3:1.1.0.4 pkgsrc-2004Q3-base:1.1 pkgsrc-2004Q2:1.1.0.2 pkgsrc-2004Q2-base:1.1; locks; strict; comment @# @; 1.9 date 2022.04.10.16.49.15; author nia; state dead; branches; next 1.8; commitid nORWGb4nOYyITFzD; 1.8 date 2019.05.15.15.37.32; author nia; state Exp; branches; next 1.7; commitid psOOsD5v4wHpBjnB; 1.7 date 2018.01.21.18.44.59; author wiz; state Exp; branches; next 1.6; commitid IP1U768vpyhr2MnA; 1.6 date 2014.05.07.18.44.28; author wiz; state Exp; branches; next 1.5; commitid JnSLB1gTsTvBADzx; 1.5 date 2012.09.01.08.14.22; author marino; state Exp; branches; next 1.4; 1.4 date 2010.05.07.17.46.25; author drochner; state Exp; branches; next 1.3; 1.3 date 2006.04.09.07.26.52; author xtraeme; state dead; branches; next 1.2; 1.2 date 2005.02.22.00.44.20; author wiz; state Exp; branches; next 1.1; 1.1 date 2004.05.12.16.42.49; author drochner; state Exp; branches; next ; desc @@ 1.9 log @xine-ui: update to 0.99.13 xine-ui (0.99.13) * Add audio control window. * Add some menu shortcuts. * Add build optimizations. * Better keyboard and mouse wheel support. * Improved key binding editor. * Massive code cleanup. * Massive graphics optimizations. * Drop mrl path length limit. * Add utf8 and clipboard support for text input fields. * Add skin shared pixmap and text position features. * Xinetic skin update. * Many small fixes and optinizations. * Update german translation. * Update french translation. * Build fixes. * Faster build. * Separate xitk and X11 stuff pt 1. @ text @$NetBSD: patch-aj,v 1.8 2019/05/15 15:37:32 nia Exp $ Fix buffer overflow --- src/xitk/session.c.orig 2017-12-28 16:34:15.000000000 +0000 +++ src/xitk/session.c @@@@ -487,7 +487,7 @@@@ int init_session(void) { for(i = 0;; i++) { saddr.un.sun_family = AF_UNIX; - snprintf(saddr.un.sun_path, 108, "%s%s%d", (xine_get_homedir()), "/.xine/session.", i); + snprintf(saddr.un.sun_path, sizeof(saddr.un.sun_path), "%s%s%d", (xine_get_homedir()), "/.xine/session.", i); if(!is_remote_running(i)) { if((unlink(saddr.un.sun_path) == -1) && errno != ENOENT) { fprintf(stderr, "setup_ctrlsocket(): Failed to unlink %s (Error: %s)", @ 1.8 log @xine-ui: Update to 0.99.10. Changes: xine-ui (0.99.10) * Added manual video single step feature * Show millisecond time in slow motion * Updated spanish translation * Make desktop file output reproducible * Fixed memory and resource leaks * Fixed deadlocks * Fixed crashes xine-ui (0.99.9) * Handle building using libreadline 6.3 and libcaca 0.99 beta 19. * More shutdown fixes. * Show DVD & BluRay menu names. * More *BSD support – NetBSD, DragonFlyBSD. @ text @d1 1 a1 1 $NetBSD: patch-aj,v 1.7 2018/01/21 18:44:59 wiz Exp $ @ 1.7 log @xine-ui: fix two buffer overflows found by SSP From Anon. Bump PKGREVISION. @ text @d1 1 a1 4 $NetBSD: patch-aj,v 1.6 2014/05/07 18:44:28 wiz Exp $ Support NetBSD and DragonFlyBSD. https://bugs.xine-project.org/show_bug.cgi?id=515 d5 1 a5 1 --- src/xitk/session.c.orig 2014-02-25 16:52:58.000000000 +0000 d7 1 a7 10 @@@@ -21,7 +21,7 @@@@ /* Largely inspired of xmms control socket stuff */ /* required for getsubopt(); the __sun test gives us strncasecmp() on solaris */ -#if ! defined (__sun) && ! defined (__OpenBSD__) && ! defined (__FreeBSD__) +#if ! defined (__sun) && ! defined (__OpenBSD__) && ! defined (__FreeBSD__) && !defined(__NetBSD__) && !defined(__DragonFly__) #define _XOPEN_SOURCE 500 #endif @@@@ -453,7 +453,7 @@@@ int init_session(void) { @ 1.6 log @Update to 0.99.8. Set LICENSE. Add comments to patches. Remove unnecessary patches. Report other patches upstream and add bug report URL. Changes: xine-ui (0.99.8) * Fixed opening file using menus * Fixed exit on panel close * Fixed deadlocks * Fixed segfault at exit * Fixed keymap editor deadlock @ text @d1 1 a1 1 $NetBSD: patch-aj,v 1.5 2012/09/01 08:14:22 marino Exp $ d6 3 a8 1 --- src/xitk/session.c.orig 2010-03-11 09:40:12.000000000 +0000 d19 9 @ 1.5 log @multimedia/xine-ui: Don't redefine _XOPEN_SOURCE on DragonFly DragonFly needs _XOPEN_SOURCE value to be at least 600 in order to expose system functions for the build. Don't let it get redefined to 500. @ text @d1 4 a4 1 $NetBSD: patch-aj,v 1.4 2010/05/07 17:46:25 drochner Exp $ @ 1.4 log @update to 0.99.6 changes: many bugfixes @ text @d1 1 a1 1 $NetBSD$ d10 1 a10 1 +#if ! defined (__sun) && ! defined (__OpenBSD__) && ! defined (__FreeBSD__) && !defined(__NetBSD__) @ 1.3 log @Update to 0.99.4: xine-ui (0.99.4) unstable; urgency=low * Fixed deadlock, segfaults and mem-leaks, several other fixes and enhancements, can't remember details (thanks also to Marcelo Jimenez and Jakub Labath) * Menu to reset video controls * fixed menu shortcut strings allocation/freeing [bug #1223022] * audio post plugin support * use UTF-8 for Japanese locale if nl_langinfo doesn't work [bug #1096974] * expand tabs in post-plugin help * merge some osd menus from oxine * aspect ratio fixed for multihead setups (especially TwinView) [bugs #1089328, #1001702 and #989157] * fixed parsing post plugin parameters of type double for some locales * autoload subtitles with .txt extension too * be more POSIX-compliant (head, tail) (build fix) [bug #1172729] * Russian translations (thanks to Pavel Maryanov) * forced not loading old playlist with -P option xine-ui (0.99.3) unstable; urgency=low * enlarge stream info window (required for Russian translation), * possibility to specify more than one playlist in command line, * unlock mutex before destroying (thanks to Matthias Drochner), * netBSD mutex locking fix, * cursor support implementation into xiTK, * use post plugins for deinterlacing, * fix segfault on enqueuing, * fix segfault on playlist deletion, * add non-official subtitle support into ASX playlists, * add get_speed in session control optarg, * restore original sound volume on exit, * fix memory corruption with huge playlists, * remove obsolete "black stream hack", * reset screensaver after playback resume, * various WM layering bugs, * handle new UTF8 meta infos, * Japanese translations (thanks to Tadashi Jokagi), * visualization switching while playback is running fix, * handle .pls playlist inside URL, * new 'b' shortcut (border visibility toggle), * support alpha channel in splash screen image, @ text @d1 1 a1 1 $NetBSD: patch-aj,v 1.2 2005/02/22 00:44:20 wiz Exp $ d3 4 a6 5 --- src/xitk/actions.c.orig 2004-07-02 23:40:53.000000000 +0200 +++ src/xitk/actions.c @@@@ -1069,6 +1069,11 @@@@ static void *_gui_set_current_position(v pthread_detach(pthread_self()); d8 5 a12 9 + if (pthread_mutex_trylock(&gGui->xe_mutex)) { + pthread_exit(NULL); + return NULL; + } + if(gGui->logo_mode && (mediamark_get_current_mrl())) { if(!xine_open(gGui->stream, (mediamark_get_current_mrl()))) { gui_handle_xine_error(gGui->stream, (char *)(mediamark_get_current_mrl())); @@@@ -1200,8 +1205,6 @@@@ void gui_set_current_position (int pos) a13 7 if(gGui->new_pos == -1) { - pthread_mutex_lock(&gGui->xe_mutex); - pthread_mutex_lock(&new_pos_mutex); gGui->new_pos = pos; pthread_mutex_unlock(&new_pos_mutex); @ 1.2 log @regen to get line numbers correct. @ text @d1 1 a1 1 $NetBSD: patch-aj,v 1.1 2004/05/12 16:42:49 drochner Exp $ @ 1.1 log @update to xine-ui-0.99.1 changes: This release is a major update on xine-ui. It comes with a big cleanup of the user interface, including an improved context menu, and lots of details of the included "xitk" toolkit. Additionally, this release fixes some security issues (referenced in XSA-2004-2). Therefore, we recommend you to upgrade as soon as possible, especially if you are using xine to play URLs/MRLs you obtained from also fix some pthread_mutex abuse, and use GNU readline for xine-remote @ text @d1 1 a1 1 $NetBSD$ d3 3 a5 3 --- src/xitk/actions.c.orig 2004-05-12 17:57:24.000000000 +0200 +++ src/xitk/actions.c 2004-05-12 18:00:06.000000000 +0200 @@@@ -1039,6 +1039,11 @@@@ d17 1 a17 1 @@@@ -1170,8 +1175,6 @@@@ @