Date: Mon, 24 Aug 2009 00:22:18 -0400 (EDT) From: Naram Qashat <cyberbotx@cyberbotx.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/138123: [MAINTAINER] multimedia/transcode: update to 1.1.4 Message-ID: <200908240422.n7O4MIqj076879@kirby.cyberbotx.com> Resent-Message-ID: <200908240430.n7O4U2hb003029@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 138123 >Category: ports >Synopsis: [MAINTAINER] multimedia/transcode: update to 1.1.4 >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: Mon Aug 24 04:30:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Naram Qashat >Release: FreeBSD 7.2-STABLE i386 >Organization: >Environment: System: FreeBSD kirby.cyberbotx.com 7.2-STABLE FreeBSD 7.2-STABLE #0: Wed Jun 3 04:24:13 EDT >Description: - Update to 1.1.4 Added file(s): - files/patch-libtc-tc_functions.c NOTE: The above file was also included in the previous update, but not included. The patch is needed to allow transcode to properly detect the type when /dev/* is used with transcode. I looked into finding a better way of doing this, but I have had no luck with that. If there is some way, in C, to determine what the type of a device node is, I would love to hear about it and get a better patch put in place, possibly sending it upstream. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- transcode-1.1.4.patch begins here --- diff -ruN --exclude=CVS /usr/ports/multimedia/transcode/Makefile /kirby/shared/ports/transcode/Makefile --- /usr/ports/multimedia/transcode/Makefile 2009-08-04 11:33:05.000000000 -0400 +++ /kirby/shared/ports/transcode/Makefile 2009-08-23 23:26:00.000000000 -0400 @@ -6,8 +6,7 @@ # PORTNAME= transcode -PORTVERSION= 1.1.3 -PORTREVISION= 1 +PORTVERSION= 1.1.4 CATEGORIES= multimedia MASTER_SITES= ${MASTER_SITE_BERLIOS} \ http://fromani.exit1.org/ diff -ruN --exclude=CVS /usr/ports/multimedia/transcode/distinfo /kirby/shared/ports/transcode/distinfo --- /usr/ports/multimedia/transcode/distinfo 2009-07-22 14:34:00.000000000 -0400 +++ /kirby/shared/ports/transcode/distinfo 2009-08-23 23:26:41.000000000 -0400 @@ -1,3 +1,3 @@ -MD5 (transcode-1.1.3.tar.bz2) = 9e6d73f6fedff320d0f25feaa4f464a1 -SHA256 (transcode-1.1.3.tar.bz2) = 2b5a94cd4ac6b3f0a49c916d1fd55a1c64fc5c7c9b13d32ab141fa59825545f7 -SIZE (transcode-1.1.3.tar.bz2) = 2116702 +MD5 (transcode-1.1.4.tar.bz2) = 6ba277fde95c26d217a88bbe5e6dd994 +SHA256 (transcode-1.1.4.tar.bz2) = 7f61fec49ccbf6c5ebe86505c779a659711352733252b241287ce7bf15710e3e +SIZE (transcode-1.1.4.tar.bz2) = 2116804 diff -ruN --exclude=CVS /usr/ports/multimedia/transcode/files/patch-libtc-tc_functions.c /kirby/shared/ports/transcode/files/patch-libtc-tc_functions.c --- /usr/ports/multimedia/transcode/files/patch-libtc-tc_functions.c 1969-12-31 19:00:00.000000000 -0500 +++ /kirby/shared/ports/transcode/files/patch-libtc-tc_functions.c 2009-02-01 22:14:46.000000000 -0500 @@ -0,0 +1,33 @@ +--- libtc/tc_functions.c.orig 2008-08-09 17:24:38.000000000 -0400 ++++ libtc/tc_functions.c 2009-02-01 22:13:42.000000000 -0500 +@@ -534,6 +534,15 @@ + /* char device could be several things, depending on system */ + /* *BSD DVD device? v4l? bktr? sunau? */ + if(S_ISCHR(fbuf.st_mode)) { ++#ifdef __FreeBSD__ ++ if (strstr(name, "bktr") || strstr(name, "tuner") || strstr(name, "wbi")) ++ return TC_PROBE_PATH_BKTR; ++ else if (strstr(name, "dsp") || strstr(name, "audio") || strstr(name, "music")) ++ return TC_PROBE_PATH_OSS; ++ else ++ return TC_PROBE_PATH_ABSPATH; ++#endif ++ + switch (major(fbuf.st_rdev)) { + #ifdef OS_BSD + # ifdef __OpenBSD__ +@@ -544,14 +553,6 @@ + case 49: /* bktr */ + return TC_PROBE_PATH_BKTR; + # endif +-# ifdef __FreeBSD__ +- case 4: /* acd */ +- return TC_PROBE_PATH_ABSPATH; +- case 229: /* bktr */ +- return TC_PROBE_PATH_BKTR; +- case 0: /* OSS */ +- return TC_PROBE_PATH_OSS; +-# endif + default: /* libdvdread uses "raw" disk devices here */ + return TC_PROBE_PATH_ABSPATH; + #else --- transcode-1.1.4.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200908240422.n7O4MIqj076879>