forked from wayland-tablet/libinput
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This hasn't been a real .in file since the autotools removal, so rename it to reflect that. And since we can call it with arguments from meson, let's do so in the most sensible manner - passing the full paths in as required rather than relying on a directory layout within the script. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
- Loading branch information
Showing
3 changed files
with
20 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/bin/bash -e | ||
# | ||
# simple check for exported symbols | ||
# | ||
# Usage: symbols-leak-test /path/to/mapfile /path/to/libinput/src | ||
|
||
mapfile="$1" | ||
shift | ||
srcdir="$1" | ||
shift | ||
|
||
diff -a -u \ | ||
<(cat "$mapfile" | \ | ||
grep '^\s\+libinput_.*' | \ | ||
sed -e 's/^\s\+\(.*\);/\1/' | sort) \ | ||
<(cat "$srcdir"/*.c | \ | ||
grep LIBINPUT_EXPORT -A 1 | grep '^libinput_.*' | \ | ||
sed -e 's/(.*//' | sort) |
This file was deleted.
Oops, something went wrong.