add a file that needed a 'cvs add' in steven@'s previous commit,

spotted by steven. didn't package before -> no bump.
This commit is contained in:
sthen 2010-09-03 21:20:49 +00:00
parent 8bfea507dd
commit b2094348e4
2 changed files with 55 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.11 2010/09/03 17:19:23 sthen Exp $
# $OpenBSD: Makefile,v 1.12 2010/09/03 21:20:49 sthen Exp $
COMMENT= view, decode and encode DjVu files
@ -26,7 +26,7 @@ WANTLIB= c m jpeg pthread stdc++ tiff z
LIB_DEPENDS= ::graphics/jpeg \
::graphics/tiff
BUILD_DEPENDS= ::graphics/ImageMagick \
xxBUILD_DEPENDS= ::graphics/ImageMagick \
::x11/gnome/librsvg
RUN_DEPENDS= ::x11/hicolor-icon-theme

View File

@ -0,0 +1,53 @@
$OpenBSD: patch-desktopfiles_Makefile_in,v 1.1 2010/09/03 21:20:49 sthen Exp $
--- desktopfiles/Makefile.in.orig Sat Mar 20 01:39:50 2010
+++ desktopfiles/Makefile.in Sun Aug 29 21:21:02 2010
@@ -40,6 +40,8 @@ RM = @RM@
datadir_djvu = ${datadir}/djvu/osi/desktop
datadir_djview = ${datadir}/djvu/djview3/desktop
+datadir_applications = ${datadir}/applications
+datadir_icons = ${datadir}/icons/hicolor
# -------- all
@@ -98,22 +100,26 @@ install: install-djvu-files
@GUI_YES@install: install-djview-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
install-djview-files: FORCE
- ${INSTALL} -d ${DESTDIR}${datadir_djview}
- ${INSTALL_PROGRAM} register-djview-menu ${DESTDIR}${datadir_djview}
- ${INSTALL_DATA} *djview3.png ${DESTDIR}${datadir_djview}
- ${INSTALL_DATA} *djview3.svgz ${DESTDIR}${datadir_djview}
- ${INSTALL_PROGRAM} ${srcdir}/*djview3.desktop ${DESTDIR}${datadir_djview}
- -@echo "Run ${datadir_djview}/register-djview-menu install"
- -@echo " to register the djview3 menu entries."
+ ${INSTALL} -d ${DESTDIR}${datadir_applications}
+ ${INSTALL_DATA} djvulibre-djview3.desktop ${DESTDIR}${datadir_applications}/djvulibre-djview3.desktop
+ ${INSTALL} -d ${DESTDIR}${datadir_icons}/32x32/apps
+ ${INSTALL_DATA} hi32-djview3.png ${DESTDIR}${datadir_icons}/32x32/apps/djvulibre-djview3.png
+ ${INSTALL} -d ${DESTDIR}${datadir_icons}/64x64/apps
+ ${INSTALL_DATA} hi64-djview3.png ${DESTDIR}${datadir_icons}/64x64/apps/djvulibre-djview3.png
+ ${INSTALL} -d ${DESTDIR}${datadir_icons}/scalable/apps
+ ${INSTALL_DATA} djview.svg ${DESTDIR}${datadir_icons}/scalable/apps/djvulibre-djview3.svg
# -------- misc