Hello community, here is the log from the commit of package kdesu for openSUSE:Factory checked in at 2014-05-14 20:26:38 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kdesu (Old) and /work/SRC/openSUSE:Factory/.kdesu.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kdesu" Changes: -------- --- /work/SRC/openSUSE:Factory/kdesu/kdesu.changes 2014-04-02 17:22:04.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.kdesu.new/kdesu.changes 2014-05-14 20:27:01.000000000 +0200 @@ -1,0 +2,9 @@ +Sun May 4 01:41:07 UTC 2014 - [email protected] + +- Update to 4.99.0 + * API improvements and cleanups + * Buildsystem fixes + * For more details please see: + http://www.kde.org/announcements/announce-frameworks5-beta2.php + +------------------------------------------------------------------- Old: ---- kdesu-4.98.0.tar.xz New: ---- kdesu-4.99.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kdesu.spec ++++++ --- /var/tmp/diff_new_pack.ziKHft/_old 2014-05-14 20:27:02.000000000 +0200 +++ /var/tmp/diff_new_pack.ziKHft/_new 2014-05-14 20:27:02.000000000 +0200 @@ -18,10 +18,10 @@ %define lname libKF5Su5 Name: kdesu -Version: 4.98.0 +Version: 4.99.0 Release: 0 BuildRequires: cmake >= 2.8.12 -BuildRequires: extra-cmake-modules >= 0.0.12 +BuildRequires: extra-cmake-modules >= 0.0.13 BuildRequires: fdupes BuildRequires: kcoreaddons-devel >= %{_kf5_version} BuildRequires: kf5-filesystem ++++++ kdesu-4.98.0.tar.xz -> kdesu-4.99.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdesu-4.98.0/CMakeLists.txt new/kdesu-4.99.0/CMakeLists.txt --- old/kdesu-4.98.0/CMakeLists.txt 2014-03-28 19:16:35.000000000 +0100 +++ new/kdesu-4.99.0/CMakeLists.txt 2014-05-08 21:21:50.000000000 +0200 @@ -2,7 +2,7 @@ project(KDESu) -find_package(ECM 0.0.12 REQUIRED NO_MODULE) +find_package(ECM 0.0.13 REQUIRED NO_MODULE) set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR}) @@ -12,10 +12,11 @@ include(KDEFrameworkCompilerSettings) include(KDECMakeSettings) -set(KF5_VERSION "4.98.0") -find_package(KF5CoreAddons ${KF5_VERSION} REQUIRED) -find_package(KF5Service ${KF5_VERSION} REQUIRED) -find_package(KF5Pty ${KF5_VERSION} REQUIRED) +set(KF5_VERSION "4.99.0") # handled by release scripts +set(KF5_DEP_VERSION "4.99.0") # handled by release scripts +find_package(KF5CoreAddons ${KF5_DEP_VERSION} REQUIRED) +find_package(KF5Service ${KF5_DEP_VERSION} REQUIRED) +find_package(KF5Pty ${KF5_DEP_VERSION} REQUIRED) #optional features find_package(X11) @@ -56,7 +57,7 @@ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/kdesu_version.h - DESTINATION ${INCLUDE_INSTALL_DIR} COMPONENT Devel + DESTINATION ${KF5_INCLUDE_INSTALL_DIR} COMPONENT Devel ) feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdesu-4.98.0/KF5SuConfig.cmake.in new/kdesu-4.99.0/KF5SuConfig.cmake.in --- old/kdesu-4.98.0/KF5SuConfig.cmake.in 2014-03-28 19:16:35.000000000 +0100 +++ new/kdesu-4.99.0/KF5SuConfig.cmake.in 2014-05-08 21:21:50.000000000 +0200 @@ -1,6 +1,6 @@ @PACKAGE_INIT@ -find_dependency(KF5Pty "@KF5_VERSION@") +find_dependency(KF5Pty "@KF5_DEP_VERSION@") include("${CMAKE_CURRENT_LIST_DIR}/KF5SuTargets.cmake") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdesu-4.98.0/README.md new/kdesu-4.99.0/README.md --- old/kdesu-4.98.0/README.md 2014-03-28 19:16:35.000000000 +0100 +++ new/kdesu-4.99.0/README.md 2014-05-08 21:21:50.000000000 +0200 @@ -1,10 +1,10 @@ -# libkdesu +# KDESU User interface for running shell commands with root privileges ## Introduction -libkdesu provides functionality for building GUI front ends for +KDESU provides functionality for building GUI front ends for (password asking) console mode programs. For example, kdesu and kdessh use it to interface with su and ssh respectively. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdesu-4.98.0/kdesu.yaml new/kdesu-4.99.0/kdesu.yaml --- old/kdesu-4.98.0/kdesu.yaml 2014-03-28 19:16:35.000000000 +0100 +++ new/kdesu-4.99.0/kdesu.yaml 1970-01-01 01:00:00.000000000 +0100 @@ -1 +0,0 @@ -tier: 3 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdesu-4.98.0/metainfo.yaml new/kdesu-4.99.0/metainfo.yaml --- old/kdesu-4.98.0/metainfo.yaml 1970-01-01 01:00:00.000000000 +0100 +++ new/kdesu-4.99.0/metainfo.yaml 2014-05-08 21:21:50.000000000 +0200 @@ -0,0 +1,9 @@ +maintainer: +description: Integration with su for elevated privileges +tier: 3 +type: integration +platforms: + - name: Linux +portingAid: false +deprecated: false +release: true diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdesu-4.98.0/src/CMakeLists.txt new/kdesu-4.99.0/src/CMakeLists.txt --- old/kdesu-4.98.0/src/CMakeLists.txt 2014-03-28 19:16:35.000000000 +0100 +++ new/kdesu-4.99.0/src/CMakeLists.txt 2014-05-08 21:21:50.000000000 +0200 @@ -33,7 +33,7 @@ target_include_directories(KF5Su PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/..) # Apps must include <KDESu/File> or <kdesu/file.h> -target_include_directories(KF5Su INTERFACE "$<INSTALL_INTERFACE:${INCLUDE_INSTALL_DIR}/KDESu>") +target_include_directories(KF5Su INTERFACE "$<INSTALL_INTERFACE:${KF5_INCLUDE_INSTALL_DIR}/KDESu>") target_link_libraries(KF5Su PUBLIC @@ -65,9 +65,9 @@ PREFIX KDESu REQUIRED_HEADERS KDESu_HEADERS ) -install(FILES ${KDESu_CamelCase_HEADERS} DESTINATION ${INCLUDE_INSTALL_DIR}/KDESu/KDESu COMPONENT Devel) +install(FILES ${KDESu_CamelCase_HEADERS} DESTINATION ${KF5_INCLUDE_INSTALL_DIR}/KDESu/KDESu COMPONENT Devel) -install(TARGETS KF5Su EXPORT KF5SuTargets ${INSTALL_TARGETS_DEFAULT_ARGS}) +install(TARGETS KF5Su EXPORT KF5SuTargets ${KF5_INSTALL_TARGETS_DEFAULT_ARGS}) ########### next target ############### @@ -76,7 +76,7 @@ add_executable(kdesu_stub kdesu_stub.c) ecm_mark_nongui_executable(kdesu_stub) -install(TARGETS kdesu_stub DESTINATION ${LIBEXEC_INSTALL_DIR}) +install(TARGETS kdesu_stub DESTINATION ${KF5_LIBEXEC_INSTALL_DIR}) ########### install files ############### install(FILES @@ -87,9 +87,9 @@ defaults.h ${CMAKE_CURRENT_BINARY_DIR}/kdesu/kdesu_export.h ${KDESu_HEADERS} - DESTINATION ${INCLUDE_INSTALL_DIR}/KDESu/kdesu COMPONENT Devel + DESTINATION ${KF5_INCLUDE_INSTALL_DIR}/KDESu/kdesu COMPONENT Devel ) include(ECMGeneratePriFile) -ecm_generate_pri_file(BASE_NAME KDESu LIB_NAME KF5Su DEPS "KPty" FILENAME_VAR PRI_FILENAME) +ecm_generate_pri_file(BASE_NAME KDESu LIB_NAME KF5Su DEPS "KPty" FILENAME_VAR PRI_FILENAME INCLUDE_INSTALL_DIR ${KF5_INCLUDE_INSTALL_DIR}/KDESu) install(FILES ${PRI_FILENAME} DESTINATION ${ECM_MKSPECS_INSTALL_DIR}) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdesu-4.98.0/src/client.cpp new/kdesu-4.99.0/src/client.cpp --- old/kdesu-4.98.0/src/client.cpp 2014-03-28 19:16:35.000000000 +0100 +++ new/kdesu-4.99.0/src/client.cpp 2014-05-08 21:21:50.000000000 +0200 @@ -378,7 +378,7 @@ static QString findDaemon() { - QString daemon = QFile::decodeName(CMAKE_INSTALL_PREFIX "/" LIBEXEC_INSTALL_DIR "/kdesud"); + QString daemon = QFile::decodeName(CMAKE_INSTALL_PREFIX "/" KF5_LIBEXEC_INSTALL_DIR "/kdesud"); if (!QFile::exists(daemon)) { // if not in libexec, find it in PATH daemon = QStandardPaths::findExecutable(QStringLiteral("kdesud")); if (daemon.isEmpty()) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdesu-4.98.0/src/config-kdesu.h.cmake new/kdesu-4.99.0/src/config-kdesu.h.cmake --- old/kdesu-4.98.0/src/config-kdesu.h.cmake 2014-03-28 19:16:35.000000000 +0100 +++ new/kdesu-4.99.0/src/config-kdesu.h.cmake 2014-05-08 21:21:50.000000000 +0200 @@ -5,4 +5,4 @@ #cmakedefine01 HAVE_INITGROUPS #cmakedefine01 HAVE_SYS_SELECT_H #define CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}" -#define LIBEXEC_INSTALL_DIR "${LIBEXEC_INSTALL_DIR}" +#define KF5_LIBEXEC_INSTALL_DIR "${KF5_LIBEXEC_INSTALL_DIR}" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdesu-4.98.0/src/kdesud/CMakeLists.txt new/kdesu-4.99.0/src/kdesud/CMakeLists.txt --- old/kdesu-4.98.0/src/kdesud/CMakeLists.txt 2014-03-28 19:16:35.000000000 +0100 +++ new/kdesu-4.99.0/src/kdesud/CMakeLists.txt 2014-05-08 21:21:50.000000000 +0200 @@ -1,3 +1,4 @@ +include(CheckFunctionExists) check_function_exists(getpeereid HAVE_GETPEEREID) # openbsd style check_function_exists(getpeereucred HAVE_GETPEERUCRED) # solaris style @@ -23,9 +24,14 @@ ########### install files ############### -install(TARGETS kdesud DESTINATION ${LIBEXEC_INSTALL_DIR}) +install(TARGETS kdesud DESTINATION ${KF5_LIBEXEC_INSTALL_DIR}) +if(IS_ABSOLUTE KF5_LIBEXEC_INSTALL_DIR) + set(ABS_KF5_LIBEXEC_INSTALL_DIR "${KF5_LIBEXEC_INSTALL_DIR}") +else() + set(ABS_KF5_LIBEXEC_INSTALL_DIR "\${CMAKE_INSTALL_PREFIX}/${KF5_LIBEXEC_INSTALL_DIR}") +endif() install(CODE " - set(KDESUD_PATH \"\$ENV{DESTDIR}${LIBEXEC_INSTALL_DIR}/kdesud\") + set(KDESUD_PATH \"\$ENV{DESTDIR}${ABS_KF5_LIBEXEC_INSTALL_DIR}/kdesud\") execute_process(COMMAND sh -c \"chgrp nogroup '\${KDESUD_PATH}' && chmod g+s '\${KDESUD_PATH}'\") ") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdesu-4.98.0/src/kdesud/Messages.sh new/kdesu-4.99.0/src/kdesud/Messages.sh --- old/kdesu-4.98.0/src/kdesud/Messages.sh 2014-03-28 19:16:35.000000000 +0100 +++ new/kdesu-4.99.0/src/kdesud/Messages.sh 2014-05-08 21:21:50.000000000 +0200 @@ -1,2 +1,2 @@ #! /usr/bin/env bash -$XGETTEXT *.cpp -o $podir/kdesud.pot +$XGETTEXT *.cpp -o $podir/kdesud5.pot diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdesu-4.98.0/src/kdesud/kdesud.cpp new/kdesu-4.99.0/src/kdesud/kdesud.cpp --- old/kdesu-4.98.0/src/kdesud/kdesud.cpp 2014-03-28 19:16:35.000000000 +0100 +++ new/kdesu-4.99.0/src/kdesud/kdesud.cpp 2014-05-08 21:21:50.000000000 +0200 @@ -259,7 +259,10 @@ int main(int argc, char *argv[]) { QCoreApplication app(argc, argv); - KAboutData aboutData(QStringLiteral("kdesud"), QString(), i18n("KDE su daemon"), + KAboutData aboutData( + QStringLiteral("kdesud") /* componentName */, + QStringLiteral("kdesud5") /* catalogName */, + i18n("KDE su daemon"), Version, i18n("Daemon used by kdesu"), KAboutData::License_Artistic, i18n("Copyright (c) 1999,2000 Geert Jansen")); @@ -268,6 +271,8 @@ KAboutData::setApplicationData(aboutData); QCommandLineParser parser; aboutData.setupCommandLine(&parser); + parser.addHelpOption(); + parser.addVersionOption(); parser.process(app); aboutData.processCommandLine(&parser); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdesu-4.98.0/src/suprocess.cpp new/kdesu-4.99.0/src/suprocess.cpp --- old/kdesu-4.98.0/src/suprocess.cpp 2014-03-28 19:16:35.000000000 +0100 +++ new/kdesu-4.99.0/src/suprocess.cpp 2014-05-08 21:21:50.000000000 +0200 @@ -124,7 +124,7 @@ if (d->superUserCommand == QLatin1String("su")) { args += "-c"; } - args += QByteArray(LIBEXEC_INSTALL_DIR) + "/kdesu_stub"; + args += QByteArray(KF5_LIBEXEC_INSTALL_DIR) + "/kdesu_stub"; args += "-"; // krazy:exclude=doublequote_chars (QList, not QString) QByteArray command; -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
