kf5-kinit 5.27.0
authorYaakov Selkowitz <yselkowi@redhat.com>
Thu, 3 Nov 2016 20:21:19 +0000 (15:21 -0500)
committerYaakov Selkowitz <yselkowi@redhat.com>
Thu, 3 Nov 2016 20:21:19 +0000 (15:21 -0500)
5.27.0-kinit-cygwin.patch [moved from 5.10.0-kinit-cygwin.patch with 79% similarity]
kf5-kinit.cygport

similarity index 79%
rename from 5.10.0-kinit-cygwin.patch
rename to 5.27.0-kinit-cygwin.patch
index 1b714c12d525453e282c6b026dc54438e98d06bf..f29440b94e3da1d591186513fe0a692f45639ac1 100644 (file)
@@ -1,19 +1,17 @@
---- origsrc/kinit-5.10.0/src/kdeinit/kinit.cpp 2015-05-03 10:14:51.000000000 -0500
-+++ src/kinit-5.10.0/src/kdeinit/kinit.cpp     2015-05-17 17:02:29.631834600 -0500
-@@ -91,6 +91,12 @@ static const char *extra_libs[] = {
+--- origsrc/kinit-5.27.0/src/kdeinit/kinit.cpp 2016-10-02 04:52:57.000000000 -0500
++++ src/kinit-5.27.0/src/kdeinit/kinit.cpp     2016-11-02 00:14:49.671940400 -0500
+@@ -95,6 +95,10 @@ static const char *extra_libs[] = {
+     "libKF5KIOCore.5.dylib",
      "libKF5Parts.5.dylib",
      "libKF5Plasma.5.dylib"
- };
 +#elif defined(Q_OS_CYGWIN)
-+static const char *extra_libs[] = {
 +    "cygKF5KIOCore-5.dll",
 +    "cygKF5Parts-5.dll",
 +    "cygKF5Plasma-5.dll"
-+};
  #else
- //TODO: make sure what libraries we want here...
- static const char *extra_libs[] = {
-@@ -486,7 +492,11 @@ static pid_t launch(int argc, const char
+     "libKF5KIOCore.so.5",
+     "libKF5Parts.so.5",
+@@ -461,7 +465,11 @@ static pid_t launch(int argc, const char
      if (_name[0] != '/') {
          name = _name;
          lib = QFile::decodeName(name);
@@ -25,7 +23,7 @@
          libpath_relative = true;
          execpath = execpath_avoid_loops(name, envc, envs, avoid_loops);
      } else {
-@@ -495,7 +505,7 @@ static pid_t launch(int argc, const char
+@@ -470,7 +478,7 @@ static pid_t launch(int argc, const char
          name = name.mid(name.lastIndexOf('/') + 1);
  
          // FIXME: this .so extension stuff is very Linux-specific
@@ -34,7 +32,7 @@
              libpath = lib;
          } else {
              execpath = _name;
-@@ -507,6 +517,15 @@ static pid_t launch(int argc, const char
+@@ -482,6 +490,15 @@ static pid_t launch(int argc, const char
              // the install prefix, although this may not be the case if the user
              // has overridden them, and so this search is inherently fragile in
              // the face of unusual installation layouts.
@@ -50,7 +48,7 @@
              if (lib.contains(QLatin1String(KF5_LIBEXEC_INSTALL_DIR))) {
                  libpath = QString(lib).replace(QLatin1String(KF5_LIBEXEC_INSTALL_DIR),
                                                 QLatin1String(LIB_INSTALL_DIR "/libkdeinit5_")) + QLatin1String(".so");
-@@ -514,6 +533,7 @@ static pid_t launch(int argc, const char
+@@ -489,6 +506,7 @@ static pid_t launch(int argc, const char
                  libpath = QString(lib).replace(QLatin1String("/bin/"),
                                                 QLatin1String(LIB_INSTALL_DIR "/libkdeinit5_")) + QLatin1String(".so");
              }
index 36697bd4347db0942b1d09006890064d2a2f9658..d3dcc9c780ee21e2c8463d2366c2365381fafb01 100644 (file)
@@ -1,7 +1,7 @@
 inherit kf5
 
 NAME="kf5-kinit"
-VERSION=5.12.0
+VERSION=5.27.0
 RELEASE=1
 CATEGORY="Libs"
 SUMMARY="KDE 5 process launcher"
@@ -9,4 +9,25 @@ DESCRIPTION="kdeinit is a process launcher somewhat similar to the famous init
 used for booting UNIX. It launches processes by forking and then loading a
 dynamic library which should contain a 'kdemain(...)' function."
 
-PATCH_URI="5.10.0-kinit-cygwin.patch"
+PATCH_URI="5.27.0-kinit-cygwin.patch"
+
+PKG_NAMES="${NAME} ${NAME}-devel"
+kf5_kinit_CONTENTS="
+       usr/bin/cygkdeinit5_klauncher.dll
+       usr/bin/kdeinit5.exe
+       usr/bin/kdeinit5_shutdown.exe
+       usr/bin/kdeinit5_wrapper.exe
+       usr/bin/kshell5.exe
+       usr/bin/kwrapper5.exe
+       usr/libexec/kf5/klauncher.exe
+       usr/libexec/kf5/start_kdeinit.exe
+       usr/libexec/kf5/start_kdeinit_wrapper.exe
+       usr/share/doc/
+       usr/share/locale/
+       usr/share/man/
+"
+kf5_kinit_devel_REQUIRES=${NAME}
+kf5_kinit_devel_CONTENTS="
+       usr/lib/cmake/KF5Init/
+       usr/share/dbus-1/interfaces/kf5_org.kde.KLauncher.xml
+"
This page took 0.037397 seconds and 5 git commands to generate.