head 1.6; access; symbols pkgsrc-2023Q4:1.6.0.158 pkgsrc-2023Q4-base:1.6 pkgsrc-2023Q3:1.6.0.156 pkgsrc-2023Q3-base:1.6 pkgsrc-2023Q2:1.6.0.154 pkgsrc-2023Q2-base:1.6 pkgsrc-2023Q1:1.6.0.152 pkgsrc-2023Q1-base:1.6 pkgsrc-2022Q4:1.6.0.150 pkgsrc-2022Q4-base:1.6 pkgsrc-2022Q3:1.6.0.148 pkgsrc-2022Q3-base:1.6 pkgsrc-2022Q2:1.6.0.146 pkgsrc-2022Q2-base:1.6 pkgsrc-2022Q1:1.6.0.144 pkgsrc-2022Q1-base:1.6 pkgsrc-2021Q4:1.6.0.142 pkgsrc-2021Q4-base:1.6 pkgsrc-2021Q3:1.6.0.140 pkgsrc-2021Q3-base:1.6 pkgsrc-2021Q2:1.6.0.138 pkgsrc-2021Q2-base:1.6 pkgsrc-2021Q1:1.6.0.136 pkgsrc-2021Q1-base:1.6 pkgsrc-2020Q4:1.6.0.134 pkgsrc-2020Q4-base:1.6 pkgsrc-2020Q3:1.6.0.132 pkgsrc-2020Q3-base:1.6 pkgsrc-2020Q2:1.6.0.128 pkgsrc-2020Q2-base:1.6 pkgsrc-2020Q1:1.6.0.108 pkgsrc-2020Q1-base:1.6 pkgsrc-2019Q4:1.6.0.130 pkgsrc-2019Q4-base:1.6 pkgsrc-2019Q3:1.6.0.126 pkgsrc-2019Q3-base:1.6 pkgsrc-2019Q2:1.6.0.124 pkgsrc-2019Q2-base:1.6 pkgsrc-2019Q1:1.6.0.122 pkgsrc-2019Q1-base:1.6 pkgsrc-2018Q4:1.6.0.120 pkgsrc-2018Q4-base:1.6 pkgsrc-2018Q3:1.6.0.118 pkgsrc-2018Q3-base:1.6 pkgsrc-2018Q2:1.6.0.116 pkgsrc-2018Q2-base:1.6 pkgsrc-2018Q1:1.6.0.114 pkgsrc-2018Q1-base:1.6 pkgsrc-2017Q4:1.6.0.112 pkgsrc-2017Q4-base:1.6 pkgsrc-2017Q3:1.6.0.110 pkgsrc-2017Q3-base:1.6 pkgsrc-2017Q2:1.6.0.106 pkgsrc-2017Q2-base:1.6 pkgsrc-2017Q1:1.6.0.104 pkgsrc-2017Q1-base:1.6 pkgsrc-2016Q4:1.6.0.102 pkgsrc-2016Q4-base:1.6 pkgsrc-2016Q3:1.6.0.100 pkgsrc-2016Q3-base:1.6 pkgsrc-2016Q2:1.6.0.98 pkgsrc-2016Q2-base:1.6 pkgsrc-2016Q1:1.6.0.96 pkgsrc-2016Q1-base:1.6 pkgsrc-2015Q4:1.6.0.94 pkgsrc-2015Q4-base:1.6 pkgsrc-2015Q3:1.6.0.92 pkgsrc-2015Q3-base:1.6 pkgsrc-2015Q2:1.6.0.90 pkgsrc-2015Q2-base:1.6 pkgsrc-2015Q1:1.6.0.88 pkgsrc-2015Q1-base:1.6 pkgsrc-2014Q4:1.6.0.86 pkgsrc-2014Q4-base:1.6 pkgsrc-2014Q3:1.6.0.84 pkgsrc-2014Q3-base:1.6 pkgsrc-2014Q2:1.6.0.82 pkgsrc-2014Q2-base:1.6 pkgsrc-2014Q1:1.6.0.80 pkgsrc-2014Q1-base:1.6 pkgsrc-2013Q4:1.6.0.78 pkgsrc-2013Q4-base:1.6 pkgsrc-2013Q3:1.6.0.76 pkgsrc-2013Q3-base:1.6 pkgsrc-2013Q2:1.6.0.74 pkgsrc-2013Q2-base:1.6 pkgsrc-2013Q1:1.6.0.72 pkgsrc-2013Q1-base:1.6 pkgsrc-2012Q4:1.6.0.70 pkgsrc-2012Q4-base:1.6 pkgsrc-2012Q3:1.6.0.68 pkgsrc-2012Q3-base:1.6 pkgsrc-2012Q2:1.6.0.66 pkgsrc-2012Q2-base:1.6 pkgsrc-2012Q1:1.6.0.64 pkgsrc-2012Q1-base:1.6 pkgsrc-2011Q4:1.6.0.62 pkgsrc-2011Q4-base:1.6 pkgsrc-2011Q3:1.6.0.60 pkgsrc-2011Q3-base:1.6 pkgsrc-2011Q2:1.6.0.58 pkgsrc-2011Q2-base:1.6 pkgsrc-2011Q1:1.6.0.56 pkgsrc-2011Q1-base:1.6 pkgsrc-2010Q4:1.6.0.54 pkgsrc-2010Q4-base:1.6 pkgsrc-2010Q3:1.6.0.52 pkgsrc-2010Q3-base:1.6 pkgsrc-2010Q2:1.6.0.50 pkgsrc-2010Q2-base:1.6 pkgsrc-2010Q1:1.6.0.48 pkgsrc-2010Q1-base:1.6 pkgsrc-2009Q4:1.6.0.46 pkgsrc-2009Q4-base:1.6 pkgsrc-2009Q3:1.6.0.44 pkgsrc-2009Q3-base:1.6 pkgsrc-2009Q2:1.6.0.42 pkgsrc-2009Q2-base:1.6 pkgsrc-2009Q1:1.6.0.40 pkgsrc-2009Q1-base:1.6 pkgsrc-2008Q4:1.6.0.38 pkgsrc-2008Q4-base:1.6 pkgsrc-2008Q3:1.6.0.36 pkgsrc-2008Q3-base:1.6 cube-native-xorg:1.6.0.34 cube-native-xorg-base:1.6 pkgsrc-2008Q2:1.6.0.32 pkgsrc-2008Q2-base:1.6 cwrapper:1.6.0.30 pkgsrc-2008Q1:1.6.0.28 pkgsrc-2008Q1-base:1.6 pkgsrc-2007Q4:1.6.0.26 pkgsrc-2007Q4-base:1.6 pkgsrc-2007Q3:1.6.0.24 pkgsrc-2007Q3-base:1.6 pkgsrc-2007Q2:1.6.0.22 pkgsrc-2007Q2-base:1.6 pkgsrc-2007Q1:1.6.0.20 pkgsrc-2007Q1-base:1.6 pkgsrc-2006Q4:1.6.0.18 pkgsrc-2006Q4-base:1.6 pkgsrc-2006Q3:1.6.0.16 pkgsrc-2006Q3-base:1.6 pkgsrc-2006Q2:1.6.0.14 pkgsrc-2006Q2-base:1.6 pkgsrc-2006Q1:1.6.0.12 pkgsrc-2006Q1-base:1.6 pkgsrc-2005Q4:1.6.0.10 pkgsrc-2005Q4-base:1.6 pkgsrc-2005Q3:1.6.0.8 pkgsrc-2005Q3-base:1.6 pkgsrc-2005Q2:1.6.0.6 pkgsrc-2005Q2-base:1.6 pkgsrc-2005Q1:1.6.0.4 pkgsrc-2005Q1-base:1.6 pkgsrc-2004Q4:1.6.0.2 pkgsrc-2004Q4-base:1.6 pkgsrc-2004Q3:1.5.0.8 pkgsrc-2004Q3-base:1.5 pkgsrc-2004Q2:1.5.0.6 pkgsrc-2004Q2-base:1.5 pkgsrc-2004Q1:1.5.0.4 pkgsrc-2004Q1-base:1.5 pkgsrc-2003Q4:1.5.0.2 pkgsrc-2003Q4-base:1.5 netbsd-1-6-1:1.4.0.2 netbsd-1-6-1-base:1.4; locks; strict; comment @# @; 1.6 date 2004.11.27.14.19.16; author magick; state Exp; branches; next 1.5; 1.5 date 2003.04.06.18.27.43; author magick; state dead; branches; next 1.4; 1.4 date 2003.01.05.22.44.45; author magick; state Exp; branches; next 1.3; 1.3 date 2002.12.15.11.32.02; author magick; state dead; branches; next 1.2; 1.2 date 2002.11.24.17.23.41; author magick; state Exp; branches; next 1.1; 1.1 date 2002.10.06.13.03.58; author magick; state Exp; branches; next ; desc @@ 1.6 log @add missing patch @ text @$NetBSD$ --- tvsim/tvsim_main.c.orig 2004-08-15 21:07:25.000000000 +0200 +++ tvsim/tvsim_main.c @@@@ -64,9 +64,13 @@@@ #include "tvsim/tvsim_version.h" #if defined(__FreeBSD__) || defined(__NetBSD__) +#if defined(__FreeBSD__) #include #endif - +#if defined(__NetBSD__) +#include +#endif +#endif // prior to 8.4 there's a SEGV when evaluating const scripts (Tcl tries to modify the string) #if (TCL_MAJOR_VERSION > 8) || ((TCL_MAJOR_VERSION == 8) && (TCL_MINOR_VERSION >= 4)) # define TCL_EVAL_CONST(INTERP, SCRIPT) Tcl_EvalEx(INTERP, SCRIPT, -1, TCL_EVAL_GLOBAL) @ 1.5 log @Update nxtvepg from 2.4.2 to 2.5.0 From 2.4.2 to 2.5.0 (March/22/2003) Main change: * An alternate TV schedule presentation layout with separate columns for each TV network, similar to the layout principles used by paper based TV magazines. See a comparison of screenshots of the alternate and regular layouts. In detail (Windows-changes omitted): * Added an alternate layout for GUI: programmes are still sorted by start time, but presented in separate columns for each network. Schedules of different networks are aligned, so that programmes which run at the same time are approximately at the same height. The new layout also supports user-defined presentation, i.e. free selection of all attributes which are printed for each programme, possibly depending on filter shortcuts (for example you can print more details for movies), plus marking selected programmes by use of colors and icons. * UNIX xawtv: implemented "overlay" EPG popup based on nxtvepg controlled window (no longer uses "vtx" removed command, which was removed in xawtv-3.7x) The colors can be configured via the new resources xawtv_overlay_fg and xawtv_overlay_bg (see manual for details) * UNIX: the Nxtvepg app-defaults file is now loaded during startup because some user's didn't realize they should have copied modified entries into their $HOME/.Xdefaults * Fixed bug in description text redundancy removal from 2.4.2: texts with less than 30 characters length were not removed. Thanks to Thierry for pointing this out. Also fixed a bug which caused text truncation. * Fixed bug in text decoder which caused some national characters to be displayed falsely, e.g. "D'ECONSEILL'" instead of "D?CONSEILL?". * Fixed bug in "global invert" filter matching (depending on which filter types were inverted, expired programmes could have shown up in the listing) * added possibility to combine several text searches (logical OR) * added fixes for FreeBSD and NetBSD provided by Simon Barner * added Linux "devfs" compatibility, i.e. find /dev/v4l/vbi * added Makefile fixes provided by Debian maintainer Gerd Knorr * fixed SEGV during build on IA64 due to missing include in tcl2c tool (reported to Debian bug tracking by Bdale Garbee) @ text @d1 1 a1 1 $NetBSD: patch-af,v 1.4 2003/01/05 22:44:45 magick Exp $ d3 17 a19 11 --- epgvbi/btdrv4linux.c.orig Mon Nov 25 20:30:52 2002 +++ epgvbi/btdrv4linux.c @@@@ -213,7 +213,7 @@@@ if (ioctl(fd,METEORSINPUT,&input_id)==0) { pVbiBuf->tv_cards[i].inputs[j].inputID=input_id; pVbiBuf->tv_cards[i].inputs[j].isTuner=(input_id==METEOR_DEV1); - strncpy((char*)pVbiBuf->tv_cards[i].inputs[j].name,input_name, DEV_MAX_NAME_LEN); + strncpy((char*)pVbiBuf->tv_cards[i].inputs[j].name,input_name, 20); pVbiBuf->tv_cards[i].inputs[j].isAvailable=1; } else @ 1.4 log @Fix a little bug which slipped in while porting it to FreeBSD. Fix submitted by the FreeBSD porter. Bumping it to nb1 @ text @d1 1 a1 1 $NetBSD$ @ 1.3 log @Remove obsolete patch @ text @d1 1 a1 1 $NetBSD: patch-af,v 1.2 2002/11/24 17:23:41 magick Exp $ d3 1 a3 1 --- epgvbi/btdrv4linux.c.orig Sun Nov 24 17:56:26 2002 d5 9 a13 9 @@@@ -516,7 +516,7 @@@@ norm = freq >> 24; lfreq = freq & 0xffffff; - if (DevKeptOpen || BtDriver_SetInputSource(inputIdx, norm, pIsTuner)) + if (devKeptOpen || BtDriver_SetInputSource(inputIdx, norm, pIsTuner)) { if ( (devKeptOpen || *pIsTuner) && (lfreq != 0) ) { @ 1.2 log @Update nxtvepg to 2.4.0: Changes since 2.3.0 are too numerous to mention all here. Refer to the homepage for details. The most important changes: * Project page was moved to sourceforge * Implemented user-defined columns in TV schedule output, which allow to define the column content depending on matches against a number of filter shortcuts; the content can consist of static text, pre-defined images or a standard attribute. See the manual or this screenshot for details. * Implemented inverted filters, i.e. you can now search for all programmes which do not match one or more of given filter criteria or simply invert the outcome of a complete filter setting. * Added a new filter type: "VPS/PDC" which allows to search for programmes with a VPS/PDC timestamp attached, and/or whose VPS/PDC start time differs from the actual start time (i.e. shifted or newly added programmes) * Enhanced start time filter: added an option "ignore date" which allows to search for programmes in a daily time window (e.g. restrict a search for German new magazine "Tagesschau" to 20:00-20:10) * Added database export in XML format (according to xmltv.dtd), provided by Massis Sirapian. * Bugfix for Power-PC architecture in pioutput.c; Thanks to Gerhard Tonn * Internal changes: split Tcl/Tk script for GUI into modules (the * daemon only loads the script which manages the rcfile - saves * apx. 400 kB RAM) Plus many bug fixes. @ text @d1 1 a1 1 $NetBSD$ @ 1.1 log @Update nxtvepg to 2.3.0. And while there buildlinkify2 it. Changes since 2.2.1 (Windows specific changes ommited): * Bugfix in user-defined context menu entries: variables using modifiers (e.g. ${start: %H:%M %d.%m.%Y}) sometimes had trailing garbage; this bug was introduced in 2.2.0. Thanks to Friedrich Delgado Friedrichs for pointing this out. * Bugfix in decoding of description texts (newlines were not processed correctly sometimes); also improved text display by inserting paragraph breaks when there is a completely empty line in the original description text * Added "duration" filter, so that programmes ouside of given running time length boundaries can be suppressed (e.g. filler programmes which are less then 10 minutes long) * Added possibility to manually resize all listbox columns by dragging the right border of the column header menu buttons (not possible if headers are disabled in the "show" options of the configure menu). Note that the automatic resizing of the network name column was dropped in favour of this feature. * Timescale windows are now always made large enough to display the time range covered by all programmes in the database (formerly only the next 5 days were covered, which was by far not enough for the German provider Kabel1) * Added zoom and help buttons to the timescale windows * Improved key bindings and default keyboard focus in main browser and dialog windows; CTRL-F in main window now opens the text search dialog; CTRL-C opens the context menu; digit keys now toggle shortcuts; Return tunes the channel like pressing the Tune-TV button * The search text history is now accessible from inside the text search filter dialog (by pressing the down cursor key or clicking the arrow button next to the text entry field) * The "Refresh" mode of the EPG scan now allows to remove databases of obsolete providers which no longer transmit Nextview EPG (e.g. Pro7 or TV5). Thanks to Frank Mauler for pointing out the need for this feature. * Added a "Load all used" button to the sorting criterion filter dialog which fills the sorting criterion selection listbox with a list of all codes that are actually used in the current database. This allows a quick overview which criterions will produce any matches when filtered for. * Linux only: fixed tuner frequency setting (in particular the EPG scan) for SECAM/PAL multi-norm tuners. Thanks to "Keuleu 36" for debugging this problem * UNIX only: fine tuning offsets and TV norm in the .xawtv file are now evaluated for the EPG scan * Internal reorganization of the interface between Tcl/Tk and C modules (using the "object-based" Tcl interface for function arguments and results) @ text @d3 1 a3 1 --- epgvbi/btdrv4linux.c.orig Sun Oct 6 14:32:01 2002 d5 2 a6 16 @@@@ -145,6 +145,9 @@@@ static void * BtDriver_Main( void * foo ); static void BtDriver_OpenVbiBuf( void ); +#ifdef __NetBSD__ +int BtDriver_StartCapture(void); +#endif #ifdef __NetBSD__ // --------------------------------------------------------------------------- @@@@ -481,6 +484,7 @@@@ char devName[DEV_MAX_NAME_LEN]; ulong lfreq; bool result = FALSE; + uint norm; a7 2 if (BtDriver_SetInputSource(inputIdx, norm, pIsTuner)) @@@@ -1358,13 +1362,15 @@@@ d9 4 a12 1 if (pVbiBuf->doQueryFreq && (vbi_fdin != -1)) a13 22 +#ifndef __NetBSD__ struct video_channel vchan; +#endif __NetBSD__ ulong lfreq; if (ioctl(vbi_fdin, VIDIOCGFREQ, &lfreq) == 0) { dprintf1("BtDriver-Main: QueryChannel got %.2f MHz\n", (double)lfreq/16); - +#ifndef __NetBSD__ // get TV norm set in the tuner (channel #0) memset(&vchan, 0, sizeof(vchan)); if (ioctl(vbi_fdin, VIDIOCGCHAN, &vchan) == 0) @@@@ -1374,7 +1380,7 @@@@ } else debug1("BtDriver-Main: VIDIOCGCHAN error: %s", strerror(errno)); - +#endif //__NetBSD__ pVbiBuf->vbiQueryFreq = lfreq; } else @