diff options
author | Michael Hanson <hansonorders@verison.net> | 2010-05-13 02:24:10 (GMT) |
---|---|---|
committer | Michael Hanson <hansonorders@verison.net> | 2010-05-13 02:24:10 (GMT) |
commit | a0764ec0f733e7983d78e068bfbdfde282a7548b (patch) | |
tree | c9eba5a081fcc7fa57555873423905f84a3968fc /abs/extra-testing/community | |
parent | 9e325d541ac7ef0bc7201e0e6571dce8dbcaaa50 (diff) | |
download | linhes_pkgbuild-a0764ec0f733e7983d78e068bfbdfde282a7548b.zip linhes_pkgbuild-a0764ec0f733e7983d78e068bfbdfde282a7548b.tar.gz linhes_pkgbuild-a0764ec0f733e7983d78e068bfbdfde282a7548b.tar.bz2 |
mythtv-contrib: Move to extra-testing & update stb-command to 1.0
Diffstat (limited to 'abs/extra-testing/community')
-rw-r--r-- | abs/extra-testing/community/mythtv-contrib/6200ch.c.r21651.patch | 181 | ||||
-rw-r--r-- | abs/extra-testing/community/mythtv-contrib/6200ch.tar.gz | bin | 5040 -> 0 bytes | |||
-rw-r--r-- | abs/extra-testing/community/mythtv-contrib/PKGBUILD | 148 | ||||
-rw-r--r-- | abs/extra-testing/community/mythtv-contrib/dct-channel_make.patch | 16 | ||||
-rw-r--r-- | abs/extra-testing/community/mythtv-contrib/mythchanger.10f.beta.tar | bin | 30720 -> 0 bytes | |||
-rw-r--r-- | abs/extra-testing/community/mythtv-contrib/mythchanger_make.patch | 8 | ||||
-rw-r--r-- | abs/extra-testing/community/mythtv-contrib/mythtv-contrib.install | 7 | ||||
-rw-r--r-- | abs/extra-testing/community/mythtv-contrib/sa3250cmd_make.patch | 10 |
8 files changed, 0 insertions, 370 deletions
diff --git a/abs/extra-testing/community/mythtv-contrib/6200ch.c.r21651.patch b/abs/extra-testing/community/mythtv-contrib/6200ch.c.r21651.patch deleted file mode 100644 index f883ecb..0000000 --- a/abs/extra-testing/community/mythtv-contrib/6200ch.c.r21651.patch +++ /dev/null @@ -1,181 +0,0 @@ ---- contrib/channel_changers/6200ch/6200ch.c.orig 2009-09-03 19:51:11.913853152 +0000 -+++ contrib/channel_changers/6200ch/6200ch.c 2009-09-04 05:11:44.212465932 +0000 -@@ -88,6 +88,9 @@ - #define QIP7100_MODEL_ID1 0x00008100 - #define QIP7100_MODEL_ID2 0x00000001 - -+#define QIP6200_VENDOR_ID1 0x0000211e -+#define QIP6200_MODEL_ID1 0x00007100 -+ - #define MOT_UNKNOWN_VENDOR_ID1 0x04db - #define MOT_UNKNOWN_VENDOR_ID2 0x0406 - #define MOT_UNKNOWN_VENDOR_ID3 0x0ce5 -@@ -99,17 +102,16 @@ - #define MOT_UNKNOWN_VENDOR_ID9 0x1ade - #define MOT_UNKNOWN_VENDOR_ID10 0x1cfb - #define MOT_UNKNOWN_VENDOR_ID11 0x2040 --#define MOT_UNKNOWN_VENDOR_ID12 0x211e --#define MOT_UNKNOWN_VENDOR_ID13 0x2180 --#define MOT_UNKNOWN_VENDOR_ID14 0x2210 --#define MOT_UNKNOWN_VENDOR_ID15 0x230b --#define MOT_UNKNOWN_VENDOR_ID16 0x2375 --#define MOT_UNKNOWN_VENDOR_ID17 0x2395 --#define MOT_UNKNOWN_VENDOR_ID18 0x23a2 --#define MOT_UNKNOWN_VENDOR_ID19 0x23ed --#define MOT_UNKNOWN_VENDOR_ID20 0x23ee --#define MOT_UNKNOWN_VENDOR_ID21 0x23a0 --#define MOT_UNKNOWN_VENDOR_ID22 0x23a1 -+#define MOT_UNKNOWN_VENDOR_ID12 0x2180 -+#define MOT_UNKNOWN_VENDOR_ID13 0x2210 -+#define MOT_UNKNOWN_VENDOR_ID14 0x230b -+#define MOT_UNKNOWN_VENDOR_ID15 0x2375 -+#define MOT_UNKNOWN_VENDOR_ID16 0x2395 -+#define MOT_UNKNOWN_VENDOR_ID17 0x23a2 -+#define MOT_UNKNOWN_VENDOR_ID18 0x23ed -+#define MOT_UNKNOWN_VENDOR_ID19 0x23ee -+#define MOT_UNKNOWN_VENDOR_ID20 0x23a0 -+#define MOT_UNKNOWN_VENDOR_ID21 0x23a1 - - #define PACE_VENDOR_ID1 0x00005094 /* 550 & 779 */ - #define PACE_VENDOR_ID2 0x00005094 /* unknown */ -@@ -128,21 +130,23 @@ - #define RETRY_COUNT_FAST 0 - - void set_chan_slow(raw1394handle_t handle, int device, int verbose, int chn); -+void set_chan_slow_four_digit(raw1394handle_t handle, int device, int verbose, int chn); - void set_chan_fast(raw1394handle_t handle, int device, int verbose, int chn); - void set_power_fast(raw1394handle_t handle, int device, int verbose); - - void usage() - { - fprintf(stderr, "Usage: 6200ch [-v] [-s] [-n NODE] [-g GUID] [-p PORT] " -- "<channel_num>\n"); -+ "[-4] <channel_num>\n"); - fprintf(stderr, "-v print additional verbose output\n"); -- fprintf(stderr, "-s use single packet method\n"); -+ fprintf(stderr, "-s use single packet method. Cannot be used with -4.\n"); - fprintf(stderr, "-w toggle power state\n"); - fprintf(stderr, "-n NODE node to start device scanning on (default:%i)\n", - STARTING_NODE); - fprintf(stderr, "-p PORT port/adapter to use (default:%i)\n", - STARTING_PORT); - fprintf(stderr, "-g GUID GUID to use, -n switch, if present, will be ignored.\n"); -+ fprintf(stderr, "-4 Enable 4 digit channel number support. Cannot be used with -s.\n"); - exit(1); - } - -@@ -158,6 +162,7 @@ - octlet_t cli_GUID=0LL; - octlet_t node_GUID=0LL; - int chn = 0; -+ int use_four_digit = 0; - - /* some people experience crashes when starting on node 1 */ - int starting_node = STARTING_NODE; -@@ -168,7 +173,7 @@ - usage(); - - opterr = 0; -- while ((c = getopt(argc, argv, "vswg:n:p:")) != -1) -+ while ((c = getopt(argc, argv, "vswg:n:p:4")) != -1) - { - switch (c) { - case 'v': -@@ -191,16 +196,24 @@ - case 'p': - starting_port = atoi(optarg); - break; -+ case '4': -+ use_four_digit = 1; -+ break; - default: - fprintf(stderr, "incorrect command line arguments\n"); - usage(); - } - } - -+ { -+ /* We cannot use single packet with 4 digits */ -+ if (single_packet && use_four_digit) -+ usage(); -+ } - /* print out usage message if not enough arguments */ - if (optind == argc-1) - { -- /* the last argument is the channel number */ -+ /* the last argument is the channel number */ - chn = atoi(argv[optind]); - } - else if (!toggle_power) -@@ -292,6 +305,7 @@ - (dir.vendor_id == DCT6416_VENDOR_ID1) || - (dir.vendor_id == DCT6416_VENDOR_ID2) || - (dir.vendor_id == QIP7100_VENDOR_ID1) || -+ (dir.vendor_id == QIP6200_VENDOR_ID1) || - (dir.vendor_id == MOT_UNKNOWN_VENDOR_ID1) || - (dir.vendor_id == MOT_UNKNOWN_VENDOR_ID2) || - (dir.vendor_id == MOT_UNKNOWN_VENDOR_ID3) || -@@ -313,7 +327,6 @@ - (dir.vendor_id == MOT_UNKNOWN_VENDOR_ID19) || - (dir.vendor_id == MOT_UNKNOWN_VENDOR_ID20) || - (dir.vendor_id == MOT_UNKNOWN_VENDOR_ID21) || -- (dir.vendor_id == MOT_UNKNOWN_VENDOR_ID22) || - (dir.vendor_id == PACE_VENDOR_ID1) || - (dir.vendor_id == PACE_VENDOR_ID2)) && - ((dir.model_id == DCH3200_MODEL_ID1) || -@@ -330,6 +343,7 @@ - (dir.model_id == DCT6416_MODEL_ID1) || - (dir.model_id == QIP7100_MODEL_ID1) || - (dir.model_id == QIP7100_MODEL_ID2) || -+ (dir.model_id == QIP6200_MODEL_ID1) || - (dir.model_id == PACE550_MODEL_ID1) || - (dir.model_id == PACE779_MODEL_ID1)) ) - { -@@ -356,6 +370,9 @@ - if (single_packet) - set_chan_fast(handle, device, verbose, chn); - else -+ if (use_four_digit) -+ set_chan_slow_four_digit(handle, device, verbose, chn); -+ else - set_chan_slow(handle, device, verbose, chn); - } - -@@ -387,6 +404,37 @@ - } - } - -+// Same as set_chan_slow(), but sends 4 digits instead of 3 (for quicker channel changes on QIP6200-2 / QIP7100-1) -+void set_chan_slow_four_digit(raw1394handle_t handle, int device, int verbose, int chn) -+{ -+ int i; -+ int dig[4]; -+ quadlet_t cmd[2]; -+ -+ if (verbose) -+ printf("chn: %d\n", chn); -+ -+ dig[3] = (chn % 10); -+ dig[2] = (chn % 100) / 10; -+ dig[1] = (chn % 1000) / 100; -+ dig[0] = (chn % 10000) / 1000; -+ -+ if (verbose) -+ printf("AV/C Command: %d%d%d%d = Op1=0x%08X Op2=0x%08X Op3=0x%08X Op4=0x%08X\n", -+ dig[0], dig[1], dig[2], dig[3], -+ CTL_CMD0 | dig[0], CTL_CMD0 | dig[1], CTL_CMD0 | dig[2], CTL_CMD0 | dig[3]); -+ -+ for (i=0; i<4; i++) { -+ if (verbose) -+ printf("Sending digit %d\n", dig[i]); -+ cmd[0] = CTL_CMD0 | dig[i]; -+ cmd[1] = 0x0; -+ -+ avc1394_transaction_block(handle, device, cmd, 2, RETRY_COUNT_SLOW); -+ usleep(500000); // small delay for button to register -+ } -+} -+ - void set_chan_fast(raw1394handle_t handle, int device, int verbose, int chn) - { - quadlet_t cmd[3]; diff --git a/abs/extra-testing/community/mythtv-contrib/6200ch.tar.gz b/abs/extra-testing/community/mythtv-contrib/6200ch.tar.gz Binary files differdeleted file mode 100644 index 53debf4..0000000 --- a/abs/extra-testing/community/mythtv-contrib/6200ch.tar.gz +++ /dev/null diff --git a/abs/extra-testing/community/mythtv-contrib/PKGBUILD b/abs/extra-testing/community/mythtv-contrib/PKGBUILD deleted file mode 100644 index c3b58fe..0000000 --- a/abs/extra-testing/community/mythtv-contrib/PKGBUILD +++ /dev/null @@ -1,148 +0,0 @@ -# Contributor: Michael Hanson <hansonorders@verizon.net> -# Maintainer: Michael Hanson <hansonorders@verizon.net> -pkgname=mythtv-contrib -pkgver=0.23 -pkgrel=4 -pkgdesc="User contributed scripts and utilities for mythtv." -arch=('i686' 'x86_64') -url="http://mythtv.org" -license=('GPL') -groups=('mythtv-extras') -depends=('perl' 'mythtv') -makedepends=('gcc' 'subversion' 'libavc1394' 'libraw1394' 'libiec61883') -install='mythtv-contrib.install' -source=('http://www.pdp8.net/directv/directv.pl' \ - 'http://stb-command.googlecode.com/files/stb-command0.1.tar.gz' \ - 'http://mysite.verizon.net/mjhanson/linux/6200ch.c_qip_v3.patch' \ - 'http://mythtv.mlaronson.com/myth-xbmc-connect/downloads/xbmc_mythlink.tgz' \ - 'mythchanger.10f.beta.tar' '6200ch.tar.gz') -patches=('mythchanger_make.patch') -_svntrunk=http://cvs.mythtv.org/svn/branches/release-0-23-fixes/mythtv/contrib -_svnver=23566 -_svnmod=contrib - -build() { - # get clean copy from SVN repo - svn co $_svntrunk --config-dir ./ -r $_svnver $_svnmod - svn revert -R $_svnmod - - cd $startdir/src/contrib - - # build and install - echo "Building 6200ch..." - cd $srcdir - tar zxf 6200ch.tar.gz - cd $srcdir/6200ch - gcc -std=gnu99 -o 6200ch 6200ch.c -lavc1394 -lrom1394 -lraw1394 || return 1 - install -D -m755 6200ch $startdir/pkg/usr/bin/6200ch || return 1 - install -D -m644 README $startdir/pkg/usr/share/doc/mythtv-contrib/README.6200ch || return 1 - - echo "Building change-channel-lirc..." - cd $srcdir/contrib/channel_changers/change-channel-lirc || return 1 - install -D -m755 *{.pl,.sh} $startdir/pkg/usr/bin || return 1 - - echo "Building d10control..." - cd $srcdir/contrib/channel_changers/d10control || return 1 - install -D -m755 d10control.pl $startdir/pkg/usr/bin/d10control.pl || return 1 - install -D -m644 README $startdir/pkg/usr/share/doc/mythtv-contrib/README.d10control - - echo "Building dct-channel..." - cd $srcdir/contrib/channel_changers/dct-channel - patch -p4 <$startdir/dct-channel_make.patch || return 1 - cd $srcdir/contrib/channel_changers/dct-channel || return 1 - make || return 1 - install -D -m755 channel $startdir/pkg/usr/bin || return 1 - install -D -m644 channel.1 $startdir/pkg/usr/man/man1/channel.1 || return 1 - install -D -m644 README $startdir/pkg/usr/share/doc/mythtv-contrib/README.dct-channel - install -D -m644 COPYING $startdir/pkg/usr/share/licenses/mythtv-contrib/COPYING.dct-channel - - echo "Building dct2000serial..." - cd $srcdir/contrib/channel_changers/dct2000serial || return 1 - install -D -m755 *.py $startdir/pkg/usr/bin || return 1 - install -D -m644 README $startdir/pkg/usr/share/doc/mythtv-contrib/README.dct2000serial - - echo "Building redeye..." - cd $srcdir/contrib/channel_changers/red_eye || return 1 - gcc -Wall -o red_eye red_eye.c || return 1 - install -D -m755 red_eye $startdir/pkg/usr/bin/red_eye || return 1 - install -D -m644 README $startdir/pkg/usr/share/doc/mythtv-contrib/README.red_eye - - echo "Building sa3250ch..." - cd $srcdir/contrib/channel_changers/sa3250ch || return 1 - gcc -Wall -o sa3250ch sa3250ch.c -lrom1394 -lavc1394 -lraw1394 || return 1 - install -D -m755 sa3250ch $startdir/pkg/usr/bin/sa3250ch || return 1 - install -D -m644 README $startdir/pkg/usr/share/doc/mythtv-contrib/README.sa3250ch - - echo "Building firewire_tester..." - cd $srcdir/contrib/development/firewire_tester || return 1 - gcc -Wall -o firewire_tester firewire_tester.c -liec61883 -lraw1394 || return 1 - install -D -m755 firewire_tester $startdir/pkg/usr/bin || return 1 - install -D -m644 README $startdir/pkg/usr/share/doc/mythtv-contrib/README.firewire_tester - - echo "Building tsc-calibrate..." - cd $srcdir/contrib/development/tsc-calibrate || return 1 - gcc -o tsc-calibrate tsc-calibrate.c || return 1 - install -D -m755 tsc-calibrate $startdir/pkg/usr/bin || return 1 - - echo "Building mythname..." - cd $srcdir/contrib/info/mythname || return 1 - install -D -m755 mythname.pl $startdir/pkg/usr/bin || return 1 - install -D -m644 README $startdir/pkg/usr/share/doc/mythtv-contrib/README.mythname - - echo "Building misc_status_info..." - cd $srcdir/contrib/info/misc_status_info || return 1 - install -D -m755 *{.sh,.pl} $startdir/pkg/usr/bin || return 1 - install -D -m644 README $startdir/pkg/usr/share/doc/mythtv-contrib/README.misc_status_info - - echo "Building maintenance..." - cd $srcdir/contrib/maintenance || return 1 - install -D -m755 *.pl $startdir/pkg/usr/bin || return 1 - - echo "Building mythmail..." - cd $srcdir/contrib/mythmail || return 1 - install -D -m755 *.pl $startdir/pkg/usr/bin || return 1 - - echo "Building recovery..." - cd $srcdir/contrib/recovery || return 1 - install -D -m755 *.pl $startdir/pkg/usr/bin || return 1 - - echo "Building user_jobs..." - cd $srcdir/contrib/user_jobs || return 1 - install -D -m755 *.pl $startdir/pkg/usr/bin || return 1 - install -D -m755 setbookmark $startdir/pkg/usr/bin/setbookmark.pl || return 1 - - echo "Building directv.pl..." - cd $srcdir || return 1 - install -D -m755 directv.pl $startdir/pkg/usr/bin || return 1 - - echo "Building stb-command..." - cd $srcdir - tar zxf stb-command0.1.tar.gz || return 1 - cd $srcdir/stb-command - make || return 1 - install -D -m755 stb-command $startdir/pkg/usr/bin || return 1 - install -D -m755 sa3250_ch_guid $startdir/pkg/usr/bin || return 1 - install -D -m755 stb_cmd_guid $startdir/pkg/usr/bin || return 1 - - echo "Building mythchanger..." - cd $srcdir - tar xf mythchanger.10f.beta.tar || return 1 - cd $srcdir/mythchanger.10f.beta - patch -p1 <$startdir/mythchanger_make.patch || return 1 - make || return 1 - install -D -m755 mythchanger $pkgdir/usr/bin || return 1 - install -D -m644 README $startdir/pkg/usr/share/doc/mythtv-contrib/README.mythchanger - - echo "Building mythlink..." - cd $srcdir - tar zxf xbmc_mythlink.tgz || return 1 - install -D -m755 tvdb_get.sh $startdir/pkg/usr/bin || return 1 - install -D -m755 xbmc_cleanup.sh $startdir/pkg/usr/bin || return 1 - install -D -m755 xbmc_mythlink.py $startdir/pkg/usr/bin || return 1 -} -md5sums=('89cfc17883a41e365e85e0a4ac20994f' - 'f489b3ae1e0a7ef8955f215d8bb39c18' - '4c1b2461baeadcb147813be4a6bb3fda' - 'bbe38286da9a6d3612b56acb050e7e99' - '34d148795f832f12973a08d59e9a0ef3' - '9029957cad36d5867a070da373d2bc2a') diff --git a/abs/extra-testing/community/mythtv-contrib/dct-channel_make.patch b/abs/extra-testing/community/mythtv-contrib/dct-channel_make.patch deleted file mode 100644 index 9d9dc53..0000000 --- a/abs/extra-testing/community/mythtv-contrib/dct-channel_make.patch +++ /dev/null @@ -1,16 +0,0 @@ ---- src/contrib/channel_changers/dct-channel/Makefile.orig 2010-03-23 00:56:51.000000000 +0000 -+++ src/contrib/channel_changers/dct-channel/Makefile 2010-03-23 00:57:47.000000000 +0000 -@@ -1,5 +1,5 @@ - CFLAGS = -Wall --PREFIX = /usr/local -+PREFIX = /data/LinHES-PKGBUILD/abs/extra-testing/community/mythtv-contrib/pkg/usr - MANPATH = ${PREFIX}/man/man1 - BINPATH = ${PREFIX}/bin - -@@ -44,4 +44,4 @@ - rm -f *.o channel core - - veryclean: clean -- rm -f channel.1 -\ No newline at end of file -+ rm -f channel.1 diff --git a/abs/extra-testing/community/mythtv-contrib/mythchanger.10f.beta.tar b/abs/extra-testing/community/mythtv-contrib/mythchanger.10f.beta.tar Binary files differdeleted file mode 100644 index e848866..0000000 --- a/abs/extra-testing/community/mythtv-contrib/mythchanger.10f.beta.tar +++ /dev/null diff --git a/abs/extra-testing/community/mythtv-contrib/mythchanger_make.patch b/abs/extra-testing/community/mythtv-contrib/mythchanger_make.patch deleted file mode 100644 index facd9e6..0000000 --- a/abs/extra-testing/community/mythtv-contrib/mythchanger_make.patch +++ /dev/null @@ -1,8 +0,0 @@ ---- mythchanger.10f.beta/Makefile.orig 2010-03-23 01:35:27.000000000 +0000 -+++ mythchanger.10f.beta/Makefile 2010-03-23 01:36:16.000000000 +0000 -@@ -1,4 +1,4 @@ --prefix = /usr -+prefix = /data/LinHES-PKGBUILD/abs/extra-testing/community/mythtv-contrib/pkg/usr - - CC = gcc - diff --git a/abs/extra-testing/community/mythtv-contrib/mythtv-contrib.install b/abs/extra-testing/community/mythtv-contrib/mythtv-contrib.install deleted file mode 100644 index bb7b801..0000000 --- a/abs/extra-testing/community/mythtv-contrib/mythtv-contrib.install +++ /dev/null @@ -1,7 +0,0 @@ -post_install() { - echo ">>> AS IS WITHOUT WARRANTY." - echo ">>> DO NOT FILE BUG REPORTS ON COMPONENTS OF THIS PACKAGE." - echo ">>> ANY ISSUES WITH SHOULD BE TAKEN UP WITH THE COMPONENT'S" - echo ">>> AUTHOR." - echo ">>> See README's in /usr/share/doc/mythtv-contrib" -} diff --git a/abs/extra-testing/community/mythtv-contrib/sa3250cmd_make.patch b/abs/extra-testing/community/mythtv-contrib/sa3250cmd_make.patch deleted file mode 100644 index 07bc653..0000000 --- a/abs/extra-testing/community/mythtv-contrib/sa3250cmd_make.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- src/sa3250cmd/Makefile.orig 2010-03-23 00:31:02.000000000 +0000 -+++ src/sa3250cmd/Makefile 2010-03-23 00:37:11.000000000 +0000 -@@ -1,6 +1,6 @@ - TARGET=sa3250cmd - CFLAGS = -Wall -std=gnu99 --PREFIX = /usr/local -+PREFIX = /data/LinHES-PKGBUILD/abs/extra-testing/community/mythtv-contrib/pkg/usr - BINPATH = ${PREFIX}/bin - - all: $(TARGET) |