r96463 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r96462‎ | r96463 | r96464 >
Date:18:01, 7 September 2011
Author:py
Status:deferred
Tags:
Comment:
adding packagization for oggvideotools
Modified paths:
  • /trunk/debs/oggvideotools (added) (history)
  • /trunk/debs/oggvideotools/debian (added) (history)
  • /trunk/debs/oggvideotools/debian/README.source (added) (history)
  • /trunk/debs/oggvideotools/debian/changelog (added) (history)
  • /trunk/debs/oggvideotools/debian/compat (added) (history)
  • /trunk/debs/oggvideotools/debian/control (added) (history)
  • /trunk/debs/oggvideotools/debian/copyright (added) (history)
  • /trunk/debs/oggvideotools/debian/docs (added) (history)
  • /trunk/debs/oggvideotools/debian/oggvideotools.install (added) (history)
  • /trunk/debs/oggvideotools/debian/patches (added) (history)
  • /trunk/debs/oggvideotools/debian/patches/bashisms (added) (history)
  • /trunk/debs/oggvideotools/debian/patches/manpages (added) (history)
  • /trunk/debs/oggvideotools/debian/patches/series (added) (history)
  • /trunk/debs/oggvideotools/debian/rules (added) (history)
  • /trunk/debs/oggvideotools/debian/watch (added) (history)

Diff [purge]

Index: trunk/debs/oggvideotools/debian/control
@@ -0,0 +1,47 @@
 2+Source: oggvideotools
 3+Section: video
 4+Priority: optional
 5+Maintainer: Debian Xiph.org Maintainers <pkg-xiph-maint@lists.alioth.debian.org>
 6+Uploaders: John Francesco Ferlito <johnf@inodes.org>
 7+Build-Depends: debhelper (>= 7.0.50~), quilt, libogg-dev, libtheora-dev, libvorbis-dev, libsdl-dev, libgd2-xpm-dev
 8+Standards-Version: 3.8.3
 9+
 10+Package: oggvideotools
 11+Architecture: any
 12+Depends: ${shlibs:Depends}, ${misc:Depends}
 13+Description: A toolbox for manipulating and creating Ogg video files
 14+ Contains the following command line tools:
 15+ .
 16+ * oggCat - concatenates two ogg video files
 17+ * oggCut - extracts parts of an ogg file
 18+ * oggDump
 19+ * oggJoin - multiplexes ogg streams
 20+ * oggLength
 21+ * oggResize - resizes ogg files in multiple ways
 22+ * oggScroll
 23+ * oggSilence
 24+ * oggSlideshow - creates slideshows from pictures
 25+ * oggSplit - demultiplexes ogv files
 26+ * oggThumb - creates thumbnails from an ogg video file
 27+
 28+Package: oggvideotools-dbg
 29+Section: debug
 30+Priority: extra
 31+Architecture: any
 32+Depends: oggvideotools (= ${binary:Version}), ${misc:Depends}
 33+Description: A toolbox for manipulating and creating Ogg video files (debug symbols)
 34+ Contains the following command line tools:
 35+ .
 36+ * oggCat - concatenates two ogg video files
 37+ * oggCut - extracts parts of an ogg file
 38+ * oggDump
 39+ * oggJoin - multiplexes ogg streams
 40+ * oggLength
 41+ * oggResize - resizes ogg files in multiple ways
 42+ * oggScroll
 43+ * oggSilence
 44+ * oggSlideshow - creates slideshows from pictures
 45+ * oggSplit - demultiplexes ogv files
 46+ * oggThumb - creates thumbnails from an ogg video file
 47+ .
 48+ This package contains debugging symbols.
Index: trunk/debs/oggvideotools/debian/compat
@@ -0,0 +1 @@
 2+7
Index: trunk/debs/oggvideotools/debian/watch
@@ -0,0 +1,2 @@
 2+version=3
 3+http://sf.net/oggvideotools/oggvideotools-(.+)\.tar\.gz
Index: trunk/debs/oggvideotools/debian/changelog
@@ -0,0 +1,47 @@
 2+oggvideotools (0.8a) lucid-wikimedia; urgency=low
 3+
 4+ * initial wikimedia package build
 5+
 6+ -- peter youngmeister <py@wikimedia.org> Wed, 07 Sep 2011 10:12:16 -0700
 7+
 8+oggvideotools (0.8-1) unstable; urgency=low
 9+
 10+ * Initial Debian Release (Closes: #563446).
 11+ * debian/copyright
 12+ - Add John Ferlito as package maintainer.
 13+ - Add copyright details for libresample.
 14+ - Fix FSF address.
 15+ * debian/watch
 16+ - Move to version 3.
 17+ - Use debian sourceforge redirector.
 18+ * debian/compat
 19+ - Update to 7.
 20+ - Move to using dh instead of cdbs.
 21+ * debian/rules
 22+ - Move to dh 7.
 23+ - Add quilt support.
 24+ * debian/control
 25+ - Change maintainer to Debian Xiph.org Maintainers.
 26+ - Add ${misc:Depends}.
 27+ - Update standars version to 3.8.3.
 28+ - Depend on debhelper >= 7.0.50~
 29+ - Improve package description.
 30+ - Add quilt dependency.
 31+ - Remove cdbs dependency.
 32+ - Add -dbg package.
 33+ * debian/patches/manpages
 34+ - Fix hyphenation in man pages.
 35+
 36+ -- John Francesco Ferlito <johnf@inodes.org> Sun, 03 Jan 2010 13:05:14 +1100
 37+
 38+oggvideotools (0.7b-ubuntu1) jaunty; urgency=low
 39+
 40+ * rebuilt with libtheora beta1
 41+
 42+ -- jan gerber <j@v2v.cc> Tue, 11 Aug 2009 00:27:20 +0200
 43+
 44+oggvideotools (0.7b) jaunty; urgency=low
 45+
 46+ * initial version
 47+
 48+ -- jan gerber <j@v2v.cc> Fri, 10 August 2009 18:20:00 +0200
Index: trunk/debs/oggvideotools/debian/patches/bashisms
@@ -0,0 +1,15 @@
 2+# Remove bashisms
 3+# Upstream bug - https://sourceforge.net/tracker/?func=detail&aid=2925128&group_id=235863&atid=1097768
 4+--- a/scripts/mkThumbs
 5+@@ -17,7 +17,9 @@
 6+ length=`oggLength $1`
 7+ timestring="0"
 8+ div=$(($2*1000))
 9+-for((i=1; i<$2; i++)) do
 10++end=`expr $2 - 1`
 11++for i in `seq 1 $end`
 12++do
 13+ value=$(echo "scale=3; $i*$length/$div" | bc -q 2>/dev/null)
 14+ timestring="$timestring,$value"
 15+ done
Index: trunk/debs/oggvideotools/debian/patches/series
@@ -0,0 +1,2 @@
 2+bashisms
 3+manpages
Index: trunk/debs/oggvideotools/debian/patches/manpages
@@ -0,0 +1,254 @@
 2+# Fix some syntax issues in some man pages
 3+# Upstream Bug - https://sourceforge.net/tracker/?func=detail&aid=2925129&group_id=235863&atid=1097768
 4+--- a/docs/oggCut.1
 5+@@ -15,8 +15,8 @@
 6+
 7+ The start and end time for the cut area must be given in milliseconds with the options \-s and \-e.
 8+
 9+-As a video stream consists of I-frames (which are full pictures) and P-frames (which are delta pictures to the leading I-frame) the oggCut algorithm searches for the first I-frame. If a video file would start with a p-frame, the player is not able to interpret this picture, as the leading I-frame (on where it is based) is not available.
 10+-oggCut starts the I-frame search at the start time given by the -s option. So expect a shorter video time than the calculated seconds for the new file.
 11++As a video stream consists of I\(hyframes (which are full pictures) and P\(hyframes (which are delta pictures to the leading I\(hyframe) the oggCut algorithm searches for the first I\(hyframe. If a video file would start with a p\(hyframe, the player is not able to interpret this picture, as the leading I\(hyframe (on where it is based) is not available.
 12++oggCut starts the I\(hyframe search at the start time given by the \-s option. So expect a shorter video time than the calculated seconds for the new file.
 13+
 14+ oggCut does not do any reencoding, therefore the output quality is completely the same as from the input file.
 15+
 16+@@ -36,9 +36,9 @@
 17+ .I Example: \-l 10000
 18+
 19+ .IP \-e
 20+-Cut end position in ms. If \-l is also used, the end position is prefered. If the end position is set to -1, the end of the stream is assumed.
 21++Cut end position in ms. If \-l is also used, the end position is prefered. If the end position is set to \-1, the end of the stream is assumed.
 22+
 23+-Default: -1
 24++Default: \-1
 25+
 26+ .I Example: \-e 20000
 27+
 28+--- a/docs/oggResize.1
 29+@@ -11,7 +11,7 @@
 30+
 31+ Additionally, since version 0.8
 32+ .B oggResize
 33+-can add any ogg comment and png-pictures with an alpha channel can be rendered into the
 34++can add any ogg comment and png\(hypictures with an alpha channel can be rendered into the
 35+ video at any time period before and after the resizing process.
 36+
 37+ .SH OPTIONS
 38+@@ -21,7 +21,7 @@
 39+ .B <width>x<height>
 40+ The default size is 480x320.
 41+
 42+-.I Example: -s 320x240
 43++.I Example: \-s 320x240
 44+
 45+ .IP \-d
 46+
 47+@@ -29,7 +29,7 @@
 48+ to be a upper threshold. So the file may be smaller than assumed. If not set,
 49+ the datarate of the original stream is used.
 50+
 51+-.I Example: -d 1024000
 52++.I Example: \-d 1024000
 53+
 54+ .IP \-D
 55+
 56+@@ -44,14 +44,14 @@
 57+ pictures per second. If only one number is given, the denominator is set to
 58+ 1. If not set, the framerate of the original video is used.
 59+
 60+-.I Example: -f 25:2
 61++.I Example: \-f 25:2
 62+
 63+ .IP \-F
 64+
 65+ Sets the sample frequency (sample rate) of the audio data in Hertz. If the
 66+ sample frequency does not match the one with the original file, resamling is invoked.
 67+
 68+-.I Example: -F 32000
 69++.I Example: \-F 32000
 70+
 71+ .IP \-c
 72+
 73+@@ -60,7 +60,7 @@
 74+ concatenated with a semicolon. It is recommended to use apostrophes
 75+ as the command line may use the semicolon as a seperator.
 76+
 77+-.I Example: -c 'AUTHOR=yorn;DATE=03.07.09'
 78++.I Example: \-c 'AUTHOR=yorn;DATE=03.07.09'
 79+
 80+ .IP \-C
 81+
 82+@@ -69,26 +69,26 @@
 83+ concatenated with a semicolon. It is recommended to use apostrophes
 84+ as the command line may use the semicolon as a seperator.
 85+
 86+-.I Example: -C 'AUTHOR=yorn;DATE=03.07.09'
 87++.I Example: \-C 'AUTHOR=yorn;DATE=03.07.09'
 88+
 89+ .IP \-q
 90+
 91+ Specifies the quality for the resizing process. Values can be chosen between 1 (best
 92+ quality, with slight bluring) and 6 (worst quality). The default value is 2.
 93+
 94+-.I Example: -q1
 95++.I Example: \-q1
 96+
 97+ .IP \-p
 98+
 99+ This option is meant to help creating a preview of a film. The number
 100+ given with this option defines the number of frames, that are omitted. E.g.
 101+-if a film has 24 frames per second and -p24 is given, the newly created
 102++if a film has 24 frames per second and \-p24 is given, the newly created
 103+ video shows the video 24 times faster as only every 24th frame is used.
 104+-This option can be combined with the option -f to control the framerate.
 105+-With both options nice video previews can be created. If -p is used, the
 106++This option can be combined with the option \-f to control the framerate.
 107++With both options nice video previews can be created. If \-p is used, the
 108+ audio stream is ignored.
 109+
 110+-.I Example: -p 24
 111++.I Example: \-p 24
 112+
 113+ .IP \-a
 114+
 115+@@ -103,7 +103,7 @@
 116+
 117+ default
 118+ .B endTime
 119+-is -1, which is the end of the stream duration
 120++is \-1, which is the end of the stream duration
 121+
 122+ default
 123+ .B s
 124+@@ -116,17 +116,17 @@
 125+ If the appearance time overlap, the pictures are placed on one another,
 126+ so the last picture is the uppest layer.
 127+
 128+-.I Example: -a etwas.png,2,7,s:etwasneues.png,5,10
 129++.I Example: \-a etwas.png,2,7,s:etwasneues.png,5,10
 130+
 131+ .IP \-A
 132+
 133+ Adds a picture to the video frame after it is resized.
 134+
 135+-The syntax follows the same expression as with option -a.
 136++The syntax follows the same expression as with option \-a.
 137+
 138+ .SH EXAMPLE
 139+
 140+-.I oggResize -s320x240 -d512000 orig.ogv new.ogv
 141++.I oggResize \-s320x240 \-d512000 orig.ogv new.ogv
 142+
 143+ Converts a the video
 144+ .B orig.ogv
 145+@@ -136,14 +136,14 @@
 146+ there was an audio stream within the orig.ogv file, it is copied into the new
 147+ file.
 148+
 149+-.I oggResize -D64000 -F16000 -N1 orig.ogv new.ogv
 150++.I oggResize \-D64000 \-F16000 \-N1 orig.ogv new.ogv
 151+
 152+ Converts only the audio stream of file
 153+ .B orig.ogv
 154+ to a sample rate of 16kHz, a datarate of 64 kBit/s and a mono channel.
 155+ The video stream is copied as is.
 156+
 157+-.I oggResize -s300x200 -D32000 -d1024000 -A etwas.png,2,7,s:etwasneues.png,5,10 orig.ogv new.ogv
 158++.I oggResize \-s300x200 \-D32000 \-d1024000 \-A etwas.png,2,7,s:etwasneues.png,5,10 orig.ogv new.ogv
 159+
 160+ Converts the audio and video stream and adds the alpha channel picture
 161+ .B etwas.png
 162+--- a/docs/oggSilence.1
 163+@@ -5,7 +5,7 @@
 164+ .B oggSilence [options] outfile.ogg
 165+ .SH DESCRIPTION
 166+ .B oggSilence
 167+-creates a vorbis file with a silence duration which length is specified by the -l
 168++creates a vorbis file with a silence duration which length is specified by the \-l
 169+ option.
 170+ .SH OPTIONS
 171+ .IP \-l
 172+--- a/docs/oggSlideshow.1
 173+@@ -5,37 +5,37 @@
 174+ .B oggSlideshow [options] picture1 [ picture2 [...] ]
 175+ .SH DESCRIPTION
 176+ .B oggSlideshow
 177+-creates a theora video from a number of pictures in JPEG- or PNG-format with different visual effects.
 178++creates a theora video from a number of pictures in JPEG\(hy or PNG\(hyformat with different visual effects.
 179+ .SH OPTIONS
 180+-.IP -s
 181++.IP \-s
 182+
 183+ Sets the size of the video frame. The size is given as
 184+ .B <width>x<height>
 185+-. The default size is set to 480x320.
 186++The default size is set to 480x320.
 187+
 188+ .I Example: \-s 320x240
 189+
 190+-.IP -f
 191++.IP \-f
 192+ Sets the frame rate of the video. This is given by the pictures per second. The default frame rate is 24 pictures per second.
 193+
 194+-.I Example: -f 16
 195++.I Example: \-f 16
 196+
 197+-.IP -o
 198++.IP \-o
 199+ Sets the output file name of the created video. The default name is slideshow.ogv.
 200+
 201+-.I Example: -o myShow.ogv
 202++.I Example: \-o myShow.ogv
 203+
 204+-.IP -l
 205++.IP \-l
 206+ Sets the presentation time (length) of one picture. So if your have 10 pictures and specify a length of 10 seconds, then your overall video length is 1:40 (100 seconds).
 207+
 208+-.I Example: -l 10
 209++.I Example: \-l 10
 210+
 211+-.IP -d
 212++.IP \-d
 213+ Sets the datarate in byte per seconds for the video encoder. This more meant to be a upper threshold. So the file may be smaller than assumed.
 214+
 215+-.I Example: -d 1024000
 216++.I Example: \-d 1024000
 217+
 218+-.IP -t
 219++.IP \-t
 220+ Sets the presentation type, as shown above. Actually types are:
 221+
 222+ .B kb:
 223+@@ -50,14 +50,14 @@
 224+ .B bl:
 225+ Bluring at changeover
 226+
 227+-.I Example: -t p
 228++.I Example: \-t p
 229+
 230+-.IP -e
 231+-Enables the reframing. In case a picture does not match the aspect ratio of the video frame, it can be "reframed", which means black borders are inserted. This option is only usefull with the Ken Burns effect (option -t kb). The pictures are automaticaly "reframed" with the other two slideshow types to match the aspect ratio.
 232++.IP \-e
 233++Enables the reframing. In case a picture does not match the aspect ratio of the video frame, it can be "reframed", which means black borders are inserted. This option is only usefull with the Ken Burns effect (option \-t kb). The pictures are automaticaly "reframed" with the other two slideshow types to match the aspect ratio.
 234+
 235+-.I Example: -e
 236++.I Example: \-e
 237+
 238+-.IP -r
 239++.IP \-r
 240+ Enables the resampling to a certain value. This is really only for experts and may not be available with newer version of oggSlideshow.
 241+
 242+ To understand this option you need some more internal information: The picture is loaded by the gd lib. So the transformation from png or jpeg to a plain RGBA is done here. The second reason for using gd is the great resizing facilities as pictures are often much bigger than the video frame. OggSlideshow can handle pictures from 0.5 to 2 times of the video frame width and height best, as it uses a linear pixel interpolation. With the resizing feature of gd, oggSlideshow reads pictures with a size "near" to the video output size and can then operate with that picture. This produces a very good quality output, as you can see above.
 243+@@ -65,7 +65,7 @@
 244+ The value given with this option is the factor the picture is read in in respect of the video frame size. When the video frame size is 320x240 and the resample factor is 1.2 than the picture that is read is resized to 384x288. Specially for the ken burns effect this is important as the sliding is done on a picture bigger than the video frame size.
 245+ .SH EXAMPLE
 246+
 247+-.I oggSlideshow -l3 -tp -d1024000 -s480x320 -o demo-plain.ogv <picture1.jpg> <picture2.jpg> ...
 248++.I oggSlideshow \-l3 \-tp \-d1024000 \-s480x320 \-o demo\-plain.ogv <picture1.jpg> <picture2.jpg> ...
 249+
 250+ .SH AUTHOR
 251+ Joern Seger <yorn at gmx dot net>
Index: trunk/debs/oggvideotools/debian/copyright
@@ -0,0 +1,42 @@
 2+This package was debianized by Jan Gerber <j@v2v.cc> on
 3+Thu, 10 Aug 2009 18:55:02 +0200.
 4+
 5+The debian package is co-maintained by:
 6+ Jan Gerber <j@v2v.cc>
 7+ John Ferlito <johnf@inodes.org>
 8+
 9+It was downloaded from
 10+ https://oggvideotools.svn.sourceforge.net/svnroot/oggvideotools/trunk
 11+
 12+Upstream Author: Joern Seger (Yorn) yorn_at_gmx.net
 13+
 14+Copyright and license terms:
 15+
 16+ Copyright © 2008 Joern Seger
 17+
 18+ This program is free software; you can redistribute it and/or modify
 19+ it under the terms of the GNU General Public License as published by
 20+ the Free Software Foundation; either version 2 of the License, or
 21+ (at your option) any later version.
 22+
 23+ This program is distributed in the hope that it will be useful,
 24+ but WITHOUT ANY WARRANTY; without even the implied warranty of
 25+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 26+ GNU General Public License for more details.
 27+
 28+ You should have received a copy of the GNU General Public License
 29+ along with this program; if not, write to the Free Software
 30+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
 31+ MA 02110-1301, USA.
 32+
 33+On Debian systems, the full text of the GNU General Public License is available
 34+in /usr/share/common-licenses/GPL-2.
 35+
 36+Copyright and license terms for src/libresample/*:
 37+
 38+ Copyright Dominic Mazzoni
 39+
 40+ Licensed under LGPL Version 2.1
 41+
 42+On Debian systems, the full text of the GNU Lesser General Public License is available
 43+in /usr/share/common-licenses/LGPL-2.1.
Index: trunk/debs/oggvideotools/debian/docs
@@ -0,0 +1,2 @@
 2+README
 3+TODO
Index: trunk/debs/oggvideotools/debian/oggvideotools.install
@@ -0,0 +1 @@
 2+usr
Index: trunk/debs/oggvideotools/debian/rules
@@ -0,0 +1,18 @@
 2+#!/usr/bin/make -f
 3+
 4+%:
 5+ dh --with quilt $@
 6+
 7+override_dh_strip:
 8+ dh_strip --dbg-package=oggvideotools-dbg
 9+
 10+# Put config.sub rules in until http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=559098 is fixed
 11+override_dh_auto_configure:
 12+ ln -sf /usr/share/misc/config.sub admin
 13+ ln -sf /usr/share/misc/config.guess admin
 14+ dh_auto_configure
 15+
 16+override_dh_auto_clean:
 17+ dh_auto_clean
 18+ rm -f admin/config.sub admin/config.guess
 19+
Property changes on: trunk/debs/oggvideotools/debian/rules
___________________________________________________________________
Added: svn:executable
120 + *
Index: trunk/debs/oggvideotools/debian/README.source
@@ -0,0 +1,2 @@
 2+This package uses quilt for any modifications to the upstream source.
 3+Please refer to /usr/share/doc/quilt/README.source for more information.

Status & tagging log