[PC-BSD Commits] r7352 - in pcbsd/current/src-qt4/pc-pbigui: . resources

svn at pcbsd.org svn at pcbsd.org
Wed Aug 4 08:53:55 PDT 2010


Author: kris
Date: 2010-08-04 08:53:55 -0700 (Wed, 04 Aug 2010)
New Revision: 7352

Added:
   pcbsd/current/src-qt4/pc-pbigui/resources/pcbsd-pbi.desktop
   pcbsd/current/src-qt4/pc-pbigui/resources/pcbsd-pbi.png
   pcbsd/current/src-qt4/pc-pbigui/resources/pcbsd-pbi.xml
Removed:
   pcbsd/current/src-qt4/pc-pbigui/resources/pbi.png
   pcbsd/current/src-qt4/pc-pbigui/resources/pbi.xml
   pcbsd/current/src-qt4/pc-pbigui/resources/pbistart.desktop
Modified:
   pcbsd/current/src-qt4/pc-pbigui/pc-pbigui.pro
Log:

Improve the way we register a .pbi mime type, use xdg-utils to standardize the process



Modified: pcbsd/current/src-qt4/pc-pbigui/pc-pbigui.pro
===================================================================
--- pcbsd/current/src-qt4/pc-pbigui/pc-pbigui.pro	2010-08-04 15:23:37 UTC (rev 7351)
+++ pcbsd/current/src-qt4/pc-pbigui/pc-pbigui.pro	2010-08-04 15:53:55 UTC (rev 7352)
@@ -74,14 +74,14 @@
 dotrans.path=/usr/local/share/pcbsd/i18n/
 dotrans.extra=cd i18n && lrelease-qt4 *.ts && cp *.qm /usr/local/share/pcbsd/i18n/
 
-applnk.path=/usr/local/share/applnk/.hidden
-applnk.files=resources/pbistart.desktop
+applnk.path=/usr/local/share/applications
+applnk.extra=cd resources && xdg-desktop-menu install pcbsd-pbi.desktop
 
 mimexml.path=/usr/local/share/mime/packages
-mimexml.files=resources/pbi.xml
+mimexml.extra=cd resources && xdg-mime install pcbsd-pbi.xml
 
 pbiimg.path=/usr/local/share/pcbsd/images/
-pbiimg.files=resources/pbi.png
+pbiimg.extra=cd resources && xdg-icon-resource install --context mimetypes --size 64 pcbsd-pbi.png application-pbi
 
 INSTALLS += dotrans applnk mimexml pbiimg
 



More information about the Commits mailing list