debian/0000755000000000000000000000000012224527260007170 5ustar debian/changelog0000644000000000000000000000244312224524063011043 0ustar yorick-mpeg (0.1-3) unstable; urgency=low * Bug fix: "FTBFS: No rule to make target `check.i', needed by `check-dll'", thanks to Daniel Schepler (Closes: #725509). * Update uploader address. * Check against policy 3.9.4. * Canonicalize VCS fields. -- Thibaut Paumard Mon, 07 Oct 2013 14:13:16 +0200 yorick-mpeg (0.1-2) unstable; urgency=low * Move to maintenance to the debian-science team. Update debian/control to comply with their policy: + change Maintainer, put self in Uploaders; + DM-Upload-Allowed: yes; + fill-in Vcs-* fields; + Priority is extra. * Configure in a patch rather than running yorick -batch make.i at build time which may cause unpatch to fail because it's not a good idea to modify the same file (Makefile) both at patch-time and build-time. * Fix machine readable copyright format * Remove dh-make template header from rules * Suggest yorick-av * Simplfiy debian/rules with short dh notation * Fortify (don't rely on yorick to provide right flags) -- Thibaut Paumard Fri, 29 Jun 2012 09:22:31 +0200 yorick-mpeg (0.1-1) unstable; urgency=low * Initial Release. Closes: #443920 -- Thibaut Paumard Wed, 28 Mar 2012 20:20:27 +0200 debian/compat0000644000000000000000000000000212224513223010360 0ustar 9 debian/control0000644000000000000000000000166612224523721010602 0ustar Source: yorick-mpeg Section: science Priority: extra Maintainer: Debian Science Maintainers Uploaders: Thibaut Paumard Build-Depends: debhelper (>= 9), yorick-dev (>= 1.6.02) Standards-Version: 3.9.4.0 Vcs-Git: git://anonscm.debian.org/debian-science/packages/yorick-mpeg.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=debian-science/packages/yorick-mpeg.git Homepage: http://github.com/dhmunro/yorick-mpeg Package: yorick-mpeg Architecture: any Depends: yorick (>= 1.6.02), ${shlibs:Depends}, ${misc:Depends} Suggests: yorick-av Description: MPEG output support for the Yorick language This is a compiled add-on for yorick (an interpreted computer language specialized for numerical and scientific problems). Yorick-mpeg adds support for writing MPEG1 movies. You may be interested in the yorick-av package instead, which adds support for more movie file formats.debian/copyright0000644000000000000000000001374512224513223011127 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Contact: David H. Munro Source: http://www.maumae.net/yorick/packages/src/mpeg-0.1-src.tgz Files: * Copyright: 2005-2008 The Regents of the University of California License: BSD Produced at the Lawrence Livermore National Laboratory. Written by David H. Munro . UCRL-CODE-155996 All rights reserved. . Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . * Redistributions of source code must retain the above copyright notice, this list of conditions and the disclaimer below. . * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the disclaimer (as noted below) in the documentation and/or other materials provided with the distribution. . * Neither the name of the UC/LLNL nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OF THE UNIVERSITY OF CALIFORNIA, THE U.S. DEPARTMENT OF ENERGY OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. . Additional BSD Notice . 1. This notice is required to be provided under our contract with the U.S. Department of Energy (DOE). This work was produced at the University of California, Lawrence Livermore National Laboratory under Contract No. W-7405-ENG-48 with the DOE. . 2. Neither the United States Government nor the University of California nor any of their employees, makes any warranty, express or implied, or assumes any liability or responsibility for the accuracy, completeness, or usefulness of any information, apparatus, product, or process disclosed, or represents that its use would not infringe privately-owned rights. . 3. Also, reference herein to any specific commercial products, process, or services by trade name, trademark, manufacturer or otherwise does not necessarily constitute or imply its endorsement, recommendation, or favoring by the United States Government or the University of California. The views and opinions of authors expressed herein do not necessarily state or reflect those of the United States Government or the University of California, and shall not be used for advertising or product endorsement purposes. Files: libavcodec/* Copyright: (c) 2000-2003 Fabrice Bellard. (c) 2001-2004 Michael Niedermayer (c) 2003 Michel Bardiaux License: LGPL-2+ This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This library 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 Lesser General Public License for more details. . You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. . On Debian systems, the full text of the GNU Lesser General Public License version 2 can be found in the file `/usr/share/common-licenses/LGPL-2'. Files: libavcodec/jfdctint.c Copyright: (C) 1991-1996, Thomas G. Lane. License: JPEG The authors make NO WARRANTY or representation, either express or implied, with respect to this software, its quality, accuracy, merchantability, or fitness for a particular purpose. This software is provided "AS IS", and you, its user, assume the entire risk as to its quality and accuracy. . This software is copyright (C) 1991-1996, Thomas G. Lane. All Rights Reserved except as specified below. . Permission is hereby granted to use, copy, modify, and distribute this software (or portions thereof) for any purpose, without fee, subject to these conditions: (1) If any part of the source code for this software is distributed, then this README file must be included, with this copyright and no-warranty notice unaltered; and any additions, deletions, or changes to the original files must be clearly indicated in accompanying documentation. (2) If only executable code is distributed, then the accompanying documentation must state that "this software is based in part on the work of the Independent JPEG Group". (3) Permission for use of this software is granted only if the user accepts full responsibility for any undesirable consequences; the authors accept NO LIABILITY for damages of any kind. . These conditions apply to any software derived from or based on the IJG code, not just to the unmodified library. If you use our work, you ought to acknowledge us. . Permission is NOT granted for the use of any IJG author's name or company name in advertising or publicity relating to this software or products derived from it. This software may be referred to only as "the Independent JPEG Group's software". . We specifically permit and encourage the use of this software as the basis of commercial products, provided that all warranty or liability claims are assumed by the product vendor. debian/patches/0000755000000000000000000000000012224526774010630 5ustar debian/patches/fix-packaging0000644000000000000000000000122612224513223013245 0ustar Description: fix packaging Upstream should have run distclean before bundling the tgz (not doing so renders debian/rules clean more difficult) Author: Thibaut Paumard --- a/Makefile +++ b/Makefile @@ -1,9 +1,10 @@ # these values filled in by yorick -batch make.i -Y_MAKEDIR=/usr/lib/yorick/2.1 -Y_EXE=/usr/lib/yorick/2.1/bin/yorick +Y_MAKEDIR=/usr/lib/yorick +Y_EXE=/usr/lib/yorick/bin/yorick Y_EXE_PKGS= -Y_EXE_HOME=/usr/lib/yorick/2.1 -Y_EXE_SITE=/usr/share/yorick/2.1 +Y_EXE_HOME=/usr/lib/yorick +Y_EXE_SITE=/usr/lib/yorick +Y_HOME_PKG= # ----------------------------------------------------- optimization flags debian/patches/series0000644000000000000000000000007412224525440012033 0ustar int64_print_format img_convert_signature fix-packaging typo debian/patches/typo0000644000000000000000000000100612224513223011524 0ustar Subject: fix typo Author: Thibaut Paumard --- a/libavcodec/mpegvideo.c +++ b/libavcodec/mpegvideo.c @@ -523,7 +523,7 @@ } if(avctx->rc_min_rate && avctx->rc_max_rate != avctx->rc_min_rate){ - av_log(avctx, AV_LOG_INFO, "Warning min_rate > 0 but min_rate != max_rate isnt recommanded!\n"); + av_log(avctx, AV_LOG_INFO, "Warning min_rate > 0 but min_rate != max_rate isnt recommended!\n"); } if(avctx->rc_min_rate && avctx->rc_min_rate > avctx->bit_rate){ debian/patches/int64_print_format0000644000000000000000000000145412224526550014277 0ustar Description: Fix printf format for int64_t Author: Thibaut Paumard Origin: vendor Forwarded: no Last-Update: 2013-10-07 --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ --- a/libavcodec/mpegvideo.c +++ b/libavcodec/mpegvideo.c @@ -840,7 +840,7 @@ }else{ if(s->user_specified_pts){ pic->pts= s->user_specified_pts + AV_TIME_BASE*(int64_t)s->avctx->frame_rate_base / s->avctx->frame_rate; - av_log(s->avctx, AV_LOG_INFO, "Warning: AVFrame.pts=? trying to guess (%Ld)\n", pic->pts); + av_log(s->avctx, AV_LOG_INFO, "Warning: AVFrame.pts=? trying to guess (%" PRId64 ")\n", pic->pts); }else{ pic->pts= av_rescale(pic->display_picture_number*(int64_t)s->avctx->frame_rate_base, AV_TIME_BASE, s->avctx->frame_rate); } debian/patches/img_convert_signature0000644000000000000000000000131012224526774015143 0ustar Description: Fix signature for img_convert const missing in one of the argument. Fixes compiler warning. Author: Thibaut Paumard Origin: vendor Forwarded: no Last-Update: 2013-10-07 --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ --- a/ympeg.c +++ b/ympeg.c @@ -57,7 +57,8 @@ = YAVC_(avpicture_fill); static int (*yavc_get_size)(int pix_fmt, int width, int height) = YAVC_(avpicture_get_size); -static int (*yavc_convert)(AVPicture *dst, int dst_pix_fmt, AVPicture *src, +static int (*yavc_convert)(AVPicture *dst, int dst_pix_fmt, + const AVPicture *src, int pix_fmt, int width, int height) = YAVC_(img_convert); debian/rules0000755000000000000000000000061112224522463010246 0ustar #!/usr/bin/make -f %: dh $@ override_dh_auto_build: $(MAKE) COPT_DEFAULT="" \ Y_CFLAGS="$(CFLAGS) $(CPPFLAGS)" \ Y_LDFLAGS="$(LDFLAGS)" \ OPTFLAGS="$(CFLAGS) $(CPPFLAGS)" override_dh_auto_test: override_dh_auto_install-arch: dh_installyorick --infofile=debian/yompeg.info override_dh_auto_clean: $(MAKE) Y_MAKEDIR=/usr/lib/yorick Y_EXE=/usr/bin/yorick clean debian/source/0000755000000000000000000000000012224513223010462 5ustar debian/source/format0000644000000000000000000000001412224513223011670 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000010712224513223010211 0ustar version=3 http://www.maumae.net/yorick/packages/src/mpeg-(.*)-src\.tgz debian/yompeg.info0000644000000000000000000000126412224513223011342 0ustar Package: yompeg Kind: plugin Version: 0.1 Revision: 1 Description: Support for mpeg output License: BSD Author: David Munro Maintainer: Thibaut Paumard OS: Depends: yorick(>=1.6.02) Source: Source-MD5: Source-Directory: contrib/yorick-mpeg DocFiles: README Homepage: http://www.maumae.net/yorick/doc/plugins.php DescDetail: << This is a compiled add-on for yorick (an interpreted computer language specialized for numerical and scientific problems). Yorick-mpeg adds support for writing mpeg (mpeg1, a compressed video format). Yorick-mpeg includes a stripped-down copy of libavcodec http://ffmpeg.sourceforge.net/ << DescUsage: << - << DescPort: << <<