From 2fc10a5c1424f25c1bec90c60b5754550ff5cce7 Mon Sep 17 00:00:00 2001 From: Cecil Date: Mon, 17 Sep 2012 13:07:21 -0700 Subject: mythappletrailers:Closes 849. Adds Play All, Shuffle and Play Random trailer to the menu. --- abs/extra/mythappletrailers/PKGBUILD | 20 +- abs/extra/mythappletrailers/all_trailers | 134 +++++ abs/extra/mythappletrailers/appletrailer.xml | 622 ++++++++++++++++-------- abs/extra/mythappletrailers/gen_trailer_menu.sh | 29 ++ abs/extra/mythappletrailers/play_trailer.sh | 8 + abs/extra/mythappletrailers/shuffle_trailers | 134 +++++ abs/extra/mythappletrailers/trailers | 2 +- 7 files changed, 743 insertions(+), 206 deletions(-) create mode 100644 abs/extra/mythappletrailers/all_trailers create mode 100644 abs/extra/mythappletrailers/gen_trailer_menu.sh create mode 100644 abs/extra/mythappletrailers/play_trailer.sh create mode 100644 abs/extra/mythappletrailers/shuffle_trailers diff --git a/abs/extra/mythappletrailers/PKGBUILD b/abs/extra/mythappletrailers/PKGBUILD index 2f36a4d..57b6b72 100644 --- a/abs/extra/mythappletrailers/PKGBUILD +++ b/abs/extra/mythappletrailers/PKGBUILD @@ -3,7 +3,7 @@ pkgname=mythappletrailers pkgver=0.04.3 -pkgrel=41 +pkgrel=45 pkgdesc="Unofficial Add-on for MythTV to get Apple.com Movie Trailers." arch=('i686' 'x86_64') license=('GPL2') @@ -11,7 +11,8 @@ url="http://www.mythtv.org/wiki/index.php/Myth_Apple_Trailers" depends=('php' 'mythtv' 'mplayer-wrapper') install=mythappletrailers.install source=('myth_trailers_grabber' 'appletrailer.xml' -'trailers' 'loading.sh' 'fix_aple_url.sh') +'trailers' 'loading.sh' 'fix_aple_url.sh' +'play_trailer.sh' 'gen_trailer_menu.sh' 'all_trailers' 'shuffle_trailers') build() { mkdir -p $startdir/pkg/usr/bin @@ -27,9 +28,18 @@ build() { cp loading.sh $startdir/pkg/usr/bin/ cp trailers $startdir/pkg/etc/cron.daily/ install -m755 $srcdir/fix_aple_url.sh $pkgdir/usr/bin + install -m755 $srcdir/play_trailer.sh $pkgdir/usr/bin + install -m755 $srcdir/gen_trailer_menu.sh $pkgdir/usr/bin + install -m644 $srcdir/all_trailers $pkgdir/home/mythtv + install -m644 $srcdir/shuffle_trailers $pkgdir/home/mythtv + chown 1000:1000 $startdir/pkg/home/mythtv/*_trailers } md5sums=('336e68953d0e1e8a0c7a4990f8d43a2b' - 'c7da92600afe2a3b1f564764500315a0' - '5fdd4aa17b9c1e77b272437ae42a1827' + 'be0d071981e5536f24aaf67545a96cc5' + 'a508f2de763f5bec5b4549885c062c8a' 'ece3c5f8a605b6e2270c6f7671705631' - 'a2349f844e47fd95a672739177ca44ff') + 'a2349f844e47fd95a672739177ca44ff' + '14f153c1efa7ae4e192d87010cbf9f7c' + '3e9d8014a0e76e2cf8057291d20c9291' + '7af1e58dfab2772dbb6f339481ae8d5d' + 'd26681921482cbf334b43f700adf0d29') diff --git a/abs/extra/mythappletrailers/all_trailers b/abs/extra/mythappletrailers/all_trailers new file mode 100644 index 0000000..186c49c --- /dev/null +++ b/abs/extra/mythappletrailers/all_trailers @@ -0,0 +1,134 @@ +http://trailers.apple.com/movies/independent/10years/10years-tlr1_h640w.mov +http://trailers.apple.com/movies/magnolia_pictures/2daysinny/2daysinny-tlr1_h640w.mov +http://trailers.apple.com/movies/magnolia_pictures/360/360-tlr1_h640w.mov +http://trailers.apple.com/movies/independent/7500/7500-tlr1_h640w.mov +http://trailers.apple.com/movies/magnolia_pictures/aroyalaffair/aroyalaffair-tlr1_h640w.mov +http://trailers.apple.com/movies/independent/after/after-tlr2_h640w.mov +http://trailers.apple.com/movies/lionsgate/alexcross/alexcross-tlr1_h640w.mov +http://trailers.apple.com/movies/focus_features/annakarenina/annakerenina-tlr1_h640w.mov +http://trailers.apple.com/movies/independent/arbitrage/arbitrageroad-tlr1_h640w.mov +http://trailers.apple.com/movies/wb/argo/argo-tlr1_h640w.mov +http://trailers.apple.com/movies/independent/bachelorette/bachelorette-tlr1_h640w.mov +http://trailers.apple.com/movies/sony_pictures/battleoftheyear/battleoftheyear-tlr1_h640w.mov +http://trailers.apple.com/movies/fox_searchlight/beastsofthesouthernwild/beastsofthesouthernwild-tlr1_h640w.mov +http://trailers.apple.com/movies/independent/branded/branded-tlr1_h640w.mov +http://trailers.apple.com/movies/disney/brave/brave-tlr5_h640w.mov +http://trailers.apple.com/movies/sony_pictures/celesteandjesseforever/celesteandjesse-tlr1_h640w.mov +http://trailers.apple.com/movies/independent/chained/chained-tlr1_h640w.mov +http://trailers.apple.com/movies/independent/championsofthedeep/championsofthedeep-tlr1_h640w.mov +http://trailers.apple.com/movies/fox/chasingmavericks/chasingmaverics-tlr2_h640w.mov +http://trailers.apple.com/movies/sony/chickenwithplums/chickenwithplums-tlr1_h640w.mov +http://trailers.apple.com/movies/paramount/cirque/cirque-tl1_h640w.mov +http://trailers.apple.com/movies/wb/cloudatlas/cloudatlas-trailer1b_h640w.mov +http://trailers.apple.com/movies/magnolia_pictures/compliance/compliance-tlr1_h640w.mov +http://trailers.apple.com/movies/magnolia_pictures/deadfall/deadfall-tlr1_h640w.mov +http://trailers.apple.com/movies/universal/despicableme2/despicableme2-tsr1_h640w.mov +http://trailers.apple.com/movies/fox/diaryofawimpykiddogdays/diaryofawimpykiddogday-tlr1_h640w.mov +http://trailers.apple.com/movies/weinstein/djangounchained/django-tsr1_h640w.mov +http://trailers.apple.com/movies/independent/doggieb/doggieb-tlr1_h640w.mov +http://trailers.apple.com/movies/lionsgate/dredd/dredd-tlr1_h640w.mov +http://trailers.apple.com/movies/independent/endofwatch/endofwatch-tlr1_h640w.mov +http://trailers.apple.com/movies/independent/escapefire/escapefire-tlr1_h640w.mov +http://trailers.apple.com/movies/disney/finding_nemo/findingnemo-tlr1_h640w.mov +http://trailers.apple.com/movies/paramount/flight/flight-tlr1zyx77_h640w.mov +http://trailers.apple.com/movies/focus_features/foragoodtimecall/foragoodtimecall-tlr1_h640w.mov +http://trailers.apple.com/movies/disney/frankenweenie/frankenweenie-tlr2_h640w.mov +http://trailers.apple.com/movies/lionsgate/freelancers/freelancers-tlr1_h640w.mov +http://trailers.apple.com/movies/paramount/funsize/funsize-tlr1_h640w.mov +http://trailers.apple.com/movies/paramount/gijoeretaliation/gijoeretaliation-tlr2_h640w.mov +http://trailers.apple.com/movies/independent/generaleducation/generaleducation-tlr1_h640w.mov +http://trailers.apple.com/movies/independent/goats/goats-tlr1_h640w.mov +http://trailers.apple.com/movies/paramount/hanselandgretel/hanselandgretel-tlr1_h640w.mov +http://trailers.apple.com/movies/independent/helloimustbegoing/helloimustbegoing_h640w.mov +http://trailers.apple.com/movies/sony_pictures/herecomestheboom/herecomestheboom-tlr1_h640w.mov +http://trailers.apple.com/movies/independent/hitandrun/hitandrun-tl1_h640w.mov +http://trailers.apple.com/movies/sony/hopesprings/hopesprings-tlr1_h640w.mov +http://trailers.apple.com/movies/sony_pictures/hoteltransylvania/hoteltransylvania-tlr2_h640w.mov +http://trailers.apple.com/movies/independent/houseattheendofthestreet/houseattheendofthestreet-tlr3_h640w.mov +http://trailers.apple.com/movies/focus_features/hydeparkonthehudson/hydeparkonthehudson-tlr1_h640w.mov +http://trailers.apple.com/movies/fox/iceage4/iceage4-tlr2_h640w.mov +http://trailers.apple.com/movies/magnolia_pictures/jackanddiane/jackanddiane-tlr1_h640w.mov +http://trailers.apple.com/movies/independent/killerjoe/killerjoe-tlr1_h640w.mov +http://trailers.apple.com/movies/weinstein/killingthemsoftly/killingthemsoftly-tlr1_h640w.mov +http://trailers.apple.com/movies/independent/klown/klown-tlr1_h640w.mov +http://trailers.apple.com/movies/independent/luv/luv_h640w.mov +http://trailers.apple.com/movies/weinstein/lawless/lawless-tlr1_h640w.mov +http://trailers.apple.com/movies/independent/leastamongsaints/leastamongsaints-tlr1_h640w.mov +http://trailers.apple.com/movies/universal/lesmiserables/lesmiserables-tsr1_h640w.mov +http://trailers.apple.com/movies/fox/lifeofpi/lifeofpi-tlr1_h640w.mov +http://trailers.apple.com/movies/sony_pictures/looper/looper-tlr2_h640w.mov +http://trailers.apple.com/movies/dreamworks/madagascar3/madagascar3-tlr1_h640w.mov +http://trailers.apple.com/movies/wb/manofsteel/manofsteel-tlr1-r_h640w.mov +http://trailers.apple.com/movies/independent/middleofnowhere/middleofnowhere-tlr1_h640w.mov +http://trailers.apple.com/movies/disney/monstersuniversity/monstersuniversity-tlr1_h640w.mov +http://trailers.apple.com/movies/disney/monstersinc3d/monstersinc3d-tlr3_h640w.mov +http://trailers.apple.com/movies/magnolia_pictures/nobodywalks/nobodywalks-tlr1_h640w.mov +http://trailers.apple.com/movies/disney/ozthegreatandpowerful/oz-tlr1-2938tyz_h640w.mov +http://trailers.apple.com/movies/focus_features/paranorman/paranorman-tlr2_h640w.mov +http://trailers.apple.com/movies/paramount/paranormalactivity4/paranormalactivity4-tlr1_h640w.mov +http://trailers.apple.com/movies/universal/pitchperfect/pitchperfect-tlr1_h640w.mov +http://trailers.apple.com/movies/sony_pictures/premiumrush/premiumrush-tlr2_h640w.mov +http://trailers.apple.com/movies/magnolia_pictures/rec3/rec3-tlr1_h640w.mov +http://trailers.apple.com/movies/independent/redhooksummer/redhooksummer-tlr1_h640w.mov +http://trailers.apple.com/movies/sony_pictures/residentevilretribution/residentevil-tlr2_h640w.mov +http://trailers.apple.com/movies/dreamworks/riseoftheguardians/riseoftheguardians-tlr2_h640w.mov +http://trailers.apple.com/movies/independent/robotfrank/robotandfrank-tlr1_h640w.mov +http://trailers.apple.com/movies/independent/sacrifice/sacrifice-tlr1_h640w.mov +http://trailers.apple.com/movies/independent/saintsandsoldiers2/saintsandsoldiers2-tlr1_h640w.mov +http://trailers.apple.com/movies/independent/samsara/samsara-tlr2_h640w.mov +http://trailers.apple.com/movies/sony/searchingforsugarman/searchingforsugarman-tlr1_h640w.mov +http://trailers.apple.com/movies/independent/sevenpsychopaths/sevenpsychopaths-tlr1_h640w.mov +http://trailers.apple.com/movies/weinstein/silverliningsplaybook/silverlinings-tlr1_h640w.mov +http://trailers.apple.com/movies/summit/sinister/sinister-tlr1_h640w.mov +http://trailers.apple.com/movies/sony_pictures/skyfall/skyfall-tlr2_h640w.mov +http://trailers.apple.com/movies/independent/soldiersoffortune/soldiersoffortune-tlr1_h640w.mov +http://trailers.apple.com/movies/independent/solomonkane/solomonkane-tlr1_h640w.mov +http://trailers.apple.com/movies/independent/somewherebetween/somewherebetween-tlr1_h640w.mov +http://trailers.apple.com/movies/sony_pictures/sparkle/sparkle-tlr1_h640w.mov +http://trailers.apple.com/movies/summit/stepuprevolution/stepuprevolution-tlr1_h640w.mov +http://trailers.apple.com/movies/independent/stolen/stolen-tlr2_h640w.mov +http://trailers.apple.com/movies/fox/taken2/taken2-tlr1_h640w.mov +http://trailers.apple.com/movies/universal/ted/ted-tlr1_h640w.mov +http://trailers.apple.com/movies/wb/theapparition/theapparition-tlr1_h640w.mov +http://trailers.apple.com/movies/marvel/theavengers/avengers-7c7b7a-tlr3_h640w.mov +http://trailers.apple.com/movies/independent/theawakening/awakening-tlr1_h640w.mov +http://trailers.apple.com/movies/independent/babymakers/babymakers-tlr1_h640w.mov +http://trailers.apple.com/movies/independent/thebay/thebay-tlr_h640w.mov +http://trailers.apple.com/movies/lionsgate/thebigwedding/bigwedding-tlr1_h640w.mov +http://trailers.apple.com/movies/universal/bournelegacy/bournelegacy-tlr2_h640w.mov +http://trailers.apple.com/movies/wb/thecampaign/thecampaign-tlr1_h640w.mov +http://trailers.apple.com/movies/wb/thedarkknightrises/darkknightrises-tlr4_h640w.mov +http://trailers.apple.com/movies/lionsgate/expendables2/expendables2-tlr2_h640w.mov +http://trailers.apple.com/movies/independent/flyingswords/flyingswords-tlr1b_h640w.mov +http://trailers.apple.com/movies/magnolia_pictures/thegooddoctor/gooddoctor-tlr1_h640w.mov +http://trailers.apple.com/movies/wb/thegreatgatsby/greatgatsby-tlr1_h640w.mov +http://trailers.apple.com/movies/wb/thehobbit1/thehobbit-tlr1_h640w.mov +http://trailers.apple.com/movies/lionsgate/thehungergames/thehungergames-tlr1a_h640w.mov +http://trailers.apple.com/movies/summit/theimpossible/theimpossible-tlr1_h640w.mov +http://trailers.apple.com/movies/newline/thelaststand/laststand-tlr1_h640w.mov +http://trailers.apple.com/movies/universal/themanwiththeironfists/manwiththeironfists-tlr1_h640w.mov +http://trailers.apple.com/movies/weinstein/themaster/themaster-tlr1_h640w.mov +http://trailers.apple.com/movies/disney/theoddlifeoftimothygreen/oddlifeoftimothygreen-tlr2_h640w.mov +http://trailers.apple.com/movies/independent/oogieloves/oog-tlr2_h640w.mov +http://trailers.apple.com/movies/independent/theoranges/oranges-tlr1_h640w.mov +http://trailers.apple.com/movies/independent/thepaperboy/thepaperboy-tlr1_h640w.mov +http://trailers.apple.com/movies/summit/theperksofbeingawallflower/perksofbeingawallflower-tlr1_h640w.mov +http://trailers.apple.com/movies/lionsgate/thepossession/possession-tlr1_h640w.mov +http://trailers.apple.com/movies/fox_searchlight/thesessions/thesessions-tlr1_h640w.mov +http://trailers.apple.com/movies/independent/thetallman/thetallman-tlr1_h640w.mov +http://trailers.apple.com/movies/independent/troublewiththetruth/troublewiththetruth-tlr1_h640w.mov +http://trailers.apple.com/movies/wb/thetroublewiththecurve/troublewiththecurve-tlr1_h640w.mov +http://trailers.apple.com/movies/summit/twilightbreakingdawn2/twilightbd2-tlr2_h640w.mov +http://trailers.apple.com/movies/independent/thevictim/thevictim-tlr1_h640w.mov +http://trailers.apple.com/movies/fox/thewatch/thewatch-tlr1_h640w.mov +http://trailers.apple.com/movies/independent/thewords/thewords-tlr1_h640w.mov +http://trailers.apple.com/movies/universal/thisis40/thisis40-tlr3_h640w.mov +http://trailers.apple.com/movies/weinstein/thismustbetheplace/thismustbetheplace-tlr1_h640w.mov +http://trailers.apple.com/movies/wb/thunderstruck/thunderstruck-tlr1_h640w.mov +http://trailers.apple.com/movies/sony_pictures/totalrecall/totalrecall-tlr4_h640w.mov +http://trailers.apple.com/movies/independent/toysintheattic/toysintheattic-tlr1_h640w.mov +http://trailers.apple.com/movies/independent/unconditional/unconditional-tlr1_h640w.mov +http://trailers.apple.com/movies/magnolia_pictures/vhs/vhs-tlr1_h640w.mov +http://trailers.apple.com/movies/weinstein/warofthebuttons/warofthebuttons-tlr1_h640w.mov +http://trailers.apple.com/movies/fox/wontbackdown/wontbackdown-tlr1_h640w.mov +http://trailers.apple.com/movies/disney/wreckitralph/wreakitralph-tlr1_h640w.mov diff --git a/abs/extra/mythappletrailers/appletrailer.xml b/abs/extra/mythappletrailers/appletrailer.xml index 9aa19f5..aa18391 100644 --- a/abs/extra/mythappletrailers/appletrailer.xml +++ b/abs/extra/mythappletrailers/appletrailer.xml @@ -1,602 +1,824 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/abs/extra/mythappletrailers/gen_trailer_menu.sh b/abs/extra/mythappletrailers/gen_trailer_menu.sh new file mode 100644 index 0000000..43b2fae --- /dev/null +++ b/abs/extra/mythappletrailers/gen_trailer_menu.sh @@ -0,0 +1,29 @@ +#!/bin/bash +cp /home/mythtv/appletrailer.xml /tmp +sed -n -e 's/.*\(.*\)<\/action>.*/\1/p' /tmp/appletrailer.xml > /tmp/a.log +awk < /tmp/a.log '{ print $NF }' > /tmp/b.log +sort -R /tmp/b.log > /tmp/c.log +echo "" > /tmp/appletrailer.2.xml +echo " " >> /tmp/appletrailer.2.xml +echo "" >> /tmp/appletrailer.2.xml +echo " " >> /tmp/appletrailer.2.xml +echo "" >> /tmp/appletrailer.2.xml +echo " " >> /tmp/appletrailer.2.xml +echo "" >> /tmp/appletrailer.2.xml + +grep -v TRAILERS /tmp/appletrailer.xml >> /tmp/appletrailer.2.xml +mv /tmp/b.log /home/mythtv/all_trailers +mv /tmp/c.log /home/mythtv/shuffle_trailers +mv /tmp/appletrailer.2.xml /home/mythtv/appletrailer.xml diff --git a/abs/extra/mythappletrailers/play_trailer.sh b/abs/extra/mythappletrailers/play_trailer.sh new file mode 100644 index 0000000..b584bd1 --- /dev/null +++ b/abs/extra/mythappletrailers/play_trailer.sh @@ -0,0 +1,8 @@ +#!/bin/bash +for TRAILER in $(cat $1) +do + /usr/bin/loading.sh + mplayer -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 $TRAILER +done + + diff --git a/abs/extra/mythappletrailers/shuffle_trailers b/abs/extra/mythappletrailers/shuffle_trailers new file mode 100644 index 0000000..f2d3a5e --- /dev/null +++ b/abs/extra/mythappletrailers/shuffle_trailers @@ -0,0 +1,134 @@ +http://trailers.apple.com/movies/lionsgate/expendables2/expendables2-tlr2_h640w.mov +http://trailers.apple.com/movies/dreamworks/riseoftheguardians/riseoftheguardians-tlr2_h640w.mov +http://trailers.apple.com/movies/focus_features/hydeparkonthehudson/hydeparkonthehudson-tlr1_h640w.mov +http://trailers.apple.com/movies/weinstein/themaster/themaster-tlr1_h640w.mov +http://trailers.apple.com/movies/sony/searchingforsugarman/searchingforsugarman-tlr1_h640w.mov +http://trailers.apple.com/movies/focus_features/paranorman/paranorman-tlr2_h640w.mov +http://trailers.apple.com/movies/summit/theperksofbeingawallflower/perksofbeingawallflower-tlr1_h640w.mov +http://trailers.apple.com/movies/independent/flyingswords/flyingswords-tlr1b_h640w.mov +http://trailers.apple.com/movies/magnolia_pictures/aroyalaffair/aroyalaffair-tlr1_h640w.mov +http://trailers.apple.com/movies/dreamworks/madagascar3/madagascar3-tlr1_h640w.mov +http://trailers.apple.com/movies/paramount/funsize/funsize-tlr1_h640w.mov +http://trailers.apple.com/movies/independent/samsara/samsara-tlr2_h640w.mov +http://trailers.apple.com/movies/universal/despicableme2/despicableme2-tsr1_h640w.mov +http://trailers.apple.com/movies/independent/killerjoe/killerjoe-tlr1_h640w.mov +http://trailers.apple.com/movies/universal/ted/ted-tlr1_h640w.mov +http://trailers.apple.com/movies/independent/luv/luv_h640w.mov +http://trailers.apple.com/movies/fox/thewatch/thewatch-tlr1_h640w.mov +http://trailers.apple.com/movies/independent/thewords/thewords-tlr1_h640w.mov +http://trailers.apple.com/movies/independent/chained/chained-tlr1_h640w.mov +http://trailers.apple.com/movies/wb/thedarkknightrises/darkknightrises-tlr4_h640w.mov +http://trailers.apple.com/movies/magnolia_pictures/thegooddoctor/gooddoctor-tlr1_h640w.mov +http://trailers.apple.com/movies/paramount/gijoeretaliation/gijoeretaliation-tlr2_h640w.mov +http://trailers.apple.com/movies/independent/escapefire/escapefire-tlr1_h640w.mov +http://trailers.apple.com/movies/lionsgate/thebigwedding/bigwedding-tlr1_h640w.mov +http://trailers.apple.com/movies/disney/monstersinc3d/monstersinc3d-tlr3_h640w.mov +http://trailers.apple.com/movies/sony/hopesprings/hopesprings-tlr1_h640w.mov +http://trailers.apple.com/movies/wb/cloudatlas/cloudatlas-trailer1b_h640w.mov +http://trailers.apple.com/movies/independent/somewherebetween/somewherebetween-tlr1_h640w.mov +http://trailers.apple.com/movies/sony_pictures/herecomestheboom/herecomestheboom-tlr1_h640w.mov +http://trailers.apple.com/movies/independent/soldiersoffortune/soldiersoffortune-tlr1_h640w.mov +http://trailers.apple.com/movies/summit/sinister/sinister-tlr1_h640w.mov +http://trailers.apple.com/movies/wb/thehobbit1/thehobbit-tlr1_h640w.mov +http://trailers.apple.com/movies/independent/after/after-tlr2_h640w.mov +http://trailers.apple.com/movies/paramount/hanselandgretel/hanselandgretel-tlr1_h640w.mov +http://trailers.apple.com/movies/independent/thevictim/thevictim-tlr1_h640w.mov +http://trailers.apple.com/movies/independent/7500/7500-tlr1_h640w.mov +http://trailers.apple.com/movies/wb/thunderstruck/thunderstruck-tlr1_h640w.mov +http://trailers.apple.com/movies/independent/championsofthedeep/championsofthedeep-tlr1_h640w.mov +http://trailers.apple.com/movies/summit/twilightbreakingdawn2/twilightbd2-tlr2_h640w.mov +http://trailers.apple.com/movies/paramount/cirque/cirque-tl1_h640w.mov +http://trailers.apple.com/movies/fox/taken2/taken2-tlr1_h640w.mov +http://trailers.apple.com/movies/independent/10years/10years-tlr1_h640w.mov +http://trailers.apple.com/movies/independent/stolen/stolen-tlr2_h640w.mov +http://trailers.apple.com/movies/weinstein/thismustbetheplace/thismustbetheplace-tlr1_h640w.mov +http://trailers.apple.com/movies/marvel/theavengers/avengers-7c7b7a-tlr3_h640w.mov +http://trailers.apple.com/movies/newline/thelaststand/laststand-tlr1_h640w.mov +http://trailers.apple.com/movies/independent/klown/klown-tlr1_h640w.mov +http://trailers.apple.com/movies/lionsgate/freelancers/freelancers-tlr1_h640w.mov +http://trailers.apple.com/movies/disney/finding_nemo/findingnemo-tlr1_h640w.mov +http://trailers.apple.com/movies/independent/hitandrun/hitandrun-tl1_h640w.mov +http://trailers.apple.com/movies/independent/theoranges/oranges-tlr1_h640w.mov +http://trailers.apple.com/movies/magnolia_pictures/jackanddiane/jackanddiane-tlr1_h640w.mov +http://trailers.apple.com/movies/independent/arbitrage/arbitrageroad-tlr1_h640w.mov +http://trailers.apple.com/movies/weinstein/lawless/lawless-tlr1_h640w.mov +http://trailers.apple.com/movies/summit/stepuprevolution/stepuprevolution-tlr1_h640w.mov +http://trailers.apple.com/movies/wb/thetroublewiththecurve/troublewiththecurve-tlr1_h640w.mov +http://trailers.apple.com/movies/independent/leastamongsaints/leastamongsaints-tlr1_h640w.mov +http://trailers.apple.com/movies/independent/middleofnowhere/middleofnowhere-tlr1_h640w.mov +http://trailers.apple.com/movies/focus_features/foragoodtimecall/foragoodtimecall-tlr1_h640w.mov +http://trailers.apple.com/movies/independent/endofwatch/endofwatch-tlr1_h640w.mov +http://trailers.apple.com/movies/paramount/flight/flight-tlr1zyx77_h640w.mov +http://trailers.apple.com/movies/magnolia_pictures/2daysinny/2daysinny-tlr1_h640w.mov +http://trailers.apple.com/movies/magnolia_pictures/vhs/vhs-tlr1_h640w.mov +http://trailers.apple.com/movies/independent/sevenpsychopaths/sevenpsychopaths-tlr1_h640w.mov +http://trailers.apple.com/movies/independent/helloimustbegoing/helloimustbegoing_h640w.mov +http://trailers.apple.com/movies/universal/lesmiserables/lesmiserables-tsr1_h640w.mov +http://trailers.apple.com/movies/weinstein/warofthebuttons/warofthebuttons-tlr1_h640w.mov +http://trailers.apple.com/movies/independent/redhooksummer/redhooksummer-tlr1_h640w.mov +http://trailers.apple.com/movies/independent/saintsandsoldiers2/saintsandsoldiers2-tlr1_h640w.mov +http://trailers.apple.com/movies/universal/pitchperfect/pitchperfect-tlr1_h640w.mov +http://trailers.apple.com/movies/disney/frankenweenie/frankenweenie-tlr2_h640w.mov +http://trailers.apple.com/movies/independent/toysintheattic/toysintheattic-tlr1_h640w.mov +http://trailers.apple.com/movies/sony_pictures/battleoftheyear/battleoftheyear-tlr1_h640w.mov +http://trailers.apple.com/movies/independent/oogieloves/oog-tlr2_h640w.mov +http://trailers.apple.com/movies/summit/theimpossible/theimpossible-tlr1_h640w.mov +http://trailers.apple.com/movies/sony_pictures/sparkle/sparkle-tlr1_h640w.mov +http://trailers.apple.com/movies/fox/wontbackdown/wontbackdown-tlr1_h640w.mov +http://trailers.apple.com/movies/wb/argo/argo-tlr1_h640w.mov +http://trailers.apple.com/movies/universal/themanwiththeironfists/manwiththeironfists-tlr1_h640w.mov +http://trailers.apple.com/movies/magnolia_pictures/360/360-tlr1_h640w.mov +http://trailers.apple.com/movies/lionsgate/alexcross/alexcross-tlr1_h640w.mov +http://trailers.apple.com/movies/magnolia_pictures/rec3/rec3-tlr1_h640w.mov +http://trailers.apple.com/movies/weinstein/silverliningsplaybook/silverlinings-tlr1_h640w.mov +http://trailers.apple.com/movies/sony_pictures/looper/looper-tlr2_h640w.mov +http://trailers.apple.com/movies/lionsgate/thehungergames/thehungergames-tlr1a_h640w.mov +http://trailers.apple.com/movies/sony_pictures/premiumrush/premiumrush-tlr2_h640w.mov +http://trailers.apple.com/movies/lionsgate/dredd/dredd-tlr1_h640w.mov +http://trailers.apple.com/movies/fox/chasingmavericks/chasingmaverics-tlr2_h640w.mov +http://trailers.apple.com/movies/independent/doggieb/doggieb-tlr1_h640w.mov +http://trailers.apple.com/movies/weinstein/djangounchained/django-tsr1_h640w.mov +http://trailers.apple.com/movies/fox/iceage4/iceage4-tlr2_h640w.mov +http://trailers.apple.com/movies/independent/thetallman/thetallman-tlr1_h640w.mov +http://trailers.apple.com/movies/independent/troublewiththetruth/troublewiththetruth-tlr1_h640w.mov +http://trailers.apple.com/movies/fox_searchlight/thesessions/thesessions-tlr1_h640w.mov +http://trailers.apple.com/movies/independent/sacrifice/sacrifice-tlr1_h640w.mov +http://trailers.apple.com/movies/independent/houseattheendofthestreet/houseattheendofthestreet-tlr3_h640w.mov +http://trailers.apple.com/movies/disney/theoddlifeoftimothygreen/oddlifeoftimothygreen-tlr2_h640w.mov +http://trailers.apple.com/movies/independent/babymakers/babymakers-tlr1_h640w.mov +http://trailers.apple.com/movies/independent/robotfrank/robotandfrank-tlr1_h640w.mov +http://trailers.apple.com/movies/weinstein/killingthemsoftly/killingthemsoftly-tlr1_h640w.mov +http://trailers.apple.com/movies/magnolia_pictures/compliance/compliance-tlr1_h640w.mov +http://trailers.apple.com/movies/sony_pictures/celesteandjesseforever/celesteandjesse-tlr1_h640w.mov +http://trailers.apple.com/movies/sony_pictures/skyfall/skyfall-tlr2_h640w.mov +http://trailers.apple.com/movies/independent/thepaperboy/thepaperboy-tlr1_h640w.mov +http://trailers.apple.com/movies/paramount/paranormalactivity4/paranormalactivity4-tlr1_h640w.mov +http://trailers.apple.com/movies/independent/generaleducation/generaleducation-tlr1_h640w.mov +http://trailers.apple.com/movies/wb/thegreatgatsby/greatgatsby-tlr1_h640w.mov +http://trailers.apple.com/movies/sony_pictures/residentevilretribution/residentevil-tlr2_h640w.mov +http://trailers.apple.com/movies/fox/diaryofawimpykiddogdays/diaryofawimpykiddogday-tlr1_h640w.mov +http://trailers.apple.com/movies/independent/unconditional/unconditional-tlr1_h640w.mov +http://trailers.apple.com/movies/universal/thisis40/thisis40-tlr3_h640w.mov +http://trailers.apple.com/movies/independent/theawakening/awakening-tlr1_h640w.mov +http://trailers.apple.com/movies/disney/ozthegreatandpowerful/oz-tlr1-2938tyz_h640w.mov +http://trailers.apple.com/movies/sony_pictures/totalrecall/totalrecall-tlr4_h640w.mov +http://trailers.apple.com/movies/wb/thecampaign/thecampaign-tlr1_h640w.mov +http://trailers.apple.com/movies/independent/solomonkane/solomonkane-tlr1_h640w.mov +http://trailers.apple.com/movies/wb/manofsteel/manofsteel-tlr1-r_h640w.mov +http://trailers.apple.com/movies/wb/theapparition/theapparition-tlr1_h640w.mov +http://trailers.apple.com/movies/universal/bournelegacy/bournelegacy-tlr2_h640w.mov +http://trailers.apple.com/movies/independent/bachelorette/bachelorette-tlr1_h640w.mov +http://trailers.apple.com/movies/magnolia_pictures/nobodywalks/nobodywalks-tlr1_h640w.mov +http://trailers.apple.com/movies/fox_searchlight/beastsofthesouthernwild/beastsofthesouthernwild-tlr1_h640w.mov +http://trailers.apple.com/movies/magnolia_pictures/deadfall/deadfall-tlr1_h640w.mov +http://trailers.apple.com/movies/independent/branded/branded-tlr1_h640w.mov +http://trailers.apple.com/movies/independent/thebay/thebay-tlr_h640w.mov +http://trailers.apple.com/movies/sony/chickenwithplums/chickenwithplums-tlr1_h640w.mov +http://trailers.apple.com/movies/disney/brave/brave-tlr5_h640w.mov +http://trailers.apple.com/movies/focus_features/annakarenina/annakerenina-tlr1_h640w.mov +http://trailers.apple.com/movies/lionsgate/thepossession/possession-tlr1_h640w.mov +http://trailers.apple.com/movies/fox/lifeofpi/lifeofpi-tlr1_h640w.mov +http://trailers.apple.com/movies/disney/wreckitralph/wreakitralph-tlr1_h640w.mov +http://trailers.apple.com/movies/sony_pictures/hoteltransylvania/hoteltransylvania-tlr2_h640w.mov +http://trailers.apple.com/movies/disney/monstersuniversity/monstersuniversity-tlr1_h640w.mov +http://trailers.apple.com/movies/independent/goats/goats-tlr1_h640w.mov diff --git a/abs/extra/mythappletrailers/trailers b/abs/extra/mythappletrailers/trailers index 241a60a..9611439 100755 --- a/abs/extra/mythappletrailers/trailers +++ b/abs/extra/mythappletrailers/trailers @@ -1,2 +1,2 @@ #!/bin/sh -su mythtv -c '/usr/bin/php -q /usr/bin/myth_trailers_grabber > /home/mythtv/appletrailer.xml && /usr/bin/fix_aple_url.sh' 2>/dev/null +su mythtv -c '/usr/bin/php -q /usr/bin/myth_trailers_grabber > /home/mythtv/appletrailer.xml && /usr/bin/fix_aple_url.sh && /usr/bin/gen_trailer_menu.sh' 2>/dev/null -- cgit v0.12 From 231e40d7fdb8abc9fe398da8654ee7070d265ab2 Mon Sep 17 00:00:00 2001 From: Cecil Date: Mon, 17 Sep 2012 13:17:31 -0700 Subject: gdb:Recompile against Python 2.6. Closes 850. --- abs/core/gdb/PKGBUILD | 6 +++--- abs/core/gdb/__changelog | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) create mode 100644 abs/core/gdb/__changelog diff --git a/abs/core/gdb/PKGBUILD b/abs/core/gdb/PKGBUILD index d96cb93..10f751d 100644 --- a/abs/core/gdb/PKGBUILD +++ b/abs/core/gdb/PKGBUILD @@ -4,7 +4,7 @@ pkgname=gdb pkgver=7.2 -pkgrel=2 +pkgrel=3 pkgdesc="The GNU Debugger" arch=('i686' 'x86_64') url="http://www.gnu.org/software/gdb/" @@ -14,8 +14,7 @@ makedepends=('texinfo') backup=('etc/gdb/gdbinit') options=('!libtool') install=gdb.install -source=(http://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.bz2) -md5sums=('64260e6c56979ee750a01055f16091a5') +source=(http://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}a.tar.bz2) build() { cd ${srcdir}/${pkgname}-${pkgver} @@ -42,3 +41,4 @@ package() { rm ${pkgdir}/usr/lib/{libbfd,libiberty,libopcodes}.a rm ${pkgdir}/usr/share/info/{bfd,configure,standards}.info } +md5sums=('ae6c7c98de35dc14b6720c9c321e4d94') diff --git a/abs/core/gdb/__changelog b/abs/core/gdb/__changelog new file mode 100644 index 0000000..7541a7f --- /dev/null +++ b/abs/core/gdb/__changelog @@ -0,0 +1,2 @@ +9/17/12 -chw- +Changed source to archive as there is a new version. Needed to recompile against Python 2.6. -- cgit v0.12 From b8ba5ebae6b7fb2d315b88f024232025be10b3f5 Mon Sep 17 00:00:00 2001 From: Cecil Date: Mon, 17 Sep 2012 13:19:51 -0700 Subject: python-libconcord:Moved to core with rest of python modules. --- abs/core/python_modules/python-libconcord/PKGBUILD | 22 ++++++++++++++++++++++ abs/extra/python-libconcord/PKGBUILD | 22 ---------------------- 2 files changed, 22 insertions(+), 22 deletions(-) create mode 100644 abs/core/python_modules/python-libconcord/PKGBUILD delete mode 100644 abs/extra/python-libconcord/PKGBUILD diff --git a/abs/core/python_modules/python-libconcord/PKGBUILD b/abs/core/python_modules/python-libconcord/PKGBUILD new file mode 100644 index 0000000..fb638f8 --- /dev/null +++ b/abs/core/python_modules/python-libconcord/PKGBUILD @@ -0,0 +1,22 @@ +# $Id$ +# Maintainers: +# Andreas Baumann +# Guillaume DUMOULIN +# Contributor: elsixdiab +pkgname=python-libconcord +_pkgsrcname=concordance +pkgver=0.23 +pkgrel=3 +pkgdesc="This software will allow you to program your Logitech Harmony universal remote control" +url="http://www.phildev.net/harmony/index.shtml" +license="GPL" +arch=('any') +depends=('libconcord=0.23' 'python2') +source=("http://downloads.sourceforge.net/${_pkgsrcname}/${_pkgsrcname}-${pkgver}.tar.bz2") +md5sums=('d7400d5b351b195b63adfafae68be3d8') +build() { + cd $srcdir/${_pkgsrcname}-${pkgver}/libconcord/bindings/python/ + python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1 +} + + diff --git a/abs/extra/python-libconcord/PKGBUILD b/abs/extra/python-libconcord/PKGBUILD deleted file mode 100644 index fb638f8..0000000 --- a/abs/extra/python-libconcord/PKGBUILD +++ /dev/null @@ -1,22 +0,0 @@ -# $Id$ -# Maintainers: -# Andreas Baumann -# Guillaume DUMOULIN -# Contributor: elsixdiab -pkgname=python-libconcord -_pkgsrcname=concordance -pkgver=0.23 -pkgrel=3 -pkgdesc="This software will allow you to program your Logitech Harmony universal remote control" -url="http://www.phildev.net/harmony/index.shtml" -license="GPL" -arch=('any') -depends=('libconcord=0.23' 'python2') -source=("http://downloads.sourceforge.net/${_pkgsrcname}/${_pkgsrcname}-${pkgver}.tar.bz2") -md5sums=('d7400d5b351b195b63adfafae68be3d8') -build() { - cd $srcdir/${_pkgsrcname}-${pkgver}/libconcord/bindings/python/ - python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1 -} - - -- cgit v0.12 From 838b0082dbb7c70cec91e1593639f9d267ab3e03 Mon Sep 17 00:00:00 2001 From: Cecil Date: Mon, 17 Sep 2012 13:26:14 -0700 Subject: python-beautifulsoup4:Needed for pyxis (to close #63/4). --- .../python_modules/python-beautifulsoup4/PKGBUILD | 51 ++++++++++++++++++++++ .../python-beautifulsoup4/__changelog | 2 + 2 files changed, 53 insertions(+) create mode 100644 abs/core/python_modules/python-beautifulsoup4/PKGBUILD create mode 100644 abs/core/python_modules/python-beautifulsoup4/__changelog diff --git a/abs/core/python_modules/python-beautifulsoup4/PKGBUILD b/abs/core/python_modules/python-beautifulsoup4/PKGBUILD new file mode 100644 index 0000000..e5eba14 --- /dev/null +++ b/abs/core/python_modules/python-beautifulsoup4/PKGBUILD @@ -0,0 +1,51 @@ +# $Id: PKGBUILD 73500 2012-07-08 17:25:45Z dwallace $ +# Maintainer: Daniel Wallace +# Contributor: Giovanni Scafora + +pkgbase=python-beautifulsoup4 +pkgname=('python2-beautifulsoup4' 'python-beautifulsoup4') +pkgver=4.1.1 +pkgrel=2 +pkgdesc="A Python HTML/XML parser designed for quick turnaround projects like screen-scraping" +arch=('any') +url="http://www.crummy.com/software/BeautifulSoup/index.html" +license=('PSF') +#makedepends=('python-distribute' 'python2-distribute') +makedepends=('python2-distribute') +source=("http://www.crummy.com/software/BeautifulSoup/bs4/download/${pkgver%\.*}/${pkgbase#*-}-${pkgver}.tar.gz") +md5sums=('fccee58b4d914fb489385d672fe89f43') + +build() { + cd "${srcdir}" + cp -a beautifulsoup4-${pkgver}{,-python2} + + # Build python 3 module + cd "${srcdir}/beautifulsoup4-${pkgver}" + python setup.py build + + # Build python 2 module + cd "${srcdir}/beautifulsoup4-${pkgver}-python2" + python2 setup.py build +} + +package_python2-beautifulsoup4() { + depends=('python2-distribute') + optdepends=('python2-chardet: universal encoding detector' + 'python2-lxml: pythonic binding for the libxml2 and libxslt libraries') + + cd "${srcdir}/beautifulsoup4-${pkgver}-python2" + python2 setup.py install --root="${pkgdir}/" --optimize=1 --skip-build + + rm -rf ${pkgdir}/usr/lib/python2.7/site-packages/bs4/tests +} + +package_python-beautifulsoup4() { +# depends=('python-distribute') + optdepends=('python-chardet: universal encoding detector' + 'python-lxml: pythonic binding for the libxml2 and libxslt libraries') + + cd "${srcdir}/beautifulsoup4-${pkgver}" + python setup.py install --root="${pkgdir}/" --optimize=1 --skip-build + + rm -rf ${pkgdir}/usr/lib/python3.2/site-packages/bs4/{__pycache__,tests,builder/__pycache__} +} diff --git a/abs/core/python_modules/python-beautifulsoup4/__changelog b/abs/core/python_modules/python-beautifulsoup4/__changelog new file mode 100644 index 0000000..1cdf6fa --- /dev/null +++ b/abs/core/python_modules/python-beautifulsoup4/__changelog @@ -0,0 +1,2 @@ +9/3/12 - chw +commented python-distribute as dep since we don't include python3. Built with mp.py --pkg=python2-beautisoup4. -- cgit v0.12 From 72ad35d2effe7c86dfb0a29b5df7ad3971f34beb Mon Sep 17 00:00:00 2001 From: Cecil Date: Mon, 17 Sep 2012 13:27:29 -0700 Subject: python-distribute:Needed for python-beautifulsoup (to close #63/4). --- abs/core/python_modules/python-distribute/PKGBUILD | 54 ++++++++++++++++++++++ .../python_modules/python-distribute/__changelog | 2 + .../distribute-python2_and_3.patch | 36 +++++++++++++++ 3 files changed, 92 insertions(+) create mode 100644 abs/core/python_modules/python-distribute/PKGBUILD create mode 100644 abs/core/python_modules/python-distribute/__changelog create mode 100644 abs/core/python_modules/python-distribute/distribute-python2_and_3.patch diff --git a/abs/core/python_modules/python-distribute/PKGBUILD b/abs/core/python_modules/python-distribute/PKGBUILD new file mode 100644 index 0000000..625bcf7 --- /dev/null +++ b/abs/core/python_modules/python-distribute/PKGBUILD @@ -0,0 +1,54 @@ +# $Id: PKGBUILD 159385 2012-05-22 22:16:56Z stephane $ +# Maintainer: Stéphane Gaudreault +# Contributor: Sebastien Binet +pkgbase=python-distribute +pkgname=('python-distribute' 'python2-distribute') +pkgver=0.6.27 +pkgrel=2 +pkgdesc="Easily build and distribute Python packages" +arch=('any') +license=('PSF') +url="http://pypi.python.org/pypi/distribute" +makedepends=('python' 'python2') +source=(http://pypi.python.org/packages/source/d/distribute/distribute-${pkgver}.tar.gz + distribute-python2_and_3.patch) +sha1sums=('cebaaf91938581cb8c4a2f708f2b3e770232d3a5' + '9c19c12edac507b0f76696d282b9831c4b653a7e') +build() { + cd "${srcdir}" + + pushd distribute-${pkgver} + patch -Np1 -i ../distribute-python2_and_3.patch + popd + + cp -a distribute-${pkgver}{,-python2} + + # Build python 3 module + cd distribute-${pkgver} + python setup.py build +# python setup.py test + + # Build python 2 module + cd ../distribute-${pkgver}-python2 + + sed -i -e "s|^#\!.*/usr/bin/python|#!/usr/bin/python2|" setuptools/tests/test_resources.py + + python2 setup.py build +# python2 setup.py test +} + +package_python-distribute() { + depends=('python>=3.2') + + cd "${srcdir}/distribute-${pkgver}" + python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 --skip-build +} + +package_python2-distribute() { + depends=('python2>=2.6') + provides=('setuptools') + conflicts=('setuptools') + + cd "${srcdir}/distribute-${pkgver}-python2" + python2 setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 --skip-build +} diff --git a/abs/core/python_modules/python-distribute/__changelog b/abs/core/python_modules/python-distribute/__changelog new file mode 100644 index 0000000..837fd43 --- /dev/null +++ b/abs/core/python_modules/python-distribute/__changelog @@ -0,0 +1,2 @@ +9/3/12 +For python2-distribute, change dep to python2.6. diff --git a/abs/core/python_modules/python-distribute/distribute-python2_and_3.patch b/abs/core/python_modules/python-distribute/distribute-python2_and_3.patch new file mode 100644 index 0000000..2c51100 --- /dev/null +++ b/abs/core/python_modules/python-distribute/distribute-python2_and_3.patch @@ -0,0 +1,36 @@ +diff -Naur distribute-0.6.27.ori/distribute.egg-info/entry_points.txt distribute-0.6.27/distribute.egg-info/entry_points.txt +--- distribute-0.6.27.ori/distribute.egg-info/entry_points.txt 2012-05-18 15:46:04.000000000 -0400 ++++ distribute-0.6.27/distribute.egg-info/entry_points.txt 2012-05-22 18:14:17.443383039 -0400 +@@ -11,6 +11,8 @@ + install_egg_info = setuptools.command.install_egg_info:install_egg_info + alias = setuptools.command.alias:alias + easy_install = setuptools.command.easy_install:easy_install ++easy_install-2.7 = setuptools.command.easy_install:main ++easy_install-3.2 = setuptools.command.easy_install:main + install_scripts = setuptools.command.install_scripts:install_scripts + bdist_wininst = setuptools.command.bdist_wininst:bdist_wininst + bdist_egg = setuptools.command.bdist_egg:bdist_egg +diff -Naur distribute-0.6.27.ori/distribute_setup.py distribute-0.6.27/distribute_setup.py +--- distribute-0.6.27.ori/distribute_setup.py 2012-05-18 15:45:03.000000000 -0400 ++++ distribute-0.6.27/distribute_setup.py 2012-05-22 18:14:17.443383039 -0400 +@@ -299,8 +299,7 @@ + log.warn('Could not find the install location') + return + pyver = '%s.%s' % (sys.version_info[0], sys.version_info[1]) +- setuptools_file = 'setuptools-%s-py%s.egg-info' % \ +- (SETUPTOOLS_FAKED_VERSION, pyver) ++ setuptools_file = 'setuptools-%s.egg-info' % SETUPTOOLS_FAKED_VERSION + pkg_info = os.path.join(placeholder, setuptools_file) + if os.path.exists(pkg_info): + log.warn('%s already exists', pkg_info) +diff -Naur distribute-0.6.27.ori/setup.py distribute-0.6.27/setup.py +--- distribute-0.6.27.ori/setup.py 2012-05-18 15:19:51.000000000 -0400 ++++ distribute-0.6.27/setup.py 2012-05-22 18:14:17.443383039 -0400 +@@ -100,6 +100,7 @@ + finally: + f.close() + ++console_scripts = ["easy_install-%s = setuptools.command.easy_install:main" % sys.version[:3]] + + # if we are installing Distribute using "python setup.py install" + # we need to get setuptools out of the way -- cgit v0.12 From 717c1c4f8bd16ddf23688e2b94e529a069f40bc9 Mon Sep 17 00:00:00 2001 From: Cecil Date: Mon, 17 Sep 2012 13:36:36 -0700 Subject: pyxis:Initial inclusion. Needed for pyxis to close #63/4). --- abs/extra/pyxis/PKGBUILD | 27 +++++++++++++ abs/extra/pyxis/__changelog | 2 + abs/extra/pyxis/python2.patch | 90 +++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 119 insertions(+) create mode 100644 abs/extra/pyxis/PKGBUILD create mode 100644 abs/extra/pyxis/__changelog create mode 100644 abs/extra/pyxis/python2.patch diff --git a/abs/extra/pyxis/PKGBUILD b/abs/extra/pyxis/PKGBUILD new file mode 100644 index 0000000..436db6e --- /dev/null +++ b/abs/extra/pyxis/PKGBUILD @@ -0,0 +1,27 @@ +# Contributor: Corey Ling + +pkgname=pyxis +pkgver=0.2.3 +pkgrel=2 +pkgdesc="SIRIUS/XM Internet Radio Player for Command Line" +url="http://www.ionshard.com/pyxis" +arch=(i686 x86_64) +license=('GPL') +depends=('python2-beautifulsoup4' 'mplayer' 'python2') +makedepends=('python2' 'setuptools') +optdepends=('python-notify: for OSD notifications') +conflicts=() +replaces=() +backup=() +options=(!emptydirs) +install= +source=( "https://github.com/Kasuko/pyxis/tarball/v$pkgver" "python2.patch" ) + +build() { + cd $srcdir/Kasuko-pyxis* + patch -p0 < ../../python2.patch + python2 setup.py install --root=$pkgdir +} + +md5sums=('b2f42dc7bb5e2a0a6c0ef0ff6f327790' + '3096a832aac9e155cd21e2d108168516') diff --git a/abs/extra/pyxis/__changelog b/abs/extra/pyxis/__changelog new file mode 100644 index 0000000..2410a63 --- /dev/null +++ b/abs/extra/pyxis/__changelog @@ -0,0 +1,2 @@ +9/3/12 chw +Changed dep from python-beautiful to python2-beautifulsoup4. diff --git a/abs/extra/pyxis/python2.patch b/abs/extra/pyxis/python2.patch new file mode 100644 index 0000000..e53cf99 --- /dev/null +++ b/abs/extra/pyxis/python2.patch @@ -0,0 +1,90 @@ +diff --git bin/pyxis bin/pyxis +index 9b447fb..0350278 100755 +--- bin/pyxis ++++ bin/pyxis +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python2 + #Pyxis and Original Sipie: Sirius Command Line Player + #Copyright (C) Corey Ling, Eli Criffield + # +diff --git pyxis/Config.py pyxis/Config.py +index d4d6d29..a36778e 100644 +--- pyxis/Config.py ++++ pyxis/Config.py +@@ -1,4 +1,4 @@ +-#!/usr/bin/python ++#!/usr/bin/python2 + #Pyxis and Original Sipie: Sirius Command Line Player + #Copyright (C) Corey Ling, Eli Criffield + # +diff --git pyxis/Debug.py pyxis/Debug.py +index d4af851..bf1bd6e 100644 +--- pyxis/Debug.py ++++ pyxis/Debug.py +@@ -1,4 +1,4 @@ +-#!/usr/bin/python ++#!/usr/bin/python2 + #Pyxis + #Copyright (C) Corey Ling + # +diff --git pyxis/Exceptions.py pyxis/Exceptions.py +index a1b5f8d..0270a02 100644 +--- pyxis/Exceptions.py ++++ pyxis/Exceptions.py +@@ -1,4 +1,4 @@ +-#!/usr/bin/python ++#!/usr/bin/python2 + #Pyxis and Original Sipie: Sirius Command Line Player + #Copyright (C) Corey Ling, Eli Criffield + # +diff --git pyxis/Interface.py pyxis/Interface.py +index 3c60a7c..1b0c05c 100644 +--- pyxis/Interface.py ++++ pyxis/Interface.py +@@ -1,4 +1,4 @@ +-#!/usr/bin/python ++#!/usr/bin/python2 + #Pyxis and Original Sipie: Sirius Command Line Player + #Copyright (C) Corey Ling, Eli Criffield + # +diff --git pyxis/Player.py pyxis/Player.py +index 8e945ba..c467acd 100644 +--- pyxis/Player.py ++++ pyxis/Player.py +@@ -1,4 +1,4 @@ +-#!/usr/bin/python ++#!/usr/bin/python2 + #Pyxis and Original Sipie: Sirius Command Line Player + #Copyright (C) Corey Ling, Eli Criffield + # +diff --git pyxis/ProviderCanada.py pyxis/ProviderCanada.py +index 4d84952..9ff2aa6 100644 +--- pyxis/ProviderCanada.py ++++ pyxis/ProviderCanada.py +@@ -1,4 +1,4 @@ +-#!/usr/bin/python ++#!/usr/bin/python2 + #Pyxis and Original Sipie: Sirius Command Line Player + #Copyright (C) Corey Ling, Eli Criffield + # +diff --git pyxis/ProviderUSA.py pyxis/ProviderUSA.py +index 7c30eaf..b1fb950 100644 +--- pyxis/ProviderUSA.py ++++ pyxis/ProviderUSA.py +@@ -1,4 +1,4 @@ +-#!/usr/bin/python ++#!/usr/bin/python2 + #Pyxis and Original Sipie: Sirius Command Line Player + #Copyright (C) Corey Ling, Eli Criffield + # +diff --git pyxis/Sirius.py pyxis/Sirius.py +index 30a25d6..75f1fb6 100644 +--- pyxis/Sirius.py ++++ pyxis/Sirius.py +@@ -1,4 +1,4 @@ +-#!/usr/bin/python ++#!/usr/bin/python2 + #Pyxis and Original Sipie: Sirius Command Line Player + #Copyright (C) Corey Ling, Eli Criffield + # -- cgit v0.12 From 0654c2001674e4e532bee4d4fd14c67cd7100869 Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Fri, 21 Sep 2012 14:04:37 -0500 Subject: mythtv: bump to latest fixes to get python bindings fix --- abs/core/mythtv/stable-0.25/git_src/git_hash | 2 +- abs/core/mythtv/stable-0.25/mythtv/PKGBUILD | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/abs/core/mythtv/stable-0.25/git_src/git_hash b/abs/core/mythtv/stable-0.25/git_src/git_hash index 8e5da8e..fe72041 100644 --- a/abs/core/mythtv/stable-0.25/git_src/git_hash +++ b/abs/core/mythtv/stable-0.25/git_src/git_hash @@ -1 +1 @@ -d51927663b67c7c035108270a31bf14aed68bcdb +0817eb2a6d5663c5dce770105b8350688f09e97e diff --git a/abs/core/mythtv/stable-0.25/mythtv/PKGBUILD b/abs/core/mythtv/stable-0.25/mythtv/PKGBUILD index 9ccfdbd..2706c40 100644 --- a/abs/core/mythtv/stable-0.25/mythtv/PKGBUILD +++ b/abs/core/mythtv/stable-0.25/mythtv/PKGBUILD @@ -6,7 +6,7 @@ pkgname=mythtv pkgver=0.25 -pkgrel=13 +pkgrel=14 commit_hash=`cat ../git_src/git_hash` pkgdesc="A Homebrew PVR project $commit_hash" arch=('i686' 'x86_64') -- cgit v0.12 From 02ed2d32465e5f074eae2bca648c2b344c7a3044 Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Fri, 21 Sep 2012 23:09:21 -0500 Subject: LinHES-system: myth_status.py: fix conflicted recordings conflicted recordings would always trigger the except because len of an list iterator fails --- abs/core/LinHES-system/PKGBUILD | 4 ++-- abs/core/LinHES-system/myth_status.py | 15 +++++++-------- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/abs/core/LinHES-system/PKGBUILD b/abs/core/LinHES-system/PKGBUILD index 686d3bc..eb53138 100644 --- a/abs/core/LinHES-system/PKGBUILD +++ b/abs/core/LinHES-system/PKGBUILD @@ -1,6 +1,6 @@ pkgname=LinHES-system pkgver=2 -pkgrel=60 +pkgrel=61 arch=('i686') MVDIR=$startdir/pkg/usr/LH BINDIR=$startdir/pkg/usr/bin @@ -70,7 +70,7 @@ md5sums=('d1a5963c5a440a608031c6d750232633' '542e670e78d117657f93141e9689f54d' '41951459ea9d2b0567be521b67e6285a' 'ba351b92e69bcaf26a9bf80417b09c3c' - '4545eb39213d40b5a2bdeda5e066cdc4' + '309638acf596ce3c790aa2bf5c7c9880' '962a3e9eaba2d1466251b7ab0956705d' 'd03aedeeeda0f5e9c1eb437411c88477' '94ce8f1d5085c0db7b267db8c2e9a3ff' diff --git a/abs/core/LinHES-system/myth_status.py b/abs/core/LinHES-system/myth_status.py index b4f4375..da43679 100644 --- a/abs/core/LinHES-system/myth_status.py +++ b/abs/core/LinHES-system/myth_status.py @@ -92,14 +92,13 @@ print "" print "Conflicted Recordings:" print "----------------------" a=be.getConflictedRecordings() -try: - if len(a) == 0: - print " No conflicts" - else: - for i in a: - title_chan="%s (%s)" %(i.title, i.channame) - print " %s - %-50s " %(i.starttime,title_chan) -except: +c=0 +for i in a: + title_chan="%s (%s)" %(i.title, i.channame) + print " %s - %-50s " %(i.starttime,title_chan) + c=c+1 + +if c == 0: print " No conflicts" print "" -- cgit v0.12