]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
Merge branch 'maint'
authorAndre Noll <maan@systemlinux.org>
Mon, 7 Dec 2009 17:06:55 +0000 (18:06 +0100)
committerAndre Noll <maan@systemlinux.org>
Mon, 7 Dec 2009 17:06:55 +0000 (18:06 +0100)
Conflicts:

Makefile.in
NEWS
web/index.in.html

1  2 
Makefile.in
NEWS
web/index.in.html

diff --combined Makefile.in
index a24ba6bae03256033d394119dec43e02550b6b7d,d04d0ea3f2ad2a013d86b2454baeba4c9844d98d..f1cf1e40640a8347ae78edb0d7c9759b87716d17
@@@ -8,13 -8,12 +8,13 @@@ MANDIR := @datarootdir@/man/man
  PACKAGE_VERSION := @PACKAGE_VERSION@
  PACKAGE_STRING := @PACKAGE_STRING@
  install_sh := @install_sh@
 +cmdline_dir := @cmdline_dir@
  
  build_date := $(shell date)
  uname_s := $(shell uname -s 2>/dev/null || echo "UNKNOWN_OS")
  uname_rs := $(shell uname -rs)
  cc_version := $(shell $(CC) --version | head -n 1)
- codename := concurrent eternalty
 -codename := imaginary radiation
++codename := concurrent horizon
  
  DEBUG_CPPFLAGS += -Wno-sign-compare -g -Wunused -Wundef -W
  DEBUG_CPPFLAGS += -Wredundant-decls
@@@ -56,225 -55,138 +56,225 @@@ CPPFLAGS += -DMAIN_INPUT_FILE_IS_$(*F
  CPPFLAGS += @SSL_CPPFLAGS@
  CPPFLAGS += @ncurses_cppflags@
  CPPFLAGS += @arch_cppflags@
 +CPPFLAGS += -I/usr/local/include
 +CPPFLAGS += -I$(cmdline_dir)
 +CPPFLAGS += @osl_cppflags@
 +CPPFLAGS += -DGIT_VERSION='"$(GIT_VERSION)"'
  
  BINARIES = para_server para_client para_audioc para_recv \
 -      para_filter para_write para_fsck para_afh @extra_binaries@
 +      para_filter para_write para_afh @extra_binaries@
  man_binaries := $(BINARIES)
  man_pages := $(patsubst %, man/man1/%.1, $(man_binaries))
  man_pages_in := $(patsubst %, web/%.man.in.html, $(man_binaries))
  
  ggo_dir := ggo
 +object_dir := objects
 +man_dir := man/man1
  
 -m4_ggos := afh audioc audiod client filter fsck gui recv server write
 +m4_ggos := afh audioc audiod client filter gui recv server write
  all_ggos := $(m4_ggos) dccp_recv oggdec_filter alsa_write oss_write fade http_recv \
        osx_write udp_recv amp_filter compress_filter file_write \
 -      grab_client mp3dec_filter
 -ggo_generated := $(addsuffix .cmdline.c, $(all_ggos)) $(addsuffix .cmdline.h, $(all_ggos)) \
 -      $(addsuffix .ggo, $(addprefix $(ggo_dir)/,$(m4_ggos)))
 +      mp3dec_filter prebuffer_filter
 +ggo_generated := $(addsuffix .ggo, $(addprefix $(ggo_dir)/,$(m4_ggos)))
 +cmdline_generated := $(addprefix $(cmdline_dir)/,$(addsuffix .cmdline.c, $(all_ggos)) \
 +      $(addsuffix .cmdline.h, $(all_ggos)))
  
  autocrap := config.h.in configure
  tarball_pfx := @PACKAGE_TARNAME@-$(PACKAGE_VERSION)
 -tarball_delete = web versions pics .changelog_before_cvs .changelog_cvs .gitignore
 -tarball_delete := $(patsubst %,$(tarball_pfx)/%,$(tarball_delete))
 -tarball_add := $(ggo_generated) $(autocrap)
 +tarball_delete := $(addprefix $(tarball_pfx)/,\
 +      web versions .changelog_before_cvs .changelog_cvs .gitignore\
 +      $(ggo_dir) skencil)
  tarball := @PACKAGE_TARNAME@-$(PACKAGE_VERSION).tar.bz2
  
 -.PHONY: clean distclean maintainer-clean install man tarball
 +# To put more focus on warnings, be less verbose as default
 +# Use 'make V=1' to see the full commands
 +ifdef V
 +      ifeq ("$(origin V)", "command line")
 +              BUILD_VERBOSE = $(V)
 +      endif
 +endif
 +ifndef BUILD_VERBOSE
 +      BUILD_VERBOSE = 0
 +endif
 +ifeq ($(BUILD_VERBOSE),1)
 +      Q =
 +else
 +      Q = @
 +endif
 +
 +.PHONY: all clean distclean maintainer-clean install man tarball\
 +      .FORCE-GIT-VERSION-FILE
  all: $(BINARIES) $(man_pages)
  man: $(man_pages)
  tarball: $(tarball)
  
 -*.o: para.h config.h gcc-compat.h
 +GIT-VERSION-FILE: .FORCE-GIT-VERSION-FILE
 +      @./GIT-VERSION-GEN GIT-VERSION-FILE
 +-include GIT-VERSION-FILE
 +$(BINARIES): GIT-VERSION-FILE
  
 -include Makefile.deps
 -include $(ggo_dir)/makefile
 -
 -%_command_list.c %_command_list.h: %.cmd
 -      ./command_util.sh c < $< >$@
 -      ./command_util.sh h < $< >$(@:%.c=%.h)
 +-include $(ggo_dir)/makefile
  
 +%_command_list.c: %.cmd
 +      @[ -z "$(Q)" ] || echo 'GEN $@'
 +      $(Q) ./command_util.sh c < $< >$@
 +%_command_list.h: %.cmd
 +      @[ -z "$(Q)" ] || echo 'GEN $@'
 +      $(Q) ./command_util.sh h < $< >$@
  %_command_list.man: %.cmd
 -      ./command_util.sh man < $< > $@
 -
 -server_command_lists = server_command_list.man afs_command_list.man
 -man/man1/para_server.1: para_server $(server_command_lists)
 -      mkdir -p man/man1
 -      opts="-h --detailed-help -N `for i in $(server_command_lists); do printf "%s\n" "-i $$i"; done`"; \
 +      @[ -z "$(Q)" ] || echo 'GEN $@'
 +      $(Q) ./command_util.sh man < $< > $@
 +
 +server_command_lists_ch = server_command_list.c afs_command_list.c \
 +      server_command_list.h afs_command_list.h
 +server_command_lists_man = server_command_list.man afs_command_list.man
 +man/man1/para_server.1: para_server $(server_command_lists_man) | $(man_dir)
 +      @[ -z "$(Q)" ] || echo 'HELP2MAN $<'
 +      $(Q) opts="-h --detailed-help -N `for i in $(server_command_lists_man); do printf "%s\n" "-i $$i"; done`"; \
        help2man $$opts ./para_server > $@
  
 -man/man1/para_audiod.1: para_audiod audiod_command_list.man
 -      mkdir -p man/man1
 -      help2man -h --detailed-help -N -i audiod_command_list.man ./para_audiod > $@
 +man/man1/para_audiod.1: para_audiod audiod_command_list.man | $(man_dir)
 +      @[ -z "$(Q)" ] || echo 'HELP2MAN $<'
 +      $(Q) help2man -h --detailed-help -N -i audiod_command_list.man ./para_audiod > $@
  
 -man/man1/%.1: %
 -      mkdir -p man/man1
 -      help2man -h --detailed-help -N ./$< > $@
 +man/man1/%.1: % | $(man_dir)
 +      @[ -z "$(Q)" ] || echo 'HELP2MAN $<'
 +      $(Q) help2man -h --detailed-help -N ./$< > $@
  
  man/html/%.html: man/man1/%.1
 -      mkdir -p man/html
 -      man2html $< > $@
 +      @[ -z "$(Q)" ] || echo 'MAN2HTML $<'
 +      $(Q) mkdir -p man/html
 +      $(Q) man2html $< > $@
  
  web/%.man.in.html: man/man1/%.1
 -      man2html $< | sed -e '/^<\/BODY>/,$$d' -e '1,/<\/HEAD><BODY>/d' > $@
 -
 -
 -oggdec_filter.o: oggdec_filter.c
 -      $(CC) -c $(CPPFLAGS) $(DEBUG_CPPFLAGS) @oggvorbis_cppflags@ $<
 -ogg_afh.o: ogg_afh.c
 -      $(CC) -c $(CPPFLAGS) $(DEBUG_CPPFLAGS) @oggvorbis_cppflags@ $<
 -
 -mp3dec_filter.o: mp3dec_filter.c
 -      $(CC) -c $(CPPFLAGS) $(DEBUG_CPPFLAGS) @mad_cppflags@ $<
 -
 -aacdec_filter.o: aacdec_filter.c
 -      $(CC) -c $(CPPFLAGS) $(DEBUG_CPPFLAGS) @faad_cppflags@ $<
 -
 -aac_common.o: aac_common.c
 -      $(CC) -c $(CPPFLAGS) $(DEBUG_CPPFLAGS) @faad_cppflags@ $<
 -
 -aac_afh.o: aac_afh.c
 -      $(CC) -c $(CPPFLAGS) $(DEBUG_CPPFLAGS) @faad_cppflags@ $<
 -
 -%.cmdline.o: %.cmdline.c
 -      $(CC) -c $(CPPFLAGS) $<
 +      @[ -z "$(Q)" ] || echo 'MAN2HTML $<'
 +      $(Q) mkdir -p man/html
 +      $(Q) man2html $< | sed -e '/^<\/BODY>/,$$d' -e '1,/<\/HEAD><BODY>/d' > $@
 +
 +$(object_dir):
 +      mkdir -p $@
 +$(man_dir):
 +      mkdir -p $@
 +
 +$(object_dir)/oggdec_filter.o: oggdec_filter.c | $(object_dir)
 +      @[ -z "$(Q)" ] || echo 'CC $<'
 +      $(Q) $(CC) -c -o $@ $(CPPFLAGS) $(DEBUG_CPPFLAGS) @oggvorbis_cppflags@ $<
 +
 +$(object_dir)/ogg_afh.o: ogg_afh.c | $(object_dir)
 +      @[ -z "$(Q)" ] || echo 'CC $<'
 +      $(Q) $(CC) -c -o $@ $(CPPFLAGS) $(DEBUG_CPPFLAGS) @oggvorbis_cppflags@ $<
 +
 +$(object_dir)/mp3dec_filter.o: mp3dec_filter.c | $(object_dir)
 +      @[ -z "$(Q)" ] || echo 'CC $<'
 +      $(Q) $(CC) -c -o $@ $(CPPFLAGS) $(DEBUG_CPPFLAGS) @mad_cppflags@ $<
 +
 +$(object_dir)/aacdec_filter.o: aacdec_filter.c | $(object_dir)
 +      @[ -z "$(Q)" ] || echo 'CC $<'
 +      $(Q) $(CC) -c -o $@ $(CPPFLAGS) $(DEBUG_CPPFLAGS) @faad_cppflags@ $<
 +
 +$(object_dir)/aac_common.o: aac_common.c | $(object_dir)
 +      @[ -z "$(Q)" ] || echo 'CC $<'
 +      $(Q) $(CC) -c -o $@ $(CPPFLAGS) $(DEBUG_CPPFLAGS) @faad_cppflags@ $<
 +
 +$(object_dir)/aac_afh.o: aac_afh.c | $(object_dir)
 +      @[ -z "$(Q)" ] || echo 'CC $<'
 +      $(Q) $(CC) -c -o $@ $(CPPFLAGS) $(DEBUG_CPPFLAGS) @faad_cppflags@ $<
 +
 +$(object_dir)/%.cmdline.o: $(cmdline_dir)/%.cmdline.c $(cmdline_dir)/%.cmdline.h | $(object_dir)
 +      @[ -z "$(Q)" ] || echo 'CC $<'
 +      $(Q) $(CC) -c $(CPPFLAGS) -o $@ $<
 +
 +$(object_dir)/%.o: %.c | $(object_dir)
 +      @[ -z "$(Q)" ] || echo 'CC $<'
 +      $(Q) $(CC) -c -o $@ $(CPPFLAGS) $(DEBUG_CPPFLAGS) $<
 +
 +# We depend on the *.cmdline.[ch] files as these must be present for depend.sh
 +# to work. The first dependency is explititly given as it is used by $<.
 +
 +$(object_dir)/%.cmdline.d: %.cmdline.c $(cmdline_generated) | $(object_dir)
 +      @[ -z "$(Q)" ] || echo 'DEP $<'
 +      $(Q) ./depend.sh $(object_dir) $(CPPFLAGS) $< > $@
 +
 +$(object_dir)/%.d: %.c $(cmdline_generated) | $(object_dir)
 +      @[ -z "$(Q)" ] || echo 'DEP $<'
 +      $(Q) ./depend.sh  $(object_dir) $(CPPFLAGS) $< > $@
 +
 +recv_objs := $(addprefix $(object_dir)/, @recv_objs@)
 +filter_objs := $(addprefix $(object_dir)/, @filter_objs@)
 +client_objs := $(addprefix $(object_dir)/, @client_objs@)
 +gui_objs := $(addprefix $(object_dir)/, @gui_objs@)
 +audiod_objs := $(addprefix $(object_dir)/, @audiod_objs@)
 +audioc_objs := $(addprefix $(object_dir)/, @audioc_objs@)
 +fade_objs := $(addprefix $(object_dir)/, @fade_objs@)
 +server_objs := $(addprefix $(object_dir)/, @server_objs@)
 +write_objs := $(addprefix $(object_dir)/, @write_objs@)
 +afh_objs := $(addprefix $(object_dir)/, @afh_objs@)
 +
 +all_objs := $(recv_objs) $(filter_objs) $(client_objs) $(gui_objs) \
 +      $(audiod_objs ) $(audioc_objs) $(fade_objs) $(server_objs) \
 +      $(write_objs) $(afh_objs)
 +-include $(all_objs:.o=.d)
 +
 +para_recv: $(recv_objs)
 +      @[ -z "$(Q)" ] || echo 'LD $@'
 +      $(Q) $(CC) $(LDFLAGS) $(recv_objs) -o $@ @recv_ldflags@
 +
 +para_filter: $(filter_objs)
 +      @[ -z "$(Q)" ] || echo 'LD $@'
 +      $(Q) $(CC) $(LDFLAGS) $(filter_objs) -o $@ @filter_ldflags@
 +
 +para_client: $(client_objs)
 +      @[ -z "$(Q)" ] || echo 'LD $@'
 +      $(Q) $(CC) $(LDFLAGS) -o $@ $(client_objs) @client_ldflags@
 +
 +para_gui: $(gui_objs)
 +      @[ -z "$(Q)" ] || echo 'LD $@'
 +      $(Q) $(CC) $(LDFLAGS) -o $@ $(gui_objs) -lncurses
 +
 +para_audiod: audiod_command_list.c audiod_command_list.h $(audiod_objs)
 +      @[ -z "$(Q)" ] || echo 'LD $@'
 +      $(Q) $(CC) $(LDFLAGS) -o $@ $(audiod_objs) @audiod_ldflags@
 +
 +para_audioc: $(audioc_objs)
 +      @[ -z "$(Q)" ] || echo 'LD $@'
 +      $(Q) $(CC) $(LDFLAGS) -o $@ $(audioc_objs) @audioc_ldflags@
 +
 +para_fade: $(fade_objs)
 +      @[ -z "$(Q)" ] || echo 'LD $@'
 +      $(Q) $(CC) $(LDFLAGS) -o $@ $(fade_objs) @fade_ldflags@
 +
 +para_server: $(server_command_lists_ch) $(server_objs)
 +      @[ -z "$(Q)" ] || echo 'LD $@'
 +      $(Q) $(CC) $(LDFLAGS) -o $@ $(server_objs)  @server_ldflags@
 +
 +para_write: $(write_objs)
 +      @[ -z "$(Q)" ] || echo 'LD $@'
 +      $(Q) $(CC) $(LDFLAGS) -o $@ $(write_objs) @write_ldflags@
 +
 +para_afh: $(afh_objs)
 +      @[ -z "$(Q)" ] || echo 'LD $@'
 +      $(Q) $(CC) $(LDFLAGS) -o $@ $(afh_objs) @afh_ldflags@
  
 -%.o: %.c
 -      $(CC) -c $(CPPFLAGS) $(DEBUG_CPPFLAGS) $<
 -
 -para_recv: @recv_objs@
 -      $(CC) $(LDFLAGS) @recv_objs@ -o $@ @recv_ldflags@
 -
 -para_filter: @filter_objs@
 -      $(CC) $(LDFLAGS) @filter_objs@ -o $@ @filter_ldflags@
 -
 -para_client: @client_objs@
 -      $(CC) $(LDFLAGS) -o $@ @client_objs@ @client_ldflags@
 -
 -para_gui: @gui_objs@
 -      $(CC) $(LDFLAGS) -o $@ @gui_objs@ -lncurses
 -
 -para_audiod: @audiod_objs@
 -      $(CC) $(LDFLAGS) -o $@ @audiod_objs@ @audiod_ldflags@
 -
 -para_audioc: @audioc_objs@
 -      $(CC) $(LDFLAGS) -o $@ @audioc_objs@ @audioc_ldflags@
 -
 -para_fade: @fade_objs@
 -      $(CC) $(LDFLAGS) -o $@ @fade_objs@ @fade_ldflags@
 -
 -para_server: @server_objs@
 -      $(CC) $(LDFLAGS) -o $@ @server_objs@  @server_ldflags@
 -
 -para_fsck: @fsck_objs@
 -      $(CC) $(LDFLAGS) -o $@ @fsck_objs@ @fsck_ldflags@
 -
 -para_write: @write_objs@
 -      $(CC) $(LDFLAGS) -o $@ @write_objs@ @write_ldflags@
 +clean:
 +      @[ -z "$(Q)" ] || echo 'CLEAN'
 +      $(Q) rm -f $(BINARIES) $(object_dir)/*.o
  
 -para_afh: @afh_objs@
 -      $(CC) $(LDFLAGS) -o $@ @afh_objs@ @afh_ldflags@
 +clean2: clean
 +      @[ -z "$(Q)" ] || echo 'CLEAN2'
 +      $(Q) rm -rf man $(object_dir)
 +      $(Q) rm -f *_command_list.*
  
 -clean:
 -      rm -f *.o $(BINARIES)
 -      rm -rf man
 -distclean: clean
 -      rm -f Makefile autoscan.log config.status config.log && \
 -      rm -rf web/sync/* autom4te.cache aclocal.m4
 -      rm -f GPATH GRTAGS GSYMS GTAGS
 +distclean: clean2
 +      @[ -z "$(Q)" ] || echo 'DISTCLEAN'
 +      $(Q) rm -f Makefile autoscan.log config.status config.log
 +      $(Q) rm -rf autom4te.cache aclocal.m4
 +      $(Q) rm -f GPATH GRTAGS GSYMS GTAGS
  
  maintainer-clean: distclean
        rm -f $(ggo_generated) *.tar.bz2 \
                config.h configure \
                config.h.in skencil/*.pdf skencil/*.ps
 -      rm -f *_command_list.* *.man man/man1/*
 -      rm -rf web_sync
 +      rm -rf web_sync $(cmdline_dir)
  
  install: all man
        mkdir -p $(BINDIR) $(MANDIR)
        $(install_sh) -m 644 $(man_pages) $(MANDIR)
        mkdir -p $(VARDIR) >/dev/null 2>&1 || true # not fatal, so don't complain
  
 -@PACKAGE_TARNAME@-$(PACKAGE_VERSION).tar.bz2: $(tarball_add)
 +$(tarball): $(cmdline_generated)
        rm -rf $(tarball_pfx).tar.bz2 $(tarball_pfx)
        git archive --format=tar --prefix=$(tarball_pfx)/ HEAD \
                | tar --delete $(tarball_delete) > $(tarball_pfx).tar
 -      mkdir $(tarball_pfx)
 -      cp -r $(tarball_add) $(tarball_pfx)
 +      mkdir -p $(tarball_pfx)/$(cmdline_dir)
 +      echo $(GIT_VERSION) > $(tarball_pfx)/VERSION
 +      cp -r $(autocrap) $(tarball_pfx)
 +      cp -r $(cmdline_generated) $(tarball_pfx)/$(cmdline_dir)
        tar rf $(tarball_pfx).tar $(tarball_pfx)/*
        rm -rf $(tarball_pfx)
        bzip2 -9 $(tarball_pfx).tar
diff --combined NEWS
index 9d9530092caf6ff162b6467212337de186045745,66ce1f3fa8102c733bb77257388e7867ed594a99..3f6ae4590bf5febd511f5b71cebd635b12512a5c
--- 1/NEWS
--- 2/NEWS
+++ b/NEWS
@@@ -1,15 -1,9 +1,15 @@@
  NEWS
  ====
  
- ------------------------------------------
- 0.3.6 (to be announced) "cubic continuity"
- ------------------------------------------
 +----------------------------------------------
 +0.4.1 (to be announced) "concurrent eternalty"
 +----------------------------------------------
 +
 +      - wma support
 +
+ -------------------------------------
+ 0.3.6 (2009-12-07) "cubic continuity"
+ -------------------------------------
  
  Quite a few bugs have been found and fixed since 0.3.5, so here's
  another 0.3.x release. No new features.
        - http/dccp: Do not send the audio file header twice.
        - FEC: Timing improvements.
  
 +----------------------------------------------
 +0.4.0 (2009-11-10) "simultaneous independence"
 +----------------------------------------------
 +
 +Two significant changes which require the new version number: The
 +improved authentication dialog and the fact that the database code
 +has been moved to a library, libosl. To use the new version, you have
 +to generate new RSA keys, see INSTALL for details. A shell script is
 +provided for conversion of the 0.3 database to the new 0.4 format.
 +
 +      - stronger crypto for client authentication
 +      - the database code has been moved to a library
 +      - improved status item handling
 +      - cleanup of the build system
 +      - The "-V" option now also prints the git version
 +      - the new parser-friendly listing mode for the ls and stat commands
 +      - mandatory rc4 encryption
 +      - major audio format handler cleanups
 +      - (id3,...) tags are no longer stored as a combined string in the database
 +      - new mood methods: artist_matches, title_matches, comment_matches,
 +        album_matches, year_maches, year.
 +
  --------------------------------------------
  0.3.5 (2009-09-21) "symplectic separability"
  --------------------------------------------
diff --combined web/index.in.html
index b685ac9d162d7c3eb8a5b2eb6a011c411ab74d9e,65b7f0ed6574f22ef4d8e1387c5a1056530bc45e..9c02c30b23094faa1b66ed0c8f54206291294042
@@@ -1,10 -1,10 +1,14 @@@
  <h1>Events</h1>
  <hr>
  <ul>
+       <li>2009-12-07: <a href="versions/paraslash-0.3.6.tar.bz2">paraslash-0.3.6</a>
+               <a href="versions/paraslash-0.3.6.tar.bz2.asc">(sig)</a>
+               "cubic continuity"
+       </li>
 +      <li>2009-11-10: <a href="versions/paraslash-0.4.0.tar.bz2">paraslash-0.4.0</a>
 +              <a href="versions/paraslash-0.4.0.tar.bz2.asc">(sig)</a>
 +              "simultaneous independence"
 +      </li>
        <li>2009-09-21: <a href="versions/paraslash-0.3.5.tar.bz2">paraslash-0.3.5</a>
                <a href="versions/paraslash-0.3.5.tar.bz2.asc">(sig)</a>
                "symplectic separability"