[SCM] kodi/master: Don't modify GetVersionShort(), return package version in GetVersion() instead

rbalint at users.alioth.debian.org rbalint at users.alioth.debian.org
Tue Mar 29 13:22:14 UTC 2016


The following commit has been merged in the master branch:
commit ccdad8aee73b8bd455f39a7f4186f45bf1ce1c42
Author: Balint Reczey <balint at balintreczey.hu>
Date:   Tue Mar 29 11:26:17 2016 +0200

    Don't modify GetVersionShort(), return package version in GetVersion() instead

diff --git a/debian/patches/04-differentiate-from-vanilla-Kodi.patch b/debian/patches/04-differentiate-from-vanilla-Kodi.patch
index 7f59358..3b140c5 100644
--- a/debian/patches/04-differentiate-from-vanilla-Kodi.patch
+++ b/debian/patches/04-differentiate-from-vanilla-Kodi.patch
@@ -40,7 +40,7 @@
  
    return appName;
  }
-@@ -1091,7 +1094,9 @@
+@@ -1093,7 +1096,9 @@
    if (!result.empty())
      return result;
  
@@ -51,18 +51,12 @@
  #if defined(TARGET_WINDOWS)
    result += GetKernelName() + " " + GetKernelVersion();
    BOOL bIsWow = FALSE;
-@@ -1244,12 +1249,12 @@
-   if (strlen(CCompileInfo::GetSuffix()) == 0)
-     return StringUtils::Format("%d.%d", CCompileInfo::GetMajor(), CCompileInfo::GetMinor());
-   else
--    return StringUtils::Format("%d.%d-%s", CCompileInfo::GetMajor(), CCompileInfo::GetMinor(), CCompileInfo::GetSuffix());
-+    return StringUtils::Format("%d.%d-%s Debian package version:%s", CCompileInfo::GetMajor(), CCompileInfo::GetMinor(), CCompileInfo::GetSuffix(), DEB_VERSION);
- }
+@@ -1251,7 +1256,7 @@
  
  std::string CSysInfo::GetVersion()
  {
 -  return GetVersionShort() + " Git:" + CCompileInfo::GetSCMID();
-+  return GetVersionShort() + " Git:unknown)";
++  return GetVersionShort() + StringUtils::Format(" Debian package version: %s", DEB_VERSION);
  }
  
  std::string CSysInfo::GetBuildDate()

-- 
kodi packaging



More information about the pkg-multimedia-commits mailing list