Page 14 of 15 FirstFirst ... 49101112131415 LastLast
Results 261 to 280 of 295
  1. dsevil's Avatar
    Posts
    211 Posts
    Global Posts
    218 Global Posts
    #261  
    Looks like someone beat me to the punch on posting packaging instructions.
    I have my own packaging instructions, and posted them in the form of a Makefile!

    http://webonastick.com/webos/Makefile.txt

    - run: wget -O Makefile http://webonastick.com/webos/Makefile.txt
    - Edit the top section.
    - Make sure your package files are in the directory named by TARGET in the Makefile.
    - Run "make package" or just "make" to generate your package.
    - Upload to web server; send yourself an email with a link to it.

    NOTES:
    - Not guaranteed to work unless you have GNU tar, make, ar, du, and possible other utilities installed.
    - The usual general-lack-of-warranty disclaimer applies.
    - Requires installation of OpenSSL command-line utilities.
    - You don't edit appinfo.json; you edit Makefile; running 'make' generates it for you.
  2. NOLApre's Avatar
    Posts
    115 Posts
    Global Posts
    117 Global Posts
    #262  
    someone please try this on the flashlight app
  3. #263  
    Quote Originally Posted by xorg View Post
    PMP, I just wanted to be clear on how you got the delete working so that I can clarify in the wiki. Did you have to match the package name in the control file with the directory name and in the json as well?

    What was the destination of your app... /usr/palm or /var/usr/palm?
    I can confirm that if the control file "Package" and appinfo.json "id" are not identical, then the application cannot be deleted. (Orange-clicking or Device Info-clicking both prompt to delete, but the application doesn't disappear.) I was able to fix the discrepancy, install an updated IPK over the top of my existing application, and delete the application successfully after that.

    In this case, the "id" in appinfo.json was erroneous.
  4. #264  
    Quote Originally Posted by xorg View Post
    quailish, thanks. if you don't mind, i'm going to post your version on the wiki. the behavior could be different per platform.
    That's fine.
  5. xorg's Avatar
    Posts
    633 Posts
    Global Posts
    1,010 Global Posts
       #265  
    great dsevil, if you'd like, please share in the wiki as "Another Method"..
    pre dev wiki: Installing Homebrew Apps on Stock Pre without Rooting
  6. xorg's Avatar
    Posts
    633 Posts
    Global Posts
    1,010 Global Posts
       #266  
    What's curious is that everyone is saying they must put in /usr/palm and not /var/usr/palm. Is this the case?
  7. #267  
    Quote Originally Posted by xorg View Post
    PMP, I just wanted to be clear on how you got the delete working so that I can clarify in the wiki. Did you have to match the package name in the control file with the directory name and in the json as well?

    What was the destination of your app... /usr/palm or /var/usr/palm?

    Names had to match and I use usr, not var.
    Thanks!
  8. xorg's Avatar
    Posts
    633 Posts
    Global Posts
    1,010 Global Posts
       #268  
    Quote Originally Posted by quailish View Post
    I can confirm that if the control file "Package" and appinfo.json "id" are not identical, then the application cannot be deleted. (Orange-clicking or Device Info-clicking both prompt to delete, but the application doesn't disappear.) I was able to fix the discrepancy, install an updated IPK over the top of my existing application, and delete the application successfully after that.
    In this case, the "id" in appinfo.json was erroneous.
    Thanks for clarifying, I didn't catch it as a 'requirement' when I bundled. I've updated the wiki to ensure they are matched.
  9. Nick1472's Avatar
    Posts
    51 Posts
    Global Posts
    77 Global Posts
    #269  
    quailish, Thank You! I have been trying to repackage and resign existing apps as well with no success. I just used your script to created the control.tar.gz and data.tar.gz and it worked first time. I also used /usr and could not get the application to install with /var/usr. WebOS still put my app in /var/usr however.
  10. #270  
    Quote Originally Posted by spotter View Post
    pimpmypre, was my guess right? package name didn't line up with ipk name?
    No, actually - it's control, json and app name. The ipk can be called anything you want.
  11. xorg's Avatar
    Posts
    633 Posts
    Global Posts
    1,010 Global Posts
       #271  
    I wonder if there is different behavior of packaging commands depending on platform. I was actually doing the packaging within a rooted Pre and loaded the arm-based version of the needed commands. The behavior could be different.
  12. #272  
    Quote Originally Posted by jf1081 View Post

    Does this mean I can write an app, share it on my network through IIS on a Windows Pro machine and then email myself a link to it?
    this is a palm pre, you can do anything. you know this...
  13. #273  
    Quote Originally Posted by xorg View Post
    I wonder if there is different behavior of packaging commands depending on platform. I was actually doing the packaging within a rooted Pre and loaded the arm-based version of the needed commands. The behavior could be different.
    Could be. I know I use different options with ar than you do in your version. I also tar mine differently.
  14. #274  
    Who's interesting in making a web service where the user uploads a tar ball to a website and the website automatically packages the application and emails the author the link?

    Simple upload webform followed by a shell script for processing and delivery...
  15. #275  
    Quote Originally Posted by simplyflipflops View Post
    Who's interesting in making a web service where the user uploads a tar ball to a website and the website automatically packages the application and emails the author the link?

    Simple upload webform followed by a shell script for processing and delivery...
    I don't feel I know enough yet about how the packaging works, but I'd be happy to work alongside anyone who wants to build this. My primary function would be as a tester. I'm very thorough and that's likely to help such a site get off the ground with a good running start. [I can also help develop such a site but I wouldn't want to be the primary person right now.]

    Edit: PS: If nobody else steps up to help, I might be able to step in and do it, but it might be a slower start than otherwise. I'm good with the shell script side of things, but I'd need a little guidance on the web service side of things.

    bob
    I'm both super! ... and a doer!
  16. bbrg548's Avatar
    Posts
    97 Posts
    Global Posts
    109 Global Posts
    #276  
    I have an update on the issue I was having. If anyone remembers, a couple of days ago I set up Evan Coury's "Hello world" for the e-mail install, since nobody had done an e-mail install with a "working" app at that point. It worked, but I couldn't get it deleted.

    It looks like my packaging method for data.tar.gz was the culprit - I was using the GUI in Ubuntu's Nautilus file manager for it, because it was simple and quick, and produced an internal path that looked exactly like the one simplyflipflops had at the time.

    It wasn't giving absolute paths with the leading "/".

    After seeing that mentioned on the wiki, I tried using the command line - like I had to do for control.tar.gz - so I could get that leading "/". Once I did that, it overwrote the previous version, and I was able to delete it from my pre (which I have never rooted) using the "hold orange and tap" method.
  17. xorg's Avatar
    Posts
    633 Posts
    Global Posts
    1,010 Global Posts
       #277  
    ^Thanks for clarifying. We debated the need for absolute paths with leading slash before having success. I suspected it was needed and could only get it to work that way. I documented it that way but wasn't certain if it was absolutely (hella lame pun intended) necessary. Appears that leading slash is indeed needed in the data tarball. You however do not want a leading slash for the control tarball.

    Not all distributions have the P flag in tar to give absolute paths. Some may need to get a full tar or gnutar.
  18. mapara's Avatar
    Posts
    250 Posts
    Global Posts
    252 Global Posts
    #278  
    You guys did a great job! Thanks.

    All we need now is some kind of packager (for linux) and one skeleton app to start with.
  19. xorg's Avatar
    Posts
    633 Posts
    Global Posts
    1,010 Global Posts
       #279  
    To help kick homebrew into gear a little faster, I'd be willing to do the packaging for the first few developers who PM me. I won't be able to do this long term, but am willing to help the first few in order to pick up the pace. Please don't contact me unless you have a fully functioning app ready to test. - xorg
  20. dkr
    dkr is offline
    dkr's Avatar
    Posts
    1 Posts
    Global Posts
    2 Global Posts
    #280  
    Just installed Cygwin on my laptop and used the Makefile approach. Works perfectly! Thanks.

    -dave

Posting Permissions