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 <r...@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é
PLIST.mktmp
Description: Binary data
argouml.diff
Description: Binary data
_______________________________________________ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"