make sure to find desktop files in ${LOCALBASE}/share/applications/inputmethods;

bump PKGNAME;
This commit is contained in:
robert 2006-07-20 22:37:47 +00:00
parent 443cae142c
commit 28016fa927
2 changed files with 17 additions and 2 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.2 2006/07/20 21:03:42 robert Exp $
# $OpenBSD: Makefile,v 1.3 2006/07/20 22:37:47 robert Exp $
COMMENT= "pda style application launcher or item browser"
DISTNAME= matchbox-desktop-0.9.1
PKGNAME= ${DISTNAME}p0
PKGNAME= ${DISTNAME}p1
CATEGORIES= x11
MASTER_SITES= http://projects.o-hand.com/matchbox/sources/matchbox-desktop/0.9/

View File

@ -0,0 +1,15 @@
$OpenBSD: patch-modules_dotdesktop_c,v 1.1 2006/07/20 22:37:47 robert Exp $
--- modules/dotdesktop.c.orig Thu Jul 20 23:55:22 2006
+++ modules/dotdesktop.c Thu Jul 20 23:56:42 2006
@@ -280,9 +280,8 @@
else
{
snprintf(app_paths[0], 256, "%s/applications", DATADIR);
- snprintf(app_paths[1], 256, "/usr/share/applications");
- snprintf(app_paths[2], 256, "/usr/local/share/applications");
- snprintf(app_paths[3], 256, "%s/.applications", mb_util_get_homedir());
+ snprintf(app_paths[1], 256, "%s/applications/inputmethods", DATADIR);
+ snprintf(app_paths[2], 256, "%s/.applications", mb_util_get_homedir());
}