webOS Nation Forums > webOS apps and software > webOS developer forums > Canuck Coding > How To: Install .patch files with WOSQI
1 2 
Legend: Jason Robitaille
at: 01:48 PM 10/21/2009
Often times on these forum, you may notice patches posted in .patch format. Most people are used to seeing patches as ipk files, though in reality, those ipks are actually containing .patch files inside.

Since the WebOSQuickInstall v2.7 update, it's patching system was changed to be fully compatible with the WebOS-Internals format. I added a neat feature of being able to install basic .patch files under that format.

So I figured it'd help people if I gave a quick tutorial
  1. First off, download the patch file.
    Currently the forums don't support .patch uploads, so most times you'll see the .patch inside a zip.
  2. Click the "+" button in WOSQI
  3. Browse to, and select, the .patch file you've downloaded.
  4. Hit the "Install" button and you're done!

(Alternatively, you could just drag and drop the .patch file onto the WOSQI window)


The patch will be completely WebOS-Internals format compatible. This means you will be able to remove it like any other patch: via Tools->Device Management (switch dropdown box to "Patches") or in Preware under the "Patches" section.
Reply
Member: Audemars02
at: 01:56 PM 10/21/2009
Originally Posted by Jason Robitaille:
The patch will be completely WebOS-Internals format compatible. This means you will be able to remove it like any other patch: via Tools->Device Management (switch dropdown box to "Patches") or in Preware.
Jason -- I just installed the "Improved Camera Filename" patch we have been discussing in a separate thread and noticed that in Preware, this shows up under "Install Packages" under "Unknown" and not "Patches". Is that how this is supposed to be shown, or should it show up under "patches"?

thanks again for all your hard work!
Reply
Legend: Jason Robitaille
at: 02:03 PM 10/21/2009
Originally Posted by Audemars02:
Jason -- I just installed the "Improved Camera Filename" patch we have been discussing in a separate thread and noticed that in Preware, this shows up under "Install Packages" under "Unknown" and not "Patches". Is that how this is supposed to be shown, or should it show up under "patches"?
Remember that file access issue you mentioned in the other thread, that'd be a side effect. For the average user, it'll install error-free, appearing as a patch
Reply
Member: Audemars02
at: 02:05 PM 10/21/2009
Originally Posted by Jason Robitaille:
Remember that file access issue you mentioned in the other thread, that'd be a side effect. For the average user, it'll install error-free, appearing as a patch
D'oh!!! oh well.. any idea why that error would happen?
Reply
Legend: Jason Robitaille
at: 02:08 PM 10/21/2009
Originally Posted by Audemars02:
D'oh!!! oh well.. any idea why that error would happen?
At first guess, a file read access error in your "temporary files" folder. I could definitely be wrong though.
Reply
Member: elryon
at: 02:26 PM 10/21/2009
How bout something that creates a .patch file? The one I made with quilt doesn't want to work right for some reason...
Reply
Legend: Jason Robitaille
at: 02:31 PM 10/21/2009
Originally Posted by elryon:
How bout something that creates a .patch file? The one I made with quilt doesn't want to work right for some reason...
You can do that easily in commandline with diff:
Code:
eg./  diff -u original.js revised.js > output.patch
It you want a real quick java-based cross-platform GUI, I can make that if you want
Reply
Member: elryon
at: 02:34 PM 10/21/2009
if that's all I need than I can do that... will try when I get home from work.. thanks
Reply
Legend: Jason Robitaille
at: 03:09 PM 10/21/2009
Originally Posted by elryon:
if that's all I need than I can do that... will try when I get home from work.. thanks
Alternatively I've also just released UnifiedDiffCreator: http://forums.precentral.net/canuck-...f-creator.html
Reply
Member: deltasig
at: 03:15 PM 10/21/2009
how would I go about getting the latest version of quickinstall?
Reply
Legend: Jason Robitaille
at: 03:29 PM 10/21/2009
Originally Posted by deltasig:
how would I go about getting the latest version of quickinstall?
http://forums.precentral.net/homebre...-7-beyond.html
Reply
Member: daventx
at: 03:00 PM 10/22/2009
Originally Posted by Jason Robitaille:
You can do that easily in commandline with diff:
[CODE]eg./ diff -u original.js revised.js > output.patch[/CODE]
It you want a real quick java-based cross-platform GUI, I can make that if you want
As an aternative, check out this link:

The Ten Minute Guide to diff and patch

It explains towards the bottom how to use diff to make a patch on a whole directory! Makes it ALOT easier when multiple files are edited
Reply
Member: Audemars02
at: 04:12 PM 10/22/2009
Originally Posted by Jason Robitaille:
Remember that file access issue you mentioned in the other thread, that'd be a side effect. For the average user, it'll install error-free, appearing as a patch
jason -- found the reason for the error... I deleted the contents of my Temp directory (something I haven't done in over 2 years, and it was over 15 gig!!!), uninstalled the patches, and then reinstalled 2 patches (the filename patch and the unthrottle download manager patch). The patches were able to download and install without any errors, but the patches still show up as "other" and not "patches" in Preware.
Reply
Member: FAtristain
at: 02:36 PM 11/30/2009
Well, I downloaded the patch and follow the instructions as stated above using WOSQI, but it does not let me select or drag and drop the patch into the WOSQI window.

I am able of installing other "Homebrew" apps, OK, but does not seem to like the ".patch" file.

Any suggestions?

Fedman
Reply
Legend: Jason Robitaille
at: 04:54 PM 11/30/2009
Originally Posted by FAtristain:
Well, I downloaded the patch and follow the instructions as stated above using WOSQI, but it does not let me select or drag and drop the patch into the WOSQI window.

I am able of installing other "Homebrew" apps, OK, but does not seem to like the ".patch" file.

Any suggestions?

Fedman
What version of WebOS Quick Install does it say in the About screen?
Reply
Member: FAtristain
at: 03:49 PM 12/02/2009
Originally Posted by Jason Robitaille:
What version of WebOS Quick Install does it say in the About screen?
Version 2.6....
Reply
Legend: Jason Robitaille
at: 04:18 PM 12/02/2009
Originally Posted by FAtristain:
Version 2.6....
May wanna upgrade to the the current version. 2.6 didn't support .patch installation
Reply
Member: FAtristain
at: 05:07 PM 12/02/2009
Originally Posted by Jason Robitaille:
May wanna upgrade to the the current version. 2.6 didn't support .patch installation
Any suggestions as to where to get the latest one?

Thanks in advance for your input

And for sure certain YOUR PATIENCE!!! :-)
Reply
Legend: Jason Robitaille
at: 05:32 PM 12/02/2009
Originally Posted by FAtristain:
Any suggestions as to where to get the latest one?

Thanks in advance for your input

And for sure certain YOUR PATIENCE!!! :-)
The WebOS Quick Install thread, post 1
Reply
Member: FAtristain
at: 05:58 PM 12/02/2009
Originally Posted by Jason Robitaille:
The WebOS Quick Install thread, post 1
Got it. Installed and running. I also installed the YouTube patch.

Thanks.

One minor item, in the WOSQI --> Tools --> Tweaks --> Online Repository

I get an error stating "Error Reading Package List" with an OK button.

Pressing the OK button brings the list of patches.

Any suggestions, or just not to worry about it....

Regards,
Reply
1 2 
webOS Nation Forums > webOS apps and software > webOS developer forums > Canuck Coding > How To: Install .patch files with WOSQI