Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 28 Nov 2014, 00:25
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
How I built a patched Wine for Netflix
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 2 [27 Posts]   Goto page: Previous 1, 2
Author Message
dancytron

Joined: 18 Jul 2012
Posts: 294

PostPosted: Sun 12 May 2013, 16:21    Post subject:  

Frugal. Booted without save file for install, so it was a fresh savefile.
Back to top
View user's profile Send private message 
seaside

Joined: 11 Apr 2007
Posts: 887

PostPosted: Sun 12 May 2013, 16:44    Post subject:  

mr_what wrote:
I'm guessing frugal, as your results fall in line with my previous post on lack of XATTR support for mounted save files.
I

You may wish to test if this is the problem by remounting the pup save file. It may be "/dev/loop1" mounted on "/initrd/pup_ro1". You can check this by typing "df" in a terminal. Type the following in a terminal to remount.

Code:
mount -o remount,user_xattr /dev/loop1


It should now be remounted with xattr support.

Try again to obtain the download without N8156-6022.

Cheers,
s
Back to top
View user's profile Send private message 
01micko


Joined: 11 Oct 2008
Posts: 7841
Location: qld

PostPosted: Sun 12 May 2013, 17:04    Post subject:  

seaside wrote:
ou may wish to test if this is the problem by remounting the pup save file. It may be "/dev/loop1" mounted on "/initrd/pup_ro1". You can check this by typing "df" in a terminal. Type the following in a terminal to remount.
Code:
mount -o remount,user_xattr /dev/loop1


I was just thinking on similar lines, but it fails. I performed a similar test to mr_what
Code:
# mount
rootfs on / type rootfs (rw,relatime)
/dev/sda7 on /initrd/mnt/dev_save type ext4 (rw,noatime,user_xattr,barrier=1,data=ordered)
/dev/loop1 on /initrd/pup_rw type ext4 (rw,noatime,user_xattr,barrier=1,data=ordered) #note user_xattr already set, so I already think it's doomed
# mount -o remount,user_xattr /dev/loop1
# mkdir test
# pwd
/root
# cd test
# touch testfile.txt
# setfattr -n "user.fido" -v "attribute value" testfile.txt
setfattr: testfile.txt: Operation not supported



It must be to do with AUFS. The only workaround I can think of is to shift ~/.wine to a physical linux filesystem (say /mnt/home) and symlink it back.

Code:
# mv .wine /initrd/mnt/dev_save/
# ln -sf /initrd/mnt/dev_save/.wine ./


Code:
# cd ./.wine
# touch testfile.txt
# setfattr -n "user.fido" -v "attribute value" testfile.txt
# getfattr testfile.txt
# file: testfile.txt
user.fido


That seems to work.

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
seaside

Joined: 11 Apr 2007
Posts: 887

PostPosted: Sun 12 May 2013, 17:39    Post subject:  

01micko wrote:
[
Code:
# mv .wine /initrd/mnt/dev_save/
# ln -sf /initrd/mnt/dev_save/.wine ./


Code:
# cd ./.wine
# touch testfile.txt
# setfattr -n "user.fido" -v "attribute value" testfile.txt
# getfattr testfile.txt
# file: testfile.txt
user.fido


That seems to work.


01micko,

We're running on the same track. I found the same results when I mounted another disk as user_xattr and symlinked it back.

In my case, however, the operation was a success, but the patient still won't budge Rolling Eyes N8156-6022

Grrrr..
s
Back to top
View user's profile Send private message 
pemasu


Joined: 08 Jul 2009
Posts: 5465
Location: Finland

PostPosted: Sun 12 May 2013, 18:14    Post subject:  

Great thread. Moving /root/.winebrowser to hdd ext4 partition and symlinking back was the missing peace. I used compholio quantzal packages. wine-compholio, wine-browser-installer and netflix-desktop. Some manual script launching, msttcorefonts installing, wine-browser hacking. I removed the fonts eula checking, xattr checking, let the scripts download Mono and Gecko and what else.

And....I am Ninja http://i.imgur.com/8b1u4ie.jpg

or....Resident Evil http://i.imgur.com/nfER2jD.jpg

This was in Dpup Wheezy...but I am fairly sure Precise or Raring works with compholio debs as well...they are the primary targets.

https://launchpad.net/~ehoover/+archive/compholio/+packages
Back to top
View user's profile Send private message 
mr_what

Joined: 04 May 2013
Posts: 9

PostPosted: Sun 12 May 2013, 18:31    Post subject:  

Gotta say this is odd. I was able to ln .wine in ~ to /initrd/mnt/dev_save /.wine in frugal Slacko 5.5, and all setfattr tests worked appropriately, but I'm still getting N8156-6022 errors just like seaside. Since pemasu had success running from the compolio debs, I wonder if installing the PET instead of using the SFS makes a difference... Gonna try that for the sake of trying it.

EDIT: Nope, same result (don't know why I expected otherwise), but nothing ventured, nothing gained.

pemasu, did you do anything special to install the compholio debs, or just let Puppy install them through the usual means?

_________________
Proponent of better living through reckless experimentation.
Back to top
View user's profile Send private message 
seaside

Joined: 11 Apr 2007
Posts: 887

PostPosted: Sun 12 May 2013, 19:09    Post subject:  

Yes.........

I downloaded and installed these two packages (on top of everything else) and it now works Very Happy Very Happy

from -
https://launchpad.net/~ehoover/+archive/compholio/+packages
download

wine-compholio_1.5.30~precise_i386.deb
netflix-desktop_0.7.0~precise_all.deb

This is on Puppy Precise 5.4.3 frugal install.

Cheers,
s
Back to top
View user's profile Send private message 
01micko


Joined: 11 Oct 2008
Posts: 7841
Location: qld

PostPosted: Sun 12 May 2013, 21:37    Post subject:  

Well, none of the four services (including world's largest river Wink ) are available in Australia, probably would be forever buffering anyway on my sh*t connection (and 99.99% of everyone else in Australia too Evil or Very Mad ).

However, if someone can test the vanilla slacko install (sfs or pet) with the following pet that would be cool, but first you need to create /initrd/mnt/dev_save/.wine-browser and symlink it back to $HOME. (this can be automated later once I know it works). I believe they do this to avoid conflicts as mentioned in an earlier post by mr_what.

Code:
mkdir -p /initrd/mnt/dev_save/.wine-browser
ln -sf /initrd/mnt/dev_save/.wine-browser ./


All I did was hack out the debconf crap, so you will need to make sure you have the corefonts (as explained on the first page) first. Again, that can be tested, but I need to know if it works before wasting my time.

You will need the netflix-desktop deb from pemasu's link above too. (The other *-desktop launchers work too).
wine-browser-installer-0.7.pet
Description 
pet

 Download 
Filename  wine-browser-installer-0.7.pet 
Filesize  43.77 KB 
Downloaded  193 Time(s) 

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
mr_what

Joined: 04 May 2013
Posts: 9

PostPosted: Sun 12 May 2013, 22:56    Post subject:  

Hi 01micko,

I still have wine-1.5.28-i486-2-s14-patched.pet installed on my frugal Slacko machine, so I grabbed the netflix-desktop deb from...

https://launchpad.net/~ehoover/+archive/compholio/+files/netflix-desktop_0.7.0~precise_all.deb

...installed your wine-browser-installer-0.7.pet, created the linked .wine-browser folder as instructed, and tested by launching "wine-browser" in cli. Unfortunately, I'm still getting N8156-6022 errors.

Just a thought: if you still have the config.log from your Wine build, could you check it to see if XATTR was reported as available?

I'm afraid I can't noodle with this any more tonight, but if anyone has any suggestions, I'm game and'll hit 'em up tomorrow.

_________________
Proponent of better living through reckless experimentation.
Back to top
View user's profile Send private message 
seaside

Joined: 11 Apr 2007
Posts: 887

PostPosted: Mon 13 May 2013, 16:25    Post subject:  

Sorry I can't test 01micko's Slacko wine-browser-install pet because I only have precise available.

However, just to elaborate further, here's what I did to get Neflix working in precise 5.4.3 frugal.

I downloaded 01micko's patched sfs http://puppylinuxstuff.meownplanet.net/01micko/wine-silverlight/wine-1.5.28-i486-2-s14-patched.sfs

Followed all of mr_what's great instructions.

Linked the /root/.wine directory somewhere outside the pupsave file (in this case /mnt/sdb6, another drive).

Then from -https://launchpad.net/~ehoover/+archive/compholio/+packages

Downloaded and installed netflix-desktop_0.7.0~precise_all.deb

Downloaded wine-compholio_1.5.30~precise_i386.deb which installs to directory /opt. NOTE: under /opt/wine-compholio, the files under bin and lib must be moved to /usr/bin and /usr/lib respectively, overriding the existing wine files.

Then,
Code:
wine "C:\\Program Files\\Mozilla Firefox\\firefox.exe" http://netflix.com
and it streams flawlessly.

Cheers,
s
Back to top
View user's profile Send private message 
mr_what

Joined: 04 May 2013
Posts: 9

PostPosted: Sat 25 May 2013, 15:41    Post subject:  

A few additional notes for anyone still interested:

I managed to build a fresh, patched version of Wine 1.5.28 and get Netflix working without errors on my Slacko 5.5 Frugal install by compiling the program in a volume that supported XATTR (in my case, /initrd/mnt/dev_save/). After installing this new build, I still had to symlink the .wine directory to dev_save as previously mentioned to avoid the N8156-6022 errors, but it works.

The info gleaned from the end result here is that a local build works while the PET/SFS doesn't, which leads me to believe that the XATTR capabilities of the packaged build are getting lost somewhere in the packaging process. seaside's success with overwriting the /usr/bin & /usr/lib files from the wine-compholio_1.5.30~precise_i386.deb install seems to support this theory. I haven't had time to investigate further, but will do so when I can.

_________________
Proponent of better living through reckless experimentation.
Back to top
View user's profile Send private message 
gulk


Joined: 21 Apr 2008
Posts: 86

PostPosted: Sun 09 Jun 2013, 12:24    Post subject: no extended attribute nowhere...  

Following this thread with the greatest interest... Unfortunately, Slacko 5.5, frugal install, I don't get any success with the extended attribute on every single one of my partitions (got the "Operation not supported" everywhere I tried).

Could it be the way I mount them or the fact that I only have ext3 and no ext4?

Keep up the good work and thanks for the time put into this investigation!
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 2 of 2 [27 Posts]   Goto page: Previous 1, 2
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » HOWTO ( Solutions )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0862s ][ Queries: 12 (0.0039s) ][ GZIP on ]