view gen_changelog.sh @ 1729:760e8d68290c

Add compatibility for GTK 2.18 With 2.18 some functions are deprecated. With geeqie that are two at the moment. - gtk_tree_view_column_get_cell_renderers - which can be replaced by gtk_cell_layout_get_cells - gdk_event_get_graphics_expose - I just commented it as there seems to be no replacement in GTK 2.18
author mow
date Tue, 13 Oct 2009 21:49:21 +0000
parents 0c918f8b1f51
children
line wrap: on
line source

#!/bin/bash

# Script to update ChangeLog file,
# it keeps "pre-svn" history and insert svn log at top,
# it uses C locale for date format.
# It has to be run where ChangeLog is.
# Old ChangeLog is saved as ChangeLog.bak

[ ! -e "ChangeLog" ] && exit 1

tail -6614 ChangeLog > ChangeLog.$$.old && \
LC_ALL=C svn log -rHEAD:220 > ChangeLog.$$.new && \
cat ChangeLog.$$.old >> ChangeLog.$$.new && \
mv -f ChangeLog ChangeLog.bak && \
mv -f ChangeLog.$$.new ChangeLog

rm -f ChangeLog.$$.old
exit 0