Distribute your XULRunner app - 1 - Preamble
Par joliclic le vendredi, mai 20 2011, 16:04 - mozilla - Lien permanent
Ce billet existe aussi en français
This is the first post of a series about how to package a XULRunner application.
1 - Preamble
Purpose: you have made a nice XULRunner application, that you want to distribute as friendly for all platforms supported by XULRunner.
This is a small piece of code, you don't want to distribute XULRunner itself with your application (*).
I will share with you the result of some of my experiments and web researches, to package it and resolve some platform specificities.
We will see how to create a launcher, sometime based on
Firefox with the -app
argument (which can be used as a
XULRunner runtime), and how to create common installers,
deb and rpm for Linux, a
nsis installer for Windows, an application
bundle and a dmg for Mac OSX.
We will use the 'Hello World' application as example, from developer.mozilla.org. And all of this will be performed from Linux.
All comments and feedback will be really welcome ;) , if something seems wrong to you, please comment.
(*) Note: but if you embed XULRunner into your application, this information should be still useful ;) .
Here's the complete incoming plan:
Distribute your XULRunner app
- 1 Preamble
-
2 Linux
-
2.1 Linux common
- 2.1.1 Generalities
- 2.1.2 Create a launcher
- 2.1.3 Icons for our windows
- 2.1.4 Desktop integration
- 2.1.5 Distribute a tar.gz
-
2.2 Package as deb
- 2.2.1 Synopsis
- 2.2.2 Debian files
- 2.2.3 Create the deb
-
2.3 Special case : deb for Maemo
- 2.3.1 Maemo generalities
- 2.3.2 Adapt the launcher
- 2.3.3 A new file system organization - Where place our app
- 2.3.4 Additions to the
.desktop
file - 2.3.5 Changes to the Debian files
- 2.3.6 Create the deb
-
2.4 Package as rpm
- 2.4.1 Prerequisites
- 2.4.2 RPM files
- 2.4.3 Create the rpm
-
2.1 Linux common
-
3 Windows
- 3.1 Icons for Windows
- 3.2 Create a launcher (batch or C)
- 3.3 Create a NSIS script
- 3.4 Create the installer
-
4 Mac OSX
- 4.1 Icons for Mac OSX
- 4.2 Create a launcher
- 4.3 Some Mac specificities
- 4.4 Create a Application Bundle
- 4.5 Package as tar.gz and dmg
-
5 Synthesis - all platforms
- 5.1 Changes to the app
- 5.2 Added data
- 5.3 Created installers
- 5.4 A global and reusable script
- 5.5 Conclusions
- 6 Annexe - related links
Commentaires
Very quickly this website will be famous among all blogging users, due to it's fastidious content
You could definitely see your skills within the work you
write. The world hopes for more passionate
writers such as you who aren't afraid to mention how they believe.
All the time follow your heart.
I've been exploring for a little for any high-quality articles or blog posts in this kind of space .
Exploring in Yahoo I at last stumbled upon this site. Studying this info So i'm happy to show that I've a very just
right uncanny feeling I discovered just what I needed. I most indisputably
will make sure to do not omit this site and provides it a look on a constant basis.
My relatives every time say that I am wasting my time here at web, however I
know I am getting familiarity daily by reading thes fastidious articles.
Link exchange is nothing else but it is just placing the
other person's web site link on your page at appropriate place and other person will
also do similar for you.
Yes! Finally someone writes about jasa recovery data.
I'm extremely impressed with your writing skills and also with the layout on your blog.
Is this a paid theme or did you customize it yourself?
Anyway keep up the nice quality writing, it is rare to see a nice blog like this one
today.
Thank you for the auspicious writeup. It in fact
was a amusement account it. Look advanced to more added agreeable from you!
However, how can we communicate?
This article presents clear idea for the new visitors
of blogging, that genuinely how to do blogging.
Great goods from you, man. I've understand your stuff
previous to and you're just extremely wonderful. I really like
what you've acquired here, really like what you're saying and the way in which you say it.
You make it enjoyable and you still care for to keep it wise.
I can not wait to read much more from you. This is really a great website.
Hi there i am kavin, its my first time to commenting anyplace, when i read
this article i thought i could also make comment due to this
good paragraph.
Hi there colleagues, pleasant post and fastidious urging commented at this place, I am really enjoying by these.
I really like it when individuals get together and share
ideas. Great blog, continue the good work!
What's Taking place i am new to this, I stumbled upon this I have discovered It absolutely useful and it
has helped me out loads. I am hoping to contribute & help
different users like its helped me. Good job.
Hey I know this is off topic but I was wondering
if you knew of any widgets I could add to my blog that automatically tweet my newest twitter updates.
I've been looking for a plug-in like this for quite some time and was hoping maybe you
would have some experience with something like this.
Please let me know if you run into anything.
I truly enjoy reading your blog and I look forward to your new updates.
I have been exploring for a little for any
high quality articles or blog posts in this
sort of house . Exploring in Yahoo I finally
stumbled upon this site. Studying this information So i am
happy to convey that I've an incredibly excellent uncanny
feeling I discovered exactly what I needed. I such a lot indisputably will make certain to do not put out of your mind this website
and provides it a look regularly.
Hey Tһere. I found your blog uѕing msn. This is a verу smartly written article.
I'll be sure to bookmark it and come back to read more of your useful іnfo.
Thank you for the post. I will certainly retᥙrn.
Ѕomeone necessarily assist to make sеriously posts I would state.
That is the first time I frequented your ѡebsite page and up to now?
I amazed with the researcһ you made to make
this particuⅼar submit incredible. Magnificent job!
Wonderful post! We will be linking to this particularly great post on our
website. Keep up the good writing.
This is very interesting, You're a very skilled blogger.
I have joined your rss feed and look forward to seeking more of
your great post. Also, I have shared your website in my social networks!
Hey I know this is off topic but I was wondering if you knew of any widgets I
could add to my blog that automatically tweet my newest twitter updates.
I've been looking for a plug-in like this for quite some time and was hoping maybe you would have some experience
with something like this. Please let me know if you run into anything.
I truly enjoy reading your blog and I look forward to
your new updates.
I really like what you guys are usually up too. This type of clever work and coverage!
Keep up the great works guys I've included you guys to blogroll.
This is very fascinating, You're an excessively
professional blogger. I have joined your rss feed and sit up for seeking more of your excellent post.
Also, I have shared your site in my social networks
Il faut l'équivalent d'un verre d'eau environ.
I simply could not go away your site prior to suggesting that I really loved the standard information an individual supply in your guests?
Is gonna be again frequently to check out new posts
Howdy! This is my first visit to your blog! We are a group of volunteers and starting a
new initiative in a community in the same niche. Your blog provided us beneficial information to work on. You have done
a marvellous job!
Oh my goodness! Incredible article dude! Thanks, However I am encountering problems with
your RSS. I don't know the reason why I cannot subscribe to it.
Is there anybody getting similar RSS problems? Anyone who
knows the solution will you kindly respond? Thanx!!
Excellent blog post. I absolutely love this website. Thanks!
Valuable info. Lucky me I found your site by chance, and I am stunned why this accident didn't took place earlier!
I bookmarked it.
Thanks for sharing your thoughts. I really appreciate your
efforts and I will be waiting for your next write ups thank
you once again.
Hello! I'm at work surfing around your blog from my new apple iphone!
Just wanted to say I love reading your blog and look forward to all
your posts! Carry on the fantastic work!
I һave read so many content сoncerning the blogger ⅼovers however thіs article
is actually a good parɑgraph, keep it up.
I love your blog.. very nice colors & theme. Did you design this website
yourself or did you hire someone to do it for you? Plz reply as I'm looking to construct my own blog
and would like to find out where u got this from. thank you
This nice pipe is designed for sturdiness and years of use.
This makes it one in all the top 10 water pipes in the market.
It is fabricated from scientific borosilicate glass and has
a stylish and elegant design.
Woah! I'm really digging the template/theme of this website.
It's simple, yet effective. A lot of times
it's hard to get that "perfect balance" between superb usability and visual appearance.
I must say you've done a superb job with this.
In addition, the blog loads extremely fast for me on Internet explorer.
Exceptional Blog!
excellent points altogether, you just gained a new reader.
What would you suggest in regards to your post that you made a few days ago?
Any certain?
Write more, thats all I have to say. Literally, it
seems as though you relied on the video to make your point.
You definitely know what youre talking about, why throw away your intelligence on just posting videos to your
weblog when you could be giving us something informative to read?
Grind up your hashish. Use your fingers, a pair of scissors, or a grinder.
Make positive it is floor up finely. Break off a few of larger sized items, about .five
cm (.2 inches) lengthy and extensive, to pack at the base
of the bong bowl.
Undeniably believe that which you stated. Your favorite reason seemed
to be on the internet the easiest thing to be aware of. I say to you,
I certainly get annoyed while people think about worries that they just do not know about.
You managed to hit the nail upon the top as well as defined out the whole thing
without having side effect , people can take a signal.
Will probably be back to get more. Thanks
Great article, just what I wanted to find.
I have read so many articles about the bloggyer lovers
except this paragraph is really a nice paragraph, keep
it up.
Entrenar músculos web site Cómo entrenar músculo
Hi i am kavin, its my first occasion to commenting anyplace, when i read this paragraph i thought i could also make
comment due to this good article.