Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Dec 2009 18:24:45 +0100
From:      "army.of.root" <army.of.root@googlemail.com>
To:        Rene Ladan <rene@freebsd.org>
Cc:        ports@FreeBSD.org
Subject:   Re: Fwd: Re: FreeBSD Port: argouml-0.28.1 - .desktop file
Message-ID:  <4B32525D.6060202@googlemail.com>
In-Reply-To: <4B2E51FC.80606@freebsd.org>
References:  <4B2E51FC.80606@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 12/20/2009 17:34, Rene Ladan wrote:
> Hi list,
>
> per suggestion of the original poster, I added a desktop entry to the
> Makefile of devel/argouml. Installing the port fails because the
> resulting pkg-plist is incorrect. The patch seems correct according to
> the Porters Handbook (
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/using-x11.html#DESKTOP-ENTRIES
> ), but maybe I've made a mistake. I'm also not sure if fetching the icon
> file from a jar archive is supported, it could be added manually.
>
> -------- Original Message --------
> Subject: Re: FreeBSD Port: argouml-0.28.1 - .desktop file
> Date: Tue, 15 Dec 2009 21:40:07 +0100
> From: Rene Ladan <rene@freebsd.org>
> To: army.of.root <>
>
> 2009/12/15 army.of.root <>:
>> I just created a .desktop file for this Port for it to be listed in
>> the gnome
>> menus. The last, commented, line shows the place where an icon can be
>> found. -
>> As .jar files are actually just renamed .zip . The Icon=<path> needs
>> to be
>> filled in, and maybe the Version=[..] also.
>>
>> It would be very nice if you could integrate this into the port.
>>
>> Thanks in advance !
>>
>> best regards
>>
>>
>> /usr/local/share/applications/argo-uml.desktop:
>>
>> [Desktop Entry]
>> Version=0.28.1
>> Name=ArgoUML Editor
>> Comment=Create advanced UML Diagrams
>> Exec=/usr/local/bin/argouml
>> Terminal=false
>> Type=Application
>> Icon=<path>
>> Categories=Application;Development;Building;Java;
>> StartupNotify=false
>> GenericName=
>>
>> #
>> /usr/local/share/argouml/argouml.jar:/org/argouml/Images/ArgoIcon32x32.png
>>
>>
> I created the attached patch, but the install phase fails because the
> desktop file is installed to the wrong location (see also the
> generated PLIST file). This is the way described in the Porters
> Handbook...
>
> Maybe someone at ports@ knows?
>
> Regards,
> René
>

Hi,

i think something like

unzip -p /usr/local/share/argouml/argouml.jar 
"org/argouml/Images/ArgoIcon32x32.png" > /some/icon/path/argouml32.png

could be used.

best regards and happy holidays :)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B32525D.6060202>