ports/157919: editors/libreoffice: fix *.desktop files
Max Brazhnikov
makc at FreeBSD.org
Thu Jun 16 07:40:09 UTC 2011
>Number: 157919
>Category: ports
>Synopsis: editors/libreoffice: fix *.desktop files
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Thu Jun 16 07:40:08 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Max Brazhnikov
>Release: FreeBSD 9.0-CURRENT amd64
>Organization:
>Environment:
FreeBSD luna.dio.ru 9.0-CURRENT FreeBSD 9.0-CURRENT #2 r222977: Sat Jun 11 14:22:54 MSD 2011 root at luna.dio.ru:/usr/obj/head/usr/freebsd/svn/head/sys/LUNA amd64
>Description:
1. Install desktop file for startcenter
2. Fix icons path
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/editors/libreoffice/Makefile,v
retrieving revision 1.10
diff -u -r1.10 Makefile
--- Makefile 22 Mar 2011 11:43:30 -0000 1.10
+++ Makefile 16 Jun 2011 07:27:46 -0000
@@ -7,6 +7,7 @@
PORTNAME= libreoffice
PORTVERSION= 3.3.2
+PORTREVISION= 1
LOVERSION= ${PORTVERSION}.2
CATEGORIES= editors
MASTER_SITES= http://download.documentfoundation.org/libreoffice/src/ \
@@ -334,8 +335,8 @@
@${MV} ${LODESTDIR}/${PREFIX}/share/mime/packages/openoffice.xml ${LODESTDIR}/${PREFIX}/share/mime/packages/libreoffice.xml
@for img in ${LODESTDIR}/${PREFIX}/share/icons/hicolor/*/apps/ooo-*; do ${MV} $$img `${ECHO_CMD} $$img | ${SED} "s/ooo-/libreoffice-/"`; done
- @for pix in ${LODESTDIR}/${PREFIX}/share/pixmaps/ooo-*; do ${RM} $$pix; ${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/`${BASENAME} $$pix | ${SED} "s/ooo-/libreoffice-/"` ${LODESTDIR}/${PREFIX}/share/pixmaps/; done
-.for component in base calc draw math impress writer
+ @for pix in ${LODESTDIR}/${PREFIX}/share/pixmaps/ooo-*; do ${RM} $$pix; ${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/`${BASENAME} $$pix | ${SED} "s/ooo-/libreoffice-/"` ${LODESTDIR}/${PREFIX}/share/pixmaps/; done
+.for component in base calc draw math impress writer startcenter
@cd ${LODESTDIR}/${PREFIX}/share/applications; ${LN} -s ../../lib/${PORTNAME}/share/xdg/${component}.desktop ${PORTNAME}-${component}.desktop
.endfor
@for dir in ${EMPTYDIRS}; do ${TOUCH} ${LODESTDIR}/${PREFIX}/lib/$$dir/.keep; done
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list