January 25, 201412 yr First off, many thanks to ClunkClunk for working out the details for 32-bit UnRaid: http://lime-technology.com/forum/index.php?topic=3714.msg285620#msg285620 I went through and updated the links to the 64-bit package locations, put it into a script just to make it simpler and added the installpkg lines. I'm not a script expert so I didn't try to make it deal with directories on its own etc, It just runs wget and installpkg in whatever directory you're sitting. So best bet is to run the script from /boot/packages #!/bin/bash wget -nc http://carroll.cac.psu.edu/pub/linux/distributions/slackware/slackware64-14.1/slackware64/x/fontconfig-2.10.93-x86_64-1.txz wget -nc http://carroll.cac.psu.edu/pub/linux/distributions/slackware/slackware64-14.1/slackware64/l/freetype-2.5.0.1-x86_64-1.txz wget -nc http://carroll.cac.psu.edu/pub/linux/distributions/slackware/slackware64-14.1/slackware64/l/libogg-1.3.0-x86_64-1.txz wget -nc http://carroll.cac.psu.edu/pub/linux/distributions/slackware/slackware64-14.1/slackware64/l/libsamplerate-0.1.8-x86_64-1.txz wget -nc http://carroll.cac.psu.edu/pub/linux/distributions/slackware/slackware64-14.1/slackware64/l/libtheora-1.1.1-x86_64-1.txz wget -nc http://carroll.cac.psu.edu/pub/linux/distributions/slackware/slackware64-14.1/slackware64/l/libvorbis-1.3.3-x86_64-1.txz wget -nc http://carroll.cac.psu.edu/pub/linux/distributions/slackware/slackware64-14.1/slackware64/l/libxml2-2.9.1-x86_64-1.txz wget -nc http://carroll.cac.psu.edu/pub/linux/distributions/slackware/slackware64-14.1/slackware64/l/zlib-1.2.8-x86_64-1.txz wget -nc http://carroll.cac.psu.edu/pub/linux/distributions/slackware/slackware64-14.1/slackware64/l/glibc-2.17-x86_64-7.txz wget -nc http://carroll.cac.psu.edu/pub/linux/distributions/slackware/slackware64-14.1/slackware64/l/glib-1.2.10-x86_64-3.txz wget -nc http://carroll.cac.psu.edu/pub/linux/distributions/slackware/slackware64-14.1/slackware64/d/gcc-g++-4.8.2-x86_64-1.txz wget -nc http://carroll.cac.psu.edu/pub/linux/distributions/slackware/slackware64-14.1/slackware64/l/libpng-1.4.12-x86_64-1.txz wget -nc http://carroll.cac.psu.edu/pub/linux/distributions/slackware/slackware64-14.1/slackware64/a/xz-5.0.5-x86_64-1.tgz wget -nc http://slackware.org.uk/people/alien/restricted_slackbuilds/handbrake/pkg64/14.0/handbrake-0.9.9-x86_64-1alien.txz installpkg fontconfig-2.10.93-x86_64-1.txz installpkg glibc-2.17-x86_64-7.txz installpkg libsamplerate-0.1.8-x86_64-1.txz installpkg xz-5.0.5-x86_64-1.tgz* installpkg freetype-2.5.0.1-x86_64-1.txz installpkg handbrake-0.9.9-x86_64-1alien.txz installpkg libtheora-1.1.1-x86_64-1.txz installpkg zlib-1.2.8-x86_64-1.txz* installpkg gcc-g++-4.8.2-x86_64-1.txz installpkg libogg-1.3.0-x86_64-1.txz installpkg libvorbis-1.3.3-x86_64-1.txz* installpkg glib-1.2.10-x86_64-3.txz installpkg libpng-1.4.12-x86_64-1.txz installpkg libxml2-2.9.1-x86_64-1.txz* First encode is running right now!!! UPDATE: see nicinabox's post here http://lime-technology.com/forum/index.php?topic=31528.msg286568#msg286568 if you would like to use Trolley for a quick, smooth install handbrake_install.sh.txt
January 28, 201412 yr Author My first encode completed and looks great. A few tips: - For reinstall after reboot copy all downloaded package files into /boot/extra - Given how long a transcode takes, you'll probably want to run it directly from the console, or install screen and use that. Otherwise a closed terminal session (like a PC reboot, killed terminal process or lost network connection) will kill your transcode. I'm not sure if screen is available yet for v6.x Does anyone have the skills to create a script (maybe called as a cron job) that can watch a folder and start transcoding anything inside of it using a config file also in that folder (for all the CLI options). That might really help the community (read: and me ). Ideally we'd be able to set up a few watch folders with different config files based on our most common needs Such as one for Film based Blu-Rays, for TV DVDs, for Animation, etc. That would make things much easier for batch and near unattended operation since we don't have a GUI That might sound like a lot but creating each config would be on the user. My request is just for a way to watch/scan a batch of folders and fire off handbrake when a new file is detected using the command line switches included in the config file and deposit the completed files in a "transcoded" directory. Thoughts?
January 28, 201412 yr Nice work jumperplex! If anyone is interested, I updated the script above to use trolley. It will: * fetch the lib by version and match it to your arch * save the package to /boot/extra * install it Notice there are no versions specified. Trolley will pick the correct version for your Slackware version. That means this script installs the same on unRAID 5.0.x AND 6.x. By future proofing your code, you can ensure that it will work months and years down the line with minimal effort. Everybody wins. #!/bin/bash [[ `command -v trolley` == "" ]] && curl -sk https://raw.github.com/nicinabox/trolley/master/install.sh | sh trolley install freetype trolley install fontconfig trolley install libogg trolley install libsamplerate trolley install libtheora trolley install libvorbis trolley install libxml2 trolley install zlib trolley install glibc trolley install glib trolley install gcc trolley install libpng trolley install xz if [[ `uname -m` == 'x86_64' ]]; then trolley install http://slackware.org.uk/people/alien/restricted_slackbuilds/handbrake/pkg64/14.0/handbrake-0.9.9-x86_64-1alien.txz else trolley install http://slackware.org.uk/people/alien/restricted_slackbuilds/handbrake/pkg/13.37/handbrake-0.9.9-i486-1alien.txz fi
January 28, 201412 yr Author @nicinabox - hey that is awesome. I take it that first line installs trolley? @HAVOC - you talkin' to me? If so, no segfaults in my logs.
January 28, 201412 yr Author PS: looking at your segfault thread, I can also tell you that my mover worked perfectly last night so no apparent problems with cron jobs.
January 28, 201412 yr Author Yup 64-bit Unraid 6.0 Also running Plex and APCUPSD. All working together very well.
January 29, 201412 yr Author Ummm I used the 64 bit version someone created. Sent from my XT1060 using Tapatalk
January 29, 201412 yr I tried searching for the plg and could not find it. Do you have a link by chance?
January 29, 201412 yr Thank you for the link. Handbrake is running with no segfuLts finally. Great work guys!
January 29, 201412 yr Author Sorry I didn't provide a link. I am mobile today and was feeling lazy. Thanks soana for helping out. Sent from my XT1060 using Tapatalk
January 30, 201412 yr Updated my earlier post to show how you can install compatible package versions automatically.
January 30, 201412 yr Author Updated my earlier post to show how you can install compatible package versions automatically. That's awesome nic. I've updated OP to also point directly at your post.
January 30, 201412 yr Trolley runs fine until the last install of handbrake? root@Tower:~# trolley install http://slackware.org.uk/people/alien/restricted_slackbuilds/handbrake/pkg64/14.0/handbrake-0.9.9-x86_64-1alien.txz /boot/custom/gems/ruby/1.9.1/gems/json-1.8.1/lib/json/common.rb:155:in `parse': 795: unexpected token at '<!DOCTYPE html> (JSON::ParserError) <html> <head> <title>The page you were looking for doesn't exist (404)</title> <style> body { background-color: #EFEFEF; color: #2E2F30; text-align: center; font-family: arial, sans-serif; } div.dialog { width: 25em; margin: 4em auto 0 auto; border: 1px solid #CCC; border-right-color: #999; border-left-color: #999; border-bottom-color: #BBB; border-top: #B00100 solid 4px; border-top-left-radius: 9px; border-top-right-radius: 9px; background-color: white; padding: 7px 4em 0 4em; } h1 { font-size: 100%; color: #730E15; line-height: 1.5em; } body > p { width: 33em; margin: 0 auto 1em; padding: 1em 0; background-color: #F7F7F7; border: 1px solid #CCC; border-right-color: #999; border-bottom-color: #999; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-top-color: #DADADA; color: #666; box-shadow:0 3px 8px rgba(50, 50, 50, 0.17); } </style> </head> <body> <!-- This file lives in public/404.html --> <div class="dialog"> <h1>The page you were looking for doesn't exist.</h1> <p>You may have mistyped the address or the page may have moved.</p> </div> <p>If you are the application owner check the logs for more information.</p> </body> </html> ' from /boot/custom/gems/ruby/1.9.1/gems/json-1.8.1/lib/json/common.rb:155:in `parse' from /boot/custom/gems/ruby/1.9.1/gems/json-1.8.1/lib/json/common.rb:334:in `load' from /boot/custom/gems/ruby/1.9.1/gems/httparty-0.12.0/lib/httparty/parser.rb:113:in `json' from /boot/custom/gems/ruby/1.9.1/gems/httparty-0.12.0/lib/httparty/parser.rb:129:in `parse_supported_format' from /boot/custom/gems/ruby/1.9.1/gems/httparty-0.12.0/lib/httparty/parser.rb:100:in `parse' from /boot/custom/gems/ruby/1.9.1/gems/httparty-0.12.0/lib/httparty/parser.rb:64:in `call' from /boot/custom/gems/ruby/1.9.1/gems/httparty-0.12.0/lib/httparty/request.rb:294:in `parse_response' from /boot/custom/gems/ruby/1.9.1/gems/httparty-0.12.0/lib/httparty/request.rb:264:in `block in handle_response' from /boot/custom/gems/ruby/1.9.1/gems/httparty-0.12.0/lib/httparty/response.rb:23:in `call' from /boot/custom/gems/ruby/1.9.1/gems/httparty-0.12.0/lib/httparty/response.rb:23:in `parsed_response' from /boot/custom/gems/ruby/1.9.1/gems/httparty-0.12.0/lib/httparty/response.rb:61:in `method_missing' from /usr/local/boiler/trolley/lib/trolley/cli.rb:52:in `install' from /boot/custom/gems/ruby/1.9.1/bundler/gems/thor-d9d26adcd3ee/lib/thor/command.rb:27:in `run' from /boot/custom/gems/ruby/1.9.1/bundler/gems/thor-d9d26adcd3ee/lib/thor/invocation.rb:121:in `invoke_command' from /boot/custom/gems/ruby/1.9.1/bundler/gems/thor-d9d26adcd3ee/lib/thor.rb:363:in `dispatch' from /boot/custom/gems/ruby/1.9.1/bundler/gems/thor-d9d26adcd3ee/lib/thor/base.rb:440:in `start' from /usr/local/bin/trolley:13:in `<main>'
January 30, 201412 yr Author Was this before or after you removed the 32-bit packages mentioned in 6.0beta thread? I swear, I'm' not cyber stalking you
January 30, 201412 yr Lol I'm not offended. I removed all 32 bit packages and then rebooted. No errors or any sort of binary issues. So I go ahead and try to install HB trolley worked fine getting all dependencies but I was left with the errors I posted above. I used ur link for wget and installed. I gotta say this forum has a lot of great subscribers.
January 30, 201412 yr Author Well glad you worked it out. Indeed it is quite a great community even with the recent nashing of teeth. Hopefully nic sees this and looks into his script.
January 30, 201412 yr A quick sidebar. Do you have unmenu installed? Is their going to be a 64bit version to update?
January 30, 201412 yr Author I do not. I do believe unmenu itself works as always because it is based on scripts that are not 32/64 dependent. It is the packages that it downloads that need to be updated and that I believe is still very much a work in progress.
January 30, 201412 yr Yeah that sounds about right because unmenu is throwing this error from the package downloaded. Jan 30 13:21:29 Tower unmenu[14300]: sh: bwm-ng: command not found Jan 30 13:35:06 Tower unmenu[14300]: sh: /usr/bin/bwm-ng: cannot execute binary file
Archived
This topic is now archived and is closed to further replies.