|
|
06/24/2009, 04:41 PM
|
#261 (permalink) |
|
Member
![]() ![]() Join Date: Jun 2009
Posts: 211
Likes Received: 0
Thanks: 28
Thanked 147 Times in 41 Posts
|
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. |
06/24/2009, 04:53 PM
|
#263 (permalink) | |
|
Member
![]() Join Date: Jun 2009
Posts: 5
Likes Received: 0
Thanks: 0
Thanked 2 Times in 2 Posts
|
Quote:
In this case, the "id" in appinfo.json was erroneous. |
|
06/24/2009, 04:56 PM
|
#265 (permalink) |
|
Member
![]() ![]() Join Date: Jun 2009
Location: kansas city, mo
Posts: 633
Likes Received: 0
Thanks: 85
Thanked 303 Times in 146 Posts
|
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 |
06/24/2009, 05:01 PM
|
#267 (permalink) | |
|
Member
![]() ![]() Join Date: Jun 2009
Posts: 428
Likes Received: 0
Thanks: 23
Thanked 150 Times in 63 Posts
|
Quote:
Names had to match and I use usr, not var. Thanks! |
|
06/24/2009, 05:01 PM
|
#268 (permalink) | |
|
Member
![]() ![]() Join Date: Jun 2009
Location: kansas city, mo
Posts: 633
Likes Received: 0
Thanks: 85
Thanked 303 Times in 146 Posts
|
Quote:
|
|
06/24/2009, 05:02 PM
|
#269 (permalink) |
|
Member
![]() ![]() Join Date: Jun 2009
Posts: 51
Likes Received: 0
Thanks: 1
Thanked 34 Times in 12 Posts
|
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.
|
06/24/2009, 06:09 PM
|
#271 (permalink) |
|
Member
![]() ![]() Join Date: Jun 2009
Location: kansas city, mo
Posts: 633
Likes Received: 0
Thanks: 85
Thanked 303 Times in 146 Posts
|
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.
|
06/25/2009, 01:22 PM
|
#274 (permalink) |
|
Member
![]() ![]() Join Date: Jun 2009
Posts: 82
Likes Received: 0
Thanks: 0
Thanked 32 Times in 17 Posts
|
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... |
06/25/2009, 01:35 PM
|
#275 (permalink) | |
|
Member
![]() Join Date: Nov 2002
Location: Boston, MA, USA (but in America's Dairyland for an extended visit)
Posts: 1,727
Likes Received: 0
Thanks: 1,508
Thanked 369 Times in 302 Posts
|
Quote:
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! |
|
06/25/2009, 10:34 PM
|
#276 (permalink) |
|
Member
![]() Join Date: Jun 2009
Posts: 98
Likes Received: 0
Thanks: 10
Thanked 14 Times in 12 Posts
|
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. |
06/25/2009, 11:26 PM
|
#277 (permalink) |
|
Member
![]() ![]() Join Date: Jun 2009
Location: kansas city, mo
Posts: 633
Likes Received: 0
Thanks: 85
Thanked 303 Times in 146 Posts
|
^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. |
06/27/2009, 09:17 AM
|
#279 (permalink) |
|
Member
![]() ![]() Join Date: Jun 2009
Location: kansas city, mo
Posts: 633
Likes Received: 0
Thanks: 85
Thanked 303 Times in 146 Posts
|
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
|
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|



