diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-03-13 18:05:29 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-03-13 18:05:29 -0500 |
commit | 123fe63dd7b20f2350d03da5d3136f5863cb77d9 (patch) | |
tree | d67cbbee50467975106b15a6b3d1d76428773a39 /user/skanlite/fix-version.patch | |
parent | 7957cc543533f0332882f45de1fe2bfbb17f9c81 (diff) | |
download | packages-123fe63dd7b20f2350d03da5d3136f5863cb77d9.tar.gz packages-123fe63dd7b20f2350d03da5d3136f5863cb77d9.tar.bz2 packages-123fe63dd7b20f2350d03da5d3136f5863cb77d9.tar.xz packages-123fe63dd7b20f2350d03da5d3136f5863cb77d9.zip |
user/skanlite: new package
Diffstat (limited to 'user/skanlite/fix-version.patch')
-rw-r--r-- | user/skanlite/fix-version.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/user/skanlite/fix-version.patch b/user/skanlite/fix-version.patch new file mode 100644 index 000000000..94c5f345d --- /dev/null +++ b/user/skanlite/fix-version.patch @@ -0,0 +1,23 @@ +--- skanlite-2.0.1/CMakeLists.txt.old 2016-10-26 12:00:57.000000000 -0500 ++++ skanlite-2.0.1/CMakeLists.txt 2018-03-13 17:08:17.378028117 -0500 +@@ -43,7 +43,8 @@ + + set(SKANLITE_VERSION_STRING "2.0.1") + +-configure_file(${CMAKE_CURRENT_SOURCE_DIR}/src/version.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/src/version.h) ++configure_file("${CMAKE_CURRENT_BINARY_DIR}/skanlite_version.h" "${CMAKE_CURRENT_BINARY_DIR}/src/version.h" COPYONLY) ++#configure_file(${CMAKE_CURRENT_SOURCE_DIR}/src/version.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/src/version.h) + + find_package(KF5 ${KF5_VERSION} REQUIRED + COMPONENTS # alias to find_package(KFGuiAddons ${KF5_VERSION} REQUIRED) +--- skanlite-2.0.1/src/main.cpp.old 2016-10-26 17:00:34.000000000 +0000 ++++ skanlite-2.0.1/src/main.cpp 2018-03-13 22:59:18.898057063 +0000 +@@ -44,7 +44,7 @@ + + KAboutData aboutData(QLatin1String("Skanlite"), // componentName, k4: appName + i18n("Skanlite"), // displayName, k4: programName +- QLatin1String(skanlite_version), // version ++ QLatin1String(SKANLITE_VERSION_STRING), // version + i18n("Scanning application for KDE based on libksane."), // shortDescription + KAboutLicense::GPL, // licenseType + i18n("(C) 2008-2016 Kåre Särs"), // copyrightStatement |