ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] XdTV
@ 2006-07-19  0:02 Хихин Руслан
  2006-07-19  5:23 ` Damir Shayhutdinov
                   ` (4 more replies)
  0 siblings, 5 replies; 71+ messages in thread
From: Хихин Руслан @ 2006-07-19  0:02 UTC (permalink / raw)
  To: Sisyphus


[-- Attachment #1.1: Type: text/plain, Size: 585 bytes --]

Здравствуйте !
В Сизифе, к сожалению сканчался xavtv. 

И он не собирается (ни 3, ни 4 версия )
Нашёл ему замену  xdtv
http://sourceforge.net/project/showfiles.php?group_id=67268&package_id=65640&release_id=429953
Я попробовал,  собирается версия 2.3.0.
Последняя - 2.3.3 то-же похоже соберётся, но там проблема, что makefale 
пытается создавать файлы непосредственно в /usr/src

Написал spec (естественно по-аналогии с Мандрейковским от xdtv и 
альтовским от xawtv).

Если кому интересно - взгляните професиональным взглядом.

PS А программа красивая :)
-- 
С  уважением Хихин Руслан

[-- Attachment #1.2: xdtv.spec --]
[-- Type: text/plain, Size: 9057 bytes --]

##############################################################################
# $Id: xdtv.spec.in,v 1.26 2006/01/27 20:38:14 pingus77 Exp $
##############################################################################
# Minimum required is: X11 & XPM & Xaw from X.org + Xterm
#
# Optional:
# To have a better GUI:
# neXtaw (0.15.1) from http://siag.nu/neXtaw/
# or XawM from http://sourceforge.net/projects/xawm/
# or Xaw95 & Xaw3d (not advised)
#
# To Record with a lot of audio/video codecs:
# FFMpeg (50.0.0+) from http://ffmpeg.sourceforge.net/ read README.ffmpeg for more infos
# Lame (3.96+)from http://lame.sourceforge.net/
# XviD (1.x+) from http://www.xvid.org/
# DivX (5.0.1alpha only) from http://www.divx.com/divx/linux/
# Ogg (1.1.2+) & Theora (1.0alpha5) & Vorbis (1.1.0+) from http://www.xiph.org/
#
# Other options:
# Zvbi (0.2.15+) from http://zapping.sourceforge.net/ (Scanning channels and get their names
# Alsa (1.x) from http://www.alsa-project.org/ (Better sound architecture than OSS)
# Lirc (0.7.x+) from http://www.lirc.org/ (If you have a remote and want to use it)
# libpng & libjpeg (For capturing AleVT & XdTV snapshots)
##############################################################################

%define _unpackaged_files_terminate_build 0

%define name 			xdtv
%define Name 			XdTV
%define version 		2.3.3
%define release 		1
%define summary1		%{Name} is a software to record & watch TV.
%define summary2		Developpement files for %{Name}.
%define summary3		Font used by %{Name} OSD function.
%define with_optimization 	0
%define with_debug 		0
%define with_nextaw 		1
%define with_xawm 		1
%define with_xaw95 		1
%define with_xaw3d 		1
%define with_xinerama 		1
%define with_ogg 		1
%define with_xvid 		1
%define with_ffmpeg 		1
%define with_divx 		1
%define with_lame 		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_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_ffmpeg: 		%{expand: %%global with_ffmpeg 0}}
%{?_without_divx: 		%{expand: %%global with_divx 0}}
%{?_without_lame: 		%{expand: %%global with_lame 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}}
%{?_without_nextaw: 		%{expand: %%global with_nextaw 0}}
%{?_without_xawm: 		%{expand: %%global with_xawm 0}}
%{?_without_xaw95: 		%{expand: %%global with_xaw95 0}}
%{?_without_xaw3d: 		%{expand: %%global with_xaw3d 0}}

#with
%{?_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_ffmpeg: 		%{expand: %%global with_ffmpeg 1}}
%{?_with_divx: 			%{expand: %%global with_divx 1}}
%{?_with_lame: 			%{expand: %%global with_lame 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}}
%{?_with_nextaw: 		%{expand: %%global with_nextaw 1}}
%{?_with_xawm: 			%{expand: %%global with_xawm 1}}
%{?_with_xaw95: 		%{expand: %%global with_xaw95 1}}
%{?_with_xaw3d: 		%{expand: %%global with_xaw3d 1}}

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


# Automatically added by buildreq on Mon Mar 27 2006
BuildRequires: bdftopcf gcc-c++ gcc-g77 imake libalsa-devel libffmpeg-devel libjpeg-devel liblame-devel liblirc-devel libneXtaw-devel libpng-devel libXaw-devel libXinerama-devel libXv-devel libxvid-devel libXxf86dga-devel libXxf86vm-devel libzvbi-devel mkfontdir xorg-cf-files

%description
%{Name} is a software that allows you to to record & watch TV.
It interacts with AleVT for Teletext and Nxtvepg for NextView,
and uses the video4linux API. It can use some deinterlacing filters
and can record video files in various containers (AVI, MPEG, OGG, etc.) 
with many codecs (FFMpeg(>=0.4.6), XviD(0.9 & 1.x),
Ogg Theora (>=1.0alpha5) & Vorbis and DivX4/5).
It has also some plugin capabilities.

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

%description devel
Developpement files for %{name} 

%package OSD-font
Summary:			%{summary3}
Group:				Video
Requires:			%{name} = %{version}

%description OSD-font
Font used by %{Name} OSD function.

%prep
%setup -n %{name}-%{version} 

%build
export FLAGS="%optflags -DNDEBUG -DNO_DEBUG -D_GNU_SOURCE "


%configure --prefix=%{_prefix} \
%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_ffmpeg
	--enable-ffmpeg \
%else
	--disable-ffmpeg \
%endif
%if %with_lame
	--enable-lame \
%else
	--disable-lame \
%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
%if %with_nextaw
	--enable-nextaw \
%else
	--disable-nextaw \
%endif
%if %with_xawm
	--enable-xawm \
%else
	--disable-xawm \
%endif
%if %with_xaw95
	--enable-xaw95 \
%else
	--disable-xaw95 \
%endif
%if %with_xaw3d
	--enable-xaw3d \
%else
	--disable-xaw3d \
%endif
        --with-mkfontdir=/usr/lib/X11/fonts/misc

#make prefix=%{_prefix}

export ROOT=%buildroot/usr
%make 

%install
%makeinstall ROOT="$RPM_BUILD_ROOT" FONTDIR=$RPM_BUILD_ROOT/%_libdir/X11/fonts/misc SUID_ROOT="" libdir="$RPM_BUILD_ROOT/%_libdir/%name" resdir="$RPM_BUILD_ROOT/%_x11libdir/X11"

# Cure man path if needed
install -d -m 755 %{buildroot}%{_man1dir}
install -m 644 man/%{name}.1 %{buildroot}%{_man1dir}
install -m 644 man/%{name}_cmd.1 %{buildroot}%{_man1dir}
install -m 644 man/%{name}_alevt-cap.1 %{buildroot}%{_man1dir}
install -m 644 man/%{name}_alevt-date.1 %{buildroot}%{_man1dir}
install -m 644 man/%{name}_alevt.1 %{buildroot}%{_man1dir}
bzip2 %{buildroot}%{_mandir}/man1/%{name}.1
bzip2 %{buildroot}%{_mandir}/man1/%{name}_cmd.1
bzip2 %{buildroot}%{_mandir}/man1/%{name}_alevt.1
bzip2 %{buildroot}%{_mandir}/man1/%{name}_alevt-cap.1
bzip2 %{buildroot}%{_mandir}/man1/%{name}_alevt-date.1

# Cure XdTV.ad file path
install -d -m 755 %{buildroot}/usr/X11R6/lib/X11/app-defaults/
install -m 644 XdTV.ad %{buildroot}/usr/X11R6/lib/X11/app-defaults/XdTV

%files
%doc AUTHORS COPYING INSTALL FAQfr-xdtv TODO
%doc README README.dvb README.record README.bs README.ffmpeg README.streaming
%doc README.bsd README.gentoo README.xvid README.buildme README.lirc
%doc README.deinterlace README.plugins ChangeLog lisez-moi xdtvrc.sample
%doc lircrc.miro.sample lircrc.hauppauge.sample lircrc.animax.sample
%doc lircrc.WinfastTV2000.sample

/usr/X11R6/lib/X11/app-defaults/XdTV
%{_sysconfdir}/xdtv/%{name}_wizard-en.conf
%{_sysconfdir}/xdtv/%{name}_wizard-en-UTF8.conf
%{_bindir}/%{name}
%{_bindir}/%{name}_cmd
%{_bindir}/%{name}_wizard
%{_bindir}/%{name}_scantv
%{_bindir}/%{name}_alevt-cap
%{_bindir}/%{name}_alevt-capall
%{_bindir}/%{name}_alevt-date
%{_bindir}/%{name}_v4l-conf
%{_bindir}/%{name}_scan.sh
%{_bindir}/%{name}_record.sh
%{_bindir}/%{name}_makedvd.sh
%{_man1dir}/*
%{_datadir}/%{name}/icons/*
%{_sysconfdir}/X11/app-defaults/*

%files devel
%{_includedir}/*

%files OSD-font
/usr/lib/X11/fonts/misc/*.pcf

%clean

%changelog
* Thu Dec 22 2005 Sir Pingus <pingus_77@yahoo.fr> 2.3.0-1mdk
- 2.3.0
- review all the spec: now -with / without can be use with rpmbuild

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 71+ messages in thread

end of thread, other threads:[~2006-08-14  5:43 UTC | newest]

Thread overview: 71+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-19  0:02 [sisyphus] XdTV Хихин Руслан
2006-07-19  5:23 ` Damir Shayhutdinov
2006-07-19  6:18   ` Хихин Руслан
2006-07-19  6:19 ` Gleb Kulikov
2006-07-19  9:04 ` Igor Zubkov
2006-07-19 10:06 ` Michael Shigorin
2006-07-19 20:08   ` Хихин Руслан
2006-07-20  3:22     ` Slava Semushin
2006-07-20  5:27       ` Хихин Руслан
2006-07-20  9:14         ` Eugene Prokopiev
2006-07-20 19:48           ` Хихин Руслан
2006-07-23  4:42             ` Хихин Руслан
2006-07-23 17:38               ` [sisyphus] XawTV4 Хихин Руслан
2006-07-24  7:36                 ` Damir Shayhutdinov
2006-07-24  8:26                   ` Хихин Руслан
2006-07-25  7:02                     ` Хихин Руслан
2006-07-25  8:38                       ` Хихин Руслан
2006-07-26 20:35                         ` Хихин Руслан
2006-07-27 17:50                           ` Michael Shigorin
2006-07-27 22:01                             ` Хихин Руслан
2006-07-28  5:06                               ` Slava Semushin
2006-07-28  5:41                                 ` Damir Shayhutdinov
2006-07-28  5:54                                   ` Slava Semushin
2006-07-28  5:58                                     ` Damir Shayhutdinov
2006-08-01 16:51                                   ` Хихин Руслан
2006-08-01 17:46                                     ` Хихин Руслан
2006-07-28  5:48                                 ` Andrey Rahmatullin
2006-07-30 20:37                                   ` Michael Shigorin
2006-07-31  8:18                                     ` Хихин Руслан
2006-07-31 17:04                                 ` Хихин Руслан
2006-07-31 17:39                                   ` Sergey Vlasov
2006-07-31 18:21                                     ` Хихин Руслан
2006-08-01 19:26                                   ` Michael Shigorin
2006-08-02  3:15                                     ` Хихин Руслан
2006-08-02  8:54                                       ` Хихин Руслан
2006-08-02  9:05                                         ` Damir Shayhutdinov
2006-08-02  9:28                                           ` Хихин Руслан
2006-08-02  9:35                                             ` Damir Shayhutdinov
2006-08-02  9:39                                             ` Slava Semushin
2006-08-02 10:16                                               ` Хихин Руслан
2006-08-02  9:35                                           ` Хихин Руслан
2006-08-02 15:15                                         ` Michael Shigorin
2006-08-02 18:37                                           ` Хихин Руслан
2006-08-02 18:58                                             ` Andrey Rahmatullin
2006-08-02 15:14                                       ` Michael Shigorin
2006-08-02 16:50                                         ` Хихин Руслан
2006-08-03 12:56                                           ` Aleksey Avdeev
2006-08-02 18:47                                         ` Хихин Руслан
2006-08-02 18:59                                           ` Andrey Rahmatullin
2006-08-04 20:01                                               ` Michael Shigorin
2006-08-05 12:28                                               ` Хихин Руслан
2006-08-06 19:35                                                 ` Хихин Руслан
2006-08-07  7:29                                               ` Slava Semushin
2006-08-14  5:43                                                 ` Хихин Руслан
2006-07-19 10:36 ` [sisyphus] XdTV Epiphanov Sergei
2006-07-19 12:08   ` Epiphanov Sergei
2006-07-19 12:21     ` Led
2006-07-19 20:00     ` Хихин Руслан
2006-07-19 22:24       ` Хихин Руслан
2006-07-20  3:24         ` Slava Semushin
2006-07-20  4:06           ` Хихин Руслан
2006-07-20  9:47           ` Igor Zubkov
2006-07-20 10:04             ` Led
2006-07-20 22:49               ` Хихин Руслан
2006-07-21  8:24                 ` Igor Zubkov
2006-07-21 17:42                   ` Хихин Руслан
2006-07-22  8:35                   ` Хихин Руслан
2006-07-22  8:42                     ` Pavlov Konstantin
2006-07-22  9:10                       ` Хихин Руслан
2006-07-23  5:40                   ` Хихин Руслан
2006-07-20  6:29       ` Хихин Руслан

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git