diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2009-02-09 21:06:28 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2009-02-09 21:06:28 +0200 |
commit | 06af0596299d003ccb7651f45a99f8b8a28a6412 (patch) | |
tree | 762feffb391cc56b4597fbf630436ce93cfd673a /libid3tag | |
parent | db6d052e78c36ddb74c5ff67d1edc0fd466552f5 (diff) | |
download | idest-06af0596299d003ccb7651f45a99f8b8a28a6412.tar.gz idest-06af0596299d003ccb7651f45a99f8b8a28a6412.tar.bz2 |
Use included copy of libid3tag.
* Makefile.am (SUBDIRS): Add libid3tag.
* README-hacking: Mention gperf
* bootstrap: Replace series of invocation of autotools with a single
invocation of autoreconf.
* bootstrap.conf: Make sure libid3tag/m4 exists.
* configure.ac: Don't check for external libid3tag. Use included copy.
* src/Makefile.am: Link with ../libid3tag/libid3tag.a.
* src/id3v2.c (set_id3v2): Attach new frame to the tag.
Remove call to backup.
* src/main.c (backup_type): Change default value back to no_backups.
(set_id3, del_id3): Call backup.
* src/libid3tag: Trimmed-down copy of libid3tag 0.15.1b.
Diffstat (limited to 'libid3tag')
50 files changed, 8152 insertions, 0 deletions
diff --git a/libid3tag/.gitignore b/libid3tag/.gitignore new file mode 100644 index 0000000..b1f247f --- /dev/null +++ b/libid3tag/.gitignore | |||
@@ -0,0 +1,9 @@ | |||
1 | compat.c | ||
2 | config.guess | ||
3 | config.sub | ||
4 | depcomp | ||
5 | frametype.c | ||
6 | genre.dat | ||
7 | install-sh | ||
8 | libid3tag.list | ||
9 | missing | ||
diff --git a/libid3tag/CHANGES b/libid3tag/CHANGES new file mode 100644 index 0000000..f2bfaff --- /dev/null +++ b/libid3tag/CHANGES | |||
@@ -0,0 +1,83 @@ | |||
1 | |||
2 | libid3tag - ID3 tag manipulation library | ||
3 | Copyright (C) 2000-2004 Underbit Technologies, Inc. | ||
4 | |||
5 | $Id: CHANGES,v 1.11 2004/02/17 02:04:10 rob Exp $ | ||
6 | |||
7 | =============================================================================== | ||
8 | |||
9 | Version 0.15.1 (beta) | ||
10 | |||
11 | * Updated to autoconf 2.59, automake 1.8.2, libtool 1.5.2. | ||
12 | |||
13 | * Fixed a potential problem in file.c when writing empty ID3v2 tags. | ||
14 | |||
15 | * Added new id3_field_gettextencoding() API routine. | ||
16 | |||
17 | Version 0.15.0 (beta) | ||
18 | |||
19 | * Updated to autoconf 2.57, automake 1.7.5, libtool 1.4.3. | ||
20 | |||
21 | * Added new id3_tag_version(), id3_tag_options(), id3_tag_setlength(), | ||
22 | id3_frame_field(), id3_field_getlatin1(), id3_field_getfulllatin1(), | ||
23 | id3_genre_index(), id3_genre_number(), id3_latin1_ucs4duplicate(), | ||
24 | id3_utf16_ucs4duplicate(), and id3_utf8_ucs4duplicate() API routines. | ||
25 | |||
26 | * Properly exposed the id3_frame_new(), id3_frame_delete(), and | ||
27 | id3_field_type() API routines. | ||
28 | |||
29 | * Fixed a possible segmentation fault rendering ID3v1 tags when a tag | ||
30 | field exceeds the field length limit. | ||
31 | |||
32 | * Fixed a problem whereby the file interface could try to seek and read | ||
33 | data from a non-seekable stream, unrecoverably losing data from the | ||
34 | stream. (N.B. the fix does not work under Win32.) | ||
35 | |||
36 | * Fixed a problem reading ID3v2.2 frames which corrupted their frame IDs | ||
37 | and caused them not to be re-rendered. | ||
38 | |||
39 | * Improved rendering of the ID3v1 genre field from ID3v2 genre | ||
40 | names/numbers. The genre "Other" is used in place of non-translatable | ||
41 | genres. | ||
42 | |||
43 | * Rendering an empty ID3v1 tag now properly returns 0 length even when a | ||
44 | null buffer pointer is passed. | ||
45 | |||
46 | * Changed the file implementation to maintain information about present | ||
47 | but unparseable tags, instead of ignoring all tags and returning an | ||
48 | error. | ||
49 | |||
50 | * Added an external dependency on zlib (libz), which is no longer | ||
51 | included. | ||
52 | |||
53 | * Changed to build a shared library by default. | ||
54 | |||
55 | * Changed to use native Cygwin build by default; give --host=mingw32 to | ||
56 | `configure' to use MinGW (and avoid a dependency on the Cygwin DLL). | ||
57 | |||
58 | Version 0.14.2 (beta) | ||
59 | |||
60 | * Changed Cygwin builds to use MinGW; resulting Win32 executables no | ||
61 | longer have a dependency on Cygwin DLLs. | ||
62 | |||
63 | Version 0.14.1 (beta) | ||
64 | |||
65 | * Updated config.guess and config.sub to latest upstream versions. | ||
66 | |||
67 | * Enabled libtool versioning rather than release numbering. | ||
68 | |||
69 | * Renamed `libid3' to `libid3tag' and enabled installation as a separate | ||
70 | library. | ||
71 | |||
72 | * Several other small fixes. | ||
73 | |||
74 | Version 0.14.0 (beta) | ||
75 | |||
76 | * Added a new ID3 tag manipulation library (libid3). The required zlib | ||
77 | support is provided either by the host system or by the included static | ||
78 | library implementation (libz). | ||
79 | |||
80 | * Improved MSVC++ portability and added MSVC++ project files. | ||
81 | |||
82 | =============================================================================== | ||
83 | |||
diff --git a/libid3tag/COPYING b/libid3tag/COPYING new file mode 100644 index 0000000..d60c31a --- /dev/null +++ b/libid3tag/COPYING | |||
@@ -0,0 +1,340 @@ | |||
1 | GNU GENERAL PUBLIC LICENSE | ||
2 | Version 2, June 1991 | ||
3 | |||
4 | Copyright (C) 1989, 1991 Free Software Foundation, Inc. | ||
5 | 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
6 | Everyone is permitted to copy and distribute verbatim copies | ||
7 | of this license document, but changing it is not allowed. | ||
8 | |||
9 | Preamble | ||
10 | |||
11 | The licenses for most software are designed to take away your | ||
12 | freedom to share and change it. By contrast, the GNU General Public | ||
13 | License is intended to guarantee your freedom to share and change free | ||
14 | software--to make sure the software is free for all its users. This | ||
15 | General Public License applies to most of the Free Software | ||
16 | Foundation's software and to any other program whose authors commit to | ||
17 | using it. (Some other Free Software Foundation software is covered by | ||
18 | the GNU Library General Public License instead.) You can apply it to | ||
19 | your programs, too. | ||
20 | |||
21 | When we speak of free software, we are referring to freedom, not | ||
22 | price. Our General Public Licenses are designed to make sure that you | ||
23 | have the freedom to distribute copies of free software (and charge for | ||
24 | this service if you wish), that you receive source code or can get it | ||
25 | if you want it, that you can change the software or use pieces of it | ||
26 | in new free programs; and that you know you can do these things. | ||
27 | |||
28 | To protect your rights, we need to make restrictions that forbid | ||
29 | anyone to deny you these rights or to ask you to surrender the rights. | ||
30 | These restrictions translate to certain responsibilities for you if you | ||
31 | distribute copies of the software, or if you modify it. | ||
32 | |||
33 | For example, if you distribute copies of such a program, whether | ||
34 | gratis or for a fee, you must give the recipients all the rights that | ||
35 | you have. You must make sure that they, too, receive or can get the | ||
36 | source code. And you must show them these terms so they know their | ||
37 | rights. | ||
38 | |||
39 | We protect your rights with two steps: (1) copyright the software, and | ||
40 | (2) offer you this license which gives you legal permission to copy, | ||
41 | distribute and/or modify the software. | ||
42 | |||
43 | Also, for each author's protection and ours, we want to make certain | ||
44 | that everyone understands that there is no warranty for this free | ||
45 | software. If the software is modified by someone else and passed on, we | ||
46 | want its recipients to know that what they have is not the original, so | ||
47 | that any problems introduced by others will not reflect on the original | ||
48 | authors' reputations. | ||
49 | |||
50 | Finally, any free program is threatened constantly by software | ||
51 | patents. We wish to avoid the danger that redistributors of a free | ||
52 | program will individually obtain patent licenses, in effect making the | ||
53 | program proprietary. To prevent this, we have made it clear that any | ||
54 | patent must be licensed for everyone's free use or not licensed at all. | ||
55 | |||
56 | The precise terms and conditions for copying, distrib |