aboutsummaryrefslogtreecommitdiff
path: root/libid3tag
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2009-02-09 21:06:28 +0200
committerSergey Poznyakoff <gray@gnu.org.ua>2009-02-09 21:06:28 +0200
commit06af0596299d003ccb7651f45a99f8b8a28a6412 (patch)
tree762feffb391cc56b4597fbf630436ce93cfd673a /libid3tag
parentdb6d052e78c36ddb74c5ff67d1edc0fd466552f5 (diff)
downloadidest-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')
-rw-r--r--libid3tag/.gitignore9
-rw-r--r--libid3tag/CHANGES83
-rw-r--r--libid3tag/COPYING340
-rw-r--r--libid3tag/COPYRIGHT21
-rw-r--r--libid3tag/CREDITS28
-rw-r--r--libid3tag/Makefile.am80
-rw-r--r--libid3tag/README102
-rw-r--r--libid3tag/TODO12
-rw-r--r--libid3tag/VERSION6
-rw-r--r--libid3tag/compat.gperf297
-rw-r--r--libid3tag/compat.h41
-rw-r--r--libid3tag/configure.ac196
-rw-r--r--libid3tag/crc.c137
-rw-r--r--libid3tag/crc.h29
-rw-r--r--libid3tag/debug.c222
-rw-r--r--libid3tag/debug.h34
-rw-r--r--libid3tag/field.c890
-rw-r--r--libid3tag/field.h36
-rw-r--r--libid3tag/file.c674
-rw-r--r--libid3tag/file.h25
-rw-r--r--libid3tag/frame.c626
-rw-r--r--libid3tag/frame.h36
-rw-r--r--libid3tag/frametype.gperf363
-rw-r--r--libid3tag/frametype.h42
-rw-r--r--libid3tag/genre.c151
-rw-r--r--libid3tag/genre.dat.in180
-rw-r--r--libid3tag/genre.dat.sed54
-rw-r--r--libid3tag/genre.h27
-rw-r--r--libid3tag/global.h53
-rw-r--r--libid3tag/id3tag.h364
-rw-r--r--libid3tag/latin1.c217
-rw-r--r--libid3tag/latin1.h45
-rw-r--r--libid3tag/libid3tag.la41
-rw-r--r--libid3tag/libid3tag.list.in21
-rw-r--r--libid3tag/parse.c196
-rw-r--r--libid3tag/parse.h34
-rw-r--r--libid3tag/render.c200
-rw-r--r--libid3tag/render.h40
-rw-r--r--libid3tag/tag.c909
-rw-r--r--libid3tag/tag.h30
-rw-r--r--libid3tag/ucs4.c224
-rw-r--r--libid3tag/ucs4.h41
-rw-r--r--libid3tag/utf16.c286
-rw-r--r--libid3tag/utf16.h51
-rw-r--r--libid3tag/utf8.c365
-rw-r--r--libid3tag/utf8.h42
-rw-r--r--libid3tag/util.c147
-rw-r--r--libid3tag/util.h35
-rw-r--r--libid3tag/version.c45
-rw-r--r--libid3tag/version.h25
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 @@
1compat.c
2config.guess
3config.sub
4depcomp
5frametype.c
6genre.dat
7install-sh
8libid3tag.list
9missing
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
9Version 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
17Version 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
58Version 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
63Version 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
74Version 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
12freedom to share and change it. By contrast, the GNU General Public
13License is intended to guarantee your freedom to share and change free
14software--to make sure the software is free for all its users. This
15General Public License applies to most of the Free Software
16Foundation's software and to any other program whose authors commit to
17using it. (Some other Free Software Foundation software is covered by
18the GNU Library General Public License instead.) You can apply it to
19your programs, too.
20
21 When we speak of free software, we are referring to freedom, not
22price. Our General Public Licenses are designed to make sure that you
23have the freedom to distribute copies of free software (and charge for
24this service if you wish), that you receive source code or can get it
25if you want it, that you can change the software or use pieces of it
26in 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
29anyone to deny you these rights or to ask you to surrender the rights.
30These restrictions translate to certain responsibilities for you if you
31distribute copies of the software, or if you modify it.
32
33 For example, if you distribute copies of such a program, whether
34gratis or for a fee, you must give the recipients all the rights that
35you have. You must make sure that they, too, receive or can get the
36source code. And you must show them these terms so they know their
37rights.
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,
41distribute and/or modify the software.
42
43 Also, for each author's protection and ours, we want to make certain
44that everyone understands that there is no warranty for this free
45software. If the software is modified by someone else and passed on, we
46want its recipients to know that what they have is not the original, so
47that any problems introduced by others will not reflect on the original
48authors' reputations.
49
50 Finally, any free program is threatened constantly by software
51patents. We wish to avoid the danger that redistributors of a free
52program will individually obtain patent licenses, in effect making the
53program proprietary. To prevent this, we have made it clear that any
54patent must be licensed for everyone's free use or not licensed at all.
55
56 The precise terms and conditions for copying, distrib