Date: Sun, 20 Dec 2009 17:34:04 +0100 From: Rene Ladan <rene@freebsd.org> To: ports@FreeBSD.org Subject: Fwd: Re: FreeBSD Port: argouml-0.28.1 - .desktop file Message-ID: <4B2E51FC.80606@freebsd.org>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------070805010705080408090905 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit 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é --------------070805010705080408090905 Content-Type: application/octet-stream; name="PLIST.mktmp" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="PLIST.mktmp" YmluL2FyZ291bWwKc2hhcmUvYXJnb3VtbC9hbnRsci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291bWwtZGlhZ3JhbXMtc2VxdWVuY2UuamFyCnNoYXJl L2FyZ291bWwvZXh0L2FyZ291bWwtaTE4bi1kZS5qYXIKc2hhcmUvYXJnb3VtbC9leHQvYXJn b3VtbC1pMThuLWVuX0dCLmphcgpzaGFyZS9hcmdvdW1sL2V4dC9hcmdvdW1sLWkxOG4tZXMu amFyCnNoYXJlL2FyZ291bWwvZXh0L2FyZ291bWwtaTE4bi1mci5qYXIKc2hhcmUvYXJnb3Vt bC9leHQvYXJnb3VtbC1pMThuLWl0LmphcgpzaGFyZS9hcmdvdW1sL2V4dC9hcmdvdW1sLWkx OG4tbmIuamFyCnNoYXJlL2FyZ291bWwvZXh0L2FyZ291bWwtaTE4bi1wdC5qYXIKc2hhcmUv YXJnb3VtbC9leHQvYXJnb3VtbC1pMThuLXB0X0JSLmphcgpzaGFyZS9hcmdvdW1sL2V4dC9h cmdvdW1sLWkxOG4tcnUuamFyCnNoYXJlL2FyZ291bWwvZXh0L2FyZ291bWwtaTE4bi16aC5q YXIKc2hhcmUvYXJnb3VtbC9leHQvYXJnb3VtbC1zcWwuamFyCnNoYXJlL2FyZ291bWwvZXh0 L2RvbWFpbm1hcHBpbmcueG1sCkBkaXJybSBzaGFyZS9hcmdvdW1sL2V4dApAZGlycm0gc2hh cmUvYXJnb3VtbApzaGFyZS9hcHBsaWNhdGlvbnMvL3Vzci9sb2NhbC9iaW4vYXJnb3VtbC5k ZXNrdG9wCg== --------------070805010705080408090905 Content-Type: application/octet-stream; name="argouml.diff" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="argouml.diff" SW5kZXg6IE1ha2VmaWxlCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KUkNTIGZpbGU6IC9ob21lL3BjdnMvcG9y dHMvZGV2ZWwvYXJnb3VtbC9NYWtlZmlsZSx2CnJldHJpZXZpbmcgcmV2aXNpb24gMS4yMQpk aWZmIC11IC1yMS4yMSBNYWtlZmlsZQotLS0gTWFrZWZpbGUJMjggQXVnIDIwMDkgMDY6MDA6 MjQgLTAwMDAJMS4yMQorKysgTWFrZWZpbGUJMTUgRGVjIDIwMDkgMTk6MDc6MjcgLTAwMDAK QEAgLTgsNiArOCw3IEBACiAKIFBPUlROQU1FPQlhcmdvdW1sCiBQT1JUVkVSU0lPTj0JMC4y OC4xCitQT1JUUkVWSVNJT049CTEKIENBVEVHT1JJRVM9CWRldmVsIGphdmEKIE1BU1RFUl9T SVRFUz0JaHR0cDovL2FyZ291bWwtZG93bmxvYWRzLnRpZ3Jpcy5vcmcvbm9uYXYvYXJnb3Vt bC0ke1BPUlRWRVJTSU9OfS8KIERJU1ROQU1FPQlBcmdvVU1MLSR7UE9SVFZFUlNJT059CkBA IC0zMiw2ICszMywxMyBAQAogU1VCX0ZJTEVTPQlhcmdvdW1sLnNoCiBQT1JURE9DUz0JbWFu dWFsLSR7UE9SVFZFUlNJT059LnBkZiBxdWlja2d1aWRlLSR7UE9SVFZFUlNJT059LnBkZgog CitERVNLVE9QX0VOVFJJRVM9CSJBcmdvVU1MIiBcCisJCQkiQ3JlYXRlIGFkdmFuY2VkIFVN TCBkaWFncmFtcyIgXAorCQkJIiR7REFUQURJUn0vYXJnb3VtbC5qYXI6L29yZy9hcmdvdW1s L0ltYWdlcy9BcmdvSWNvbjMyeDMyLnBuZyIgXAorCQkJIiR7UFJFRklYfS9iaW4vYXJnb3Vt bCIgXAorCQkJIkFwcGxpY2F0aW9uO0RldmVsb3BtZW50O0J1aWxkaW5nO0phdmE7IiBcCisJ CQlmYWxzZQorCiBkby1pbnN0YWxsOgogCSR7SU5TVEFMTF9TQ1JJUFR9ICR7V1JLRElSfS9h cmdvdW1sLnNoICR7UFJFRklYfS9iaW4vYXJnb3VtbAogCUAke01LRElSfSAke0RBVEFESVJ9 Cg== --------------070805010705080408090905--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B2E51FC.80606>