ec97221260
small fixes and ok giovanni@
36 lines
1.6 KiB
Plaintext
36 lines
1.6 KiB
Plaintext
$OpenBSD: patch-desktopfiles_Makefile_in,v 1.2 2012/07/08 09:13:59 shadchin Exp $
|
|
--- desktopfiles/Makefile.in.orig Tue May 8 08:56:53 2012
|
|
+++ desktopfiles/Makefile.in Fri May 25 23:28:15 2012
|
|
@@ -40,6 +40,7 @@ XDG_DESKTOP_MENU = @XDG_DESKTOP_MENU@
|
|
RM = @RM@
|
|
|
|
datadir_djvu = ${datadir}/djvu/osi/desktop
|
|
+datadir_icons = ${datadir}/icons/hicolor
|
|
|
|
|
|
# -------- all
|
|
@@ -79,13 +80,16 @@ register-djvu-mime: register-djvu-mime.in
|
|
install: install-djvu-files
|
|
|
|
install-djvu-files: FORCE
|
|
- ${INSTALL} -d ${DESTDIR}${datadir_djvu}
|
|
- ${INSTALL_PROGRAM} register-djvu-mime ${DESTDIR}${datadir_djvu}
|
|
- ${INSTALL_DATA} *djvu.png ${DESTDIR}${datadir_djvu}
|
|
- ${INSTALL_DATA} *djvu.svgz ${DESTDIR}${datadir_djvu}
|
|
- ${INSTALL_DATA} ${srcdir}/*mime.xml ${DESTDIR}${datadir_djvu}
|
|
- -@echo "Run ${datadir_djvu}/register-djvu-mime install"
|
|
- -@echo " to register the djvu mime types and icons."
|
|
+ ${INSTALL} -d ${DESTDIR}${datadir_icons}/22x22/mimetypes
|
|
+ ${INSTALL_DATA} hi22-djvu.png ${DESTDIR}${datadir_icons}/22x22/mimetypes/image-vnd.djvu.png
|
|
+ ${INSTALL} -d ${DESTDIR}${datadir_icons}/32x32/mimetypes
|
|
+ ${INSTALL_DATA} hi32-djvu.png ${DESTDIR}${datadir_icons}/32x32/mimetypes/image-vnd.djvu.png
|
|
+ ${INSTALL} -d ${DESTDIR}${datadir_icons}/48x48/mimetypes
|
|
+ ${INSTALL_DATA} hi48-djvu.png ${DESTDIR}${datadir_icons}/48x48/mimetypes/image-vnd.djvu.png
|
|
+ ${INSTALL} -d ${DESTDIR}${datadir_icons}/64x64/mimetypes
|
|
+ ${INSTALL_DATA} hi64-djvu.png ${DESTDIR}${datadir_icons}/64x64/mimetypes/image-vnd.djvu.png
|
|
+ ${INSTALL} -d ${DESTDIR}${datadir_icons}/scalable/mimetypes
|
|
+ ${INSTALL_DATA} djvu.svg ${DESTDIR}${datadir_icons}/scalable/mimetypes/image-vnd.djvu.svg
|
|
|
|
# -------- misc
|
|
|