add new files

This commit is contained in:
Matthias Clasen
2006-09-10 06:36:11 +00:00
parent 40fd8e6cc3
commit da05f10d2d
4 changed files with 63 additions and 0 deletions

17
gdk-pixbuf/pltcheck.sh Executable file
View File

@@ -0,0 +1,17 @@
#!/bin/sh
LANG=C
status=0
if ! which readelf 2>/dev/null >/dev/null; then
echo "'readelf' not found; skipping test"
exit 0
fi
for so in .libs/libgdk_pixbuf*.so; do
echo Checking $so for local PLT entries
readelf -r $so | grep 'JU\?MP_SLOT' | grep 'gdk_pixbuf' && status=1
done
exit $status

17
gdk/pltcheck.sh Executable file
View File

@@ -0,0 +1,17 @@
#!/bin/sh
LANG=C
status=0
if ! which readelf 2>/dev/null >/dev/null; then
echo "'readelf' not found; skipping test"
exit 0
fi
for so in .libs/lib*.so; do
echo Checking $so for local PLT entries
readelf -r $so | grep 'JU\?MP_SLOT' | grep -v 'gdk_pixbuf' | grep gdk && status=1
done
exit $status

12
gtk/aliasfilescheck.sh Executable file
View File

@@ -0,0 +1,12 @@
#! /bin/sh
if test "x$gtk_all_c_sources" = x; then
echo gtk_all_c_sources variable not defined
exit 1
fi
grep 'IN_FILE' gtk.symbols | sed 's/.*(//;s/).*//' | grep __ | sort -u > expected-files
grep '^ *# *define __' $gtk_all_c_sources | sed 's/.*define //;s/ *$//' | sort > actual-files
diff expected-files actual-files && rm -f expected-files actual-files

17
gtk/pltcheck.sh Executable file
View File

@@ -0,0 +1,17 @@
#!/bin/sh
LANG=C
status=0
if ! which readelf 2>/dev/null >/dev/null; then
echo "'readelf' not found; skipping test"
exit 0
fi
for so in .libs/lib*.so; do
echo Checking $so for local PLT entries
readelf -r $so | grep 'JU\?MP_SLOT' | grep '\<gtk' && status=1
done
exit $status