jcelaya / hdrmerge

HDR exposure merging
http://jcelaya.github.io/hdrmerge/
Other
371 stars 78 forks source link

Automatically updating "about" information and window title #189

Open gaaned92 opened 5 years ago

gaaned92 commented 5 years ago

presently, about information and window title are manually updated. Is it possible to update those informations as it is done in rawtherapee?

fanckush commented 5 years ago

I don't use rawtherapee, could you explain where this about information and window title exist?

gaaned92 commented 5 years ago

When I build nignhtly builds for the git repository, I can observe that the master branch is 64 commits after the "continuous" tag. (note: I don't know where this tag comes from. ) The version of this nightly build is then continuous-64

When a user starts a hdrmerge nightly build, a v0.5.0 is written in the window title and the same v0.5.0 is provided in the Help/about information. This information is completely wrong.

In RT, stable versions are tagged in GIT reposirory with two digits (5.6 for instance). The version of a stable version is then 5.6.0 ( no commit after tag) For a development version which has x commits after tag, the version is then 5.6.x. Thus you know that it is not a development version. presently the hdrmerge version is harcoded in cmakelist.txt. I was just asking if it is possible to generate the config.h file with version information from git repository (as it is done in RT)