1
0
mirror of https://gitlab.xiph.org/xiph/ezstream.git synced 2024-12-04 14:46:31 -05:00
Commit Graph

56 Commits

Author SHA1 Message Date
moritz
7e8656313d Repair some fallout from previous commits, and work more on Win32 builds.
git-svn-id: https://svn.xiph.org/trunk/ezstream@15795 0101bb08-14d6-0310-b084-bc0e0c8e3800
2009-03-18 19:55:20 +00:00
moritz
c0b09af703 Work towards cleaner portability goo, and remove some ununsed code while there.
git-svn-id: https://svn.xiph.org/trunk/ezstream@15794 0101bb08-14d6-0310-b084-bc0e0c8e3800
2009-03-18 09:10:28 +00:00
moritz
1f91dd0941 Adjust auto-fu to handle the changed win32/ stuff.
git-svn-id: https://svn.xiph.org/trunk/ezstream@15793 0101bb08-14d6-0310-b084-bc0e0c8e3800
2009-03-17 22:25:47 +00:00
moritz
26c2d86c29 Set the manual date to the build date.
git-svn-id: https://svn.xiph.org/trunk/ezstream@15790 0101bb08-14d6-0310-b084-bc0e0c8e3800
2009-03-17 18:32:39 +00:00
moritz
dc547dcbbf Native EOL-style, and Id tags in a couple of places.
git-svn-id: https://svn.xiph.org/trunk/ezstream@15788 0101bb08-14d6-0310-b084-bc0e0c8e3800
2009-03-17 18:20:58 +00:00
moritz
df2b05bb61 #1398: Make optional components optional. (For real.)
git-svn-id: https://svn.xiph.org/trunk/ezstream@15782 0101bb08-14d6-0310-b084-bc0e0c8e3800
2009-03-16 22:59:28 +00:00
moritz
f193a9d5ad Use a wrapper around getopt() for portability. This uses the system getopt()
whenever possible, and otherwise uses a stripped down, single options only,
BSD getopt() (which is smaller and doesn't come with ifdef-stuff-in-features.h.)


git-svn-id: https://svn.xiph.org/trunk/ezstream@15779 0101bb08-14d6-0310-b084-bc0e0c8e3800
2009-03-16 20:12:29 +00:00
moritz
10d883fa98 Unbreak the TagLib checks.
git-svn-id: https://svn.xiph.org/trunk/ezstream@15777 0101bb08-14d6-0310-b084-bc0e0c8e3800
2009-03-16 00:40:26 +00:00
moritz
9acbffc2dd Overhaul the ezstream build system, using my own library of autoconf macros.
There are a few benefits to this, but the main reason is consistency and me
completely understanding what's going on. Regressions are not expected, but
wouldn't surprise either ... this needs lots of testing.


git-svn-id: https://svn.xiph.org/trunk/ezstream@15776 0101bb08-14d6-0310-b084-bc0e0c8e3800
2009-03-16 00:08:31 +00:00
moritz
86cf28410f Post-release version bump.
git-svn-id: https://svn.xiph.org/trunk/ezstream@14260 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-12-01 21:43:59 +00:00
moritz
0856c44749 Post-release version bump.
git-svn-id: https://svn.xiph.org/trunk/ezstream@14101 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-11-04 14:34:07 +00:00
moritz
f826c1d8f5 Bump version number after the 0.5.1 release.
git-svn-id: https://svn.xiph.org/trunk/ezstream@13839 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-09-16 12:49:59 +00:00
moritz
6955c0006f Bump version number after the 0.5.0 release.
git-svn-id: https://svn.xiph.org/trunk/ezstream@13678 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-08-31 17:19:10 +00:00
moritz
e0cbfd09b0 -Wno-unused-parameter breaks gcc2, remove it.
git-svn-id: https://svn.xiph.org/trunk/ezstream@13671 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-08-31 16:02:21 +00:00
moritz
ce1d2139e5 Try harder to link against TagLib.
git-svn-id: https://svn.xiph.org/trunk/ezstream@13670 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-08-31 15:55:16 +00:00
moritz
957f1d94c5 gettimeofday() everywhere; now ezstream behaves almost the same on Windows
compared to Unix. Also mention TagLib support on Windows in NEWS.


git-svn-id: https://svn.xiph.org/trunk/ezstream@13668 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-08-31 11:47:54 +00:00
moritz
de17e12fb8 When configure found libiconv, it helps to also have it use that information
to properly link against it. Problem spotted and fix tested by iCER on
#icecast.


git-svn-id: https://svn.xiph.org/trunk/ezstream@13632 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-08-26 14:31:40 +00:00
moritz
f1028b0356 UTF-8 support is now ready to be used.
git-svn-id: https://svn.xiph.org/trunk/ezstream@13609 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-08-24 11:57:09 +00:00
moritz
0b3652810e Work in progress: Proper UTF-8 support that doesn't affect console output.
No new code is actually used, yet, as there's still more work to be done.
This adds the whole iconv-related build stuff and moves most auto* files
into build-aux/.


git-svn-id: https://svn.xiph.org/trunk/ezstream@13607 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-08-24 00:52:13 +00:00
moritz
cfa9017fc3 Bump to 0.5.0, new feature coming up.
git-svn-id: https://svn.xiph.org/trunk/ezstream@13543 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-08-14 03:33:12 +00:00
moritz
b75fc3aa33 A few tweaks:
* Get ISO C99 from the compiler, if possible.
 * Check for ssize_t for --enable-debug portability.
 * Add AC_C_VOLATILE check, because we use it.


git-svn-id: https://svn.xiph.org/trunk/ezstream@13462 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-08-08 13:46:17 +00:00
moritz
b98f9a8f49 Make PACKAGE_BUGREPORT point to the bug tracker URI.
git-svn-id: https://svn.xiph.org/trunk/ezstream@13432 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-08-02 18:50:05 +00:00
moritz
62661080dc Switch to using the (integrated) libxalloc.
git-svn-id: https://svn.xiph.org/trunk/ezstream@13431 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-08-02 18:48:26 +00:00
moritz
dbcb1784a9 Bump version number after the 0.4.3 release.
git-svn-id: https://svn.xiph.org/trunk/ezstream@13302 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-07-24 13:44:04 +00:00
moritz
07e82c01a4 Bump the version number after the 0.4.2 release.
git-svn-id: https://svn.xiph.org/trunk/ezstream@13279 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-07-17 15:16:25 +00:00
moritz
af7857c208 Bump version number after the 0.4.1 release.
git-svn-id: https://svn.xiph.org/trunk/ezstream@13269 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-07-15 19:11:54 +00:00
moritz
a51be920c4 Bump version number after the 0.4.0 release.
git-svn-id: https://svn.xiph.org/trunk/ezstream@12724 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-03-11 05:17:56 +00:00
moritz
5125437d3f Move conf/ to examples/. Add ezstream_metadata.xml and two minimalistic example
scripts.


git-svn-id: https://svn.xiph.org/trunk/ezstream@12710 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-03-10 20:13:56 +00:00
moritz
3cd7528b07 Working TagLib support (optional.)
git-svn-id: https://svn.xiph.org/trunk/ezstream@12684 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-03-08 20:24:09 +00:00
moritz
900886ab3f Iterate towards optional TagLib support, as well as scripted metadata support.
This is just the first step and equivalent to current functionality.


git-svn-id: https://svn.xiph.org/trunk/ezstream@12680 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-03-08 14:39:00 +00:00
moritz
d302a64c2e New features coming up, bump version to 0.4.0
git-svn-id: https://svn.xiph.org/trunk/ezstream@12679 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-03-08 14:36:00 +00:00
moritz
03ffc617d2 Bump version number after the 0.3.0 release.
git-svn-id: https://svn.xiph.org/trunk/ezstream@12665 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-03-06 14:02:29 +00:00
moritz
539bb39322 Improve string to integer conversion stuff, and have another stab at the config
file parsing. Ezstream now prints each error it can find and then bails out,
instead of bailing out on the first error. Tweak URL parsing as well, and do
some cosmetic changes to the error messages.


git-svn-id: https://svn.xiph.org/trunk/ezstream@12603 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-03-02 12:52:10 +00:00
moritz
2a511a64fc Enable more warnings on gcc, and do some miscellaneous cleanups.
git-svn-id: https://svn.xiph.org/trunk/ezstream@12597 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-03-01 14:50:14 +00:00
moritz
9e0c427433 Make the example configuration files directory configurable.
git-svn-id: https://svn.xiph.org/trunk/ezstream@12594 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-03-01 00:10:12 +00:00
moritz
1712f4f88f Replace geteuid() check with stat(), and make it an error if the configuration
file is group or world writeable. This is actually what the warning about root
was all about.


git-svn-id: https://svn.xiph.org/trunk/ezstream@12590 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-02-28 15:35:07 +00:00
moritz
6b01b59811 Let MIPS[pro] C be chatty with warnings and check for basename() in libgen.
Ezstream now builds on IRIX.


git-svn-id: https://svn.xiph.org/trunk/ezstream@12576 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-02-27 14:44:46 +00:00
moritz
5cd0b1aba9 Make this work on static archs, and get one step closer to SunCC support on
Solaris. Also, don't complain if libshout isn't thread-safe, as Ezstream isn't
multithreaded.


git-svn-id: https://svn.xiph.org/trunk/ezstream@12572 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-02-26 20:29:48 +00:00
moritz
fddb4090c7 Add m4/ to the distribution tarball.
git-svn-id: https://svn.xiph.org/trunk/ezstream@12571 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-02-26 19:59:19 +00:00
moritz
733c989d1b Various cleanups and auto-fu tweaks.
* Make Makefile.am files look alike as much as possible.
 * Remove debug: target and don't mess with the users DEBUG environment
   variable: Autoconf checks for -g and automatically adds it to CFLAGS, which
   is overridden by the user's $DEBUG. If the user didn't specify one, "make
   install" will strip the resulting binaries and leave the debugging symbols
   intact otherwise.
 * Remove profile: target, as it is quite pointless in Ezstream. Also, the user
   can add profiling flags via the $DEBUG variable as well.
 * Remove -ffast-math and -fsigned-char from gcc, and enable two additional
   warnings instead.
 * Unconfuse Solaris compiler flags (unfortunately, the configure script still
   fails in the libshout check with some obscure linker error): Do not force
   -x04 and -fast optimizations, let the user decide (it doesn't matter for
   Ezstream anyways.) Remove -xgc92, which is deprecated and actually makes
   the resulting binary run slower on SPARC. Also remove -fsimple, which does
   not help and has the potential of causing trouble, and don't enable verbose
   warnings just to disable them afterwards with -w. Leave only -v for verbose
   warnings.
 * Const'ify getFormat*() functions and blankString, and squelch a few const-
   related warnings.
 * Squelch a signedness warning and fix two ;; syntax errors.
 * Add a snapshot target to Makefile.am that creates a tarball of the form
   ezstream-snapshot-YYYYMMDD.tar.gz.


git-svn-id: https://svn.xiph.org/trunk/ezstream@12562 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-02-25 14:00:15 +00:00
moritz
b59da7de0c Add check for geteuid(), which is better than checking for WIN32.
git-svn-id: https://svn.xiph.org/trunk/ezstream@12551 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-02-25 00:35:48 +00:00
moritz
2874fca043 Fix typo in comment.
git-svn-id: https://svn.xiph.org/trunk/ezstream@12547 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-02-24 23:03:51 +00:00
moritz
1fca228230 Let the configure script set a (hard-coded, for now) examples installation
directory. This will be made configurable later.


git-svn-id: https://svn.xiph.org/trunk/ezstream@12540 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-02-24 21:59:07 +00:00
moritz
e74272332e Add several checks that we need now, i.e. very soon.
git-svn-id: https://svn.xiph.org/trunk/ezstream@12539 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-02-24 21:50:54 +00:00
moritz
e811f2578b AM_CONFIG_HEADER -> AC_CONFIG_HEADERS, and move config.h into src/.
git-svn-id: https://svn.xiph.org/trunk/ezstream@12538 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-02-24 21:46:05 +00:00
moritz
d196074741 Autoconf 2.61 has a nice macro AC_USE_SYSTEM_EXTENSIONS. Use it, depend on
autoconf-2.61 for it and remove the annoying _GNU_SOURCE and _XOPEN_SOURCE ...
dung. Autoconf takes care of this, and even checks for more useful stuff for
us.


git-svn-id: https://svn.xiph.org/trunk/ezstream@12537 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-02-24 21:44:35 +00:00
moritz
aab6c56ae2 Generate a Makefile in doc/, and switch to AC_CONFIG_FILES.
git-svn-id: https://svn.xiph.org/trunk/ezstream@12536 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-02-24 21:37:06 +00:00
moritz
c7a3eda868 Ezstream does not need libtool, so remove it. Remove other redundant configure
checks as well: AC_PROG_CC and AC_HEADER_STDC are automatically checked in
packages written in C, no need to do it twice. This shaves a lot off configure
runtime.


git-svn-id: https://svn.xiph.org/trunk/ezstream@12535 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-02-24 21:34:05 +00:00
moritz
dbf12f4c16 Start to incrementally merge configure.in changes by simply shuffling code
around a bit. No functional change, yet.


git-svn-id: https://svn.xiph.org/trunk/ezstream@12534 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-02-24 21:29:27 +00:00
moritz
a90b52665d Begin to incrementally merge my changes to Ezstream by bumping the version
number and shifting blame to me. This should keep most of the history in my
local CVS repository. There may be temporary breakages where it doesn't build
or package until I'm done.


git-svn-id: https://svn.xiph.org/trunk/ezstream@12521 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-02-24 18:55:55 +00:00