File rarian-no-warning-desktop-entry.patch of Package rarian

Index: rarian-0.8.1/librarian/rarian-reg-utils.c
===================================================================
--- rarian-0.8.1.orig/librarian/rarian-reg-utils.c
+++ rarian-0.8.1/librarian/rarian-reg-utils.c
@@ -505,6 +505,25 @@ process_pair (RrnReg *reg, char *key, ch
     reg->identifier = strdup (value);
   } else if (!strcmp (key, "X-DOC-Weight")) {
     reg->weight = atoi (value);
+  } else if (!strcmp  (key, "Exec") ||
+             !strcmp  (key, "Encoding") ||
+             !strcmp  (key, "Exec") ||
+             !strcmp  (key, "FilePattern") ||
+             !strncmp (key, "GenericName", strlen ("GenericName")) ||
+             !strcmp  (key, "Hidden") ||
+             !strcmp  (key, "MimeType") ||
+             !strcmp  (key, "NotShowIn") ||
+             !strcmp  (key, "Path") ||
+             !strcmp  (key, "OnlyShowIn") ||
+             !strcmp  (key, "StartupNotify") ||
+             !strcmp  (key, "SwallowExec") ||
+             !strcmp  (key, "SwallowTitle") ||
+             !strcmp  (key, "Terminal") ||
+             !strcmp  (key, "TryExec") ||
+             !strcmp  (key, "Type") ||
+             !strcmp  (key, "Version") ||
+             0) {
+    /* ignore */
   } else if (!strncmp (key, "X-", 2)) {
     /* ignore */
   } else {
openSUSE Build Service is sponsored by