~ubuntu-branches/ubuntu/oneiric/avidemux/oneiric-proposed

« back to all changes in this revision

Viewing changes to cmake/FindGitSvn.cmake

  • Committer: Bazaar Package Importer
  • Author(s): Alessio Treglia
  • Date: 2009-08-20 08:42:44 UTC
  • mfrom: (1.1.14 upstream)
  • Revision ID: james.westby@ubuntu.com-20090820084244-bhh15xxd7x2vbcuh
Tags: 1:2.5.1+repack-0ubuntu1
* New upstream bugfix release (LP: #416066):
  - Re-enabled several video and audio encoders (regression introduced
    in 2.5.0)
  - Updated the FFmpeg libraries
  - More video encoders are now plugins
  - DV video encoder now supports more profiles
  - Fixed loading and saving issues with LAME, x264 and Xvid options
    (regression introduced in 2.5.0)
  - Fraps video decoding support
  - Lowpass-5 mode added to libavcodec deinterlacer filter plugin
  - Fixed formatting of parameters for various filters on 64-bit platforms
  - Updated libass
  - Fixed sizing of the bitrate control on various video encoder configure
    windows (regression introduced in 2.5.0)
  - Improved filter dialog for GTK+ interface
  - New navigation icons for GTK+ interface
  - Fixed the behaviour of several GTK+ open/save dialogs (regression
    introduced in 2.5.0)
  - asharp filter's Block Adaptive mode can now be disabled using the Qt
    interface
  - Re-enabled the colour chooser dialog using the Qt interface (regression
    introduced in 2.5.0)
  - GCC 4.4 support
  - Fixed issues with CMake build scripts when using multiple make jobs
    (regression introduced in 2.5.0)
* Remove debian/patches dir and drop all patches, now applied by upstream.
* Drop quilt support.
* debian/libavidemux0.install: Also install missing libraries.
* Move debian/install to debian/avidemux.install.
* debian/rules:
  - Build the internal ffmpeg version properly (thanks to Christian Marillat).
  - A bit of cleanup.
* debian/control:
  - Bump Standards-Version.
  - Update Homepage field.
  - Adjust libavidemux0 short description.
  - gtk -> GTK, qt -> QT.
  - Set myself as Maintainer.
* Repack the tarball to remove the debian/ dir provided by upstream:
  - Create debian/README.source.
  - Update debian/watch.
  - Add get-orig-source target to debian/rules.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# - Extract information from a subversion working copy
 
2
MACRO(admGetGitRevision _dir _rev)
 
3
 
 
4
FIND_PROGRAM(GIT_EXECUTABLE git
 
5
  DOC "git command line client")
 
6
MARK_AS_ADVANCED(GIT_EXECUTABLE)
 
7
 
 
8
IF(GIT_EXECUTABLE)
 
9
        
 
10
        #SET(EXE  "cd ${_dir}&& ${GIT_EXECUTABLE} svn log | head -2  | grep '^r' | sed 's/ .*$//g'" )
 
11
        MESSAGE(STATUS "Getting git-svn version from ${_dir}")
 
12
 
 
13
      EXECUTE_PROCESS(COMMAND ${GIT_EXECUTABLE} log -n 50 ${_dir}
 
14
        COMMAND grep git-svn-id
 
15
        COMMAND head -1
 
16
        WORKING_DIRECTORY ${_dir} 
 
17
        RESULT_VARIABLE result 
 
18
        OUTPUT_VARIABLE output
 
19
        )
 
20
        #MESSAGE(STATUS "Git Svn Revision : <${output}>")
 
21
        STRING(REGEX REPLACE ".*branch_.*@" "" rev "${output}")
 
22
        STRING(REGEX REPLACE " .*$" "" rev "${rev}")
 
23
        MESSAGE(STATUS "Git Svn Revision : <${rev}>")
 
24
        SET( ${_rev} ${rev})
 
25
ELSE(GIT_EXECUTABLE)
 
26
        SET(ADM_GIT_SVN_REVISION 0)
 
27
ENDIF(GIT_EXECUTABLE)
 
28
 
 
29
ENDMACRO(admGetGitRevision _dir _rev)
 
30
 
 
31
# FindSubversion.cmake ends here.