debian/0000755000000000000000000000000011352525461007172 5ustar debian/README.source0000644000000000000000000000361311226424451011351 0ustar Building this package for Debian -------------------------------- This source package need no special handling for normal package builds. Developing this package for Debian ---------------------------------- The source of this package is developed using git and the helper tool git-buildpackage, with all official releases tagged and signed and binary diffs of tarballs stored using pristine-tar. This is documented below /usr/share/doc/git-buildpackage/manual-html/ . A custom build target shows current upstream and packaging versions: debian/rules print-version Current upstream tarball can be prepared using this other build target: debian/rules get-orig-source To switch to newer upstream source, first add a dummy changelog entry and comment out DEB_UPSTREAM_TARBALL_MD5 before getting the source: dch -v ${new_upstream_version}-1 "Dummy changelog entry" sed -i -e 's/^\(DEB_UPSTREAM_TARBALL_MD5\b\)/#\1/' debian/rules debian/rules get-orig-source Store new md5sum to help ensure identical source is received later. Setting DEB_MAINTAINER_MODE=1 enables additional build routines helpful during development of the package, but unfit for normal builds. This typically includes the CDBS feature of auto-updating debian/control with CDBS-related build-dependencies, which is forbidden by Debian Policy as build environment must not change during automated builds. Maintaining packaging build routines ------------------------------------ This source package wraps debhelper commands and other tedious parts of the build routines using the CDBS framework. Please refer to the actual makefile snippets included from debian/rules for details on their purpose and ways to override defaults. Additionally, makefile snippets included from below /usr/share/cdbs may also be documented in /usr/share/doc/cdbs/cdbs-doc.pdf.gz . -- Jonas Smedegaard Thu, 26 Feb 2009 21:28:29 +0100 debian/gbp.conf0000644000000000000000000000014611226424451010607 0ustar # Configuration file for git-buildpackage and friends [DEFAULT] pristine-tar = True sign-tags = True debian/install0000644000000000000000000000002711226410761010556 0ustar AtomicParsley /usr/bin debian/compat0000644000000000000000000000000211206363512010363 0ustar 6 debian/watch0000644000000000000000000000027611226414153010223 0ustar # Run the "uscan" command to check for upstream updates and more. version=3 # use qa.debian.org redirector; see man uscan http://sf.net/atomicparsley/AtomicParsley-source-(\d.*)\.zip debian debian/source/0000755000000000000000000000000011276536300010471 5ustar debian/source/format0000644000000000000000000000001411352525747011707 0ustar 3.0 (quilt) debian/copyright0000644000000000000000000000750511333774675011150 0ustar Format: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=54 Name: AtomicParsley Contact: puck_lock@users.sourceforge.net http://sourceforge.net/forum/forum.php?forum_id=514419 Source: http://atomicparsley.sourceforge.net/ Copyright: 2005-2007, puck_lock@users.sourceforge.net License: GPL-2+ Files: src/extras/* Copyright: 1987-1998, Free Software Foundation, Inc. License: GPL-2+ Files: src/APar_sha1.* Copyright: 2000-2001, 2003-2005, Free Software Foundation, Inc License: GPL-2+ Files: debian/* Copyright: 2004-2009, Jonas Smedegaard License: GPL-2+ Files: src/AP_iconv.cpp Copyright: 1998-2003, Daniel Veillard 2005-2007, puck_lock@users.sourceforge.net License: GPL-2+ and other Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is fur- nished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT- NESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE DANIEL VEILLARD BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CON- NECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. . Except as contained in this notice, the name of Daniel Veillard shall not be used in advertising or otherwise to promote the sale, use or other deal- ings in this Software without prior written authorization from him. Files: src/APar_uuid.cpp Copyright: 1989, Digital Equipment Corporation, Maynard, Mass. 1989, Hewlett-Packard Company, Palo Alto, Ca. 1998, Microsoft 1990-1993, 1996, Open Software Foundation, Inc 2006-2007, puck_lock@users.sourceforge.net License: GPL-2+ and other Much of AP_Create_UUID_ver5_sha1_name was derived from http://www.ietf.org/rfc/rfc4122.txt which I don't believe conflicts with or restricts the GPL. And this page: http://home.famkruithof.net/guid-uuid-namebased.html tells me I'm not on crack when I try to calculate the uuids myself. . Copyright (c) 1990- 1993, 1996 Open Software Foundation, Inc. Copyright (c) 1989 by Hewlett-Packard Company, Palo Alto, Ca. & Digital Equipment Corporation, Maynard, Mass. Copyright (c) 1998 Microsoft. To anyone who acknowledges that this file is provided "AS IS" without any express or implied warranty: permission to use, copy, modify, and distribute this file for any purpose is hereby granted without fee, provided that the above copyright notices and this notice appears in all source code copies, and that none of the names of Open Software Foundation, Inc., Hewlett-Packard Company, Microsoft, or Digital Equipment Corporation be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. Neither Open Software Foundation, Inc., Hewlett-Packard Company, Microsoft, nor Digital Equipment Corporation makes any representations about the suitability of this software for any purpose. License: GPL-2+ 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, or (at your option) any later version. . On Debian GNU/Linux systems, the complete text of the GNU GPL (General Public License) version 2 can be found at /usr/share/common-licenses/GPL-2. debian/rules0000755000000000000000000000335511352374137010262 0ustar #!/usr/bin/make -f # -*- mode: makefile; coding: utf-8 -*- # Copyright © 2009-2010 Jonas Smedegaard # Description: Main Debian packaging script for AtomicParsley # # 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, 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., 59 Temple Place, Suite 330, Boston, MA # 02111-1307 USA. DEB_AUTO_UPDATE_AUTOCONF = 2.63 #DEB_AUTO_UPDATE_AUTOHEADER = 2.63 -include /usr/share/cdbs/1/rules/upstream-tarball.mk include /usr/share/cdbs/1/rules/utils.mk include /usr/share/cdbs/1/class/autotools.mk include /usr/share/cdbs/1/rules/debhelper.mk # suppress optional build-dependencies CDBS_BUILD_DEPENDS_rules_upstream-tarball = CDBS_BUILD_DEPENDS_rules_utils_copyright-check = CDBS_BUILD_DEPENDS_rules_utils_buildinfo = DEB_UPSTREAM_PACKAGE = AtomicParsley-source DEB_UPSTREAM_URL = http://downloads.sourceforge.net/sourceforge/atomicparsley DEB_UPSTREAM_TARBALL_MD5 = 6782d4231d6dcd73eb7834d5f8a09b25 DEB_COPYRIGHT_CHECK_IGNORE_REGEX = ^configure|debian/(changelog|copyright(|_hints|_newhints))$ DEB_MAKE_CLEAN_TARGET = maint-clean # Cleanup automade files clean:: rm -f configure rm -f src/config.h # rm -f src/config.h.in # Needed by upstream build process CDBS_BUILD_DEPENDS += , libz-dev debian/AtomicParsley0000755000000000000000000000166111226446047011702 0ustar #!/bin/sh # AtomicParsley wrapper for use with help2man basename="$(basename "$0")" basedir="$(dirname "$0")" case "$1" in --help) "$basedir/../$basename" --longhelp | sed -e 's/^[-]*$/\n/' -e 's/Usage: /\nUsage:\n/' ;; --version) grep '^#define AP_VER' "$basedir/../src/config.h" | awk -F\" '{print $2}' ;; --description) echo "read, parse and set metadata of MPEG-4 and 3gp files" ;; --test) help2man "./$basename" \ | perl -0 -p \ -e 's/^\.PP\noptions:\n\.PP$/.SH OPTIONS/m; # fix marking options as a headline' \ -e 's/^(\\fB\\-\\-.*?)=\\fR([^ ]*)/$1\\fR=\\fI$2\\fR/mg; # fix option value hilite' \ -e 's/^(\w)$/.B $1/mg; # fix mode flags hilite' \ -e 's/^(\.TP\n\.B.*\n[^\.].*\n)\.IP(\n\(.*)\n\.PP$/$1.RS$2/mg; # keep option lines together' # -e 's/^\\fB\\-\\-(.*?)\\fR([^ ]*) +/.TP\n.B \\--$1$2\n/mg; # improve option listing' \ ;; *) echo 1>&2 "ERROR: unknown argument \"$1\"" exit 1 ;; esac debian/control.in0000644000000000000000000000176511333775651011222 0ustar Source: atomicparsley Section: video Priority: optional Homepage: http://atomicparsley.sourceforge.net/ Maintainer: Jonas Smedegaard Build-Depends: @cdbs@ Vcs-Git: git://git.debian.org/git/collab-maint/atomicparsley.git Vcs-Browser: http://git.debian.org/?p=collab-maint/atomicparsley.git;a=summary Standards-Version: 3.8.4 Package: atomicparsley Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: read, parse and set metadata of MPEG-4 and 3gp files AtomicParsley is a lightweight command line program for reading, parsing and setting metadata into MPEG-4 files supporting these styles of metadata: . - iTunes-style metadata into .mp4, .m4a, .m4p, .m4v, .m4b files - 3gp-style assets (3GPP TS 26.444 version 6.4.0 Release 6 specification conforming) in 3GPP, 3GPP2, MobileMP4 & derivatives - ISO copyright notices at movie & track level for MPEG-4 & derivative files - uuid private user extension text & file embedding for MPEG-4 & derivative files debian/copyright_hints0000644000000000000000000001313211352373426012334 0ustar Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?rev=135 X-Draft: Autogenerated by CDBS snippet copyright-check.mk Files: ./aclocal.m4, ./src/AP_AtomDefinitions.h, ./src/AP_AtomExtracts.h, ./src/AP_CDTOC.cpp, ./src/AP_CDTOC.h, ./src/AP_ID3v2_Definitions.h, ./src/AP_ID3v2_tags.h, ./src/AP_MetadataListings.h, ./src/AP_NSFile_utils.h, ./src/AP_NSFile_utils.mm, ./src/AP_NSImage.h, ./src/AP_NSImage.mm, ./src/AP_arrays.cpp, ./src/AP_arrays.h, ./src/AP_commons.h, ./src/APar_uuid.h, ./src/APar_zlib.cpp, ./src/APar_zlib.h Copyright: 2005-2007, puck_lock 2006, puck_lock 2006-2007, puck_lock License: UNKNOWN FIXME Files: ./README.txt, ./configure.ac, ./debian/AtomicParsley, ./debian/README.source, ./debian/compat, ./debian/gbp.conf, ./debian/install, ./debian/patches/1001_fix_const_chars.patch, ./debian/patches/README, ./debian/patches/series, ./debian/source/format, ./debian/watch, ./src/config.h.in, ./win32/AtomicParsley.dsp, ./win32/MSVC_compiling.txt Copyright: *No copyright* License: UNKNOWN FIXME Files: ./src/APar_sha1.cpp, ./src/APar_sha1.h, ./src/extras/getopt.h Copyright: 1989,90,91,92,93,94,96,97 Free Software Foundation, Inc 2000-2001, 2003, 2005, Free Software Foundation, Inc 2000-2001, 2003-2005, Free Software Foundation, Inc License: GPL FIXME Files: ./src/extras/getopt.c, ./src/extras/getopt1.c Copyright: 1987, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98 1987,88,89,90,91,92,93,94,96,97,98 License: GPL FIXME Files: ./src/AP_iconv.cpp, ./src/AP_iconv.h Copyright: 1998-2003, Daniel Veillard. 2005-2007, puck_lock License: MIT/X11 (BSD like) FIXME Files: ./Makefile.in, ./src/Makefile.in Copyright: 1994-1995-8, 1999, Free Software Foundation, Inc License: UNKNOWN FIXME Files: ./debian/control, ./debian/control.in Copyright: notices at movie & track level for MPEG-4 & derivative License: UNKNOWN FIXME Files: ./debian/rules Copyright: 2009-2010, Jonas Smedegaard License: GPL FIXME Files: ./src/AP_commons.cpp Copyright: 1992, 93, 96, 97, 98, 99, 2004, Free Software Foundation, Inc 2005' (with a NULL at the end) show up as ' 2005' in 'pol', but ' 2005, ?' in 'fas' Farsi? Must be Apple's implementation, because the files are identical except for the uint16_t lang setting 2006-2007, puck_lock License: UNKNOWN FIXME Files: ./src/main.cpp Copyright: (str) [movie|track|track=# //ISO atom common to all files that are derivatives of the base media file format, identical to... License: UNKNOWN FIXME Files: ./COPYING Copyright: 1989, 1991 Free Software Foundation, Inc HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR HOLDERS AND/OR OTHER PARTIES holder saying it may be distributed holder who places the Program under this License law: the software, and License: UNKNOWN FIXME Files: ./src/APar_uuid.cpp Copyright: 1989, Hewlett-Packard Company, Palo Alto, Ca. & 1990- 1993, 1996 Open Software Foundation, Inc 1998, Microsoft 2006-2007, puck_lock notices and License: UNKNOWN FIXME Files: ./src/AtomicParsley.h Copyright: 2005-2007, puck_lock at movie or track level; implemented v5 sha1 namepsace/name uuids; fixed crash on finding any atom with full uuids (like psp files); more extensive type/profiles/levels in track level details; add support for embedding files on uuid atoms; switch to reading artwork directly into memory (as opposed to copying from a->b) when setting artwork; modified ExtractPixPrefs for leaks - defaults now to deleting temp pic files; skip sprintf for uuid binary strings ('qlts' is why) & switch to (less flexible) memcpy; accommodate iTunes 7.0 adding aprox. 2k of NULL bytes outside of any atom structure; add 'pgap' atom; defaults to duplicating the gapless padding at the end of file now (but can be optionally skipped); fixed clipping when setting unicode characters notices into the new APar_UserData_atom_Init; initial support for setting iTunes reverseDNS atoms; fix validation test for 'trak' child atoms for atypical order; add mjpeg2000 (mjp2) major brand support (for notices & uuid atoms); restyled listings of all text metadata tags (-t 1); fix multiple BOM prints on printouts; limit offset adjustments to local (non-external) data; added support for adjusting item location offsets; switch to a makefile/configure/config.h build system; start of ID3v2 2.4 implementation to go into ID32 atoms; limit chunk offset updates to local data; extend atom creation to file level (FL meta gets created after 'moov'); much of ID3v2 2.4 is completed: multiple text fields, counters, APIC/GEOB setting/extracting, group symbols & zlib compression; add 3gp7 brands; allow ID32 based on compatible ftyp branding; refactoring & splitting of metadata listings; allow multiple entries in reverseDNS atoms (excepting iTunes domain); initial (unfinished) revisit of file reorganizing/padding; update mvhd/tkhd modification timestamps License: UNKNOWN FIXME Files: ./src/AP_MetadataListings.cpp Copyright: 2006-2007, puck_lock in 'ART' to a 2byte utf8 glyph in 'ART' to a 2byte utf8 glyph; replaces libiconv conversion License: UNKNOWN FIXME Files: ./src/AP_ID3v2_FrameDefinitions.h Copyright: 2006-2007, puck_lock message", "", ID3v2_FRAME_, ID3_TEXT_FRAME } License: UNKNOWN FIXME Files: ./src/AP_AtomExtracts.cpp Copyright: 2006-2007, puck_lock notices @ movie and/or track level allowed.\n uuid private user extension tags allowed.\n"); License: UNKNOWN FIXME Files: ./src/AtomicParsley.cpp Copyright: 2005-2007, puck_lock symbol which unicode.org's ConvertUTF16toUTF8 didn't License: UNKNOWN FIXME Files: ./src/AP_ID3v2_tags.cpp Copyright: 2006-2007, puck_lock || frameID == ID3v2_FRAME_PRODNOTICE) { License: UNKNOWN FIXME debian/patches/0000755000000000000000000000000011352373363010623 5ustar debian/patches/series0000644000000000000000000000003311334003413012016 0ustar 1001_fix_const_chars.patch debian/patches/README0000644000000000000000000000021111266132315011467 0ustar 0xxx: Grabbed from upstream development. 1xxx: Possibly relevant for upstream adoption. 2xxx: Only relevant for official Debian release. debian/patches/1001_fix_const_chars.patch0000644000000000000000000000314511352373363015464 0ustar Description: Fix accidental const char to char conversion Author: Jonas Smedegaard Last-Update: 2010-02-08 --- a/src/AP_MetadataListings.cpp +++ b/src/AP_MetadataListings.cpp @@ -189,7 +189,7 @@ uint32_t atom_offsets = 0; char* uuid_outfile = (char*)calloc(1, sizeof(char)*MAXPATHLEN+1); //malloc a new string because it may be a cli arg for a specific output path if (output_path == NULL) { - char* orig_suffix = strrchr(originating_file, '.'); + const char* orig_suffix = strrchr(originating_file, '.'); if (orig_suffix == NULL) { fprintf(stdout, "AP warning: a file extension for the input file was not found.\n\tGlobbing onto original filename...\n"); path_len = strlen(originating_file); --- a/src/AtomicParsley.cpp +++ b/src/AtomicParsley.cpp @@ -4218,8 +4218,8 @@ } void APar_DeriveNewPath(const char *filePath, char* temp_path, int output_type, const char* file_kind, char* forced_suffix, bool random_filename = true) { - char* suffix = NULL; - char* file_name = NULL; + const char* suffix = NULL; + const char* file_name = NULL; size_t file_name_len = 0; bool relative_path = false; @@ -4843,7 +4843,7 @@ free_modified_name = true; if (forced_suffix_type == FORCE_M4B_TYPE) { //using --stik Audiobook with --overWrite will change the original file's extension uint16_t filename_len = strlen(ISObasemediafile); - char* suffix = strrchr(ISObasemediafile, '.'); + const char* suffix = strrchr(ISObasemediafile, '.'); memcpy(originating_file, ISObasemediafile, filename_len+1 ); memcpy(originating_file + (filename_len - strlen(suffix) ), ".m4b", 5 ); } debian/control0000644000000000000000000000203111352374143010570 0ustar Source: atomicparsley Section: video Priority: optional Homepage: http://atomicparsley.sourceforge.net/ Maintainer: Jonas Smedegaard Build-Depends: cdbs, autoconf, debhelper (>= 6), libz-dev Vcs-Git: git://git.debian.org/git/collab-maint/atomicparsley.git Vcs-Browser: http://git.debian.org/?p=collab-maint/atomicparsley.git;a=summary Standards-Version: 3.8.4 Package: atomicparsley Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: read, parse and set metadata of MPEG-4 and 3gp files AtomicParsley is a lightweight command line program for reading, parsing and setting metadata into MPEG-4 files supporting these styles of metadata: . - iTunes-style metadata into .mp4, .m4a, .m4p, .m4v, .m4b files - 3gp-style assets (3GPP TS 26.444 version 6.4.0 Release 6 specification conforming) in 3GPP, 3GPP2, MobileMP4 & derivatives - ISO copyright notices at movie & track level for MPEG-4 & derivative files - uuid private user extension text & file embedding for MPEG-4 & derivative files debian/changelog0000644000000000000000000000316211352525461011046 0ustar atomicparsley (0.9.2~svn110-4) unstable; urgency=low * Drop all local CDBS snippets: included with main cdbs package now. * Refresh patch. * Drop build-dependencies on devscripts and dh-buildinfo. -- Jonas Smedegaard Thu, 25 Mar 2010 01:15:42 +0100 atomicparsley (0.9.2~svn110-3) unstable; urgency=low * Update local cdbs snippets: + Update package-relations.mk: Cleanup and tighten dependencies. Improve whitespace cleanup. Rewrite and silence applying dependencies. + Let copyright-check.mk investigate top 99999 lines (not just 60 as default for licensecheck), and make it configurable with DEB_COPYRIGHT_CHECK_PARSELINES. Silence (GENERATED FILE) licensing notices. Group by owners (ignoring years) and sort owner list by years. + Update upstream-tarball.mk to preserve bzip2 tarballs with source format 3.0 (quilt). * Add patch 1001 to fix const chars. Closes: bug##560480, thanks to Lucas Nussbaum. * Use source format '3.0 "quilt"'. * Minor fix and cosmetics: Extend copyright year, and reorder a set of owners, in debian/copyright. * Cleanup double cdbs build-dependency. * Bump Standards-Version to 3.8.4. -- Jonas Smedegaard Mon, 08 Feb 2010 13:44:47 +0100 atomicparsley (0.9.2~svn110-2) unstable; urgency=low * Add Vcs-* stanzas (collab-maint Git at Alioth). * , thanks to lintian. -- Jonas Smedegaard Sat, 18 Jul 2009 01:06:18 +0200 atomicparsley (0.9.2~svn110-1) unstable; urgency=low * Initial release. Closes: bug#536709. -- Jonas Smedegaard Sat, 18 Jul 2009 00:53:28 +0200