From 3483d2eaf0e3965d521b4b1f0c3fc29a3be642a6 Mon Sep 17 00:00:00 2001 From: Kevin Mitchell Date: Sat, 8 Feb 2014 04:01:26 -0800 Subject: move debian/changelog to debian/changelog.TEMPLATE and drop version control on debian/changelog, which gets modified by scripts/debian-update-version --- debian/changelog | 49 ------------------------------------------ debian/changelog.TEMPLATE | 49 ++++++++++++++++++++++++++++++++++++++++++ scripts/debian-update-versions | 6 +++--- 3 files changed, 52 insertions(+), 52 deletions(-) delete mode 100644 debian/changelog create mode 100644 debian/changelog.TEMPLATE diff --git a/debian/changelog b/debian/changelog deleted file mode 100644 index 27e14bd..0000000 --- a/debian/changelog +++ /dev/null @@ -1,49 +0,0 @@ -mpv (1:0.3.4) UNRELEASED; urgency=medium - - * local build - - -- Local User Tue, 04 Feb 2014 21:48:02 -0800 - -mpv (0:0.3.4-1) stable; urgency=medium - - * better changelog hack: debian build scripts read the version before - it gets updated. Do a sed in the ./update instead. - - -- Kevin Mitchell Tue, 04 Feb 2014 19:06:32 -0800 - -mpv (0:0.3.4) stable; urgency=medium - - * changelog hack: add an "UNRELEASED" changelog entry by the - current user when the package is built with the currently checked - out mpv version. This has the "papercut" of repeating the - "local build" bullet in the same entry each time the package is built. - - -- Kevin Mitchell Sat, 01 Feb 2014 19:09:11 -0800 - -mpv (0:0.3.3-1) stable; urgency=medium - - * enable libx264 and libmp3lame in ffmpeg build - * make building on multiple cores actually work - - -- Kevin Mitchell Wed, 29 Jan 2014 18:46:08 -0800 - -mpv (0:0.3.3) stable; urgency=low - - * reimagine for waf build system - * test building on saucy,precise,stable,sid amd64 - * enable as many mpv features as possible except: - + libsdl2 (not available in wheezy or precise) - + libmpeg123 (build error on precise due to old version) - + caca, radio interface, openal output, portaudio output, - rsound/libroar/sndio input/output, sdl1, joystick, videoio.h/libpt - * additional ffmpeg features (and dependencies) are still to be handled - manually by the builder using the ffmpeg_options file as described - in README.rst - - -- Kevin Mitchell Tue, 28 Jan 2014 04:59:52 -0800 - -mpv (1.0git) stable; urgency=low - - * Initial package. - - -- Wessel Dankers Sun, 06 Jan 2013 13:44:11 +0100 diff --git a/debian/changelog.TEMPLATE b/debian/changelog.TEMPLATE new file mode 100644 index 0000000..eede48e --- /dev/null +++ b/debian/changelog.TEMPLATE @@ -0,0 +1,49 @@ +mpv (1:1.0noversion) UNRELEASED; urgency=medium + + * local build + + -- Local User Sat, 08 Feb 2014 03:47:26 -0800 + +mpv (0:0.3.4-1) stable; urgency=medium + + * better changelog hack: debian build scripts read the version before + it gets updated. Do a sed in the ./update instead. + + -- Kevin Mitchell Tue, 04 Feb 2014 19:06:32 -0800 + +mpv (0:0.3.4) stable; urgency=medium + + * changelog hack: add an "UNRELEASED" changelog entry by the + current user when the package is built with the currently checked + out mpv version. This has the "papercut" of repeating the + "local build" bullet in the same entry each time the package is built. + + -- Kevin Mitchell Sat, 01 Feb 2014 19:09:11 -0800 + +mpv (0:0.3.3-1) stable; urgency=medium + + * enable libx264 and libmp3lame in ffmpeg build + * make building on multiple cores actually work + + -- Kevin Mitchell Wed, 29 Jan 2014 18:46:08 -0800 + +mpv (0:0.3.3) stable; urgency=low + + * reimagine for waf build system + * test building on saucy,precise,stable,sid amd64 + * enable as many mpv features as possible except: + + libsdl2 (not available in wheezy or precise) + + libmpeg123 (build error on precise due to old version) + + caca, radio interface, openal output, portaudio output, + rsound/libroar/sndio input/output, sdl1, joystick, videoio.h/libpt + * additional ffmpeg features (and dependencies) are still to be handled + manually by the builder using the ffmpeg_options file as described + in README.rst + + -- Kevin Mitchell Tue, 28 Jan 2014 04:59:52 -0800 + +mpv (1.0git) stable; urgency=low + + * Initial package. + + -- Wessel Dankers Sun, 06 Jan 2013 13:44:11 +0100 diff --git a/scripts/debian-update-versions b/scripts/debian-update-versions index 8102d0d..b496e87 100755 --- a/scripts/debian-update-versions +++ b/scripts/debian-update-versions @@ -19,9 +19,9 @@ get_timestamp_commit() } do_subst() { - sed -i "0,/^mpv (.*)/s/(.*)/(1:$1)/" debian/changelog - sed -i "s/^ \* local build.*/ \* local build with ffmpeg $2, libass $3/" debian/changelog - sed -i "s/\(^ -- Local User \).*/\1 $(date -R)/" debian/changelog + sed -e "0,/^mpv (.*)/s/(.*)/(1:$1)/"\ + -e "s/^ \* local build.*/ \* local build with ffmpeg $2, libass $3/" \ + -e"s/\(^ -- Local User \).*/\1 $(date -R)/" debian/changelog.TEMPLATE > debian/changelog } do_version_all() { -- cgit v1.2.3