- use xdg-open in the desktop file command

This commit is contained in:
ajacoutot 2008-10-30 15:07:05 +00:00
parent 1440297f2c
commit 5be1ba2e28
2 changed files with 23 additions and 3 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.35 2008/10/30 13:26:41 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.36 2008/10/30 15:07:05 ajacoutot Exp $
COMMENT= Common Unix Printing System
VERSION= 1.2.7
DISTNAME= cups-${VERSION}-source
PKGNAME= cups-${VERSION}p12
PKGNAME= cups-${VERSION}p13
CATEGORIES= print sysutils
SHARED_LIBS= cups 3.0 \
cupsimage 2.3
@ -30,7 +30,8 @@ MASTER_SITES= http://ftp.easysw.com/pub/cups/${VERSION}/ \
EXTRACT_SUFX= .tar.bz2
RUN_DEPENDS= :desktop-file-utils-*:devel/desktop-file-utils
RUN_DEPENDS= :desktop-file-utils-*:devel/desktop-file-utils \
::devel/xdg-utils
LIB_DEPENDS= png.>=3::graphics/png \
jpeg.>=62::graphics/jpeg \
tiff.>=35::graphics/tiff

View File

@ -0,0 +1,19 @@
$OpenBSD: patch-desktop_cups_desktop,v 1.1 2008/10/30 15:07:05 ajacoutot Exp $
--- desktop/cups.desktop.orig Thu Oct 30 15:42:04 2008
+++ desktop/cups.desktop Thu Oct 30 15:42:17 2008
@@ -1,7 +1,7 @@
[Desktop Entry]
Categories=Application;System;X-Red-Hat-Base;
Encoding=UTF-8
-Exec=htmlview http://localhost:631/
+Exec=xdg-open http://localhost:631/
GenericName=
Icon=cups
MimeType=
@@ -24,4 +24,4 @@ Comment[et]=CUPS-i veebiliides
Name[pl]=Zarządzanie drukowaniem
Comment[pl]=Interfejs WWW CUPS
Name[it]=Gestione stampa
-Comment[it]=Interfaccia web di CUPS
\ No newline at end of file
+Comment[it]=Interfaccia web di CUPS