r761 - in /unstable/jpegtoavi: ./ debian/ debian/patches/

sho at users.alioth.debian.org sho at users.alioth.debian.org
Tue May 1 17:15:03 UTC 2007


Author: sho
Date: Tue May  1 17:15:00 2007
New Revision: 761

URL: http://svn.debian.org/wsvn/pkg-multimedia/?sc=1&rev=761
Log:
jpegtoavi (1.5-1) UNRELEASED; urgency=low

  * Initial upload.

  * debian/patches/000_honour_cflags.diff:
    + Honour CFLAGS in the build process.

  * debian/patches/200_endianness_issue.diff:
    + Fix a file corruption issue on big endian architectures.

  * debian/patches/201_64_bit_issue.diff:
    + Fix a file corruption issue on 64-bit architectures.

 -- Sam Hocevar (Debian packages) <sam+deb at zoy.org>  Tue, 01 May 2007 18:27:45 +0200

Added:
    unstable/jpegtoavi/
    unstable/jpegtoavi/debian/   (with props)
    unstable/jpegtoavi/debian/changelog
    unstable/jpegtoavi/debian/compat
    unstable/jpegtoavi/debian/control
    unstable/jpegtoavi/debian/copyright
    unstable/jpegtoavi/debian/dirs
    unstable/jpegtoavi/debian/links
    unstable/jpegtoavi/debian/patches/
    unstable/jpegtoavi/debian/patches/000_honour_cflags.diff
    unstable/jpegtoavi/debian/patches/200_endianness_issue.diff
    unstable/jpegtoavi/debian/patches/201_64_bit_issue.diff
    unstable/jpegtoavi/debian/patches/series
    unstable/jpegtoavi/debian/rules   (with props)

Propchange: unstable/jpegtoavi/debian/
------------------------------------------------------------------------------
    mergeWithUpstream = 1

Added: unstable/jpegtoavi/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-multimedia/unstable/jpegtoavi/debian/changelog?rev=761&op=file
==============================================================================
--- unstable/jpegtoavi/debian/changelog (added)
+++ unstable/jpegtoavi/debian/changelog Tue May  1 17:15:00 2007
@@ -1,0 +1,15 @@
+jpegtoavi (1.5-1) UNRELEASED; urgency=low
+
+  * Initial upload.
+
+  * debian/patches/000_honour_cflags.diff:
+    + Honour CFLAGS in the build process.
+
+  * debian/patches/200_endianness_issue.diff:
+    + Fix a file corruption issue on big endian architectures.
+
+  * debian/patches/201_64_bit_issue.diff:
+    + Fix a file corruption issue on 64-bit architectures.
+
+ -- Sam Hocevar (Debian packages) <sam+deb at zoy.org>  Tue, 01 May 2007 18:27:45 +0200
+

Added: unstable/jpegtoavi/debian/compat
URL: http://svn.debian.org/wsvn/pkg-multimedia/unstable/jpegtoavi/debian/compat?rev=761&op=file
==============================================================================
--- unstable/jpegtoavi/debian/compat (added)
+++ unstable/jpegtoavi/debian/compat Tue May  1 17:15:00 2007
@@ -1,0 +1,1 @@
+5

Added: unstable/jpegtoavi/debian/control
URL: http://svn.debian.org/wsvn/pkg-multimedia/unstable/jpegtoavi/debian/control?rev=761&op=file
==============================================================================
--- unstable/jpegtoavi/debian/control (added)
+++ unstable/jpegtoavi/debian/control Tue May  1 17:15:00 2007
@@ -1,0 +1,21 @@
+Source: jpegtoavi
+Section: graphics
+Priority: optional
+Maintainer: Debian multimedia packages maintainers <pkg-multimedia-maintainers at lists.alioth.debian.org>
+Uploaders: Sam Hocevar (Debian packages) <sam+deb at zoy.org>
+Build-Depends: debhelper (>= 5.0), quilt
+Standards-Version: 3.7.2
+XS-Vcs-Svn: svn://svn.debian.org/pkg-multimedia/unstable/jpegtoavi
+XS-Vcs-Browser: http://svn.debian.org/wsvn/pkg-multimedia/unstable/jpegtoavi/
+
+Package: jpegtoavi
+Section: graphics
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: convert JPEG image sequences to AVI videos
+ jpegtoavi (or jpeg2avi) is a simple commandline tool to convert a sequence
+ of JPEG files into an AVI video.
+ .
+ Video files created by jpegtoavi use the MJPEG codec. The image quality
+ is hence exactly the same as the original JPEG images, and so is the
+ disk usage.

Added: unstable/jpegtoavi/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-multimedia/unstable/jpegtoavi/debian/copyright?rev=761&op=file
==============================================================================
--- unstable/jpegtoavi/debian/copyright (added)
+++ unstable/jpegtoavi/debian/copyright Tue May  1 17:15:00 2007
@@ -1,0 +1,26 @@
+This package was debianized by Sam Hocevar <sam at zoy.org>
+on Tue,  1 May 2007 18:30:05 +0200
+
+It was downloaded from <http://sourceforge.net/projects/jpegtoavi/>
+
+Upstream Author: Phillip Bruce <dI77IHd at yahoo.com>
+
+  Copyright (C) 2003 Phillip Bruce <dI77IHd at yahoo.com>
+
+  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 2 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, write to the Free Software
+  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+
+On Debian systems, the complete text of the GNU General Public License
+can be found in /usr/share/common-licenses/GPL file.
+

Added: unstable/jpegtoavi/debian/dirs
URL: http://svn.debian.org/wsvn/pkg-multimedia/unstable/jpegtoavi/debian/dirs?rev=761&op=file
==============================================================================
--- unstable/jpegtoavi/debian/dirs (added)
+++ unstable/jpegtoavi/debian/dirs Tue May  1 17:15:00 2007
@@ -1,0 +1,2 @@
+/usr/bin
+/usr/share/man/man1

Added: unstable/jpegtoavi/debian/links
URL: http://svn.debian.org/wsvn/pkg-multimedia/unstable/jpegtoavi/debian/links?rev=761&op=file
==============================================================================
--- unstable/jpegtoavi/debian/links (added)
+++ unstable/jpegtoavi/debian/links Tue May  1 17:15:00 2007
@@ -1,0 +1,2 @@
+/usr/bin/jpegtoavi /usr/bin/jpeg2avi
+/usr/share/man/man1/jpegtoavi.1 /usr/share/man/man1/jpeg2avi.1

Added: unstable/jpegtoavi/debian/patches/000_honour_cflags.diff
URL: http://svn.debian.org/wsvn/pkg-multimedia/unstable/jpegtoavi/debian/patches/000_honour_cflags.diff?rev=761&op=file
==============================================================================
--- unstable/jpegtoavi/debian/patches/000_honour_cflags.diff (added)
+++ unstable/jpegtoavi/debian/patches/000_honour_cflags.diff Tue May  1 17:15:00 2007
@@ -1,0 +1,13 @@
+Index: jpegtoavi-1.5/Makefile
+===================================================================
+--- jpegtoavi-1.5.orig/Makefile	2007-05-01 19:11:20.000000000 +0200
++++ jpegtoavi-1.5/Makefile	2007-05-01 19:11:30.000000000 +0200
+@@ -13,7 +13,7 @@
+ CCFLAGS=$(INCLUDE) -O3 -Wall -ansi -g -DLINUX -D__UNIX__ \
+ 	-DVERSION_MIN=$(PACKAGE_VERSION_MIN) \
+ 	-DVERSION_MAJ=$(PACKAGE_VERSION_MAJ) \
+-	-DVERBOSE=$(VERBOSE)
++	-DVERBOSE=$(VERBOSE) $(CFLAGS)
+ STRIP=strip
+ 
+ distdir = $(PACKAGE)-$(PACKAGE_VERSION)

Added: unstable/jpegtoavi/debian/patches/200_endianness_issue.diff
URL: http://svn.debian.org/wsvn/pkg-multimedia/unstable/jpegtoavi/debian/patches/200_endianness_issue.diff?rev=761&op=file
==============================================================================
--- unstable/jpegtoavi/debian/patches/200_endianness_issue.diff (added)
+++ unstable/jpegtoavi/debian/patches/200_endianness_issue.diff Tue May  1 17:15:00 2007
@@ -1,0 +1,13 @@
+Index: jpegtoavi-1.5/jpegtoavi.c
+===================================================================
+--- jpegtoavi-1.5.orig/jpegtoavi.c	2007-05-01 19:06:35.000000000 +0200
++++ jpegtoavi-1.5/jpegtoavi.c	2007-05-01 19:06:53.000000000 +0200
+@@ -266,7 +266,7 @@
+       
+       /* chunk strf */
+       {'s', 't', 'r', 'f'},
+-      sizeof(struct AVI_strf),
++      LILEND4(sizeof(struct AVI_strf)),
+       {      
+ 	LILEND4(sizeof(struct AVI_strf)),
+ 	LILEND4(width),

Added: unstable/jpegtoavi/debian/patches/201_64_bit_issue.diff
URL: http://svn.debian.org/wsvn/pkg-multimedia/unstable/jpegtoavi/debian/patches/201_64_bit_issue.diff?rev=761&op=file
==============================================================================
--- unstable/jpegtoavi/debian/patches/201_64_bit_issue.diff (added)
+++ unstable/jpegtoavi/debian/patches/201_64_bit_issue.diff Tue May  1 17:15:00 2007
@@ -1,0 +1,99 @@
+Index: jpegtoavi-1.5/avifmt.h
+===================================================================
+--- jpegtoavi-1.5.orig/avifmt.h	2007-05-01 19:07:48.000000000 +0200
++++ jpegtoavi-1.5/avifmt.h	2007-05-01 19:08:34.000000000 +0200
+@@ -1,12 +1,13 @@
+ #ifndef _AVIFMT_H_
+ #define _AVIFMT_H_
+ 
++#include <stdint.h>
+ 
+ /* 4 bytes */
+-typedef int WORD;
+-typedef unsigned int DWORD;
++typedef int32_t WORD;
++typedef uint32_t DWORD;
+ /* 1 byte */
+-typedef char BYTE;
++typedef int8_t BYTE;
+ 
+ 
+ /* for use in AVI_avih.flags */
+@@ -37,8 +38,8 @@
+ 
+ struct AVI_strh
+ {
+-  unsigned char type[4];      /* stream type */
+-  unsigned char handler[4];
++  uint8_t type[4];      /* stream type */
++  uint8_t handler[4];
+   DWORD flags;
+   DWORD priority;
+   DWORD init_frames;       /* initial frames (???) */
+@@ -58,7 +59,7 @@
+   DWORD width;
+   DWORD height;
+   DWORD planes_bit_cnt;
+-  unsigned char compression[4];
++  uint8_t compression[4];
+   DWORD image_sz;
+   DWORD xpels_meter;
+   DWORD ypels_meter;
+@@ -77,9 +78,9 @@
+ 
+ struct AVI_list_hdr 
+ {
+-  unsigned char id[4];   /* "LIST" */
++  uint8_t id[4];   /* "LIST" */
+   DWORD sz;              /* size of owning struct minus 8 */
+-  unsigned char type[4]; /* type of list */
++  uint8_t type[4]; /* type of list */
+ };
+ 
+ 
+@@ -87,7 +88,7 @@
+ {
+   struct AVI_list_hdr list_hdr;
+ 
+-  unsigned char id[4];
++  uint8_t id[4];
+   DWORD sz;
+   DWORD frames;
+ };
+@@ -98,12 +99,12 @@
+   struct AVI_list_hdr list_hdr;
+   
+   /* chunk strh */
+-  unsigned char strh_id[4];
++  uint8_t strh_id[4];
+   DWORD strh_sz;
+   struct AVI_strh strh;
+ 
+   /* chunk strf */
+-  unsigned char strf_id[4];
++  uint8_t strf_id[4];
+   DWORD strf_sz;
+   struct AVI_strf strf;
+ 
+@@ -117,7 +118,7 @@
+   struct AVI_list_hdr list_hdr;
+ 
+   /* chunk avih */
+-  unsigned char avih_id[4];
++  uint8_t avih_id[4];
+   DWORD avih_sz;
+   struct AVI_avih avih;
+   
+Index: jpegtoavi-1.5/jpegtoavi.c
+===================================================================
+--- jpegtoavi-1.5.orig/jpegtoavi.c	2007-05-01 19:07:50.000000000 +0200
++++ jpegtoavi-1.5/jpegtoavi.c	2007-05-01 19:09:33.000000000 +0200
+@@ -170,7 +170,7 @@
+   spc: printing 4 byte word in little-endian fmt
+ */
+ 
+-void print_quartet(unsigned int i)
++void print_quartet(uint32_t i)
+ {
+   putchar(i % 0x100);  i /= 0x100;
+   putchar(i % 0x100);  i /= 0x100;

Added: unstable/jpegtoavi/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-multimedia/unstable/jpegtoavi/debian/patches/series?rev=761&op=file
==============================================================================
--- unstable/jpegtoavi/debian/patches/series (added)
+++ unstable/jpegtoavi/debian/patches/series Tue May  1 17:15:00 2007
@@ -1,0 +1,3 @@
+000_honour_cflags.diff
+200_endianness_issue.diff
+201_64_bit_issue.diff

Added: unstable/jpegtoavi/debian/rules
URL: http://svn.debian.org/wsvn/pkg-multimedia/unstable/jpegtoavi/debian/rules?rev=761&op=file
==============================================================================
--- unstable/jpegtoavi/debian/rules (added)
+++ unstable/jpegtoavi/debian/rules Tue May  1 17:15:00 2007
@@ -1,0 +1,56 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else
+	CFLAGS += -O2
+endif
+
+build: build-stamp
+build-stamp:
+	dh_testdir
+	QUILT_PATCHES=debian/patches quilt push -a || test $$? = 2
+	$(MAKE) CFLAGS="$(CFLAGS)"
+	touch $@
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp
+	-$(MAKE) clean
+	QUILT_PATCHES=debian/patches quilt pop -a -R || test $$? = 2
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+	dh_install jpegtoavi /usr/bin
+
+binary-indep: build install
+
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs CHANGELOG
+	dh_installdocs README
+	dh_installexamples
+	dh_installman jpegtoavi.1
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure

Propchange: unstable/jpegtoavi/debian/rules
------------------------------------------------------------------------------
    svn:executable = *




More information about the pkg-multimedia-commits mailing list