--- atomicparsley-0.9.0.orig/AtomicParsley.cpp +++ atomicparsley-0.9.0/AtomicParsley.cpp @@ -1447,7 +1447,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); @@ -4462,7 +4462,7 @@ #endif 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; + const char* suffix = NULL; if (forced_suffix == NULL) { suffix = strrchr(filePath, '.'); } else { @@ -4480,7 +4480,7 @@ memcpy(temp_path, filePath, base_len); memcpy(temp_path + base_len, file_kind, strlen(file_kind)); #else - char* file_name = strrchr(filePath, '/'); + const char* file_name = strrchr(filePath, '/'); size_t file_name_len = strlen(file_name); memcpy(temp_path, filePath, filepath_len-file_name_len+1); memcpy(temp_path + strlen(temp_path), ".", 1); @@ -5006,7 +5006,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(m4aFile); - char* suffix = strrchr(m4aFile, '.'); + const char* suffix = strrchr(m4aFile, '.'); memcpy(originating_file, m4aFile, filename_len+1 ); memcpy(originating_file + (filename_len - strlen(suffix) ), ".m4b", 5 ); } --- atomicparsley-0.9.0.orig/debian/changelog +++ atomicparsley-0.9.0/debian/changelog @@ -0,0 +1,19 @@ +atomicparsley (0.9.0-0ubuntu3) karmic; urgency=low + + * Fix FTBFS caused by "error: invalid conversion from 'const char*' to + 'char*'". + + -- Michael Bienia Fri, 11 Sep 2009 18:39:03 +0200 + +atomicparsley (0.9.0-0ubuntu2) hardy; urgency=low + + * Correct the previous upload with items that were somehow missing + in the diff (debian/control, and the manpage) (LP: #191342). + + -- Mario Limonciello Tue, 19 Feb 2008 19:43:20 -0600 + +atomicparsley (0.9.0-0ubuntu1) hardy; urgency=low + + * Initial Release. + + -- John Baab Mon, 4 Feb 2008 2:05:55 -0500 --- atomicparsley-0.9.0.orig/debian/copyright +++ atomicparsley-0.9.0/debian/copyright @@ -0,0 +1,30 @@ +This package was debianized by John Baab on +Mon, 4 February 2008 1:40:23 -0500 + +Author Copyright: + © 2008 + + Source code and more information is available from the project's + sourceforge page: http://sourceforge.net/projects/atomicparsley + +License: + + This Package 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 package 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 package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian & Ubuntu systems, a complete copy of the GPL can be found under +/usr/share/common-licenses/GPL + +The Debian packaging is © 2008, John Baab +and is licensed under the GPL. --- atomicparsley-0.9.0.orig/debian/rules +++ atomicparsley-0.9.0/debian/rules @@ -0,0 +1,6 @@ +#!/usr/bin/make -f +include /usr/share/cdbs/1/rules/debhelper.mk + +build/atomicparsley:: + $(CURDIR)/build + --- atomicparsley-0.9.0.orig/debian/install +++ atomicparsley-0.9.0/debian/install @@ -0,0 +1,2 @@ +AtomicParsley /usr/bin + --- atomicparsley-0.9.0.orig/debian/control +++ atomicparsley-0.9.0/debian/control @@ -0,0 +1,20 @@ +Source: atomicparsley +Section: misc +Priority: optional +Homepage: http://atomicparsley.sourceforge.net/ +Maintainer: Ubuntu Developers +Build-Depends: debhelper (>= 5.0.0), cdbs +Standards-Version: 3.7.3 + +Package: atomicparsley +Architecture: any +Depends: ${shlibs:Depends} +Description: program for reading, parsing and setting metadata into MPEG-4 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 --- atomicparsley-0.9.0.orig/debian/AtomicParsley.1 +++ atomicparsley-0.9.0/debian/AtomicParsley.1 @@ -0,0 +1,173 @@ +.TH "ATOMICPARSLEY" "1" "9 February 2008" "" "" +.SH "NAME" +AtomicParsley \- command line MPEG\-4 files tool +.SH "SYNOPSIS" +.B AtomicParsley [ +.I mp4FILE +.B ]... [ +.I OPTION +.B ]... [ +.I ARGUMENT +.B ]... [ [ +.I OPTION2 +.B ]...[ +.I ARGUMENT2 +.B ]...] +.SH "DESCRIPTION" +AtomicParsley is a lightweight command line program for reading, parsing and setting metadata into MPEG\-4 files supporting these styles of metadata: +.TP + * iTunes\-style metadata into .mp4, .m4a, .m4p, .m4v, .m4b files +.TP + * 3gp\-style assets (3GPP TS 26.444 version 6.4.0 Release 6 specification conforming) in 3GPP, 3GPP2, MobileMP4 & derivatives +.TP + * ISO copyright notices at movie & track level for MPEG\-4 & derivative files +.TP + * uuid private user extension text & file embedding for MPEG\-4 & derivative files +.SH "EXAMPLES" +.PP +AtomicParsley /path/to.mp4 \fB\-T\fR 1 +.PP +AtomicParsley /path/to.mp4 \fB\-t\fR + +.PP +AtomicParsley /path/to.mp4 \fB\-\-artist\fR "Me" \fB\-\-artwork\fR /path/to/art.jpg +.PP +AtomicParsley /path/to.mp4 \fB\-\-albumArtist\fR "You" \fB\-\-podcastFlag\fR true +.PP +AtomicParsley /path/to.mp4 \fB\-\-stik\fR "TV Show" \fB\-\-advisory\fR explicit +.SH "OPTIONS" +.SS "Getting information about the file & tags:" +.TP +\fB\-T\fR \fB\-\-test\fR +Test file for mpeg4\-ishness & print atom tree +.TP +\fB\-t\fR \fB\-\-textdata\fR +Prints tags embedded within the file +.TP +\fB\-E\fR \fB\-\-extractPix\fR +Extracts pix to the same folder as the mpeg\-4 file +.PP +.SS "Setting iTunes\-style metadata tags" +.TP +\fB\-\-artist\fR +(string) Set the artist tag +.TP +\fB\-\-title\fR +(string) Set the title tag +.TP +\fB\-\-album\fR +(string) Set the album tag +.TP +\fB\-\-genre\fR +(string) Genre tag (see \fB\-\-longhelp\fR for more info) +.TP +\fB\-\-tracknum\fR +(num)[/tot] Track number (or track number/total tracks) +.TP +\fB\-\-disk\fR +(num)[/tot] Disk number (or disk number/total disks) +.TP +\fB\-\-comment\fR +(string) Set the comment tag +.TP +\fB\-\-year\fR +(num|UTC) Year tag (see \fB\-\-longhelp\fR for "Release Date") +.TP +\fB\-\-lyrics\fR +(string) Set lyrics (not subject to 256 byte limit) +.TP +\fB\-\-composer\fR +(string) Set the composer tag +.TP +\fB\-\-copyright\fR +(string) Set the copyright tag +.TP +\fB\-\-grouping\fR +(string) Set the grouping tag +.TP +\fB\-\-artwork\fR +(/path) Set a piece of artwork (jpeg or png only) +.TP +\fB\-\-bpm\fR +(number) Set the tempo/bpm +.TP +\fB\-\-albumArtist\fR +(string) Set the album artist tag +.TP +\fB\-\-compilation\fR +(boolean) Set the compilation flag (true or false) +.TP +\fB\-\-advisory\fR +(string*) Content advisory (*values: 'clean', 'explicit') +.TP +\fB\-\-stik\fR +(string*) Sets the iTunes "stik" atom (see \fB\-\-longhelp\fR) +.TP +\fB\-\-description\fR +(string) Set the description tag +.TP +\fB\-\-TVNetwork\fR +(string) Set the TV Network name +.TP +\fB\-\-TVShowName\fR +(string) Set the TV Show name +.TP +\fB\-\-TVEpisode\fR +(string) Set the TV episode/production code +.TP +\fB\-\-TVSeasonNum\fR +(number) Set the TV Season number +.TP +\fB\-\-TVEpisodeNum\fR (number) +Set the TV Episode number +.TP +\fB\-\-podcastFlag\fR +(boolean) Set the podcast flag (true or false) +.TP +\fB\-\-category\fR +(string) Sets the podcast category +.TP +\fB\-\-keyword\fR +(string) Sets the podcast keyword +.TP +\fB\-\-podcastURL\fR +(URL) Set the podcast feed URL +.TP +\fB\-\-podcastGUID\fR +(URL) Set the episod'e URL tag +.TP +\fB\-\-purchaseDate\fR (UTC) +Set time of purchase +.TP +\fB\-\-encodingTool\fR (string) +Set the name of the encoder +.TP +\fB\-\-gapless\fR +(boolean) Set the gapless playback flag +.PP +.SS "Deleting tags" +.TP +Set the value to "": +\fB\-\-artist\fR "" \fB\-\-stik\fR "" \fB\-\-bpm\fR "" +.TP +To delete (all) artwork: +\fB\-\-artwork\fR REMOVE_ALL +.TP +manually removal: +\fB\-\-manualAtomRemove\fR "moov.udta.meta.ilst.ATOM" +.PP +.SS "More help" +.TP +More detailed iTunes help is available with AtomicParsley +\fB\-\-longhelp\fR +.TP +Setting 3gp assets into 3GPP & derivative files: +see \fB\-\-3gp\-help\fR +.TP +Setting copyright notices for all files: +see \fB\-\-ISO\-help\fR +.TP +For file\-level options & padding info: +see \fB\-\-file\-help\fR +.TP +Setting custom private tag extensions: +see \fB\-\-uuid\-help\fR --- atomicparsley-0.9.0.orig/debian/docs +++ atomicparsley-0.9.0/debian/docs @@ -0,0 +1 @@ +*.rtf --- atomicparsley-0.9.0.orig/debian/manpages +++ atomicparsley-0.9.0/debian/manpages @@ -0,0 +1 @@ +debian/AtomicParsley.1