From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,fc2b5af8782d4ca3 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,UTF8 X-Received: by 10.180.98.102 with SMTP id eh6mr6220095wib.7.1362139061228; Fri, 01 Mar 2013 03:57:41 -0800 (PST) Path: bp2ni66032wib.1!nntp.google.com!proxad.net!feeder1-2.proxad.net!usenet-fr.net!gegeweb.org!aioe.org!.POSTED!not-for-mail From: =?utf-8?Q?Yannick_Duch=C3=AAne_=28Hibou57?= =?utf-8?Q?=29?= Newsgroups: comp.lang.ada Subject: Re: can one make a static build Ada+GUI GTK application? Date: Fri, 01 Mar 2013 12:57:38 +0100 Organization: Ada @ Home Message-ID: References: <20130228010057.13659976@hactar.xn--rombobjrn-67a.se> <1jakth6zgpm7u.1jynuosu6x48.dlg@40tude.net> NNTP-Posting-Host: ZEnnZm9XHzzImZlIC7G8cQ.user.speranza.aioe.org Mime-Version: 1.0 X-Complaints-To: abuse@aioe.org User-Agent: Opera Mail/12.14 (Linux) X-Notice: Filtered by postfilter v. 0.8.2 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Content-Transfer-Encoding: Quoted-Printable Date: 2013-03-01T12:57:38+01:00 List-Id: Le Fri, 01 Mar 2013 09:41:37 +0100, Dmitry A. Kazakov = a =C3=A9crit: > 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=E2=80=91contained= in a = single sub=E2=80=91directory 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, hav= e = to be located inside of the application's self=E2=80=91contained directo= ry [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/ directory (*)= > * Be executable by all users from the /opt/ directory = = > (**) > * Write all configuration settings to ~/.config/ (This= = > can be one file or a directory containing multiple > configuration= = > files) [2] = http://askubuntu.com/questions/257297/can-commercial-applications-use-gs= ettings 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//share/glib-2.0/schemas`, > then have your binary add `/opt//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//` -- = =E2=80=9CSyntactic sugar causes cancer of the semi-colons.=E2=80=9D [1] =E2=80=9CStructured Programming supports the law of the excluded muddle.= =E2=80=9D [1] [1]: Epigrams on Programming =E2=80=94 Alan J. =E2=80=94 P. Yale Univers= ity