Update to Plasma 5.11.5

Also add a script to add/remove versions.
This commit is contained in:
Volker Krause
2018-01-17 21:27:12 +01:00
parent 3d228d515d
commit a7b7683dac
20 changed files with 36 additions and 14 deletions

View File

@@ -34,17 +34,3 @@ index 302bac7f4..27b70810d 100644
namespace KWin
{
diff --git a/wayland_server.cpp b/wayland_server.cpp
index dd4727727..a64bd10d5 100644
--- a/wayland_server.cpp
+++ b/wayland_server.cpp
@@ -33,7 +33,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <KWayland/Client/surface.h>
// Server
#include <KWayland/Server/compositor_interface.h>
+#include <KWayland/Server/datadevice_interface.h>
#include <KWayland/Server/datadevicemanager_interface.h>
+#include <KWayland/Server/datasource_interface.h>
#include <KWayland/Server/display.h>
#include <KWayland/Server/dpms_interface.h>
#include <KWayland/Server/idle_interface.h>

36
scripts/plasma-release.sh Executable file
View File

@@ -0,0 +1,36 @@
#!/bin/bash
#
# add/remove Plasma release recipes
#
function usage()
{
echo "$1 [add|remove] <version>"
exit 1
}
command=$1
if [ -z "$command" ]; then usage $0; fi
version=$2
if [ -z "$version" ]; then usage $0; fi
base=`dirname $0`/../recipes-plasma
case $command in
add)
for recipe in `find $base -name "*.inc" | grep -v /staging/`; do
name=`echo $recipe | sed -e "s,\.inc,_${version}.bb,"`
echo -e 'require ${PN}.inc\nSRCREV = "v${PV}"' > $name
git add $name
done
;;
remove)
for recipe in `find $base -name "*_$version.bb"`; do
git rm -f $recipe
done
;;
*)
usage $0
;;
esac