GKCmaTV.fr.st / GKC.fr.st Forum Index  
  Search  •  Memberlist  •  Usergroups   •  Register  •  Profile  •  Log in to check your private messages  •  Log in

There is no tips defined in your language

[]

To help us to fill this box, you can create your own tips, or translate the other languaqe's tip

 Problème xdtv + mandriva 2007 View next topic
View previous topic
Post new topicReply to topic
Author Message
Starship
Newbie


Joined: 01 Feb 2007
Posts: 2

PostPosted: Thursday 1 February 2007 12:18:46 Reply with quoteBack to top

Bonjour, voilà j'ai voulu installer ma carte Tv sur un vieux pc (duron 700) et je me suis dit sous linux ca tournera bien. Donc je télécharge mandriva 2007 en live CD puis je l'installe sur le DD. Jusque la tout va bien ma carte Tv est bien reconnue (Hauppauge WinTv Express).
Ensuite je vais sur le site de xdtv, je regarde comment l installer, j'essaye et je me retrouve avec cette erreur "impossible d'installer ce paquet car libxorg-x11 n'est pas satisfait". J'ai la même erreur en utilisant le gestionnaire de paquet de mandriva.
J'ai fait des recherche mais je n'ai rien trouvé concernant ce problème confused
View user's profileSend private message
pingus
Dévelo XdTV (Linux)


Joined: 21 Dec 2002
Posts: 194

PostPosted: Thursday 1 February 2007 15:39:38 Reply with quoteBack to top

les paquets 2007 ne seront fait qu'auprès la sortie de la version 2.4.0 d'ici une 15ène de jours.
wait and see donc.

Pingus
View user's profileSend private message
Starship
Newbie


Joined: 01 Feb 2007
Posts: 2

PostPosted: Thursday 1 February 2007 15:47:31 Reply with quoteBack to top

Ok merci de la réponse wink
Et merci de fournir un logiciel gratuit d'une aussi bonne qualité bien bien
View user's profileSend private message
pingus
Dévelo XdTV (Linux)


Joined: 21 Dec 2002
Posts: 194

PostPosted: Thursday 1 February 2007 16:12:29 Reply with quoteBack to top

en attendant voici le spec file:

Code:

%define _unpackaged_files_terminate_build 0

%define name          xdtv
%define Name          XdTV
%define version       2.4.0
%define release       %mkrel 1
%define summary1      %{Name} is a software to watch, record & stream TV.
%define summary2      Developpement files for %{Name}.
%define summary3      TV Fonts used by the %{Name} OSD function.
%define  tvtuner_launcher   %{_sysconfdir}/dynamic/launchers/tvtuner
%define with_tvfonts       1
%define with_optimization    0
%define with_debug       0
%define with_xinerama       1
%define with_ogg       1
%define with_xvid       1
%define with_external_ffmpeg    0
%define with_ffmpeg       1
%define with_ffmpeg_amrnb   0
%define with_ffmpeg_amrnb_fixed   0
%define with_ffmpeg_amrwb   0
%define with_divx       1
%define with_lame       1
%define with_faac       1
%define with_x264       1
%define with_dvb       1
%define with_zvbi       1
%define with_lirc       1
%define with_alsa       1
%define with_png       1
%define with_jpeg       1

# Without
%{?_without_tvfonts:       %{expand: %%global with_tvfonts 0}}
%{?_without_optimization:    %{expand: %%global with_optimization 0}}
%{?_without_debug:       %{expand: %%global with_debug 0}}
%{?_without_xinerama:       %{expand: %%global with_xinerama 0}}
%{?_without_ogg:       %{expand: %%global with_ogg 0}}
%{?_without_xvid:       %{expand: %%global with_xvid 0}}
%{?_without_external_ffmpeg:    %{expand: %%global with_external_ffmpeg 0}}
%{?_without_ffmpeg:       %{expand: %%global with_ffmpeg 0}}
%{?_without_ffmpeg_amrnb:   %{expand: %%global with_ffmpeg_amrnb 0}}
%{?_without_ffmpeg_amrnb_fixed:   %{expand: %%global with_ffmpeg_amrnb_fixed 0}}
%{?_without_ffmpeg_amrwb:   %{expand: %%global with_ffmpeg_amrwb 0}}
%{?_without_divx:       %{expand: %%global with_divx 0}}
%{?_without_lame:       %{expand: %%global with_lame 0}}
%{?_without_faac:       %{expand: %%global with_faac 0}}
%{?_without_x264:       %{expand: %%global with_x264 0}}
%{?_without_dvb:       %{expand: %%global with_dvb 0}}
%{?_without_zvbi:       %{expand: %%global with_zvbi 0}}
%{?_without_lirc:       %{expand: %%global with_lirc 0}}
%{?_without_alsa:       %{expand: %%global with_alsa 0}}
%{?_without_png:       %{expand: %%global with_png 0}}
%{?_without_jpeg:       %{expand: %%global with_jpeg 0}}

# With
%{?_with_tvfonts:       %{expand: %%global with_tvfonts 1}}
%{?_with_optimization:       %{expand: %%global with_optimization 1}}
%{?_with_debug:       %{expand: %%global with_debug 1}}
%{?_with_xinerama:       %{expand: %%global with_xinerama 1}}
%{?_with_ogg:          %{expand: %%global with_ogg 1}}
%{?_with_xvid:          %{expand: %%global with_xvid 1}}
%{?_with_external_ffmpeg:    %{expand: %%global with_external_ffmpeg 1}}
%{?_with_ffmpeg:       %{expand: %%global with_ffmpeg 1}}
%{?_with_ffmpeg_amrnb:       %{expand: %%global with_ffmpeg_amrnb 1}}
%{?_with_ffmpeg_amrnb_fixed:    %{expand: %%global with_ffmpeg_amrnb_fixed 1}}
%{?_with_ffmpeg_amrwb:       %{expand: %%global with_ffmpeg_amrwb 1}}
%{?_with_divx:          %{expand: %%global with_divx 1}}
%{?_with_lame:          %{expand: %%global with_lame 1}}
%{?_with_faac:          %{expand: %%global with_faac 1}}
%{?_with_x264:          %{expand: %%global with_x264 1}}
%{?_with_dvb:          %{expand: %%global with_dvb 1}}
%{?_with_zvbi:          %{expand: %%global with_zvbi 1}}
%{?_with_lirc:          %{expand: %%global with_lirc 1}}
%{?_with_alsa:          %{expand: %%global with_alsa 1}}
%{?_with_png:          %{expand: %%global with_png 1}}
%{?_with_jpeg:          %{expand: %%global with_jpeg 1}}

Name:             %{name}
Version:          %{version}
Release:          %{release}
Summary:          %{summary1}
License:          GPL
Distribution:          Mandriva Linux
Packager:          Pingus <pingus_77@yahoo.fr>
URL:            http://xawdecode.sourceforge.net/
Source0:         http://prdownloads.sourceforge.net/xawdecode/%{name}-%{version}.tar.gz
Group:             Video

%if %with_tvfonts
Requires:                mkfontdir
Requires:                mkfontscale
%else
Requires:         tv-fonts
%endif
Requires:         xset
Requires:         libxv
Requires:         libxxf86dga
Requires:         libxxf86vm
Requires:         libxext
%if %with_external_ffmpeg
Requires:         libffmpeg51
Requires:         libavformats50
Requires:         libavutil49
%endif
%if %with_xinerama
Requires:         libxinerama
%endif
%if %with_divx
Requires:         libdivx4linux0 = 20020418
%endif
%if %with_faac
Requires:         libfaac0
%endif
%if %with_x264
Requires:         libx264_54
%endif
%if %with_lame
Requires:         liblame0
%endif
%if %with_lirc
Requires:         liblirc0
%endif
%if %with_jpeg
Requires:         libjpeg62
%endif
%if %with_png
Requires:         libpng3
%endif
%if %with_xvid
Requires:         libxvid4
%endif
Requires:         xterm
Requires:         libneXtaw0
%if %with_zvbi
Requires:         libzvbi0
%endif
%if %with_ogg
Requires:         libtheora0 >= 1.0-0.alpha5
Requires:         libvorbis0 >= 1.1.1
Requires:         libvorbisenc2 >= 1.1.1
Requires:         libogg0 >= 1.1.2
%endif
%if %with_alsa
Requires:         libalsa2
%endif
%if %with_dvb
Requires:         libSDL1.2
Requires:         libcurl3
%endif

BuildRequires:         desktop-file-utils
%if %with_tvfonts
BuildRequires:         bdftopcf
BuildRequires:             mkfontdir
BuildRequires:             mkfontscale
%endif
BuildRequires:         xset
BuildRequires:         libxv-devel
BuildRequires:         libxxf86dga-devel
BuildRequires:         libxxf86vm-devel
BuildRequires:         libxext-devel
%if %with_external_ffmpeg
BuildRequires:         libffmpeg51-devel
%endif
%if %with_xinerama
BuildRequires:         libxinerama-devel
%endif
%if %with_divx
BuildRequires:         libdivx4linux0-devel = 20020418
%endif
%if %with_faac
BuildRequires:         libfaac0-devel
%endif
%if %with_x264
BuildRequires:         libx264_54-devel
%endif
%if %with_lame
BuildRequires:         liblame0-devel
%endif
%if %with_lirc
BuildRequires:         liblirc0-devel
%endif
%if %with_png
BuildRequires:         libjpeg62-devel
%endif
%if %with_jpeg
BuildRequires:         libpng3-devel
%endif
%if %with_xvid
BuildRequires:         libxvid4-devel
%endif
BuildRequires:         libneXtaw0-devel
%if %with_zvbi
BuildRequires:         libzvbi0-devel
%endif
%if %with_ogg
BuildRequires:         libtheora0-devel >= 1.0-0.alpha5
BuildRequires:         libvorbis0-devel >= 1.1.1
BuildRequires:         libogg0-devel >= 1.1.2
%endif
%if %with_alsa
BuildRequires:         libalsa2-devel
%endif
%if %with_dvb
Requires:         libSDL1.2-devel
Requires:         libcurl3-devel
%endif

BuildRoot:          %{_tmppath}/%{name}-%{version}-buildroot

%description
%{Name} is a software to watch, record & stream TV.
It interacts with AleVT (Teletext) and Nxtvepg (NextView)
& supports the bttv, bktr & dvb APIs. It contains some
deinterlacing filters & record video files with various
containers (AVI, MPEG, OGG, etc.) & many codecs:
FFMpeg >=0.4.6, XviD 0.9 & 1.x, DivX 4 & 5, Ogg Vorbis
& Theora >=1.0a5. It has some plugin capabilities.

%package devel
Summary:         %{summary2}
Group:            Development/C
Requires:         %{name} = %{version}

%description devel
Developpement files for %{name}

%if %with_tvfonts
%package OSD-fonts
Summary:         %{summary3}
Group:            Video
Requires:         %{name} = %{version}
Obsoletes:         xdtv-OSD-font

%description OSD-fonts
TV Fonts used by the %{Name} OSD function.
%endif

%prep
rm -rf $RPM_BUILD_ROOT
%setup -q

%build
%if %with_tvfonts
[ -n "$DISPLAY" ] && unset DISPLAY
%endif
./configure --prefix=%{_prefix} --mandir=%{_mandir} --libdir=%{_libdir} --with-gnu-ld \
%if %with_tvfonts
   --with-fontdir=%{_datadir}/fonts/misc/ --enable-makefonts \
%else
   --disable-makefonts \
%endif
%if %with_optimization
   --enable-cpu-detection \
%else
   --disable-cpu-detection \
%endif
%if %with_debug
   --disable-nodebug \
%else
   --enable-nodebug \
%endif
%if %with_xinerama
   --enable-xinerama \
%else
   --disable-xinerama \
%endif
%if %with_ogg
   --enable-ogg \
%else
   --disable-ogg \
%endif
%if %with_divx
   --enable-divx4linux \
%else
   --disable-divx4linux \
%endif
%if %with_xvid
   --enable-xvid \
%else
   --disable-xvid \
%endif
%if %with_external_ffmpeg
   --with-external-ffmpeg \
%endif
%if %with_ffmpeg
   --enable-ffmpeg \
%else
   --disable-ffmpeg \
%endif
%if %with_ffmpeg_amrnb
   --enable-ffmpeg-amrnb \
%else
   --disable-ffmpeg-amrnb \
%endif
%if %with_ffmpeg_amrnb_fixed
   --enable-ffmpeg-amrnb-fixed \
%else
   --disable-ffmpeg-amrnb-fixed \
%endif
%if %with_ffmpeg_amrwb
   --enable-ffmpeg-amrwb \
%else
   --disable-ffmpeg-amrwb \
%endif
%if %with_lame
   --enable-lame \
%else
   --disable-lame \
%endif
%if %with_faac
   --enable-faac \
%else
   --disable-faac \
%endif
%if %with_x264
   --enable-x264 \
%else
   --disable-x264 \
%endif
%if %with_zvbi
   --enable-zvbi \
%else
   --disable-zvbi \
%endif
%if %with_lirc
   --enable-lirc \
%else
   --disable-lirc \
%endif
%if %with_dvb
   --enable-dvb \
%else
   --disable-dvb \
%endif
%if %with_alsa
   --enable-alsa \
%else
   --disable-alsa \
%endif
%if %with_jpeg
   --enable-jpeg \
%else
   --disable-jpeg \
%endif
%if %with_png
   --enable-png \
%else
   --disable-png \
%endif

make prefix=%{_prefix}

%install
make prefix=%{_prefix} DESTDIR="$RPM_BUILD_ROOT" install

# Strip binaries (except the shell scripts)
strip $RPM_BUILD_ROOT/%{_bindir}/%{name}
strip $RPM_BUILD_ROOT/%{_bindir}/%{name}_v4l-conf
strip $RPM_BUILD_ROOT/%{_bindir}/%{name}_wizard
strip $RPM_BUILD_ROOT/%{_bindir}/%{name}_cmd
strip $RPM_BUILD_ROOT/%{_bindir}/%{name}_scantv
strip $RPM_BUILD_ROOT/%{_bindir}/%{name}_alevt*

# Bzip the man pages
bzip2 $RPM_BUILD_ROOT/%{_mandir}/man1/*.1

# Install the menu icons
install -D -m 644 %{name}-16.png $RPM_BUILD_ROOT%{_miconsdir}/%{name}.png
install -D -m 644 %{name}-32.png $RPM_BUILD_ROOT%{_iconsdir}/%{name}.png
install -D -m 644 %{name}-48.png $RPM_BUILD_ROOT%{_liconsdir}/%{name}.png

# Create some desktop files for the Dynamic desktop support
# & the XDG menu entries
mkdir -p $RPM_BUILD_ROOT%{tvtuner_launcher}
cat > $RPM_BUILD_ROOT%{tvtuner_launcher}/%{name}.desktop << EOF
[Desktop Entry]
Encoding=UTF-8
Name=%{Name}
Comment=%{summary1}
TryExec=%{_bindir}/%{name}
Exec=%{_bindir}/%{name}
Icon=%{name}.png
Terminal=false
Type=Application
StartupNotify=true
EOF

cat > $RPM_BUILD_ROOT%{tvtuner_launcher}/%{name}_wizard.desktop << EOF
[Desktop Entry]
Encoding=UTF-8
Name=%{Name} Wizard
Comment=%{summary1}
TryExec=%{_bindir}/%{name}_wizard
Exec=%{_bindir}/%{name}_wizard
Icon=%{name}.png
Terminal=false
Type=Application
StartupNotify=true
EOF

# Install the XDG menu entries
mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
cp $RPM_BUILD_ROOT%{tvtuner_launcher}/%{name}.desktop \
$RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
cp $RPM_BUILD_ROOT%{tvtuner_launcher}/%{name}_wizard.desktop \
$RPM_BUILD_ROOT%{_datadir}/applications/%{name}_wizard.desktop

desktop-file-install --vendor="" \
    --add-category="TV" \
    --add-category="AudioVideo" \
    --add-category="X-MandrivaLinux-Multimedia-Video" \
    --dir $RPM_BUILD_ROOT%{_datadir}/applications \
    $RPM_BUILD_ROOT%{_datadir}/applications/*

# Create the standard menu entries
mkdir -p $RPM_BUILD_ROOT/%{_menudir}
cat > $RPM_BUILD_ROOT%{_menudir}/%{name} <<EOF
?package(%{name}): command="%{_bindir}/%{name}" \
icon="%{name}.png" section="Multimedia/Video" \
title="%{Name}" longtitle="%{summary1}" \
needs="x11" xdg="true"
EOF
cat > $RPM_BUILD_ROOT%{_menudir}/%{name}_wizard <<EOF
?package(%{name}): command="%{_bindir}/%{name}_wizard" \
icon="%{name}.png" section="Multimedia/Video" \
title="%{Name} Wizard" longtitle="%{summary1}" \
needs="x11" xdg="true"
EOF

%clean
rm -rf $RPM_BUILD_ROOT

%post
%{update_menus}
/sbin/modprobe -r bttv
%{_sbindir}/update-alternatives --install %{tvtuner_launcher}/kde.desktop tvtuner.kde.dynamic %{tvtuner_launcher}/%{name}.desktop 100
%{_sbindir}/update-alternatives --install %{tvtuner_launcher}/gnome.desktop tvtuner.gnome.dynamic %{tvtuner_launcher}/%{name}.desktop 100
/sbin/modprobe bttv

%postun
%{clean_menus}
if [ $1 = 0 ]; then
  /sbin/modprobe -r bttv
  %{_sbindir}/update-alternatives --remove tvtuner.kde.dynamic %{tvtuner_launcher}/%{name}.desktop
  %{_sbindir}/update-alternatives --remove tvtuner.gnome.dynamic %{tvtuner_launcher}/%{name}.desktop
  /sbin/modprobe bttv
fi

%files
%defattr(-,root,root)
%doc AUTHORS COPYING INSTALL TODO ChangeLog lisez-moi
%doc README* lircrc* xdtvrc.sample FAQfr-xdtv
%config(noreplace) %{tvtuner_launcher}/%{name}.desktop
%{_datadir}/X11/app-defaults/%{Name}
%{_sysconfdir}/xdtv/*.conf
%{_bindir}/%{name}*
%{_mandir}/man1/*.bz2
%{_menudir}/%{name}*
%{_iconsdir}/*.png
%{_miconsdir}/*.png
%{_liconsdir}/*.png
%{_datadir}/applications/%{name}*

%files devel
%defattr(-,root,root)
%{_includedir}/*

%if %with_tvfonts
%post OSD-fonts
  cd %{_datadir}/fonts/misc
test -x %{_bindir}/mkfontdir && %{_bindir}/mkfontdir  || true
if [ -f /var/lock/subsys/xfs ]; then
   service xfs restart || true
fi
test -n "$DISPLAY" && %{_bindir}/xset fp rehash || true

%postun OSD-fonts
if [ $1 = 0 ]; then
  cd %{_datadir}/fonts/misc
  test -x %{_bindir}/mkfontdir && %{_bindir}/mkfontdir || true
   if [ -f /var/lock/subsys/xfs ]; then
      service xfs restart || true
   fi
  test -n "$DISPLAY" && %{_bindir}/xset fp rehash || true
fi

%files OSD-fonts
%defattr(-,root,root)
%{_datadir}/fonts/misc/*.gz
%endif

%changelog
* Mon Jan 29 2007 Sir Pingus <pingus_77@yahoo.fr> 2.4.0
- Fix some small bugs in that spec files
- cleanup the spec file again.



bye Pingus
View user's profileSend private message
Display posts from previous:      
Post new topicReply to topic


 Jump to:   



View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 200-2008 phpBB Group :: FI Theme :: All times are GMT + 1 Hour