2011-06-08 17:36:30 +02:00
|
|
|
Index: autodeps/linux.prov
|
|
|
|
===================================================================
|
|
|
|
--- autodeps/linux.prov.orig 2011-06-08 13:37:46.951974468 +0200
|
|
|
|
+++ autodeps/linux.prov 2011-06-08 13:37:46.967972960 +0200
|
|
|
|
@@ -15,6 +15,8 @@ pythonlist=($(printf "%s\n" "${filelist[
|
|
|
|
tcllist=
|
2010-04-13 21:06:36 +02:00
|
|
|
monolist=($(printf "%s\n" "${filelist[@]}" | egrep "\\.(exe|dll)\$"))
|
|
|
|
firmwarelist=($(printf "%s\n" "${filelist[@]}" | grep "/lib/firmware/"))
|
|
|
|
+pkgconfiglist=($(printf "%s\n" "${filelist[@]}" | egrep '\.pc$'))
|
|
|
|
+fontlist=($(printf "%s\n" "${filelist[@]}" | egrep -i "/usr/share/fonts/.*\.(ttf|otf|pfa)$"))
|
|
|
|
|
|
|
|
#
|
|
|
|
# --- Alpha does not mark 64bit dependencies
|
2011-06-08 17:36:30 +02:00
|
|
|
@@ -80,6 +82,16 @@ if [ -x $MONO_PREFIX/bin/mono -a -n "$mo
|
2010-04-13 21:06:36 +02:00
|
|
|
fi
|
|
|
|
|
|
|
|
#
|
|
|
|
+# --- pkgconfig provides
|
|
|
|
+[ -x /usr/lib/rpm/pkgconfigdeps.sh -a -n "$pkgconfiglist" ] &&
|
|
|
|
+ printf "%s\n" "${pkgconfiglist[@]}" | /usr/lib/rpm/pkgconfigdeps.sh -P | sort -u
|
|
|
|
+
|
|
|
|
+#
|
|
|
|
+# --- font provides
|
|
|
|
+[ -x /usr/lib/rpm/fontconfig.prov -a -n "$fontlist" ] &&
|
|
|
|
+ printf "%s\n" "${fontlist[@]}" | /usr/lib/rpm/fontconfig.prov | sort -u
|
|
|
|
+
|
|
|
|
+#
|
|
|
|
# --- Kernel module exported symbols
|
|
|
|
[ -x /usr/lib/rpm/find-provides.ksyms ] &&
|
|
|
|
printf "%s\n" "${filelist[@]}" | /usr/lib/rpm/find-provides.ksyms "$@"
|
2011-06-08 17:36:30 +02:00
|
|
|
Index: autodeps/linux.req
|
|
|
|
===================================================================
|
|
|
|
--- autodeps/linux.req.orig 2011-06-08 13:37:46.951974468 +0200
|
|
|
|
+++ autodeps/linux.req 2011-06-08 13:37:46.968972865 +0200
|
2011-05-18 17:08:31 +02:00
|
|
|
@@ -34,6 +34,7 @@ perllist=()
|
2010-04-13 21:06:36 +02:00
|
|
|
pythonlist=($(printf "%s\n" "${filelist[@]}" | egrep '/usr/lib[^/]*/python.\..'))
|
|
|
|
tcllist=()
|
|
|
|
monolist=($(printf "%s\n" "${filelist[@]}" | egrep "\\.(exe|dll)(\\.config)?\$"))
|
|
|
|
+pkgconfiglist=($(printf "%s\n" "${filelist[@]}" | egrep '\.pc$'))
|
|
|
|
|
|
|
|
#
|
|
|
|
# --- Alpha does not mark 64bit dependencies
|
2011-05-18 17:08:31 +02:00
|
|
|
@@ -143,6 +144,11 @@ if [ -x $MONO_PREFIX/bin/mono -a -n "$mo
|
2010-04-13 21:06:36 +02:00
|
|
|
fi
|
|
|
|
|
|
|
|
#
|
|
|
|
+# --- pkgconfig requires
|
|
|
|
+[ -x /usr/lib/rpm/pkgconfigdeps.sh -a -n "$pkgconfiglist" ] &&
|
|
|
|
+ printf "%s\n" "${pkgconfiglist[@]}" | /usr/lib/rpm/pkgconfigdeps.sh -R | sort -u
|
|
|
|
+
|
|
|
|
+#
|
|
|
|
# --- Kernel module imported symbols
|
|
|
|
[ -x ${0%/*}/find-requires.ksyms ] &&
|
|
|
|
printf "%s\n" "${filelist[@]}" | ${0%/*}/find-requires.ksyms "$@"
|