glib/sanity_check
Tim Janik 87c7aeb93b 18:36. incorporated proposed cleanups from gtk-devel-list.
Sat Jul 24 20:11:35 1999  Tim Janik  <timj@gtk.org>

        * merged GLib 1.3.0 with glib-1.2.3 from Fri Jul 16 22:18:36.
        * incorporated proposed cleanups from gtk-devel-list.

        * bumped version number to GLib-1.3.1

        * glib.h:
        * gqueue.c:
        * gstring.c:
        * glist.c:
        removed string tokenisation (we got g_strsplit() and g_strjoin()
        already) and readline functions.
        s/g_list_delete/g_list_delete_link.
        implemented g_slist_delete_link.
        removed notion of g_ATEXIT() macro in glib.h, this is an *internal*
        macro, g_atexit() is provided for public consumption.
        added GTrashStack inline utility functions.
        reimplement double eneded queues.
        removed GStack implementation, people can use a queue or a (singly)
        linked list for this task.
        deprecated g_strescape(), we need the SunOS variants here.

        * gdate.c: added DEBUG_MSG() macro to wrap old messages.

        * *.*: CVS merges.

        * upgrade to libtool 1.3.3.
1999-07-24 18:50:58 +00:00

42 lines
785 B
Bash
Executable File

#!/bin/sh
VERSION=$1
if [ ! -f glib-$VERSION.tar.gz ]; then
echo "ERROR: glib-$VERSION.tar.gz does not exist..."
exit 1
fi
echo ""
echo "Checking glib-$VERSION.tar.gz..."
tar xfz glib-$VERSION.tar.gz
for file in INSTALL NEWS README glib.spec docs/glib-config.1
do
echo -n "$file... "
if [ "x`grep $VERSION glib-$VERSION/$file | wc -l | awk -F' ' '{print $1}'`" == "x1" ]; then
echo "ok"
else
echo "failed."
exit 1
fi
done
echo -n "INSTALL..."
if [ "x`grep $VERSION glib-$VERSION/INSTALL | wc -l | awk -F' ' '{print $1}'`" == "x2" ]; then
echo "ok"
else
echo "failed."
exit 1
fi
echo ""
echo "Number of lines in created documentation files:"
wc -l glib-$VERSION/docs/*.html | grep -v total
wc -l glib-$VERSION/docs/*.info | grep -v total
rm -rf glib-$VERSION