From: "Yannick Duchêne (Hibou57)" <yannick_duchene@yahoo.fr>
Subject: Re: can one make a static build Ada+GUI GTK application?
Date: Fri, 01 Mar 2013 12:57:38 +0100
Date: 2013-03-01T12:57:38+01:00 [thread overview]
Message-ID: <op.ws9nica6ule2fv@cardamome> (raw)
In-Reply-To: uadwefkw8kse$.1u5k4c3s44e09$.dlg@40tude.net
Le Fri, 01 Mar 2013 09:41:37 +0100, Dmitry A. Kazakov
<mailbox@dmitry-kazakov.de> a écrit:
> Today nobody accepts a product that installs itself under /usr/local/...
> or /usr/opt/...
On the opposite, that's a requirement for the most famous Linux based
platform, which is Ubuntu.
To publish an application via the Software Centre, the application have to
be installable in `/usr/opt` and to be able to be self‑contained in a
single sub‑directory of `/usr/opt` [1] and the only exception to this I
know, is the desktop file which will be written to
`/usr/share/applications` and even schema files needed by GSettings, have
to be located inside of the application's self‑contained directory [2].
[1] http://developer.ubuntu.com/publish/my-apps-packages/
Canonical says:
> Technical requirements
>
> In order for your application to be distributed in the Software Centre
> it must:
> * Be in one, self-contained directory when installed
> * Be able to be installed into the /opt/<package-name> directory (*)
> * Be executable by all users from the /opt/<package-name> directory
> (**)
> * Write all configuration settings to ~/.config/<package-name> (This
> can be one file or a directory containing multiple > configuration
> files)
[2]
http://askubuntu.com/questions/257297/can-commercial-applications-use-gsettings
A Canonical developer says:
> You don't need to install schema files into
> `/usr/share/glib-2.0/schemas/`,they can be installed into any
> `${XDG_DATA_DIRS}/glib-2.0/schemas/`.
> So you can install your schema to
> `/opt/<yourapp>/share/glib-2.0/schemas`,
> then have your binary add `/opt/<yourapp>/share` to the XDG_DATA_DIR
> environment variable before you try to use GSettings.
> This is what we do for Quickly apps being installed into
> `/opt/extra.ubuntu.com/<appname>/`
--
“Syntactic sugar causes cancer of the semi-colons.” [1]
“Structured Programming supports the law of the excluded muddle.” [1]
[1]: Epigrams on Programming — Alan J. — P. Yale University
next prev parent reply other threads:[~2013-03-01 11:57 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-17 16:39 can one make a static build Ada+GUI GTK application? Nasser M. Abbasi
2013-02-17 17:04 ` Dmitry A. Kazakov
2013-02-18 23:30 ` Randy Brukardt
2013-02-19 4:33 ` Nasser M. Abbasi
2013-02-19 20:47 ` slos
2013-02-22 4:56 ` Patrick
2013-02-22 23:29 ` Nasser M. Abbasi
2013-02-23 8:06 ` Simon Wright
2013-02-23 8:22 ` Nasser M. Abbasi
2013-02-23 17:09 ` Simon Wright
2013-02-23 12:47 ` Dirk Heinrichs
2013-02-23 13:01 ` Dmitry A. Kazakov
2013-02-25 23:25 ` Randy Brukardt
2013-02-28 0:00 ` Björn Persson
2013-02-28 0:46 ` Nasser M. Abbasi
2013-02-28 8:58 ` Dmitry A. Kazakov
2013-02-28 12:59 ` Nasser M. Abbasi
2013-02-28 13:44 ` Dmitry A. Kazakov
2013-02-28 23:16 ` Nasser M. Abbasi
2013-03-01 8:56 ` Dmitry A. Kazakov
2013-03-01 10:39 ` Georg Bauhaus
2013-03-01 13:06 ` Dmitry A. Kazakov
2013-03-01 22:05 ` Randy Brukardt
2013-03-01 2:53 ` Randy Brukardt
2013-03-01 8:41 ` Dmitry A. Kazakov
2013-03-01 11:57 ` Yannick Duchêne (Hibou57) [this message]
2013-03-02 0:18 ` Dennis Lee Bieber
2013-03-02 7:52 ` Dmitry A. Kazakov
2013-03-02 17:17 ` Dennis Lee Bieber
2013-03-01 2:46 ` Randy Brukardt
2013-03-01 2:37 ` Randy Brukardt
2013-03-02 19:00 ` Shark8
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox