Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jul 2006 23:07:34 +0200
From:      "Danny Pansters" <danny@ricin.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        danny@ricin.com
Subject:   ports/100835: [maintainer] multimedia/kbtv: update to 1.1.2 (point release)
Message-ID:  <20060725210740.BD36B43D5E@mx1.FreeBSD.org>
Resent-Message-ID: <200607252110.k6PLAFam007040@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         100835
>Category:       ports
>Synopsis:       [maintainer] multimedia/kbtv: update to 1.1.2 (point release)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 25 21:10:15 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Danny Pansters
>Release:        FreeBSD 6.1-STABLE i386
>Organization:
>Environment:
System: FreeBSD desktop.homenet 6.1-STABLE FreeBSD 6.1-STABLE #0: Sun Jul 16 20:40:22 CEST 2006 root@desktop.homenet:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:
	Point release with some fixes for saa with MK3 tuners (maybe others too):

	- add some IF section programming (if i2c address 0x86 on the bus)
	- tuner init (detect tuner address, set AGC TOP value for MK3)
	- port options now include broadcasting standards, e.g. PAL B/G, etc
	- tuning now works (for me, PAL B) after a cold boot into FreeBSD
	- further improvement/refinement (and testing) needed

>How-To-Repeat:
	
>Fix:

	

--- multimedia::kbtv.diff begins here ---
diff -ruN multimedia/kbtv.old/Makefile multimedia/kbtv/Makefile
--- multimedia/kbtv.old/Makefile	Mon Jul 24 01:02:54 2006
+++ multimedia/kbtv/Makefile	Mon Jul 24 17:51:58 2006
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	kbtv
-DISTVERSION=	1.1.1
+DISTVERSION=	1.1.2
 CATEGORIES=	multimedia python kde
 MASTER_SITES=	http://freebsd.ricin.com/ports/distfiles/
 EXTRACT_SUFX=	.tbz
@@ -15,7 +15,8 @@
 COMMENT=	KDE TV viewer for FreeBSD
 
 RUN_DEPENDS=	kdepyuic:${PORTSDIR}/x11-toolkits/py-kde
-BUILD_DEPENDS=	${RUN_DEPENDS} swig1.3:${PORTSDIR}/devel/swig13
+BUILD_DEPENDS=	swig1.3:${PORTSDIR}/devel/swig13 \
+		kdepyuic:${PORTSDIR}/x11-toolkits/py-kde
 
 USE_BZIP2=	yes
 USE_KDELIBS_VER=3
@@ -23,15 +24,20 @@
 USE_SDL=	sdl
 INSTALLS_ICONS=	yes
 
-OPTIONS=	PWC "Philips & compatible cameras (pwc)" off \
-		SAA "Philips SAA713x based TV cards (saa)" off \
-		SAA_TUNER_PHILIPS "Philips tuner API" on \
-		SAA_TUNER_PHILIPS_MK3 "Philips MK3 tuner API" off \
-		SAA_TUNER_ALPS "Alps tuner API" off \
-		SAA_TUNER_LG "LG tuner API" off \
-		SAA_TUNER_TEMIC "Temic tuner API" off \
-		SAA_TUNER_NTSC "NTSC tuner standard (default PAL)" off \
-		SAA_TUNER_0xC2 "IIC read address 0xc2 (default 0xc0)" off
+OPTIONS=	PWC "Philips and compatible cameras" off \
+		SAA "Philips SAA713x TV cards" off \
+		SAA_TUNER_PHILIPS "SAA with Philips tuner API" on \
+		SAA_TUNER_PHILIPS_MK3 "SAA with Philips MK3 tuner API" off \
+		SAA_TUNER_ALPS "SAA with Alps tuner API" off \
+		SAA_TUNER_LG "SAA with LG tuner API" off \
+		SAA_TUNER_TEMIC "SAA with Temic tuner API" off \
+		SAA_STD_PAL_B_G "SAA with PAL B/G standard" on \
+		SAA_STD_PAL_I "SAA with PAL I standard" off \
+		SAA_STD_PAL_D_K "SAA with PAL/SECAM D/K standard" off \
+		SAA_STD_PAL_L "SAA with PAL/SECAM L standard" off \
+		SAA_STD_PAL_LACCENT "SAA with PAL/SECAM L' standard" off \
+		SAA_STD_NTSC "SAA with NTSC N/M standard" off \
+		SAA_STD_NTSC_JAPAN "SAA with NTSC Japan standard" off
 
 .include <bsd.port.pre.mk>
 
@@ -90,14 +96,31 @@
 		's|SAA_TUNER = SAA_TUNER_PHILIPS|SAA_TUNER = SAA_TUNER_TEMIC|' \
 		${WRKSRC}/buildprefs.py
 .endif
-.if defined(WITH_SAA_TUNER_NTSC)
+.endif
+.if defined(WITHOUT_SAA_STD_PAL_B_G)
+.if defined(WITH_SAA_STD_PAL_I)
 	@${REINPLACE_CMD} -e \
-		's|SAA_TUNER_STD = SAA_TUNER_STD_PAL|SAA_TUNER_STD = SAA_TUNER_STD_NTSC|' \
+		's|SAA_TUNER_STD = SAA_TUNER_STD_PAL_B_G|SAA_TUNER_STD = SAA_TUNER_STD_PAL_I|' \
 		${WRKSRC}/buildprefs.py
-.endif
-.if defined(WITH_SAA_TUNER_0xC2)
+.elif defined(WITH_SAA_STD_PAL_D_K)
+	@${REINPLACE_CMD} -e \
+		's|SAA_TUNER_STD = SAA_TUNER_STD_PAL_B_G|SAA_TUNER_STD = SAA_TUNER_STD_PAL_D_K|' \
+		${WRKSRC}/buildprefs.py
+.elif defined(WITH_SAA_STD_PAL_L)
+	@${REINPLACE_CMD} -e \
+		's|SAA_TUNER_STD = SAA_TUNER_STD_PAL_B_G|SAA_TUNER_STD = SAA_TUNER_STD_PAL_L|' \
+		${WRKSRC}/buildprefs.py
+.elif defined(WITH_SAA_STD_PAL_LACCENT)
+	@${REINPLACE_CMD} -e \
+		's|SAA_TUNER_STD = SAA_TUNER_STD_PAL_B_G|SAA_TUNER_STD = SAA_TUNER_STD_PAL_LACCENT|' \
+		${WRKSRC}/buildprefs.py
+.elif defined(WITH_SAA_STD_NTSC)
+	@${REINPLACE_CMD} -e \
+		's|SAA_TUNER_STD = SAA_TUNER_STD_PAL_B_G|SAA_TUNER_STD = SAA_TUNER_STD_NTSC|' \
+		${WRKSRC}/buildprefs.py
+.elif defined(WITH_SAA_STD_NTSC_JAPAN)
 	@${REINPLACE_CMD} -e \
-		's|SAA_TUNER_IIC = SAA_IIC_0xC0|SAA_TUNER_IIC = SAA_IIC_0xC2|' \
+		's|SAA_TUNER_STD = SAA_TUNER_STD_PAL_B_G|SAA_TUNER_STD = SAA_TUNER_STD_NTSC_JAPAN|' \
 		${WRKSRC}/buildprefs.py
 .endif
 .endif
diff -ruN multimedia/kbtv.old/distinfo multimedia/kbtv/distinfo
--- multimedia/kbtv.old/distinfo	Mon Jul 24 01:02:54 2006
+++ multimedia/kbtv/distinfo	Tue Jul 25 20:35:40 2006
@@ -1,3 +1,3 @@
-MD5 (kbtv-1.1.1.tbz) = 4d1216e79e7a60f7c43faeb4c8e310d1
-SHA256 (kbtv-1.1.1.tbz) = 71f48605219076cc85e0e4479fc02477b9774a16a794fe4083427e44b11b5a62
-SIZE (kbtv-1.1.1.tbz) = 761073
+MD5 (kbtv-1.1.2.tbz) = d88de1aa97cee3e66ede245bfca45411
+SHA256 (kbtv-1.1.2.tbz) = e011d9400d6ccf58dbae4fb2ff207a6af2730167d1cce5c41950083b3daef347
+SIZE (kbtv-1.1.2.tbz) = 762274
diff -ruN multimedia/kbtv.old/pkg-message multimedia/kbtv/pkg-message
--- multimedia/kbtv.old/pkg-message	Mon Jul 24 01:02:54 2006
+++ multimedia/kbtv/pkg-message	Mon Jul 24 01:46:48 2006
@@ -10,11 +10,10 @@
 sysctl commands if needed, then the commit command, and finally the 
 adduser command. Use show to see current status, help when lost.
 
-For BrookTree/Conexant BT8x8 you need to load the bktr module, for 
-Philips SAA713x you need to load the saa module, for Philips and 
-compatible USB cameras you need to load the pwc module.
+For BrookTree/Conexant BT8x8 the bktr module should be loaded, for 
+Philips SAA713x the saa module should be loaded, for Philips and 
+compatible USB cameras the pwc module should be loaded.
 
 If you're having trouble, please look at the (KDE) documentation and
 the README first, before asking me. Thanks.
 ====================================================================
-
--- multimedia::kbtv.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060725210740.BD36B43D5E>