Opened 11 years ago
Closed 11 years ago
#40388 closed enhancement (fixed)
codeblocks: create an app bundle also for wxgtk-based installation
Reported by: | mojca (Mojca Miklavec) | Owned by: | har5ha |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | codeblocks |
Description
As title suggests, the port should also create an app bundle for GTK-based wxWidgets. (Despite a tiny bug for yet-to-be-created ticket in wxgtk which makes the apps bounce forever.)
Change History (7)
comment:1 Changed 11 years ago by afb@…
Resolution: | → wontfix |
---|---|
Status: | new → closed |
comment:2 Changed 11 years ago by mojca (Mojca Miklavec)
Resolution: | wontfix |
---|---|
Status: | closed → reopened |
I don't understand the response. I don't know how GTK works under linux, but I'm not talking about .desktop
applications. I'm not talking about non-X11 GTK either.
One can easily create an app bundle from an X11 application. A typical example is Gimp (excluding the recent quartz-based GTK). Gimp comes as Gimp.app, clicking it launches X11 in the background and starts the application just fine.
I know because I experimented with a bunch of other wxWidgets dependencies and I created app bundles for some even if they didn't support wxWidgets 2.9. If you want to see a simple example you can do a tiny modification to the xCHM port to link against wxgtk-2.8 instead of wxWidgets-2.9 and you'll see.
I would have done it myself already, but the app making process for Code::Blocks seemed relatively complicated and I had to be done with some 40 ports, so I left it alone for a while as it didn't seem urgent.
If you don't want to check it out yourself, you can re-assign this particular ticket to me and I'll take a look once I'm over the pressing deadline.
comment:3 Changed 11 years ago by mojca (Mojca Miklavec)
Type: | defect → enhancement |
---|
comment:4 Changed 11 years ago by mojca (Mojca Miklavec)
I just remembered. Try lisaem
for an example of an GTK-based (wxgtk-2.8) app. (I currently cannot try it without reinstalling it due to some problems with cairo +/- quartz
and there are a lot of problems with that app in general, but just as an example.)
comment:5 Changed 11 years ago by afb@…
Owner: | afb@… deleted |
---|---|
Status: | reopened → new |
Just saying that I didn't see any use for it. Either you run with wxMac and an app bundle, or you run with wxGTK and an X11 .desktop file.
comment:6 Changed 11 years ago by mojca (Mojca Miklavec)
How do you make a .desktop
file and how do you launch such an application?
I don't understand what is wrong with wxGTK-based app bundle (other than the ugliness of GTK on Mac) or how/why it would be so much inferior to wxMac-based one. It could be used in exactly the same way as the native one, by clicking on the icon to launch it.
Of course one can always run the binary from terminal with
${prefix}/bin/codeblocks
but an app also seems nice.
comment:7 Changed 11 years ago by mojca (Mojca Miklavec)
Resolution: | → fixed |
---|---|
Status: | new → closed |
This was actually already implemented in r110270.
Normally you would just use the .desktop application, when running with GTK. There doesn't seem to be any use for running Code::Blocks with a non-X11 GTK+ ?