MozillaFirefox/find-external-requires.sh
author schwab@linux-m68k.org
Sat, 06 Apr 2013 23:58:32 +0200
branchfirefox20
changeset 640 68ead6c93b7d
parent 279 eb9e33036fb4
permissions -rw-r--r--
Explicitly disable WebRTC support on non-x86, the configure script disables it only half-heartedly

#!/bin/sh
# Finds requirements provided outside of the current file set

filelist=$( sed "s/[]['\"*?{}]/\\\\\&/g" )
provides=$( echo "$filelist" | /usr/lib/rpm/find-provides )
echo "$filelist" \
    | /usr/lib/rpm/find-requires \
    | grep -F -v "$provides" \
    | sort -u