Hello all.
Since few month already. dvdrip is available in the rpmfusion.org
repository for Fedora. (starting from Fedora 8 until Fedora
Rawhide/F11). This is for primary arches (x86 x86_64 ppc ppc64).
See some patches attached; I've also few issues I've addressed from
within the rpm spec file:
* #Remove pre-built mo
find lib/LocaleData -name "*.mo" -exec rm -f {} ';'
We need to regenerate the .mo from the
* # Fix encoding issues:
Some Files provided in the source archive aren't UTF8
(Changes Changes.0.46 COPYRIGHT Credits README TODO
lib/Video/DVDRip/translators.txt)
It would be nice to have them converted
* # Fix permission:
chmod -x lib/Video/DVDRip/Cluster/Webserver.pm
According to our analysis, this file doesn't need exectutable permission.
* # Remove the included perl modules. The ones
# installed in the system will be used instead:
rm -fr perl-modules
This is really annoying to have internal version used against system
ones. for the Casual user I understand that having most dependency
bundled will make things easier. But this will prevent them a lot of
experience also... IT would really be usefull to have them removed, as
this can lead to more problem than it will solve; specially as it will
prevent bugfixed version to be used from the given distro. (and
interface is rather stable to use system ones IMO).
* #Fix for locale
mkdir -p $RPM_BUILD_ROOT%{_datadir}/locale
mv $RPM_BUILD_ROOT%{perl_vendorlib}/LocaleData/*
$RPM_BUILD_ROOT%{_datadir}/locale
In this case, we need to move the localized data to our system wide (not
perl specific) directory for localization content. I don't know any perl
package using the LocaleData directoy against the usual system one,
moving the files there works just fine.
### Package choices
* I've choosen to split the dvdrip main package creating the
dvdrip-master sub-package (that is required by the main package), the
dvdrip-master package can be installed without installing lot of perl
dependencies the main dvdrip package would have done. It specially
doens't requires transcode on the dvdrip-master.
This split is usefull on my own master-node server wich is a 24/7 C7
EPIA server.
So this look like http://www.exit1.org/dvdrip/doc/cluster.cipp (actually
the nfs server and the master node is on the same host).
But when I run dvdrip-master on my C7 server, I have:
----------------
ERROR : dvdrip-multitee isn't found in PATH
ERROR : dvdrip-progress isn't found in dans PATH
ERROR : dvdrip-splitpipe isn't found in dans PATH
ERROR : dvdrip-subpng isn't found in PATH
----------------
Is it possible to have theses check removed? (they aren't needed from
the master node, IMO).
The rm_GUI patch is needed to avoid some perl requirement needs which is
autodetected by rpm.
* Default container/codec used.
I was wondering if I can set as default the use of mkv container using
dirac for video and flac. This would help to promote quality and free
(FOSS and patenless) audio/video codecs.
I haven't done much experiment at this time...
About the patch for ogm/ogg switch. It seems that nowadays ogv is the
replacement for at least ogm container. I wonder if it can be switched.
* Possible to start encoding from a file (instead of a dvd/vob files)
Actually I was wondering it it was possible to start from an already
extracted project. dvdrip seems to assume it needs to start from a dvd
content. I would have picked .dv files? Why I couldn't ? (the dv files
remains grey while trying to pick them.
* I wonder if dvdrip can be added to Fedora itself. If not all
dependencies can be added from a fedora only repository, I wonder if we
can still have it work to submit task to a computer nodes that have more
or less full featured transcode build.
Accoridng to my analysis, we would need to start to encode from a file.
or at least extract file from a non encrypted dvd to have it to work.
(it couldn't read the content as mpeg2 is patented).
Then dvdrip could submit (blind) task to the nodes. That would need to
avoid the check for transcode which is mandatory. xine only could be
used and mplayer avoided (same as ffmpeg)
The missing dependencies could be added later.
# Website updtate ( freshrpms is now obsoleted)
As dvdrip is provided from rpmfusion.org for Fedora, could you please
update the website about the Fedora package installation.
Installation of rpmfusion.org only as told on the website is a
pre-requirement.
yum install dvdrip will install the dvdrip package but not all the
dependencies. Experienced users can install dvdrip-master only on their
node controller.
So to get every dependencies installed one shoult install
yum install xvid4conf ffmpeg transcode lsdvd rar2 ogmtools xine mplayer
ImageMagick xine-lib-extras-freeworld libdvdcss
Actually rar2 and ogmtools will be available sooner or later.
Because of legal issue libdvdcss isn't provided at rpmfuison.org, it
remains available at rpm.livna.org
A version of dvdrip and dependencies is planned for RHEL5 using the EPEL
repository and rpmfusion for RHEL5
Problem and packaging bugs can be reported at http://bugzilla.rpmfusion.org
I hope it will help.
Nicolas (kwizart)
diff -up dvdrip-0.98.8/lib/Video/DVDRip/Config.pm.defaultconfig
dvdrip-0.98.8/lib/Video/DVDRip/Config.pm
--- dvdrip-0.98.8/lib/Video/DVDRip/Config.pm.defaultconfig 2008-05-08
15:07:30.000000000 +0200
+++ dvdrip-0.98.8/lib/Video/DVDRip/Config.pm 2008-05-08 15:09:57.000000000
+0200
@@ -252,7 +252,7 @@ my %CONFIG_PARAMETER = (
ogg_file_ext => {
label => __ "OGG file extension",
type => 'string',
- value => 'ogm',
+ value => 'ogg',
presets => [ 'ogg', 'ogm', ],
},
cluster_master_local => {
diff -up dvdrip-0.98.9/l10n/Makefile.fix_locale dvdrip-0.98.9/l10n/Makefile
--- dvdrip-0.98.9/l10n/Makefile.fix_locale 2008-12-09 18:44:23.000000000
+0100
+++ dvdrip-0.98.9/l10n/Makefile 2008-12-09 18:45:17.000000000 +0100
@@ -64,6 +64,8 @@ install: $(MO_FILES)
cp -f $$cat $$dest && chmod 644 $$dest || exit 1; \
done
touch .mo.installed
+
+gensplash:
cd ..; \
tools/gensplash
diff -up dvdrip-0.98.9/l10n/POTFILES.in.fix_locale
dvdrip-0.98.9/l10n/POTFILES.in
--- dvdrip-0.98.9/l10n/POTFILES.in.fix_locale 2006-07-02 22:27:04.000000000
+0200
+++ dvdrip-0.98.9/l10n/POTFILES.in 2008-12-09 18:41:53.000000000 +0100
@@ -67,14 +67,3 @@
../lib/Video/DVDRip/Term/Progress.pm
../lib/Video/DVDRip/Content.pm
../lib/Video/DVDRip.pm
-/home/joern/projects/Event-ExecFlow/bin/execflow
-/home/joern/projects/Event-ExecFlow/lib/Event/ExecFlow/Callbacks.pm
-/home/joern/projects/Event-ExecFlow/lib/Event/ExecFlow/Frontend.pm
-/home/joern/projects/Event-ExecFlow/lib/Event/ExecFlow/Frontend/Term.pm
-/home/joern/projects/Event-ExecFlow/lib/Event/ExecFlow/Job/Code.pm
-/home/joern/projects/Event-ExecFlow/lib/Event/ExecFlow/Job/Command.pm
-/home/joern/projects/Event-ExecFlow/lib/Event/ExecFlow/Job/Group.pm
-/home/joern/projects/Event-ExecFlow/lib/Event/ExecFlow/Job.pm
-/home/joern/projects/Event-ExecFlow/lib/Event/ExecFlow.pm
-/home/joern/projects/Event-ExecFlow/lib/Event/ExecFlow/Scheduler.pm
-/home/joern/projects/Event-ExecFlow/lib/Event/ExecFlow/Scheduler/SimpleMax.pm
diff -up dvdrip-0.98.9/tools/gensplash.fix_locale dvdrip-0.98.9/tools/gensplash
--- dvdrip-0.98.9/tools/gensplash.fix_locale 2006-09-09 13:07:31.000000000
+0200
+++ dvdrip-0.98.9/tools/gensplash 2008-12-09 18:41:53.000000000 +0100
@@ -1,4 +1,4 @@
-#!/usr/local/bin/perl
+#!/usr/bin/perl
use strict;
use lib "lib";
diff -up dvdrip-0.98.9/lib/Video/DVDRip/Term/Main.pm~
dvdrip-0.98.9/lib/Video/DVDRip/Term/Main.pm
--- dvdrip-0.98.9/lib/Video/DVDRip/Term/Main.pm~ 2006-08-16
21:34:38.000000000 +0200
+++ dvdrip-0.98.9/lib/Video/DVDRip/Term/Main.pm 2008-12-16 02:16:15.000000000
+0100
@@ -20,7 +20,6 @@ use strict;
use Video::DVDRip::Project;
use Video::DVDRip::Logger;
use Video::DVDRip::Term::Progress;
-use Video::DVDRip::GUI::Pipe;
use Video::DVDRip::Term::ExitTask;
sub filename { shift->{filename} }
diff -up dvdrip-0.98.9/lib/Video/DVDRip/Config.pm~
dvdrip-0.98.9/lib/Video/DVDRip/Config.pm
--- dvdrip-0.98.9/lib/Video/DVDRip/Config.pm~ 2008-12-10 12:07:47.000000000
+0100
+++ dvdrip-0.98.9/lib/Video/DVDRip/Config.pm 2008-12-10 12:08:23.000000000
+0100
@@ -10,6 +10,7 @@
package Video::DVDRip::Config;
use Locale::TextDomain qw (video.dvdrip);
+use POSIX qw(locale_h);
use base Video::DVDRip::Base;
|