Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
bosborne
Visitor

Re: Long delay before package install when running make inst

That the two scripts aren't the same, but I see now you said "only real difference" when I thought that read "only difference". I'll see if I can try and figure out what exactly is causing the hangup with the existing makefile code, but being on the homescreen of the Roku makes no difference for sure.
0 Kudos
RokuMarkn
Visitor

Re: Long delay before package install when running make inst

"EnTerr" wrote:

While i have your attention RokuMarkn, is there a technical (roku-internals) reason why app.mk actively avoids compressing PNG files?


I'm pretty sure it's just optimization since png files rarely compress well.

--Mark
0 Kudos
EnTerr
Roku Guru

Re: Long delay before package install when running make inst

"RokuMarkn" wrote:
I'm pretty sure it's just optimization since png files rarely compress well.

Thanks!
0 Kudos
TheEndless
Channel Surfer

Re: Long delay before package install when running make inst

"EnTerr" wrote:
"RokuMarkn" wrote:
I'm pretty sure it's just optimization since png files rarely compress well.

Thanks!

PNGs already use zlib compression, so it'd be a waste (in most cases) to try to compress them further.
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
0 Kudos
destruk
Binge Watcher

Re: Long delay before package install when running make inst

If you run your PNGs through PNGCrush ( http://pmt.sourceforge.net/pngcrush/ )or OptiPNG ( http://optipng.sourceforge.net/ ) first then they will be as small as they can be - by default though most PNGs are already fairly small - if they need to be smaller still then use JPG and enable lossy compression til it fits into your desired footprint.
0 Kudos
bosborne
Visitor

Re: Long delay before package install when running make inst

The difference between the cURL calls in the make file provided by Roku and the script by EnTerr is that EnTerr's is using --anyauth instead of --digest. If I make that change on the make file, the install never hangs.
0 Kudos
EnTerr
Roku Guru

Re: Long delay before package install when running make inst

"bosborne" wrote:
The difference between the cURL calls in the make file provided by Roku and the script by EnTerr is that EnTerr's is using --anyauth instead of --digest. If I make that change on the make file, the install never hangs.

The use of --anyauth explained in this comment http://blog.roku.com/developer/2013/10/ ... 1186003902

Where does your makefile come from, btw? RokuMarkN talks about "the standard makefile" - and maybe such animal exists somewhere in RokuCo source control system. But for us outsiders there is no "canonical" makefile any more, it has not been published since they stopped making SDK-in-a-ZIP. So it's bound to be a comedy of errors, if you are looking at an apple and RokuMarkn has on screen an orange.
0 Kudos