Update to desktop-file-utils-0.22.

This commit is contained in:
ajacoutot 2013-09-25 19:24:34 +00:00
parent b860da7554
commit 188b0291a2
3 changed files with 10 additions and 12 deletions

View File

@ -1,10 +1,9 @@
# $OpenBSD: Makefile,v 1.36 2013/03/21 08:45:14 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.37 2013/09/25 19:24:34 ajacoutot Exp $
COMMENT= utilities for dot.desktop entries
DISTNAME= desktop-file-utils-0.21
DISTNAME= desktop-file-utils-0.22
EXTRACT_SUFX= .tar.xz
REVISION= 0
CATEGORIES= devel
@ -29,6 +28,5 @@ CONFIGURE_STYLE=gnu
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
ac_cv_prog_EMACS=no
CONFIGURE_ARGS= ${CONFIGURE_SHARED}
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (desktop-file-utils-0.21.tar.xz) = tsm4YFOO8c/7zfvJy1ePhaCArYwSB8izo56f0YP5eCs=
SIZE (desktop-file-utils-0.21.tar.xz) = 128972
SHA256 (desktop-file-utils-0.22.tar.xz) = hDUyZyaS+Y6bLWrmzIZY2lYt/eFgbH8z2dIno0TeVsU=
SIZE (desktop-file-utils-0.22.tar.xz) = 131028

View File

@ -1,4 +1,4 @@
$OpenBSD: patch-src_update-desktop-database_c,v 1.9 2012/05/03 15:24:54 ajacoutot Exp $
$OpenBSD: patch-src_update-desktop-database_c,v 1.10 2013/09/25 19:24:34 ajacoutot Exp $
XXX remove when kde3 is gone;
Quiet warnings about deprecated/discouraged and invalid MIME types.
@ -12,9 +12,9 @@ because fd.o environments use these files to create menu structures,
links to applications... and a user should be able to edit the link icon
or menu he just created.
--- src/update-desktop-database.c.orig Thu Dec 15 15:00:55 2011
+++ src/update-desktop-database.c Mon Jan 2 15:00:50 2012
@@ -142,15 +142,9 @@ process_desktop_file (const char *desktop_file,
--- src/update-desktop-database.c.orig Mon Jan 7 08:59:20 2013
+++ src/update-desktop-database.c Wed Sep 25 21:20:43 2013
@@ -149,15 +149,9 @@ process_desktop_file (const char *desktop_file,
case MU_VALID:
break;
case MU_DISCOURAGED:
@ -30,13 +30,13 @@ or menu he just created.
g_free (valid_error);
/* not a break: we continue to the next mime type */
continue;
@@ -220,6 +214,10 @@ process_desktop_files (const char *desktop_dir,
@@ -227,6 +221,10 @@ process_desktop_files (const char *desktop_dir,
}
name = g_strdup_printf ("%s%s", prefix, filename);
+
+ if (chmod(full_path, 0644) != 0)
+ printf("Cannot give 644 perms to :%s", full_path);
+ printf("Cannot give 644 perms to: %s", full_path);
+
process_desktop_file (full_path, name, &process_error);
g_free (name);