[Digikam-devel] [Bug 237010] New: Remove __DATE__ and __TIME__ from code

Christian Morales Vega cmorve69 at yahoo.es
Sun May 9 18:49:51 BST 2010


https://bugs.kde.org/show_bug.cgi?id=237010

           Summary: Remove __DATE__ and __TIME__ from code
           Product: digikam
           Version: 1.2.0
          Platform: openSUSE RPMs
        OS/Version: unspecified
            Status: UNCONFIRMED
          Severity: wishlist
          Priority: NOR
         Component: general
        AssignedTo: digikam-devel at kde.org
        ReportedBy: cmorve69 at yahoo.es


Version:           1.2.0 (using KDE 4.4.3)
Installed from:    openSUSE RPMs

libs/3rdparty/cimg/CImg.h and digikam/version.h.cmake have __DATE__ and
__TIME__ entries that make a build irreproducible.

Be reproducible is something good because of a lot of causes. But in openSUSE
it also means each time Digikam is rebuilt (because of a change in a
dependency) we can detect if the new build has differences with the old one and
only make users redownload Digikam if it's really needed.

The one at digikam/version.h.cmake has the extra problem of being
internationalizes, making it extra difficult to remove it with a local patch.
Notice also that the about dialog gets "Build date" translated but the date
itself isn't, so IMHO it's best to just remove the build date.


If you really want the build time I would like at least a cmake option to
disable it.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Digikam-devel mailing list