Closed Bug 403593 Opened 18 years ago Closed 18 years ago

prism on ubuntu should be in menu, have icons, file associations, etc.

Categories

(Mozilla Labs :: Prism, enhancement)

x86
Linux
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: rhelmer, Unassigned)

References

()

Details

Attachments

(2 files, 1 obsolete file)

It'd be nice if, after installing prism on ubuntu, I could find it in the menus, and double-click on .webapp files (which would have a nice prism icon). I think that the best way to do this is to provide a .deb package. I've hacked up a sample at: http://roberthelmer.com/prism_0.8_i386.deb Ubuntu users using the default Firefox install will be prompted to install this package, and it'll automatically pull in dependencies (currently only xulrunner-1.9).
Attachment #288465 - Flags: review?(mark.finkle)
A couple things I should point out about this patch: * Only tested using GNOME but uses the freedesktop.org standards, may need tweaking for e.g. KDE * I made the mimetype for webapps "application/vnd.webapp". totally arbitrary decision, please suggest something better :) * note that there are two desktop entries; one is for running "prism" straight from the menus, the other is hidden and is for running webapps with "prism -webapp %F". This seems to work ok, but somehow Firefox picks the wrong one, so you can't easily launch .webapp files from a URL :( I need to figure out how Firefox 2.x on Ubuntu resolves mimetypes, as this works fine in the file manager.
Rob - This is really great. Thanks Just some notes: * Move to "app/install/debian" * Change to "applicatio/vnd.mozilla.webapp" * Change to "http://wiki.mozilla.org/Prism"
* Moved to "install/debian" * Changed mime type to "application/vnd.mozilla.webapp" * Changed URL in control and rules to "http://wiki.mozilla.org/Prism" Also updated the example deb on http://roberthelmer.com/prism_0.8_i386.deb
Attachment #288465 - Attachment is obsolete: true
Attachment #288573 - Flags: review?(mark.finkle)
Attachment #288465 - Flags: review?(mark.finkle)
After discussing with asac and Ubulette on freenode/#ubuntu-mozillateam, I think it'd be best to help merge these changes to the work that already started on 0.7: https://code.edge.launchpad.net/prism There are some things we can do on the SVN side to make this easier: 1) simple build system that can handle "make install --prefix" 2) break .ico icons into set of png and/or xpm icons 3) generate and publish source tarball on releases (we can have a makefile target to make it easier for us) 4) clear copyright statement I'll work with Ubulette to get the patches I have posted into the bzr branch, and work on the above if that sounds ok Mark.
Attachment #288573 - Flags: review?(mark.finkle)
(In reply to comment #4) > 3) generate and publish source tarball on releases (we can have a makefile > target to make it easier for us) I think this should be covered by bug#401936 and bug#170779. Or is there something else needed that I've missed?
(In reply to comment #5) > (In reply to comment #4) > > 3) generate and publish source tarball on releases (we can have a makefile > > target to make it easier for us) > I think this should be covered by bug#401936 and bug#170779. Or is there > something else needed that I've missed? > This is about the Prism source, AFAIK. Not Firefox/Thunderbird.
(In reply to comment #6) > (In reply to comment #5) > > (In reply to comment #4) > > > 3) generate and publish source tarball on releases (we can have a makefile > > > target to make it easier for us) > > I think this should be covered by bug#401936 and bug#170779. Or is there > > something else needed that I've missed? > This is about the Prism source, AFAIK. Not Firefox/Thunderbird. Ah, sorry for the confusion. My bad.
This adds a LICENSE file (containing copies of the MPL, GPL and LGPL). I customized the MPL EXHIBIT A, not sure if it's ok to stick all the licenses together in the same file like this but I've seen it done before. Also, super simple install/Makefile. Can be used like: # create binary and source tarball in ../build make release # install to custom location make install PREFIX=/opt/prism Default target ("make") runs clean and then creates ../build/prism-0.8/ directory (version is hardcoded in file, overridable with VERSION var).
Attachment #288750 - Flags: review?(mark.finkle)
Comment on attachment 288750 [details] [diff] [review] super basic build system and LICENSE file There's a better build system in place for prism now, and pretty sure Fabian has taken what he needs from this example
Attachment #288750 - Flags: review?(mark.finkle)
Let me know if any part of this bug is still needed; seems like it's underway by Ubuntu Mozilla Team.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: