mirror of
git://slackware.nl/current.git
synced 2024-12-31 10:28:29 +01:00
9e03634d29
a/coreutils-9.0-x86_64-2.txz: Rebuilt. DIR_COLORS: Add support for .tzst, .zst, .flv, and .m2t extensions. Thanks to regdub. a/elvis-2.2_0-x86_64-8.txz: Rebuilt. Removed elvis.clr.orig. Thanks to ctrlaltca. d/bison-3.8.2-x86_64-1.txz: Upgraded. d/meson-0.59.1-x86_64-1.txz: Upgraded. d/subversion-1.14.1-x86_64-4.txz: Rebuilt. Added compile options --with-kwallet and --with-gnome-keyring (the latter was already used by default). Thanks to rsts and Windu. kde/plasma-desktop-5.22.5-x86_64-2.txz: Rebuilt. Removed main.xml.orig. Thanks to ctrlaltca. l/gst-plugins-bad-free-1.18.5-x86_64-1.txz: Added. These are the "bad" GStreamer plugins that have free enough licenses to ship. Thanks to Heinz Wiesinger. l/gtk4-4.4.0-x86_64-1.txz: Upgraded. l/libssh2-1.10.0-x86_64-1.txz: Upgraded. n/lynx-2.9.0dev.9-x86_64-1.txz: Upgraded. Based on testing here, this seems stable enough to include. Please let me know if there are any new problems. lynx.cfg: Add ASSUME_CHARSET:utf-8. Thanks to usr345. Removed CHANGES.orig. Thanks to ctrlaltca. xap/x3270-4.0ga14-x86_64-1.txz: Upgraded. xap/xpdf-4.03-x86_64-3.txz: Rebuilt. Removed .orig files. Thanks to ctrlaltca.
188 lines
2.4 KiB
Bash
Executable file
188 lines
2.4 KiB
Bash
Executable file
#!/bin/sh
|
|
|
|
# Process a gst-plugins-bad tarball to remove
|
|
# unwanted GStreamer plugins.
|
|
#
|
|
# See https://bugzilla.redhat.com/show_bug.cgi?id=532470
|
|
# for details
|
|
#
|
|
# Bastien Nocera <bnocera@redhat.com> - 2010
|
|
#
|
|
|
|
DIRECTORY="$1"
|
|
|
|
ALLOWED="
|
|
aacparse
|
|
accurip
|
|
adpcmdec
|
|
adpcmenc
|
|
aiff
|
|
aiffparse
|
|
amrparse
|
|
asfmux
|
|
audiobuffersplit
|
|
audiofxbad
|
|
audiolatency
|
|
audiomixer
|
|
audiomixmatrix
|
|
audioparsers
|
|
audiovisualizers
|
|
autoconvert
|
|
bayer
|
|
camerabin
|
|
camerabin2
|
|
cdxaparse
|
|
coloreffects
|
|
colorspace
|
|
compositor
|
|
dataurisrc
|
|
dccp
|
|
debugutils
|
|
dtmf
|
|
dvbsubenc
|
|
faceoverlay
|
|
festival
|
|
fieldanalysis
|
|
freeverb
|
|
freeze
|
|
frei0r
|
|
gaudieffects
|
|
gdp
|
|
geometrictransform
|
|
h264parse
|
|
hdvparse
|
|
hls
|
|
id3tag
|
|
inter
|
|
interlace
|
|
invtelecine
|
|
ivfparse
|
|
ivtc
|
|
jpegformat
|
|
jp2kdecimator
|
|
legacyresample
|
|
librfb
|
|
liveadder
|
|
midi
|
|
mve
|
|
mpegdemux
|
|
mpeg4videoparse
|
|
mpegpsmux
|
|
mpegtsdemux
|
|
mpegtsmux
|
|
mpegvideoparse
|
|
mxf
|
|
netsim
|
|
nsf
|
|
nuvdemux
|
|
onvif
|
|
patchdetect
|
|
pcapparse
|
|
pnm
|
|
proxy
|
|
qtmux
|
|
rawparse
|
|
removesilence
|
|
rist
|
|
rtmp2
|
|
rtp
|
|
rtpmux
|
|
rtpvp8
|
|
scaletempo
|
|
sdi
|
|
sdp
|
|
segmentclip
|
|
selector
|
|
smooth
|
|
speed
|
|
stereo
|
|
subenc
|
|
switchbin
|
|
timecode
|
|
transcode
|
|
tta
|
|
valve
|
|
videofilters
|
|
videoframe_audiolevel
|
|
videomaxrate
|
|
videomeasure
|
|
videoparsers
|
|
videosignal
|
|
vmnc
|
|
yadif
|
|
y4m
|
|
"
|
|
|
|
NOT_ALLOWED="
|
|
dvbsuboverlay
|
|
dvdspu
|
|
real
|
|
siren
|
|
"
|
|
|
|
error()
|
|
{
|
|
MESSAGE=$1
|
|
echo $MESSAGE
|
|
exit 1
|
|
}
|
|
|
|
check_allowed()
|
|
{
|
|
MODULE=$1
|
|
for i in $ALLOWED ; do
|
|
if test x$MODULE = x$i ; then
|
|
return 0;
|
|
fi
|
|
done
|
|
# Ignore errors coming from ext/ directory
|
|
# they require external libraries so are ineffective anyway
|
|
return 1;
|
|
}
|
|
|
|
check_not_allowed()
|
|
{
|
|
MODULE=$1
|
|
for i in $NOT_ALLOWED ; do
|
|
if test x$MODULE = x$i ; then
|
|
return 0;
|
|
fi
|
|
done
|
|
return 1;
|
|
}
|
|
|
|
pushd $DIRECTORY > /dev/null || error "Cannot open directory \"$DIRECTORY\""
|
|
|
|
unknown=""
|
|
for subdir in gst ext sys; do
|
|
for dir in $subdir/* ; do
|
|
# Don't touch non-directories
|
|
if ! [ -d $dir ] ; then
|
|
continue;
|
|
fi
|
|
MODULE=`basename $dir`
|
|
if ( check_not_allowed $MODULE ) ; then
|
|
echo "**** Removing $MODULE ****"
|
|
echo "Removing directory $dir"
|
|
rm -r $dir || error "Cannot remove $dir"
|
|
echo
|
|
elif test $subdir = ext || test $subdir = sys; then
|
|
# Ignore library or system non-blacklisted plugins
|
|
continue;
|
|
elif ! ( check_allowed $MODULE ) ; then
|
|
echo "Unknown module in $dir"
|
|
unknown="$unknown $dir"
|
|
fi
|
|
done
|
|
done
|
|
|
|
echo
|
|
|
|
if test "x$unknown" != "x"; then
|
|
echo -n "Aborting due to unkown modules: "
|
|
echo "$unknown" | sed "s/ /\n /g"
|
|
exit 1
|
|
fi
|
|
|
|
popd > /dev/null
|
|
|