pkgsrc/misc/nxtvepg/patches/patch-af
magick 0644023264 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)
2002-10-06 13:03:57 +00:00

48 lines
1.3 KiB
Text

$NetBSD: patch-af,v 1.1 2002/10/06 13:03:58 magick Exp $
--- epgvbi/btdrv4linux.c.orig Sun Oct 6 14:32:01 2002
+++ epgvbi/btdrv4linux.c
@@ -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;
lfreq = freq & 0xffffff;
if (BtDriver_SetInputSource(inputIdx, norm, pIsTuner))
@@ -1358,13 +1362,15 @@
if (pVbiBuf->doQueryFreq && (vbi_fdin != -1))
{
+#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