Dear visitor, welcome to VDR Portal. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.
[ANNOUNCE] x-vdr-0.8.1 
This post has been edited 5 times, last edit by "zulu" (Feb 1st 2009, 12:42am)
Quoted
Mit welchen Debian-Derivaten wird es denn wohl noch laufen? Also hauptsächlich Sid, Lenny und Etch würden mich interessieren.

Quoted
Damit sich xine mit externem ffmpeg aus dem svn übersetzen lies, musste ich bei mir /usr/include/libavutil/common.h abändern. Der Patch dazu liegt in x-vdr/utilities/ffmpeg.
This post has been edited 1 times, last edit by "MChrisZ" (Jan 15th 2009, 11:41am)

Quoted
Über apt bekommt man nicht die aktuelle Version von x264. Das ffmpeg benötigt hier Version >=60

Quoted
Original von seti
mal ne dumme Frage: baut x-vdr deb-Packete ?
Quoted
Vdr 1.7.2 löppert mit Xine......gilt das auch für xineliboutput?
This post has been edited 1 times, last edit by "schetti" (Jan 17th 2009, 5:48pm)
|
|
Source code |
1 |
local LANGUAGE="en" |
|
|
Source code |
1 |
if [ -n "$(echo $apt_cache | grep 'Installed: (none)')" ] || [ -n "$(echo $apt_cache | grep 'Installiert: (keine)')" ]; then # not installed |
|
|
Source code |
1 |
if [ -n "$(echo $apt_cache | grep 'Installed: (none)')" ] || [ -n "$(echo $apt_cache | grep 'Installiert: (keine)')" ]; then # not installed |
|
|
Source code |
1 |
if [ -n "gehtnicht" ]; then # not installed |
|
|
Source code |
1 |
apt-cache policy paketname |
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 |
function apt_install() {
[ "$*" != "" ] || return 1
[ -n "$error_file" ] || error_file="/var/log/x-vdr.log"
# set LANGUAGE to "en"
LANGUAGE_OLD="$LANGUAGE"
export LANGUAGE="en"
# check if the package is...
for package in $*; do
if [ "$APT_UPGRADE" = "on" ]; then
result=1
apt-get -y --force-yes install $package && result=$?
case $result in
0 ) log "$package is installed now" ;;
* ) log "ERROR - $package could not installed" ; EXITCODE=1 ; echo $package >> $error_file ;;
esac
else
if [ -n "$(echo $package | grep '/')" ]; then
package_tmp=$(echo $package | cut -f 1 -d '/')
apt_cache=$(apt-cache policy $package_tmp)
elif [ -n "$(echo $package | grep '=')" ]; then
package_tmp=$(echo $package | cut -f 1 -d '=')
apt_cache=$(apt-cache policy $package_tmp)
else
apt_cache=$(apt-cache policy $package)
fi
if [ "$apt_cache" != "" ]; then
if [ -n "$(echo $apt_cache | grep 'Installed.*(none)')" ]; then # not installed
version=$(echo $apt_cache | cut -f 4 -d ':' | sed -e 's/Version table//g' -e 's/^ //g' -e 's/ $//g')
if [ `echo $version | wc -m` -eq 2 ]; then
version=$(echo $apt_cache | cut -f 4,5 -d ':' | sed -e 's/Version table//g' -e 's/^ //g' -e 's/ $//g')
fi
result=1
apt-get -y --force-yes install $package && result=$?
case $result in
0 ) log "$package ($version) is installed now" ;;
* ) log "ERROR - $package could not installed" ; EXITCODE=1 ; echo $package >> $error_file ;;
esac
else # installed
version=$(echo $apt_cache | cut -f 3 -d ':' | sed -e 's/Candidate//g' -e 's/^ //g' -e 's/ $//g')
if [ `echo $version | wc -m` -eq 2 ]; then
version=$(echo $apt_cache | cut -f 3,4 -d ':' | sed -e 's/Candidate//g' -e 's/^ //g' -e 's/ $//g')
fi
log "$package ($version) is already installed"
fi
else # not found
log "ERROR - Unable to locate package $package"
fi
fi
done
export LANGUAGE="$LANGUAGE_OLD"
}
function apt_remove() {
[ "$*" != "" ] || return 1
[ -n "$error_file" ] || error_file="/var/log/x-vdr.log"
# set LANGUAGE to "en"
LANGUAGE_OLD="$LANGUAGE"
export LANGUAGE="en"
# check if the package is...
for package in $*; do
apt_cache=$(apt-cache policy $package)
if [ "$apt_cache" != "" ]; then
if [ -n "$(echo $apt_cache | grep 'Installed.*(none)')" ]; then # not installed
log "$package is not installed"
else # installed
result=1
apt-get -y --force-yes --purge remove $package && result=$?
case $result in
0 ) log "$package is removed now" ;;
* ) log "ERROR - $package could not removed" ; EXITCODE=1 ; echo $package >> $error_file ;;
esac
fi
else # not found
log "ERROR - Unable to locate package $package"
fi
done
export LANGUAGE="$LANGUAGE_OLD"
}
|
|
|
Source code |
1 |
if [ -n "$(echo $apt_cache | grep 'Installed: (none)')" ] || [ -n "$(echo $apt_cache | grep 'Installiert: (keine)')" ]; then # not installed |
|
|
Source code |
1 2 3 4 5 6 7 |
vdr:~# apt-cache policy libmp3lame-dev
libmp3lame-dev:
Installiert:(keine)
Mögliche Pakete:3.98.2-0.3
Versions-Tabelle:
3.98.2-0.3 0
500 http://www.debian-multimedia.org sid/main Packages
|
This post has been edited 1 times, last edit by "schetti" (Jan 18th 2009, 2:27pm)