--- dvdrip-queue-0.1.3.orig/debian/dvdrip-queue.xpm +++ dvdrip-queue-0.1.3/debian/dvdrip-queue.xpm @@ -0,0 +1,122 @@ +/* XPM */ +static char * dvdrip_queue_xpm[] = { +"24 25 94 2", +" c None", +". c #040505", +"+ c #090C0D", +"@ c #1E2628", +"# c #3D4D51", +"$ c #313E42", +"% c #121618", +"& c #050708", +"* c #010101", +"= c #181E20", +"- c #7FA2AA", +"; c #AFDDE9", +"> c #ACD9E4", +", c #46585D", +"' c #030404", +") c #050707", +"! c #040404", +"~ c #7A9AA3", +"{ c #A9DAE7", +"] c #A3D7E5", +"^ c #3E5358", +"/ c #000000", +"( c #020203", +"_ c #060708", +": c #2F3A3E", +"< c #97D3E3", +"[ c #96D3E2", +"} c #80B0BC", +"| c #0E1618", +"1 c #020303", +"2 c #010202", +"3 c #485A5F", +"4 c #ADDCE8", +"5 c #9FD7E5", +"6 c #98D4E2", +"7 c #83CBDD", +"8 c #8ACEDF", +"9 c #95D3E2", +"0 c #2D4044", +"a c #0F1415", +"b c #566D73", +"c c #8FD0E1", +"d c #B7E1EB", +"e c #A1D8E5", +"f c #6FC3D8", +"g c #ABDBE8", +"h c #344247", +"i c #0A0C0D", +"j c #121719", +"k c #53686E", +"l c #AADBE7", +"m c #91D1E1", +"n c #FFFFFF", +"o c #F8FCFD", +"p c #86CCDD", +"q c #AADCE8", +"r c #415256", +"s c #1B2225", +"t c #0C1010", +"u c #415257", +"v c #AADBE8", +"w c #7FC9DC", +"x c #B8E1EB", +"y c #B5E0EB", +"z c #3A4A4E", +"A c #2C383B", +"B c #A8DAE7", +"C c #96D3E3", +"D c #87CDDE", +"E c #98D4E3", +"F c #9ED7E4", +"G c #ACDCE9", +"H c #2E393C", +"I c #82A8B2", +"J c #9DD5E4", +"K c #99D3E3", +"L c #A2CDD9", +"M c #13191A", +"N c #020202", +"O c #364448", +"P c #A4D8E5", +"Q c #A9DBE8", +"R c #556B71", +"S c #141A1B", +"T c #030303", +"U c #394A4E", +"V c #A9D5E1", +"W c #6A868D", +"X c #121718", +"Y c #0D1011", +"Z c #2A3538", +"` c #344145", +" . c #161C1E", +".. c #0E1213", +" ", +" ", +" ", +" ", +" ", +" ", +" . + @ # $ % & * ", +" + = - ; ; ; > , ' ) ", +" ) ! ~ ; ; ; ; { ] ^ / ( ", +" _ : ; ; ; ; ; < [ } | 1 ", +" 2 / 3 ; ; 4 5 6 7 8 9 0 / ", +" a / b ; ; c d e f [ g h / i ", +" j / k ; l m n o p q ; r / s ", +" t / u ; v w x y c ; ; z / ", +" / / A B C D E F G ; ; H % ", +" ' ) I J K ; ; ; ; L M = ", +" N / O P Q ; ; ; ; R S ", +" T / U V ; ; ; W X ", +" / ( Y Z ` ... ", +" / / ", +" / / / / / / ", +" / / / / / ", +" ", +" ", +" "}; --- dvdrip-queue-0.1.3.orig/debian/changelog +++ dvdrip-queue-0.1.3/debian/changelog @@ -0,0 +1,69 @@ +dvdrip-queue (0.1.3-0.1ubuntu2) lucid; urgency=low + + * Install the python modules into the application path and create a symlink + to usr/bin for dvdrip-queue.py. + * To fix LP: #458300: + - Install the application's data into the right place, preserving the tree + structure. + - debian/patches/04-run_script.diff: + + Run dvdrip-queue with /usr/share/dvdrip-queue as working directory. + * Refresh all patches. + + -- Alessio Treglia Thu, 05 Nov 2009 15:12:21 +0100 + +dvdrip-queue (0.1.3-0.1ubuntu1) karmic; urgency=low + + * debian/patches/02_setup_py.diff: + - Create a setup.py script to build and install Python modules properly. + * debian/patches/03_fix_desktop_file.diff: + - Remove deprecated Encoding field from .desktop file. + * debian/rules: + - Switch to debhelper 7. + - Run setup.py to build the package properly. + - Remove all *.pyc files. + * debian/control: + - Bump Standards. + - Bump debhelper, quilt build-dependencies. + - Add python, support to Build-Depends-Indep field. + - Add ${misc:Depends} macro to dvdrip-queue's Depends field. + * Create debian/pyversions. + * Update debian/copyright. + * Fix debian/watch. + * Add README.source to give the needed documentation for creating or + refreshing patches. + * Add a comment to debian/patches/01_dvdrip-version.diff. + * Add manpage. + * Add Debian menu file. + * Add xpm icon. + + -- Alessio Treglia Wed, 26 Aug 2009 13:30:21 +0200 + +dvdrip-queue (0.1.3-0.1) unstable; urgency=low + + * Remove dvd:rip version check. Not needed for now. + + -- Christian Marillat Sun, 28 Dec 2008 11:07:48 +0100 + +dvdrip-queue (0.1.3-0.0) unstable; urgency=low + + * New upstream release. + + -- Christian Marillat Fri, 11 Jul 2008 12:16:30 +0200 + +dvdrip-queue (0.1.2-0.0) unstable; urgency=low + + * New upstream release. + + -- Christian Marillat Mon, 30 Jun 2008 09:38:36 +0200 + +dvdrip-queue (0.1.1.beta-0.1) unstable; urgency=low + + * Should depends on python-glade2. + + -- Christian Marillat Sun, 29 Jun 2008 20:50:40 +0200 + +dvdrip-queue (0.1.1.beta-0.0) unstable; urgency=low + + * Initial release. + + -- Christian Marillat Mon, 16 Jun 2008 09:43:52 +0200 --- dvdrip-queue-0.1.3.orig/debian/dvdrip-queue.install +++ dvdrip-queue-0.1.3/debian/dvdrip-queue.install @@ -0,0 +1,4 @@ +src/gui usr/share/dvdrip-queue +src/dvdrip-queue.desktop usr/share/applications +debian/dvdrip-queue.xpm usr/share/pixmaps +dvdrip-queue usr/bin --- dvdrip-queue-0.1.3.orig/debian/dvdrip-queue.1 +++ dvdrip-queue-0.1.3/debian/dvdrip-queue.1 @@ -0,0 +1,33 @@ +.IX Title "dvdrip-queue 1" +.TH dvdrip-queue 1 "2009-02-08" "2.5" "" +.\" For nroff, turn off justification. Always turn off hyphenation; it makes +.\" way too many mistakes in technical documents. +.if n .ad l +.nh +.SH "NAME" +\&\fBdvdrip-queue\fR \- queue up dvd::rip projects +.SH "SYNOPSIS" +.IX Header "SYNOPSIS" +.B dvdrip-queue +.SH "DESCRIPTION" +.IX Header "DESCRIPTION" +\&\fBdvdrip-queue\fR allows users to queue up dvd::rip projects to be encoded, +so they don't have to babysit when they're ripping a bunch of dvd's or if +they're ripping a dvd with several titles on it (like a TV show) as many +video clips they want to generate a Video DVD with chapters, subtitles, +transition effects, brightness and contrast settings, etc. +.PP +.B dvdrip-queue +has been written with Python and GTK+, and after the installation the +application is available from the +.B Applications +menu. +.PP +.SH "SEE ALSO" +.BR dvdrip (1) +.SH "AUTHOR" +.IX Header "AUTHOR" +\fBManDVD\fR has been written by Jim Robert . +.PP +This manual was provided by Alessio Treglia +for the Ubuntu project (but may be used by others). --- dvdrip-queue-0.1.3.orig/debian/pyversions +++ dvdrip-queue-0.1.3/debian/pyversions @@ -0,0 +1 @@ +2.5- --- dvdrip-queue-0.1.3.orig/debian/watch +++ dvdrip-queue-0.1.3/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://sf.net/dvdrip-queue/dvdrip-queue-(.*)\.tar\.gz --- dvdrip-queue-0.1.3.orig/debian/control +++ dvdrip-queue-0.1.3/debian/control @@ -0,0 +1,16 @@ +Source: dvdrip-queue +Section: utils +Priority: extra +Maintainer: Alessio Treglia +Standards-Version: 3.8.3 +Build-Depends: debhelper (>= 7.0.50), quilt (>= 0.46-7) +Build-Depends-Indep: python (>= 2.5), python-support (>= 0.5.3) +Homepage: http://sourceforge.net/projects/dvdrip-queue + +Package: dvdrip-queue +Architecture: all +Depends: ${python:Depends}, ${misc:Depends}, dvdrip, python-glade2 +Description: queue up dvd::rip projects + dvdrip-queue lets you queue up dvd::rip projects to be encoded, so you + don't have to babysit when you're ripping a bunch of dvd's or if you're + ripping a dvd with several titles on it (like a tv show) --- dvdrip-queue-0.1.3.orig/debian/dvdrip-queue.manpages +++ dvdrip-queue-0.1.3/debian/dvdrip-queue.manpages @@ -0,0 +1 @@ +debian/dvdrip-queue.1 --- dvdrip-queue-0.1.3.orig/debian/dvdrip-queue.links +++ dvdrip-queue-0.1.3/debian/dvdrip-queue.links @@ -0,0 +1,2 @@ +usr/share/dvdrip-queue/dvdrip-queue.py usr/bin/dvdrip-queue.real +usr/share/man/man1/dvdrip-queue.1.gz usr/share/man/man1/dvdrip-queue.real.1.gz --- dvdrip-queue-0.1.3.orig/debian/rules +++ dvdrip-queue-0.1.3/debian/rules @@ -0,0 +1,15 @@ +#!/usr/bin/make -f + +%: + dh --with quilt $@ + +override_dh_auto_install: + cd $(CURDIR)/src && python setup.py install \ + --root=$(CURDIR)/debian/dvdrip-queue \ + --install-scripts=/usr/share/dvdrip-queue \ + --install-lib=/usr/share/dvdrip-queue + dh_auto_install + +override_dh_auto_clean: + rm -f $(CURDIR)/src/*.pyc $(CURDIR)/src/dvdripQueue/*.pyc + dh_auto_clean --- dvdrip-queue-0.1.3.orig/debian/copyright +++ dvdrip-queue-0.1.3/debian/copyright @@ -0,0 +1,35 @@ +Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=59 +Name: DVD::Rip Queue +Maintainer: Jim Robert +Source: http://sourceforge.net/projects/dvdrip-queue/files/ + +Files: src/* +Copyright: 2008, Jim Robert +License: GPL-3 + +Files: src/setup.py +Copyright: 2009, Alessio Treglia +License: GPL-3 + +Files: debian/* +Copyright: + 2009, Alessio Treglia + 2008, Christian Marillat +License: GPL-3 + +License: GPL-3 + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + . + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +X-Comment: On Debian systems the full text of the GNU Lesser General Public + License can be found in the `/usr/share/common-licenses/GPL-3' file. --- dvdrip-queue-0.1.3.orig/debian/menu +++ dvdrip-queue-0.1.3/debian/menu @@ -0,0 +1,6 @@ +?package(dvdrip-queue):\ + needs="X11"\ + section="Applications/Video"\ + title="DVD::Rip Queue"\ + icon="/usr/share/pixmaps/dvdrip-queue.xpm"\ + command="/usr/bin/dvdrip-queue" --- dvdrip-queue-0.1.3.orig/debian/compat +++ dvdrip-queue-0.1.3/debian/compat @@ -0,0 +1 @@ +7 --- dvdrip-queue-0.1.3.orig/debian/README.source +++ dvdrip-queue-0.1.3/debian/README.source @@ -0,0 +1,57 @@ +This package uses quilt to manage all modifications to the upstream +source. Changes are stored in the source package as diffs in +debian/patches and applied during the build. + +To configure quilt to use debian/patches instead of patches, you want +either to export QUILT_PATCHES=debian/patches in your environment +or use this snippet in your ~/.quiltrc: + + for where in ./ ../ ../../ ../../../ ../../../../ ../../../../../; do + if [ -e ${where}debian/rules -a -d ${where}debian/patches ]; then + export QUILT_PATCHES=debian/patches + fi + done + +To get the fully patched source after unpacking the source package, cd to +the root level of the source package and run: + + quilt push -a + +The last patch listed in debian/patches/series will become the current +patch. + +To add a new set of changes, first run quilt push -a, and then run: + + quilt new + +where is a descriptive name for the patch, used as the filename in +debian/patches. Then, for every file that will be modified by this patch, +run: + + quilt add + +before editing those files. You must tell quilt with quilt add what files +will be part of the patch before making changes or quilt will not work +properly. After editing the files, run: + + quilt refresh + +to save the results as a patch. + +Alternately, if you already have an external patch and you just want to +add it to the build system, run quilt push -a and then: + + quilt import -P /path/to/patch + quilt push -a + +(add -p 0 to quilt import if needed). as above is the filename to +use in debian/patches. The last quilt push -a will apply the patch to +make sure it works properly. + +To remove an existing patch from the list of patches that will be applied, +run: + + quilt delete + +You may need to run quilt pop -a to unapply patches first before running +this command. --- dvdrip-queue-0.1.3.orig/debian/patches/02_setup_py.diff +++ dvdrip-queue-0.1.3/debian/patches/02_setup_py.diff @@ -0,0 +1,41 @@ +Description: Provide a sort of makefile to build the Python modules properly. +Author: Alessio Treglia +--- + src/setup.py | 32 ++++++++++++++++++++++++++++++++ + 1 file changed, 32 insertions(+) + +--- /dev/null ++++ dvdrip-queue-0.1.3/src/setup.py +@@ -0,0 +1,32 @@ ++#!/usr/bin/env python ++# -*- coding: utf-8 -*- ++ ++# Copyright (C) 2009 Alessio Treglia ++# ++# This program is free software: you can redistribute it and/or modify ++# it under the terms of the GNU General Public License as published by ++# the Free Software Foundation, either version 3 of the License, or ++# (at your option) any later version. ++# ++# installation-report-generator is distributed in the hope that it will be useful, ++# but WITHOUT ANY WARRANTY; without even the implied warranty of ++# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ++# GNU General Public License for more details. ++# ++# You should have received a copy of the GNU General Public License ++# along with installation-report-generator. If not, see . ++ ++from distutils.core import setup ++ ++setup(name = "dvdrip-queue", ++ version = '0.1.3', ++ description = 'queue up dvd::rip projects', ++ author = "Jim Robert", ++ author_email = "Jim@Jim-Robert.com", ++ url = 'http://sourceforge.net/projects/dvdrip-queue', ++ license = 'GNU GPL v3', ++ requires = [], ++ scripts = ['dvdrip-queue.py'], ++ packages = ['dvdripQueue'], ++ data_files = [] ++ ) --- dvdrip-queue-0.1.3.orig/debian/patches/04-run_script.diff +++ dvdrip-queue-0.1.3/debian/patches/04-run_script.diff @@ -0,0 +1,12 @@ +Author: Alessio Treglia +Description: + Run the application with /usr/share/dvdrip-queue as working directory. +--- + dvdrip-queue | 2 ++ + 1 file changed, 2 insertions(+) + +--- /dev/null ++++ dvdrip-queue-0.1.3/dvdrip-queue +@@ -0,0 +1,2 @@ ++#!/bin/bash ++cd /usr/share/dvdrip-queue && dvdrip-queue.real --- dvdrip-queue-0.1.3.orig/debian/patches/series +++ dvdrip-queue-0.1.3/debian/patches/series @@ -0,0 +1,4 @@ +01_dvdrip-version.diff +02_setup_py.diff +03_fix_desktop_file.diff +04-run_script.diff --- dvdrip-queue-0.1.3.orig/debian/patches/01_dvdrip-version.diff +++ dvdrip-queue-0.1.3/debian/patches/01_dvdrip-version.diff @@ -0,0 +1,41 @@ +Description: Remove dvd:rip version check, unnecessary for now. +Author: Christian Marillat +--- + src/dvdrip-queue.py | 19 ------------------- + 1 file changed, 19 deletions(-) + +--- dvdrip-queue-0.1.3.orig/src/dvdrip-queue.py ++++ dvdrip-queue-0.1.3/src/dvdrip-queue.py +@@ -111,9 +111,6 @@ class DvdRipQueue: + # Select the top item of each treeview + self.selectTopItem(self.lView) + +- # Needs to be called after the GTK main loop is started +- self.checkDvdRipVersion() +- + def projectRowDoubleClick(self, widget, path, view_column): + self.addProject(widget) + +@@ -191,22 +188,6 @@ class DvdRipQueue: + self.encoder = doEncode(ripQueue, app) + self.encoder.start() + +- def checkDvdRipVersion(self): +- Null, shellOutput = os.popen2("dvdrip -v") +- try: +- version = shellOutput.readlines()[0].strip() +- except: +- # If dvdrip isn't installed +- version = "0.0.0" +- +- +- if (version == '0.98.6') or (version == '0.98.7') or (version == '0.98.8'): +- exit +- else: +- self.wTree.get_widget("versionError").show() +- +- return version +- + def onVersionErrorButtonClick(self, widget, Null): + gtk.main_quit() + sys.exit(1) --- dvdrip-queue-0.1.3.orig/debian/patches/03_fix_desktop_file.diff +++ dvdrip-queue-0.1.3/debian/patches/03_fix_desktop_file.diff @@ -0,0 +1,15 @@ +Description: Remove encoding key from desktop file (as per spec). +Author: Alessio Treglia +--- + src/dvdrip-queue.desktop | 1 - + 1 file changed, 1 deletion(-) + +--- dvdrip-queue-0.1.3.orig/src/dvdrip-queue.desktop ++++ dvdrip-queue-0.1.3/src/dvdrip-queue.desktop +@@ -1,6 +1,5 @@ + [Desktop Entry] + Version=1.0 +-Encoding=UTF-8 + Name=dvd::rip queue + Comment=Queue dvd::rip projects + Type=Application