Xarchiver 0.3.9svn is looking for bug hunters !

Daichi Kawahata daichi at xfce.org
Tue May 23 15:52:38 CEST 2006


On Tue, 23 May 2006 14:36:46 +0200
Colossus wrote:

> Hi,

Hi,

> I think the current svn trunk of Xarchiver is now quite usable.
> I would like you to test it and notify bugs to bugzilla.xfce.org.

I was wrong at my previous patch, here they're:

  xarchiver-0.3.9svn-makedist.patch - fixes for `make dist'.
  xarchiver-0.3.9svn-strcasestr.patch - for IRIX, Solaris users
    (from tin-1.8.2).

Regards,
-- 
Daichi

Language Codes: http://www.w3.org/WAI/ER/IG/ert/iso639.htm
Country Codes: http://www.ics.uci.edu/pub/ietf/http/related/iso3166.txt
-------------- next part --------------
Index: Makefile.am
===================================================================
--- Makefile.am	(revision 21793)
+++ Makefile.am	(working copy)
@@ -6,15 +6,18 @@
 pixmaps_DATA     = xarchiver.png
 
 desktopdir = $(datadir)/applications
-desktopdir_in_files = xarchiver.desktop.in
-desktop_DATA = $(apps_in_files:.desktop.in=.desktop)
+desktop_in_files = xarchiver.desktop.in
+desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
 @INTLTOOL_DESKTOP_RULE@
 
 EXTRA_DIST = \
+	FAQ \
+	LEGGIMI \
 	autogen.sh \
-	xarchiver.glade \
-	xarchiver.gladep \
-	xarchiver.desktop \
+	intltool-extract.in \
+	intltool-merge.in \
+	intltool-update.in \
+	$(desktop_in_files) \
 	$(pixmaps_DATA)
 
 install-data-local:
-------------- next part --------------
Index: configure.ac
===================================================================
--- configure.ac	(revision 21793)
+++ configure.ac	(working copy)
@@ -28,6 +28,7 @@
 AC_PROG_INTLTOOL
 
 AC_HEADER_STDC
+AC_CHECK_FUNCS([strcasestr])
 AC_SYS_LARGEFILE
 CPPFLAGS="$CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
 
Index: src/callbacks.c
===================================================================
--- src/callbacks.c	(revision 21793)
+++ src/callbacks.c	(working copy)
@@ -30,6 +30,32 @@
 extern GList *ArchiveSuffix;
 extern gboolean cli;
 
+#ifndef HAVE_STRCASESTR
+/*
+ * case-insensitive version of strstr()
+ */
+const char *strcasestr(const char *haystack, const char *needle)
+{
+	const char *h;
+	const char *n;
+
+	h = haystack;
+	n = needle;
+	while (*haystack) {
+		if (tolower((unsigned char) *h) == tolower((unsigned char) *n)) {
+            h++;
+            n++;
+            if (!*n)
+                return haystack;
+        } else {
+            h = ++haystack;
+            n = needle;
+        }
+    }
+    return NULL;
+}
+#endif /* !HAVE_STRCASESTR */
+
 gchar *CurrentFolder = NULL;
 GList *Suffix , *Name;
 


More information about the Xfce4-dev mailing list