mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-05 16:20:10 +00:00
996f8e931a
Incremented version to 1.2.0. -Shawn <amundson@gtk.org> Also: Wed Feb 24 05:26:20 CST 1999 Shawn T. Amundson <amundson@gtk.org> * gtk/gtkitemfactory.h: added a dummy gpointer to GtkItemFactoryClass for Tim Janik. Mon Feb 22 21:22:11 1999 Owen Taylor <otaylor@redhat.com> * gtk/gtkcontainer.h gtk/gtkwidget.h: Added some padding to class structures to allow addition of signals without breaking binary compatibility.
68 lines
1.3 KiB
Bash
Executable File
68 lines
1.3 KiB
Bash
Executable File
#!/bin/sh
|
|
|
|
VERSION=$1
|
|
|
|
if [ ! -f gtk+-$VERSION.tar.gz ]; then
|
|
echo "ERROR: gtk+-$VERSION.tar.gz does not exist..."
|
|
exit 1
|
|
fi
|
|
|
|
echo ""
|
|
|
|
echo "Checking gtk+-$VERSION.tar.gz..."
|
|
tar xfz gtk+-$VERSION.tar.gz
|
|
|
|
|
|
for file in gtk+.spec docs/gtk-config.1
|
|
do
|
|
echo -n "$file... "
|
|
if [ "x`grep $VERSION gtk+-$VERSION/$file | wc -l | awk -F' ' '{print $1}'`" == "x1" ]; then
|
|
echo "ok"
|
|
else
|
|
echo "failed."
|
|
exit 1
|
|
fi
|
|
done
|
|
|
|
echo -n "README..."
|
|
if [ "x`grep $VERSION gtk+-$VERSION/README | wc -l | awk -F' ' '{print $1}'`" == "x4" ]; then
|
|
echo "ok"
|
|
else
|
|
echo "failed."
|
|
exit 1
|
|
fi
|
|
|
|
echo -n "INSTALL..."
|
|
if [ "x`grep $VERSION gtk+-$VERSION/INSTALL | wc -l | awk -F' ' '{print $1}'`" == "x3" ]; then
|
|
echo "ok"
|
|
else
|
|
echo "failed."
|
|
exit 1
|
|
fi
|
|
|
|
echo -n "NEWS..."
|
|
if [ "x`grep "GTK+ $VERSION" gtk+-$VERSION/NEWS | wc -l | awk -F' ' '{print $1}'`" == "x1" ]; then
|
|
echo "ok"
|
|
else
|
|
echo "failed."
|
|
exit 1
|
|
fi
|
|
|
|
echo -n "configure.in..."
|
|
if [ "x`grep $VERSION gtk+-$VERSION/configure.in | 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 gtk+-$VERSION/docs/html/*.html | grep -v total
|
|
wc -l gtk+-$VERSION/docs/text/*.txt | grep -v total
|
|
wc -l gtk+-$VERSION/docs/*.info | grep -v total
|
|
|
|
rm -rf gtk+-$VERSION
|