From 8373639c8973fd9a64b284d1304ea9a38ff1283e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ertu=C4=9Frul=20Erata?= Date: Wed, 12 Aug 2015 09:17:39 +0300 Subject: [PATCH 1/6] qt5-phonon add mesa-devel to deps... --- desktop/kde/phonon/qt5-phonon/pspec.xml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/desktop/kde/phonon/qt5-phonon/pspec.xml b/desktop/kde/phonon/qt5-phonon/pspec.xml index 5febe24458..972129ee78 100644 --- a/desktop/kde/phonon/qt5-phonon/pspec.xml +++ b/desktop/kde/phonon/qt5-phonon/pspec.xml @@ -22,7 +22,7 @@ pulseaudio-libs-devel gstreamer-devel cmake - + mesa-devel qt-5.4.2.patch @@ -50,18 +50,20 @@ qt5-phonon qt5-base-devel + qt5-tools-devel + pulseaudio-libs-devel /usr/include /usr/lib/pkgconfig /usr/lib/cmake - /usr/share/phonon4qt5 + /usr/share/phonon4qt5 - 2015-02-23 + 2015-08-13 4.8.3 First Release Stefan Gronewold(groni) From df50cf6e592437608edb9200f1af53e28bf89638 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ertu=C4=9Frul=20Erata?= Date: Wed, 12 Aug 2015 09:52:10 +0300 Subject: [PATCH 2/6] work for virtualbox qt5 --- .../virtualization/virt-wrapper/actions.py | 17 ++ .../virt-wrapper/files/change_group.patch | 11 + .../virt-wrapper/files/kmod.patch | 20 ++ .../virt-wrapper/files/pass-options-arg.patch | 13 + .../virtualization/virt-wrapper/pspec.xml | 55 ++++ .../virt-wrapper/translations.xml | 8 + hardware/virtualization/virtualbox/actions.py | 118 ++++++++ .../virtualbox/comar/package.py | 13 + .../files/002-dri-driver-path.patch | 28 ++ .../files/003-ogl-include-path.patch | 26 ++ .../virtualbox/files/004-xorg.patch | 217 +++++++++++++++ .../virtualbox/files/005-gsoap-build.patch | 11 + .../files/006-rdesktop-vrdp-keymap-path.patch | 12 + .../virtualbox/files/008-root-window.patch | 19 ++ .../virtualbox/files/009-fix-smap-crash.patch | 107 ++++++++ .../virtualbox/files/60-vboxdrv.rules | 8 + .../virtualbox/files/60-vboxguest.rules | 2 + .../virtualbox/files/LocalConfig.kmk | 21 ++ .../virtualbox/files/desktop-file.patch | 17 ++ .../virtualbox/files/fix-tr-keyboard.patch | 13 + .../virtualbox/files/module-mismatch.patch | 43 +++ .../virtualbox/files/vboxclient.sh | 2 + .../virtualbox/files/vboxreload | 40 +++ .../files/virtualbox-4-makeself-check.patch | 10 + .../virtualbox/files/wrapper.patch | 28 ++ hardware/virtualization/virtualbox/pspec.xml | 256 ++++++++++++++++++ .../virtualbox/translations.xml | 13 + office/misc/gsoap/actions.py | 32 +++ office/misc/gsoap/files/gsoap-libtool.patch | 133 +++++++++ office/misc/gsoap/files/gsoap-pad.patch | 33 +++ .../misc/gsoap/files/gsoap-private-lm.patch | 44 +++ office/misc/gsoap/pspec.xml | 60 ++++ office/misc/gsoap/translations.xml | 14 + server/misc/component.xml | 3 + server/misc/libvncserver/actions.py | 28 ++ server/misc/libvncserver/pspec.xml | 81 ++++++ server/misc/libvncserver/translations.xml | 16 ++ 37 files changed, 1572 insertions(+) create mode 100644 hardware/virtualization/virt-wrapper/actions.py create mode 100644 hardware/virtualization/virt-wrapper/files/change_group.patch create mode 100644 hardware/virtualization/virt-wrapper/files/kmod.patch create mode 100644 hardware/virtualization/virt-wrapper/files/pass-options-arg.patch create mode 100644 hardware/virtualization/virt-wrapper/pspec.xml create mode 100644 hardware/virtualization/virt-wrapper/translations.xml create mode 100644 hardware/virtualization/virtualbox/actions.py create mode 100644 hardware/virtualization/virtualbox/comar/package.py create mode 100644 hardware/virtualization/virtualbox/files/002-dri-driver-path.patch create mode 100644 hardware/virtualization/virtualbox/files/003-ogl-include-path.patch create mode 100644 hardware/virtualization/virtualbox/files/004-xorg.patch create mode 100644 hardware/virtualization/virtualbox/files/005-gsoap-build.patch create mode 100644 hardware/virtualization/virtualbox/files/006-rdesktop-vrdp-keymap-path.patch create mode 100644 hardware/virtualization/virtualbox/files/008-root-window.patch create mode 100644 hardware/virtualization/virtualbox/files/009-fix-smap-crash.patch create mode 100644 hardware/virtualization/virtualbox/files/60-vboxdrv.rules create mode 100644 hardware/virtualization/virtualbox/files/60-vboxguest.rules create mode 100644 hardware/virtualization/virtualbox/files/LocalConfig.kmk create mode 100644 hardware/virtualization/virtualbox/files/desktop-file.patch create mode 100644 hardware/virtualization/virtualbox/files/fix-tr-keyboard.patch create mode 100644 hardware/virtualization/virtualbox/files/module-mismatch.patch create mode 100644 hardware/virtualization/virtualbox/files/vboxclient.sh create mode 100644 hardware/virtualization/virtualbox/files/vboxreload create mode 100644 hardware/virtualization/virtualbox/files/virtualbox-4-makeself-check.patch create mode 100644 hardware/virtualization/virtualbox/files/wrapper.patch create mode 100644 hardware/virtualization/virtualbox/pspec.xml create mode 100644 hardware/virtualization/virtualbox/translations.xml create mode 100644 office/misc/gsoap/actions.py create mode 100644 office/misc/gsoap/files/gsoap-libtool.patch create mode 100644 office/misc/gsoap/files/gsoap-pad.patch create mode 100644 office/misc/gsoap/files/gsoap-private-lm.patch create mode 100644 office/misc/gsoap/pspec.xml create mode 100644 office/misc/gsoap/translations.xml create mode 100644 server/misc/component.xml create mode 100644 server/misc/libvncserver/actions.py create mode 100644 server/misc/libvncserver/pspec.xml create mode 100644 server/misc/libvncserver/translations.xml diff --git a/hardware/virtualization/virt-wrapper/actions.py b/hardware/virtualization/virt-wrapper/actions.py new file mode 100644 index 0000000000..d37beccfd9 --- /dev/null +++ b/hardware/virtualization/virt-wrapper/actions.py @@ -0,0 +1,17 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/licenses/gpl.txt + +from pisi.actionsapi import autotools +from pisi.actionsapi import pisitools +from pisi.actionsapi import get + +def build(): + autotools.make() + +def install(): + autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + + pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "README") diff --git a/hardware/virtualization/virt-wrapper/files/change_group.patch b/hardware/virtualization/virt-wrapper/files/change_group.patch new file mode 100644 index 0000000000..a3aa0925bb --- /dev/null +++ b/hardware/virtualization/virt-wrapper/files/change_group.patch @@ -0,0 +1,11 @@ +--- virt-wrapper-0.1.1.orig/virt-wrapper.py 2009-12-22 10:37:12.000000000 +0200 ++++ virt-wrapper-0.1.1/virt-wrapper.py 2014-11-23 12:44:24.702025021 +0200 +@@ -11,7 +11,7 @@ + __trans = gettext.translation('virt-wrapper', fallback=True) + _ = __trans.ugettext + +-VIRT_GROUP = "virt" ++VIRT_GROUP = "vboxusers" + + class VBox: + def __init__(self): diff --git a/hardware/virtualization/virt-wrapper/files/kmod.patch b/hardware/virtualization/virt-wrapper/files/kmod.patch new file mode 100644 index 0000000000..fcfd1fe54e --- /dev/null +++ b/hardware/virtualization/virt-wrapper/files/kmod.patch @@ -0,0 +1,20 @@ +--- virt-wrapper.py~ 2013-02-01 21:29:54.545523923 +0100 ++++ virt-wrapper.py 2013-02-01 21:30:39.649522275 +0100 +@@ -130,7 +130,7 @@ + if mod.replace("-", "_") in loaded: + link = comar.Link() + try: +- link.Boot.Modules["module_init_tools"].unload(mod) ++ link.Boot.Modules["kmod"].unload(mod) + except dbus.exceptions.DBusException: + return False + else: +@@ -168,7 +168,7 @@ + failure = False + for mod in mods: + try: +- link.Boot.Modules["module_init_tools"].load(mod, "") ++ link.Boot.Modules["kmod"].load(mod, "") + except dbus.exceptions.DBusException: + failure = True + diff --git a/hardware/virtualization/virt-wrapper/files/pass-options-arg.patch b/hardware/virtualization/virt-wrapper/files/pass-options-arg.patch new file mode 100644 index 0000000000..1ded7b2297 --- /dev/null +++ b/hardware/virtualization/virt-wrapper/files/pass-options-arg.patch @@ -0,0 +1,13 @@ +Index: virt-wrapper-0.1.1/virt-wrapper.py +=================================================================== +--- virt-wrapper-0.1.1.orig/virt-wrapper.py ++++ virt-wrapper-0.1.1/virt-wrapper.py +@@ -168,7 +168,7 @@ def checkModules(vapp): + failure = False + for mod in mods: + try: +- link.Boot.Modules["module_init_tools"].load(mod) ++ link.Boot.Modules["module_init_tools"].load(mod, "") + except dbus.exceptions.DBusException: + failure = True + diff --git a/hardware/virtualization/virt-wrapper/pspec.xml b/hardware/virtualization/virt-wrapper/pspec.xml new file mode 100644 index 0000000000..bc68004b3e --- /dev/null +++ b/hardware/virtualization/virt-wrapper/pspec.xml @@ -0,0 +1,55 @@ + + + + + virt-wrapper + http://www.pisilinux.org + + PisiLinux Community + admins@pisilinux.org + + GPLv3 + app:console + Wrapper for virtualization software + virt-wrapper is a wrapper for virtualization applications. It warns users if they are not a member of virt group and loads the kernel modules automatically. + http://source.pisilinux.org/1.0/virt-wrapper-0.1.1.tar.gz + + pass-options-arg.patch + kmod.patch + change_group.patch + + + + + virt-wrapper + + /usr/libexec + /usr/share/locale + /usr/share/doc + + + + + + 2014-11-23 + 0.1.1 + Chande group for usb connect issue + Osman Erkan + osman.erkan@pisilinux.org + + + 2014-02-17 + 0.1.1 + Rebuild. + Osman Erkan + osman.erkan@pisilinux.org + + + 2010-10-13 + 0.1.1 + First release + Pisi Linux Admins + admins@pisilinux.org + + + \ No newline at end of file diff --git a/hardware/virtualization/virt-wrapper/translations.xml b/hardware/virtualization/virt-wrapper/translations.xml new file mode 100644 index 0000000000..8c7686f049 --- /dev/null +++ b/hardware/virtualization/virt-wrapper/translations.xml @@ -0,0 +1,8 @@ + + + + virt-wrapper + Sanallaştırma yazılımları için önbetik + virt-wrapper, sanallaştırma uygulamaları için bir betik içerir. Bu betik, kullanıcıyı eğer virt grubunda değilse uyarır ve çekirdek modüllerini de otomatik olarak yükler. + + diff --git a/hardware/virtualization/virtualbox/actions.py b/hardware/virtualization/virtualbox/actions.py new file mode 100644 index 0000000000..1eea97cb17 --- /dev/null +++ b/hardware/virtualization/virtualbox/actions.py @@ -0,0 +1,118 @@ +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/licenses/gpl.txt + +from pisi.actionsapi import get +from pisi.actionsapi import autotools +from pisi.actionsapi import pisitools +from pisi.actionsapi import shelltools +from pisi.actionsapi import pythonmodules +from pisi.actionsapi import kerneltools + +VBoxLibDir = "/usr/lib/virtualbox" +VBoxDataDir = "/usr/share/virtualbox" +KDIR = kerneltools.getKernelVersion() + +def setup(): + #pisitools.dosed("LocalConfig.kmk", "__VBOXLIBDIR__", VBoxLibDir) + #pisitools.dosed("LocalConfig.kmk", "__VBOXDATADIR__", VBoxDataDir) + + shelltools.echo("vbox.cfg", "INSTALL_DIR=%s" % VBoxLibDir) + + # TODO: Enable web service when we have soapcpp2 + autotools.rawConfigure("\ + --with-makeself=/usr/bin/echo \ + --disable-docs \ + --enable-vde \ + --enable-vnc \ + --enable-webservice \ + --with-linux=/usr/src/linux-headers-%s \ + --with-gcc=%s \ + --with-g++=%s \ + " % (KDIR, get.CC(), get.CXX())) + +def build(): + shelltools.system("source %s/env.sh && kmk" % get.curDIR()) + +def install(): + shelltools.system("awk '$1 ~ /Version:/ { print gensub(/([0-9]+)\.([0-9]+).*/, \"\\\\1\\\\2\", \"g\", $2) }' /usr/lib/pkgconfig/xorg-server.pc > XorgVersion") + with open("XorgVersion", "r") as f: + XorgVersion = f.readline().strip() + pisitools.insinto("/etc/vbox", "vbox.cfg") + shelltools.chmod("src/VBox/Additions/x11/Installer/98vboxadd-xclient", 0755) + pisitools.insinto("/usr/bin", "src/VBox/Additions/x11/Installer/98vboxadd-xclient", "VBoxClient-all") + #pisitools.insinto("/lib/udev/rules.d", "src/VBox/Additions/linux/installer/70-xorg-vboxmouse.rules") + pisitools.insinto("/usr/share/X11/pci", "src/VBox/Additions/x11/Installer/vboxvideo.ids") + #pisitools.insinto("/usr/share/X11/xorg.conf.d", "src/VBox/Additions/x11/Installer/50-vboxmouse.conf") + + arch = "amd64" if get.ARCH() == "x86_64" else "x86" + shelltools.cd("out/linux.%s/release/bin" % arch) + + # libraries installation. The files below are unnecessary files. + # TODO: change loop and make it more discrete (i.e copying each single file) + exclude = ("additions", "icons", "nls", "scm", "sdk", "src", "SUP", "vboxkeyboard", + "VBox.sh", "VBoxSysInfo.sh", "VBoxCreateUSBNode.sh", "VBoxTunctl", "testcase", "tst", "xpidl") + + for _file in shelltools.ls("."): + if _file.startswith(exclude): + continue + + print "Installing %s ..." % _file + pisitools.insinto(VBoxLibDir, _file) + + pisitools.dobin("VBox*.sh", VBoxDataDir) + pisitools.insinto(VBoxDataDir, "nls") + + # TODO: Add vboxwebsrv when ready + # Binaries and Wrapper with Launchers + apps = ("VBoxHeadless", "VBoxManage", "VBoxSDL", "VBoxVRDP", "VirtualBox", "VBoxBalloonCtrl") + for link in apps: + pisitools.dosym("../share/virtualbox/VBox.sh", "/usr/bin/%s" % link) + + pisitools.dobin("VBoxTunctl") + + # Desktop file, mimetype file for xml and icon + pisitools.domove("%s/*.desktop" % VBoxLibDir, "/usr/share/applications") + pisitools.domove("%s/*.png" % VBoxLibDir, "/usr/share/pixmaps") + pisitools.domove("%s/*.xml" % VBoxLibDir, "/usr/share/mime/packages") + + # Mimetypes icons + for size in ["16", "20", "24", "32", "48", "64", "72", "96", "128", "256"]: + pisitools.insinto("/usr/share/icons/hicolor/%sx%s/mimetypes" % (size, size), + "icons/%sx%s/*.png" % (size, size)) + + # Guest additions + pisitools.dobin("additions/VBoxClient") + pisitools.dobin("additions/VBoxControl") + + pisitools.dosbin("additions/VBoxService") + pisitools.dosbin("additions/mount.vboxsf", "/sbin") + + pisitools.insinto("/lib/security", "additions/pam_vbox.so") + + pisitools.dolib("additions/VBoxOGL*") + pisitools.dosym("../../../VBoxOGL.so", "/usr/lib/xorg/modules/dri/vboxvideo_dri.so") + + pisitools.insinto("/usr/lib/xorg/modules/drivers", "additions/vboxvideo_drv_%s.so" % XorgVersion, "vboxvideo_drv.so") + #pisitools.insinto("/usr/lib/xorg/modules/input", "additions/vboxmouse_drv_%s.so" % XorgVersion, "vboxmouse_drv.so") + + # Python bindings + pisitools.insinto("%s/sdk/bindings/xpcom" % VBoxLibDir, "sdk/bindings/xpcom/python") + + shelltools.cd("sdk/installer") + shelltools.copy("vboxapisetup.py", "setup.py") + shelltools.export("VBOX_INSTALL_PATH", VBoxLibDir) + pythonmodules.install() + + shelltools.cd("../..") + mvb_name = "module-virtualbox-%s" % get.srcVERSION() + mvbg_name = "module-virtualbox-guest-%s" % get.srcVERSION() + + shelltools.copy("src", "%s/%s" % (get.workDIR(), mvb_name)) + shelltools.copy("additions/src", "%s/%s" % (get.workDIR(), mvbg_name)) + shelltools.cd(get.workDIR()) + shelltools.system("tar c %s | xz -9 > %s.tar.xz" % ((mvb_name, )*2)) + shelltools.unlinkDir(mvb_name) + shelltools.system("tar c %s | xz -9 > %s.tar.xz" % ((mvbg_name, )*2)) + shelltools.unlinkDir(mvbg_name) diff --git a/hardware/virtualization/virtualbox/comar/package.py b/hardware/virtualization/virtualbox/comar/package.py new file mode 100644 index 0000000000..1477f975bf --- /dev/null +++ b/hardware/virtualization/virtualbox/comar/package.py @@ -0,0 +1,13 @@ +#/usr/bin/python +# -*- coding: utf-8 -*- + +import os + +files = ("VBoxHeadless", "VBoxNetAdpCtl", "VBoxNetDHCP", "VBoxSDL", "VirtualBox") +vboxgroup = "vboxusers" + +def postInstall(fromVersion, fromRelease, toVersion, toRelease): + for _file in files: + f = "/usr/lib/virtualbox/%s" % _file + os.system("/bin/chown :%s %s" % (vboxgroup, f)) + os.chmod(f, 04510) diff --git a/hardware/virtualization/virtualbox/files/002-dri-driver-path.patch b/hardware/virtualization/virtualbox/files/002-dri-driver-path.patch new file mode 100644 index 0000000000..777e8e73b8 --- /dev/null +++ b/hardware/virtualization/virtualbox/files/002-dri-driver-path.patch @@ -0,0 +1,28 @@ +# 2013 © Sébastien Luttringer +--- a/src/VBox/Additions/common/crOpenGL/fakedri_drv.c 2013-09-04 21:03:47.040743507 +0200 ++++ b/src/VBox/Additions/common/crOpenGL/fakedri_drv.c 2013-10-20 23:23:49.705371815 +0200 +@@ -58,23 +58,8 @@ + //#define DEBUG_DRI_CALLS + + //@todo this could be different... +-#ifdef RT_ARCH_AMD64 +-# ifdef RT_OS_FREEBSD +-# define DRI_DEFAULT_DRIVER_DIR "/usr/local/lib/dri" +-# define DRI_XORG_DRV_DIR "/usr/local/lib/xorg/modules/drivers/" +-# else +-# define DRI_DEFAULT_DRIVER_DIR "/usr/lib64/dri:/usr/lib/dri:/usr/lib/x86_64-linux-gnu/dri:/usr/lib/xorg/modules/dri" ++# define DRI_DEFAULT_DRIVER_DIR "/usr/lib/xorg/modules/dri" + # define DRI_XORG_DRV_DIR "/usr/lib/xorg/modules/drivers/" +-# endif +-#else +-# ifdef RT_OS_FREEBSD +-# define DRI_DEFAULT_DRIVER_DIR "/usr/local/lib/dri" +-# define DRI_XORG_DRV_DIR "/usr/local/lib/xorg/modules/drivers/" +-# else +-# define DRI_DEFAULT_DRIVER_DIR "/usr/lib/dri:/usr/lib/i386-linux-gnu/dri:/usr/lib/xorg/modules/dri" +-# define DRI_XORG_DRV_DIR "/usr/lib/xorg/modules/drivers/" +-# endif +-#endif + + #ifdef DEBUG_DRI_CALLS + #define SWDRI_SHOWNAME(pext, func) \ diff --git a/hardware/virtualization/virtualbox/files/003-ogl-include-path.patch b/hardware/virtualization/virtualbox/files/003-ogl-include-path.patch new file mode 100644 index 0000000000..7f319ec76d --- /dev/null +++ b/hardware/virtualization/virtualbox/files/003-ogl-include-path.patch @@ -0,0 +1,26 @@ +--- a/src/VBox/Additions/common/crOpenGL/Makefile.kmk 2013-03-19 18:55:28.774951223 +0000 ++++ b/src/VBox/Additions/common/crOpenGL/Makefile.kmk 2013-03-19 18:58:06.337193736 +0000 +@@ -63,18 +63,12 @@ + VBoxOGL_INCS = . + if1of ($(KBUILD_TARGET), linux solaris freebsd) + VBoxOGL_INCS += \ +- $(VBOX_PATH_X11_ROOT)/libXdamage-1.1 \ +- $(VBOX_PATH_X11_ROOT)/libXcomposite-0.4.0 \ +- $(VBOX_PATH_X11_ROOT)/libXext-1.3.1 \ +- $(VBOX_PATH_X11_ROOT)/libXfixes-4.0.3 \ +- $(VBOX_PATH_X11_ROOT)/damageproto-1.1.0 \ +- $(VBOX_PATH_X11_ROOT)/compositeproto-0.4 \ +- $(VBOX_PATH_X11_ROOT)/fixesproto-4.0 \ +- $(VBOX_PATH_X11_ROOT)/libx11-1.1.5-other \ +- $(VBOX_PATH_X11_ROOT)/xextproto-7.1.1 \ +- $(VBOX_PATH_X11_ROOT)/xproto-7.0.18 \ ++ /usr/include/x11 \ ++ /usr/include/xorg \ ++ /usr/include/pixman-1 \ + $(VBOX_MESA_INCS) \ +- $(PATH_ROOT)/src/VBox/Additions/x11/x11include/libdrm-2.4.13 ++ /usr/include/drm \ ++ /usr/include/libdrm + VBoxOGL_DEFS += VBOX_NO_NATIVEGL + endif + diff --git a/hardware/virtualization/virtualbox/files/004-xorg.patch b/hardware/virtualization/virtualbox/files/004-xorg.patch new file mode 100644 index 0000000000..788f16a687 --- /dev/null +++ b/hardware/virtualization/virtualbox/files/004-xorg.patch @@ -0,0 +1,217 @@ +--- a/src/VBox/Additions/common/VBoxGuestLib/Makefile.km 2013-09-04 21:03:47.334749420 +0200 ++++ b/src/VBox/Additions/common/VBoxGuestLib/Makefile.kmk 2013-10-21 00:06:36.418245968 +0200 +@@ -40,8 +40,8 @@ + VBoxGuestR3LibShared + ifndef VBOX_ONLY_TESTSUITE + if1of ($(KBUILD_TARGET), freebsd linux netbsd openbsd) +- LIBRARIES += \ +- VBoxGuestR3LibXFree86 ++# LIBRARIES += \ ++# VBoxGuestR3LibXFree86 + endif + endif + LIBRARIES.win.amd64 += VBoxGuestR3Lib-x86 VBoxGuestR3LibShared-x86 + +--- a/src/VBox/Additions/x11/Makefile.kmk 2013-03-19 18:55:28.974949837 +0000 ++++ b/src/VBox/Additions/x11/Makefile.kmk 2013-03-19 18:56:00.468064457 +0000 +@@ -17,6 +17,10 @@ + SUB_DEPTH = ../../../.. + include $(KBUILD_PATH)/subheader.kmk + ++ifn1of ($(XSERVER_VERSION), 13 14 15 16 17 18 19 110 111) ++ XSERVER_VERSION := 17 ++endif ++ + # Include sub-makefiles. + if1of ($(KBUILD_TARGET), freebsd linux netbsd openbsd solaris) + include $(PATH_SUB_CURRENT)/VBoxClient/Makefile.kmk + +--- a/src/VBox/Additions/x11/vboxmouse/Makefile.kmk 2013-03-19 18:55:28.818284256 +0000 ++++ b/src/VBox/Additions/x11/vboxmouse/Makefile.kmk 2013-03-19 18:56:00.468064457 +0000 +@@ -29,7 +29,6 @@ + # vboxmouse_drv + # + if1of ($(KBUILD_TARGET), linux) +- SYSMODS += vboxmouse_drv + vboxmouse_drv_TEMPLATE = VBOXGUESTR3XF86MOD + vboxmouse_drv_DEFS.linux = linux + vboxmouse_drv_DEFS.x86 += __i386__ +@@ -69,7 +68,6 @@ + # + # vboxmouse_drv_70 + # +-DLLS += vboxmouse_drv_70 + vboxmouse_drv_70_TEMPLATE = VBOXGUESTR3XORGMOD + vboxmouse_drv_70_DEFS = \ + XFree86Server IN_MODULE XFree86Module XFree86LOADER XINPUT XORG_7X IN_XF86_MODULE DONT_DEFINE_WRAPPERS NO_ANSIC +@@ -85,7 +83,6 @@ + # + # vboxmouse_drv_71 + # +-DLLS += vboxmouse_drv_71 + vboxmouse_drv_71_TEMPLATE = VBOXGUESTR3XORGMOD + vboxmouse_drv_71_DEFS := $(vboxmouse_drv_70_DEFS) NO_ANSIC + vboxmouse_drv_71_INCS := \ +@@ -100,7 +97,6 @@ + # + # vboxmouse_drv_13 + # +-DLLS += vboxmouse_drv_13 + vboxmouse_drv_13_TEMPLATE = VBOXGUESTR3XORGMOD + vboxmouse_drv_13_DEFS := $(vboxmouse_drv_70_DEFS) NO_ANSIC + vboxmouse_drv_13_INCS := \ +@@ -114,7 +110,6 @@ + # + # vboxmouse_drv_14 + # +-DLLS += vboxmouse_drv_14 + vboxmouse_drv_14_TEMPLATE = VBOXGUESTR3XORGMOD + vboxmouse_drv_14_DEFS := $(vboxmouse_drv_70_DEFS) NO_ANSIC + vboxmouse_drv_14_INCS := \ +@@ -128,7 +123,6 @@ + # + # vboxmouse_drv_15 + # +-DLLS += vboxmouse_drv_15 + vboxmouse_drv_15_TEMPLATE = VBOXGUESTR3XORGMOD + vboxmouse_drv_15_DEFS := $(vboxmouse_drv_70_DEFS) NO_ANSIC + vboxmouse_drv_15_INCS := \ +@@ -142,7 +136,6 @@ + # + # vboxmouse_drv_16 + # +-DLLS += vboxmouse_drv_16 + vboxmouse_drv_16_TEMPLATE = VBOXGUESTR3XORGMOD + vboxmouse_drv_16_DEFS := $(vboxmouse_drv_70_DEFS) NO_ANSIC + vboxmouse_drv_16_INCS := \ + +--- a/src/VBox/Additions/x11/vboxvideo/Makefile.kmk 2013-03-19 18:55:28.974949837 +0000 ++++ b/src/VBox/Additions/x11/vboxvideo/Makefile.kmk 2013-03-19 18:56:00.468064457 +0000 +@@ -53,7 +53,6 @@ + # vboxvideo_drv + # + if1of ($(KBUILD_TARGET), linux) +- SYSMODS += vboxvideo_drv + endif # target linux + vboxvideo_drv_TEMPLATE = VBOXGUESTR3XF86MOD + vboxvideo_drv_DEFS.linux = linux +@@ -128,7 +127,6 @@ + # base keywords instead of using .solaris or .linux. + # Also it is *important* to use := and not = when deriving a property. + # +-DLLS += vboxvideo_drv_70 + vboxvideo_drv_70_TEMPLATE = VBOXGUESTR3XORGMOD + if1of ($(KBUILD_TARGET), linux) + vboxvideo_drv_70_CFLAGS += \ +@@ -149,7 +147,6 @@ + # + # vboxvideo_drv_71 + # +-DLLS += vboxvideo_drv_71 + vboxvideo_drv_71_TEMPLATE = VBOXGUESTR3XORGMOD + vboxvideo_drv_71_CFLAGS := $(vboxvideo_drv_70_CFLAGS) + vboxvideo_drv_71_DEFS := $(vboxvideo_70_DEFS) XORG_VERSION_CURRENT=700100000 +@@ -164,7 +161,6 @@ + # + # vboxvideo_drv_13 + # +-DLLS += vboxvideo_drv_13 + vboxvideo_drv_13_TEMPLATE = VBOXGUESTR3XORGMOD + vboxvideo_drv_13_CFLAGS := $(vboxvideo_drv_70_CFLAGS) + vboxvideo_drv_13_DEFS := $(vboxvideo_13_DEFS) XORG_VERSION_CURRENT=100300000 +@@ -178,7 +174,6 @@ + # + # vboxvideo_drv_14 + # +-DLLS += vboxvideo_drv_14 + vboxvideo_drv_14_TEMPLATE = VBOXGUESTR3XORGMOD + vboxvideo_drv_14_CFLAGS := $(vboxvideo_drv_70_CFLAGS) + vboxvideo_drv_14_DEFS := $(vboxvideo_13_DEFS) XORG_VERSION_CURRENT=100400000 +@@ -192,7 +187,6 @@ + # + # vboxvideo_drv_15 + # +-DLLS += vboxvideo_drv_15 + vboxvideo_drv_15_TEMPLATE = VBOXGUESTR3XORGMOD + vboxvideo_drv_15_CFLAGS := $(vboxvideo_drv_70_CFLAGS) + vboxvideo_drv_15_DEFS := $(vboxvideo_15_DEFS) XORG_VERSION_CURRENT=100503000 +@@ -213,7 +207,6 @@ + # + # vboxvideo_drv_16 + # +-DLLS += vboxvideo_drv_16 + vboxvideo_drv_16_TEMPLATE = VBOXGUESTR3XORGMOD + vboxvideo_drv_16_CFLAGS := $(vboxvideo_drv_70_CFLAGS) + vboxvideo_drv_16_DEFS := $(vboxvideo_15_DEFS) XORG_VERSION_CURRENT=100600000 +@@ -227,7 +220,6 @@ + # + # vboxvideo_drv_17 + # +-DLLS += vboxvideo_drv_17 + vboxvideo_drv_17_TEMPLATE = VBOXGUESTR3XORGMOD + vboxvideo_drv_17_CFLAGS := $(vboxvideo_drv_70_CFLAGS) + vboxvideo_drv_17_DEFS := $(vboxvideo_15_DEFS) XORG_VERSION_CURRENT=100699000 +@@ -241,7 +233,6 @@ + # + # vboxvideo_drv_18 + # +-DLLS += vboxvideo_drv_18 + vboxvideo_drv_18_TEMPLATE = VBOXGUESTR3XORGMOD + vboxvideo_drv_18_CFLAGS := $(vboxvideo_drv_70_CFLAGS) + vboxvideo_drv_18_DEFS := $(vboxvideo_15_DEFS) XORG_VERSION_CURRENT=100800000 +@@ -255,7 +246,6 @@ + # + # vboxvideo_drv_19 + # +-DLLS += vboxvideo_drv_19 + vboxvideo_drv_19_TEMPLATE = VBOXGUESTR3XORGMOD + vboxvideo_drv_19_CFLAGS := $(vboxvideo_drv_70_CFLAGS) + vboxvideo_drv_19_DEFS := $(vboxvideo_15_DEFS) XORG_VERSION_CURRENT=100900000 +@@ -269,7 +259,6 @@ + # + # vboxvideo_drv_110 + # +-DLLS += vboxvideo_drv_110 + vboxvideo_drv_110_TEMPLATE = VBOXGUESTR3XORGMOD + vboxvideo_drv_110_CFLAGS := $(vboxvideo_drv_70_CFLAGS) + vboxvideo_drv_110_DEFS := $(vboxvideo_15_DEFS) XORG_VERSION_CURRENT=101000000 +@@ -283,7 +272,6 @@ + # + # vboxvideo_drv_111 + # +-DLLS += vboxvideo_drv_111 + vboxvideo_drv_111_TEMPLATE = VBOXGUESTR3XORGMOD + vboxvideo_drv_111_CFLAGS := $(vboxvideo_drv_70_CFLAGS) + vboxvideo_drv_111_DEFS := $(vboxvideo_15_DEFS) XORG_VERSION_CURRENT=101100000 +@@ -297,7 +285,6 @@ + # + # vboxvideo_drv_112 + # +-DLLS += vboxvideo_drv_112 + vboxvideo_drv_112_TEMPLATE = VBOXGUESTR3XORGMOD + vboxvideo_drv_112_CFLAGS := $(vboxvideo_drv_70_CFLAGS) + vboxvideo_drv_112_DEFS := $(vboxvideo_15_DEFS) XORG_VERSION_CURRENT=101200000 +@@ -341,6 +328,23 @@ + endif + + ++vboxvideo_drv_$(XSERVER_VERSION)_NAME := vboxvideo_drv ++vboxvideo_drv_$(XSERVER_VERSION)_INCS := \ ++ /usr/include/xorg \ ++ /usr/include/x11 \ ++ /usr/include/pixman-1 \ ++ /usr/include/X11/dri \ ++ /usr/include/drm \ ++ /usr/include/libdrm ++vboxvideo_drv_$(XSERVER_VERSION)_INCS += $(PATH_ROOT)/src/VBox/Runtime/include ++DLLS += vboxvideo_drv_$(XSERVER_VERSION) ++ ++# required for lenny backports ++ifeq ($(XSERVER_VERSION),14) ++ vboxvideo_drv_$(XSERVER_VERSION)_INCS += $(VBOX_PATH_X11_XORG_1_4)/xorg ++endif ++ ++ + # Check the undefined symbols in the X.Org modules against lists of allowed + # symbols. Not very elegant, but it will catch problems early. + diff --git a/hardware/virtualization/virtualbox/files/005-gsoap-build.patch b/hardware/virtualization/virtualbox/files/005-gsoap-build.patch new file mode 100644 index 0000000000..267be96853 --- /dev/null +++ b/hardware/virtualization/virtualbox/files/005-gsoap-build.patch @@ -0,0 +1,11 @@ +--- a/src/VBox/Main/webservice/Makefile.kmk 2013-11-21 19:00:46.812761628 +0100 ++++ b/src/VBox/Main/webservice/Makefile.kmk 2014-01-04 04:37:05.803599026 +0100 +@@ -683,7 +683,7 @@ + : $(VBOXWEB_GSOAPH_FROM_GSOAP) $(VBOXWEB_GSOAPH_FROM_XSLT) $(VBOX_NSMAP) $(RECOMPILE_ON_MAKEFILE_CURRENT) | $$(dir $$@) + $(call MSG_GENERATE,,lots of files,$(GSOAPH_RELEVANT)) + $(RM) -f $@ +- $(REDIRECT) -C $(VBOXWEB_OUT_DIR) -- $(VBOX_SOAPCPP2) $(VBOXWEB_SOAPCPP2_SKIP_FILES) -L -2 -w -I$(VBOX_PATH_GSOAP_IMPORT) $(GSOAPH_RELEVANT) ++ $(REDIRECT) -C $(VBOXWEB_OUT_DIR) -- $(VBOX_SOAPCPP2) $(VBOXWEB_SOAPCPP2_SKIP_FILES) -z1 -L -2 -w -I$(VBOX_PATH_GSOAP_IMPORT) $(GSOAPH_RELEVANT) + $(APPEND) $@ done + + # copy the generated headers and stuff. This has to be a separate rule if we diff --git a/hardware/virtualization/virtualbox/files/006-rdesktop-vrdp-keymap-path.patch b/hardware/virtualization/virtualbox/files/006-rdesktop-vrdp-keymap-path.patch new file mode 100644 index 0000000000..46c72c1ccf --- /dev/null +++ b/hardware/virtualization/virtualbox/files/006-rdesktop-vrdp-keymap-path.patch @@ -0,0 +1,12 @@ +# 2015 © Sébastien Luttringer +--- a/src/VBox/RDP/client-1.8.3/Makefile.kmk 2013-02-19 23:12:20.207464901 +0100 ++++ b/src/VBox/RDP/client-1.8.3/Makefile.kmk 2014-01-04 04:17:26.700618600 +0100 +@@ -41,7 +41,7 @@ + EGD_SOCKET=\"/var/run/egd-pool\" WITH_RDPSND=1 HAVE_DIRENT_H=1 \ + HAVE_ICONV=1 HAVE_SYS_STATVFS_H=1 \ + HAVE_SYS_PARAM_H=1 HAVE_SYS_MOUNT_H=1 HAVE_STRUCT_STATVFS_F_NAMEMAX=1 \ +- KEYMAP_PATH=$(if $(findstring RTPATH_APP_PRIVATE,$(CDEFS)),RTPATH_APP_PRIVATE,\"/opt/VirtualBox\")\"/rdesktop-vrdp-keymaps\" \ ++ KEYMAP_PATH=$(if $(findstring RTPATH_APP_PRIVATE,$(CDEFS)),RTPATH_APP_PRIVATE,\"/usr/share/virtualbox\")\"/rdesktop-vrdp-keymaps\" \ + RDESKTOP=1 + ifdef WITH_BIRD_VD_HACKS + rdesktop-vrdp_DEFS += WITH_BIRD_VD_HACKS diff --git a/hardware/virtualization/virtualbox/files/008-root-window.patch b/hardware/virtualization/virtualbox/files/008-root-window.patch new file mode 100644 index 0000000000..4d16a094cb --- /dev/null +++ b/hardware/virtualization/virtualbox/files/008-root-window.patch @@ -0,0 +1,19 @@ +--- a/src/VBox/Additions/x11/vboxvideo/vboxvideo.h 2015-03-04 00:38:45.381480285 +0100 ++++ b/src/VBox/Additions/x11/vboxvideo/vboxvideo.h 2015-03-04 00:40:57.536942966 +0100 +@@ -130,15 +130,7 @@ + #define VBOX_MAX_DRAWABLES 256 /* At random. */ + + #define VBOXPTR(p) ((VBOXPtr)((p)->driverPrivate)) +- +-/** Helper to work round different ways of getting the root window in different +- * server versions. */ +-#if defined(XORG_VERSION_CURRENT) && XORG_VERSION_CURRENT < 70000000 \ +- && XORG_VERSION_CURRENT >= 10900000 +-# define ROOT_WINDOW(pScrn) screenInfo.screens[(pScrn)->scrnIndex]->root +-#else +-# define ROOT_WINDOW(pScrn) WindowTable[(pScrn)->scrnIndex] +-#endif ++#define ROOT_WINDOW(pScrn) screenInfo.screens[(pScrn)->scrnIndex]->root + + /** Structure containing all virtual monitor-specific information. */ + struct VBoxScreen diff --git a/hardware/virtualization/virtualbox/files/009-fix-smap-crash.patch b/hardware/virtualization/virtualbox/files/009-fix-smap-crash.patch new file mode 100644 index 0000000000..ba6065717e --- /dev/null +++ b/hardware/virtualization/virtualbox/files/009-fix-smap-crash.patch @@ -0,0 +1,107 @@ +# https://www.virtualbox.org/ticket/13961 + +--- a/src/VBox/HostDrivers/Support/linux/SUPDrv-linux.c 2015-03-20 15:24:13.000000000 +0100 ++++ b/src/VBox/HostDrivers/Support/linux/SUPDrv-linux.c 2015-03-20 15:23:51.000000000 +0100 +@@ -48,12 +48,6 @@ + # include + # define VBOX_WITH_SUSPEND_NOTIFICATION + #endif +-#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 7, 0) +-# include +-#else +-static inline void clac(void) { } +-static inline void stac(void) { } +-#endif + + #include + #ifdef CONFIG_DEVFS_FS +--- a/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h 2015-03-20 15:24:13.000000000 +0100 ++++ b/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h 2015-03-20 15:23:52.000000000 +0100 +@@ -145,6 +145,13 @@ + # include + #endif + ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 7, 0) ++# include ++#else ++static inline void clac(void) { } ++static inline void stac(void) { } ++#endif ++ + #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 0) + # ifndef page_to_pfn + # define page_to_pfn(page) ((page) - mem_map) +--- a/src/VBox/Runtime/r0drv/linux/threadctxhooks-r0drv-linux.c 2015-03-20 15:24:13.000000000 +0100 ++++ b/src/VBox/Runtime/r0drv/linux/threadctxhooks-r0drv-linux.c 2015-03-20 15:23:52.000000000 +0100 +@@ -36,6 +36,9 @@ + #include + #include + #include ++#if defined(RT_ARCH_AMD64) || defined(RT_ARCH_X86) ++# include ++#endif + #include "internal/thread.h" + + /* +@@ -68,6 +71,11 @@ + struct preempt_ops hPreemptOps; + /** The reference count for this object. */ + uint32_t volatile cRefs; ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 1, 19) && defined(RT_ARCH_AMD64) ++ /** Starting with 3.1.19, the linux kernel doesn't restore kernel RFLAGS during ++ * task switch, so we have to do that ourselves. (x86 code is not affected.) */ ++ RTCCUINTREG fSavedRFlags; ++#endif + } RTTHREADCTXINT, *PRTTHREADCTXINT; + + +@@ -84,12 +92,24 @@ + static void rtThreadCtxHooksLnxSchedOut(struct preempt_notifier *pPreemptNotifier, struct task_struct *pNext) + { + PRTTHREADCTXINT pThis = RT_FROM_MEMBER(pPreemptNotifier, RTTHREADCTXINT, hPreemptNotifier); ++#if defined(RT_ARCH_AMD64) || defined(RT_ARCH_X86) ++ RTCCUINTREG fSavedEFlags = ASMGetFlags(); ++ stac(); ++#endif ++ + AssertPtr(pThis); + AssertPtr(pThis->pfnThreadCtxHook); + Assert(pThis->fRegistered); + Assert(!RTThreadPreemptIsEnabled(NIL_RTTHREAD)); + + pThis->pfnThreadCtxHook(RTTHREADCTXEVENT_PREEMPTING, pThis->pvUser); ++ ++#if defined(RT_ARCH_AMD64) || defined(RT_ARCH_X86) ++ ASMSetFlags(fSavedEFlags); ++# if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 1, 19) && defined(RT_ARCH_AMD64) ++ pThis->fSavedRFlags = fSavedEFlags; ++# endif ++#endif + } + + +@@ -105,11 +125,24 @@ + static void rtThreadCtxHooksLnxSchedIn(struct preempt_notifier *pPreemptNotifier, int iCpu) + { + PRTTHREADCTXINT pThis = RT_FROM_MEMBER(pPreemptNotifier, RTTHREADCTXINT, hPreemptNotifier); ++#if defined(RT_ARCH_AMD64) || defined(RT_ARCH_X86) ++ RTCCUINTREG fSavedEFlags = ASMGetFlags(); ++ stac(); ++#endif ++ + AssertPtr(pThis); + AssertPtr(pThis->pfnThreadCtxHook); + Assert(pThis->fRegistered); + + pThis->pfnThreadCtxHook(RTTHREADCTXEVENT_RESUMED, pThis->pvUser); ++ ++#if defined(RT_ARCH_AMD64) || defined(RT_ARCH_X86) ++# if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 1, 19) && defined(RT_ARCH_AMD64) ++ fSavedEFlags &= ~RT_BIT_64(18) /*X86_EFL_AC*/; ++ fSavedEFlags |= pThis->fSavedRFlags & RT_BIT_64(18) /*X86_EFL_AC*/; ++# endif ++ ASMSetFlags(fSavedEFlags); ++#endif + } + + diff --git a/hardware/virtualization/virtualbox/files/60-vboxdrv.rules b/hardware/virtualization/virtualbox/files/60-vboxdrv.rules new file mode 100644 index 0000000000..83daf59262 --- /dev/null +++ b/hardware/virtualization/virtualbox/files/60-vboxdrv.rules @@ -0,0 +1,8 @@ +KERNEL=="vboxdrv", NAME="vboxdrv", OWNER="root", GROUP="root", MODE="0600" +KERNEL=="vboxdrvu", NAME="vboxdrvu", OWNER="root", GROUP="root", MODE="0666" +KERNEL=="vboxnetctl", NAME="vboxnetctl", OWNER="root", GROUP="root", MODE="0600" + +SUBSYSTEM=="usb_device", ACTION=="add", RUN="/usr/share/virtualbox/VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass} vboxusers" +SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", RUN="/usr/share/virtualbox/VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass} vboxusers" +SUBSYSTEM=="usb_device", ACTION=="remove", RUN="/usr/share/virtualbox/VBoxCreateUSBNode.sh --remove $major $minor" +SUBSYSTEM=="usb", ACTION=="remove", ENV{DEVTYPE}=="usb_device", RUN="/usr/share/virtualbox/VBoxCreateUSBNode.sh --remove $major $minor" diff --git a/hardware/virtualization/virtualbox/files/60-vboxguest.rules b/hardware/virtualization/virtualbox/files/60-vboxguest.rules new file mode 100644 index 0000000000..6285f72499 --- /dev/null +++ b/hardware/virtualization/virtualbox/files/60-vboxguest.rules @@ -0,0 +1,2 @@ +ACTION=="add", KERNEL=="vboxguest", SUBSYSTEM=="misc", OWNER="root", MODE="0600" +ACTION=="add", KERNEL=="vboxuser", SUBSYSTEM=="misc", OWNER="root", MODE="0666" diff --git a/hardware/virtualization/virtualbox/files/LocalConfig.kmk b/hardware/virtualization/virtualbox/files/LocalConfig.kmk new file mode 100644 index 0000000000..5dbfcf7dec --- /dev/null +++ b/hardware/virtualization/virtualbox/files/LocalConfig.kmk @@ -0,0 +1,21 @@ +VBOX_WITH_ADDITION_DRIVERS = +VBOX_WITH_INSTALLER = 1 +VBOX_WITH_LINUX_ADDITIONS = 1 +VBOX_WITH_X11_ADDITIONS = 1 +VBOX_WITH_TESTCASES = +VBOX_WITH_TESTSUITE = +VBOX_WITH_ORIGIN := +VBOX_PATH_APP_PRIVATE_ARCH := /usr/lib/virtualbox +VBOX_PATH_SHARED_LIBS := $(VBOX_PATH_APP_PRIVATE_ARCH) +VBOX_WITH_RUNPATH := $(VBOX_PATH_APP_PRIVATE_ARCH) +VBOX_PATH_APP_PRIVATE := /usr/share/virtualbox +VBOX_PATH_APP_DOCS := /usr/share/doc/virtualbox +VBOX_PATH_PACKAGE_DOCS := $(VBOX_PATH_APP_DOCS) +VBOX_WITH_REGISTRATION_REQUEST = +VBOX_WITH_UPDATE_REQUEST = +VBOX_BLD_PYTHON = python +VBOX_JAVA_HOME = /usr/lib/jvm/java-7-openjdk +VBOX_GCC_WERR = +VBOX_GCC_WARN = +# fix gsoap missing zlib include and produce errors with --as-needed +VBOX_GSOAP_CXX_LIBS := gsoapssl++ z diff --git a/hardware/virtualization/virtualbox/files/desktop-file.patch b/hardware/virtualization/virtualbox/files/desktop-file.patch new file mode 100644 index 0000000000..05eff96be4 --- /dev/null +++ b/hardware/virtualization/virtualbox/files/desktop-file.patch @@ -0,0 +1,17 @@ +Index: VirtualBox-2.2.0_OSE/src/VBox/Installer/freebsd/VirtualBox.desktop +=================================================================== +--- VirtualBox-2.2.0_OSE.orig/src/VBox/Installer/freebsd/virtualbox.desktop ++++ VirtualBox-2.2.0_OSE/src/VBox/Installer/freebsd/virtualbox.desktop +@@ -3,6 +3,7 @@ Encoding=UTF-8 + Version=1.0 + Name=Oracle VM VirtualBox + GenericName=Virtual Machine ++GenericName[tr]=Sanal Makine + Type=Application + Exec=VirtualBox + TryExec=VirtualBox +@@ -14,3 +15,4 @@ Comment[de]=Windows und andere Betriebss + Comment[pl]=Uruchamianie wielu systemów wirtualnych na jednym komputerze gospodarza + Comment[sv]=Kör flera virtuella system på en enda värddator + Comment[ko]=가상 머신 ++Comment[tr]=Tek bir sunucu bilgisayarda birden fazla sanal sistem çalıştırın diff --git a/hardware/virtualization/virtualbox/files/fix-tr-keyboard.patch b/hardware/virtualization/virtualbox/files/fix-tr-keyboard.patch new file mode 100644 index 0000000000..f95e3bda04 --- /dev/null +++ b/hardware/virtualization/virtualbox/files/fix-tr-keyboard.patch @@ -0,0 +1,13 @@ +Index: VirtualBox-2.2.4_OSE/src/VBox/Frontends/Common/VBoxKeyboard/keyboard-layouts.h +=================================================================== +--- VirtualBox-2.2.4_OSE.orig/src/VBox/Frontends/Common/VBoxKeyboard/keyboard-layouts.h ++++ VirtualBox-2.2.4_OSE/src/VBox/Frontends/Common/VBoxKeyboard/keyboard-layouts.h +@@ -1836,7 +1836,7 @@ static const char main_key_th_pat[MAIN_L + /* Turkey */ + static const char main_key_tr[MAIN_LEN][2] = + { +-"\"\\","1!","2'","3^","4+","5%","6&","7/","8(","9)","0=","*?","-_", ++"\"\xe9","1!","2'","3^","4+","5%","6&","7/","8(","9)","0=","*?","-_", + "qQ","wW","eE","rR","tT","yY","uU","\xb9I","oO","pP","\xbb\xab","\xfc\xdc", + "aA","sS","dD","fF","gG","hH","jJ","kK","lL","\xba\xaa","i\xa9",",;", + "zZ","xX","cC","vV","bB","nN","mM","\xf6\xd6","\xe7\xc7",".:","<>","\x0\x0","\x0\x0" diff --git a/hardware/virtualization/virtualbox/files/module-mismatch.patch b/hardware/virtualization/virtualbox/files/module-mismatch.patch new file mode 100644 index 0000000000..c0f47a433d --- /dev/null +++ b/hardware/virtualization/virtualbox/files/module-mismatch.patch @@ -0,0 +1,43 @@ +Index: VirtualBox-4.0.2_OSE/src/VBox/VMM/VMMR3/VM.cpp +=================================================================== +--- VirtualBox-4.0.2_OSE.orig/src/VBox/VMM/VMMR3/VM.cpp ++++ VirtualBox-4.0.2_OSE/src/VBox/VMM/VMMR3/VM.cpp +@@ -361,10 +361,8 @@ VMMR3DECL(int) VMR3Create(uint32_t cCp + { + case VERR_VM_DRIVER_LOAD_ERROR: + #ifdef RT_OS_LINUX +- pszError = N_("VirtualBox kernel driver not loaded. The vboxdrv kernel module " +- "was either not loaded or /dev/vboxdrv is not set up properly. " +- "Re-setup the kernel module by executing " +- "'/etc/init.d/vboxdrv setup' as root"); ++ pszError = N_("VirtualBox kernel driver not loaded. " ++ "Please install the module-virtualbox package."); + #else + pszError = N_("VirtualBox kernel driver not loaded"); + #endif +@@ -403,10 +401,8 @@ VMMR3DECL(int) VMR3Create(uint32_t cCp + case VERR_INVALID_HANDLE: /** @todo track down and fix this error. */ + case VERR_VM_DRIVER_NOT_INSTALLED: + #ifdef RT_OS_LINUX +- pszError = N_("VirtualBox kernel driver not installed. The vboxdrv kernel module " +- "was either not loaded or /dev/vboxdrv was not created for some " +- "reason. Re-setup the kernel module by executing " +- "'/etc/init.d/vboxdrv setup' as root"); ++ pszError = N_("VirtualBox kernel driver not installed. " ++ "Please install the module-virtualbox package."); + #else + pszError = N_("VirtualBox kernel driver not installed"); + #endif +@@ -416,9 +412,9 @@ VMMR3DECL(int) VMR3Create(uint32_t cCp + break; + case VERR_VERSION_MISMATCH: + case VERR_VM_DRIVER_VERSION_MISMATCH: +- pszError = N_("The VirtualBox support driver which is running is from a different " +- "version of VirtualBox. You can correct this by stopping all " +- "running instances of VirtualBox and reinstalling the software."); ++ pszError = N_("The version of the VirtualBox kernel modules and the version of " ++ "VirtualBox application are not matching. You can correct this by " ++ "updating virtualbox and module-virtualbox packages."); + break; + default: + pszError = N_("Unknown error initializing kernel driver"); diff --git a/hardware/virtualization/virtualbox/files/vboxclient.sh b/hardware/virtualization/virtualbox/files/vboxclient.sh new file mode 100644 index 0000000000..49905d5d2a --- /dev/null +++ b/hardware/virtualization/virtualbox/files/vboxclient.sh @@ -0,0 +1,2 @@ +# Start VirtualBox Clients on guest machines +test -c /dev/vboxguest && /usr/bin/VBoxClient-all diff --git a/hardware/virtualization/virtualbox/files/vboxreload b/hardware/virtualization/virtualbox/files/vboxreload new file mode 100644 index 0000000000..7b525674a3 --- /dev/null +++ b/hardware/virtualization/virtualbox/files/vboxreload @@ -0,0 +1,40 @@ +#!/bin/bash + +# vboxreload: shortcut to reload virtualbox modules with DKMS support +# +# Copyright © 2013 Sébastien Luttringer +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + +modules=(vboxnetadp vboxnetflt vboxpci vboxdrv) + +echo -n 'Unloading modules: ' +for _m in "${modules[@]}"; do + lsmod|grep -q "$_m" && rmmod "$_m" && echo -n "$_m " +done +echo + +if type -P dkms >/dev/null; then + echo 'DKMS autoinstall' + dkms autoinstall +fi + +echo -n 'Loading modules: ' +for _m in "${modules[@]}"; do + modprobe "$_m" && echo -n "$_m " +done +echo + +# vim:set ts=2 sw=2 ai et: diff --git a/hardware/virtualization/virtualbox/files/virtualbox-4-makeself-check.patch b/hardware/virtualization/virtualbox/files/virtualbox-4-makeself-check.patch new file mode 100644 index 0000000000..e1fcb8c2f4 --- /dev/null +++ b/hardware/virtualization/virtualbox/files/virtualbox-4-makeself-check.patch @@ -0,0 +1,10 @@ +--- VirtualBox-4.0.0_OSE/configure ++++ VirtualBox-4.0.0_OSE/configure +@@ -2527,7 +2527,6 @@ + check_compiler_h + [ "$BUILD_MACHINE" = "amd64" -a $WITH_VMMRAW -eq 1 ] && check_32bit + # tools/common/makeself* +- [ $OSE -ge 1 ] && check_makeself + fi + + [ -n "$SETUP_WINE" ] && setup_wine diff --git a/hardware/virtualization/virtualbox/files/wrapper.patch b/hardware/virtualization/virtualbox/files/wrapper.patch new file mode 100644 index 0000000000..3ef1693198 --- /dev/null +++ b/hardware/virtualization/virtualbox/files/wrapper.patch @@ -0,0 +1,28 @@ +Index: VirtualBox-2.2.4_OSE/src/VBox/Installer/linux/VBox.sh +=================================================================== +--- VirtualBox-2.2.4_OSE.orig/src/VBox/Installer/linux/VBox.sh ++++ VirtualBox-2.2.4_OSE/src/VBox/Installer/linux/VBox.sh +@@ -32,16 +32,18 @@ fi + + if [ "$1" = "shutdown" ]; then + SHUTDOWN="true" +-elif ! lsmod|grep -q vboxdrv; then +- cat << EOF ++elif [ -x /usr/libexec/virt-wrapper ]; then ++ /usr/libexec/virt-wrapper virtualbox || exit 1 ++ ++ if ! lsmod|grep -q vboxdrv; then ++ cat << EOF + WARNING: The vboxdrv kernel module is not loaded. Either there is no module + available for the current kernel (`uname -r`) or it failed to +- load. Please recompile the kernel module and install it by +- +- sudo /etc/init.d/vboxdrv setup ++ load. + + You will not be able to start VMs until this problem is fixed. + EOF ++ fi + elif [ ! -c /dev/vboxdrv ]; then + cat << EOF + WARNING: The character device /dev/vboxdrv does not exist. Try diff --git a/hardware/virtualization/virtualbox/pspec.xml b/hardware/virtualization/virtualbox/pspec.xml new file mode 100644 index 0000000000..4fff7f5751 --- /dev/null +++ b/hardware/virtualization/virtualbox/pspec.xml @@ -0,0 +1,256 @@ + + + + + virtualbox + http://www.virtualbox.org/ + + Serdar Soytetir + kaptan@pisilinux.org + + GPLv2 + app:gui + A powerful virtualization program + VirtualBox is a family of powerful x86 virtualization products for enterprise as well as home use. This is the Open Source Edition which lacks USB support and some other things. + http://download.virtualbox.org/virtualbox/4.3.28/VirtualBox-4.3.28.tar.bz2 + + dev86 + cdrkit + acpica + qt-devel + mesa-devel + gsoap-devel + libXt-devel + libXmu-devel + libIDL-devel + libsdl-devel + libvpx-devel + libXext-devel + libxslt-devel + mesa-glu-devel + alsa-lib-devel + libXfixes-devel + libXrandr-devel + libXdamage-devel + libXcursor-devel + libXinerama-devel + xorg-server-devel + libvncserver-devel + libXcomposite-devel + pulseaudio-libs-devel + jdk7-openjdk + dkms + kernel-module-headers + + + LocalConfig.kmk + + + wrapper.patch + 002-dri-driver-path.patch + 003-ogl-include-path.patch + 004-xorg.patch + 005-gsoap-build.patch + 006-rdesktop-vrdp-keymap-path.patch + 008-root-window.patch + + desktop-file.patch + fix-tr-keyboard.patch + virtualbox-4-makeself-check.patch + module-mismatch.patch + + + + + virtualbox + + qt + mesa + libXt + gsoap + libvpx + libXmu + libsdl + libXext + libXcursor + libXinerama + virt-wrapper + libvncserver + module-virtualbox + + + /etc/vbox + /usr/bin + /usr/lib/virtualbox + /usr/lib/python* + /usr/share/virtualbox + /usr/share/applications + /usr/share/pixmaps + /usr/share/icons/hicolor + /usr/share/mime/packages + + + System.Package + + + vboxreload + 60-vboxdrv.rules + 60-vboxguest.rules + + + + + virtualbox-guest-utils + x11.driver + VirtualBox guest utilities and drivers + + libXt + libXmu + libXext + libXfixes + libXrandr + libXdamage + xorg-server + libXcomposite + module-virtualbox-guest + + + /etc/X11/Xsession.d + /lib/udev/rules.d + /lib/security + /sbin + /usr/bin/VBoxClient* + /usr/bin/VBoxControl + /usr/sbin + /usr/lib + /usr/kde/*/share/autostart + /usr/share/X11 + /usr/lib/xorg/modules + + + vboxclient.sh + + + + + + 2015-05-18 + 4.3.28 + Version bump. + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2015-02-13 + 4.3.20 + Version bump, rebuild. + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2014-11-21 + 4.3.18 + Rebuild + Serdar Soytetir + kaptan@pisilinux.org + + + 2014-10-19 + 4.3.18 + Version bump. + Serdar Soytetir + kaptan@pisilinux.org + + + 2014-09-19 + 4.3.16 + Version bump. + Serdar Soytetir + kaptan@pisilinux.org + + + 2014-07-26 + 4.3.14 + Version bump. + Vedat Demir + vedat@pisilinux.org + + + 2014-04-06 + 4.3.10 + Version bump. + Marcin Bojara + marcin@pisilinux.org + + + 2014-03-23 + 4.3.8 + Some improvements. + Serdar Soytetir + kaptan@pisilinux.org + + + 2014-03-02 + 4.3.8 + Version bump. + Osman Erkan + osman.erkan@pisilinux.org + + + 2013-12-21 + 4.3.6 + Version bump. + Serdar Soytetir + kaptan@pisilinux.org + + + 2013-11-11 + 4.3.2 + Version bump. + Serdar Soytetir + kaptan@pisilinux.org + + + 2013-10-10 + 4.2.18 + Version bump. + Erdinç Gültekin + erdincgultekin@pisilinux.org + + + 2013-07-05 + 4.2.16 + Version bump. + Marcin Bojara + marcin@pisilinux.org + + + 2013-05-04 + 4.2.12 + Add system-xorg.patch + Marcin Bojara + marcin@pisilinux.org + + + 2013-04-14 + 4.2.12 + Version bump. + Marcin Bojara + marcin@pisilinux.org + + + 2013-03-02 + 4.2.8 + Version bump. + Marcin Bojara + marcin@pisilinux.org + + + 2013-01-22 + 4.2.6 + First release + Marcin Bojara + marcin@pisilinux.org + + + diff --git a/hardware/virtualization/virtualbox/translations.xml b/hardware/virtualization/virtualbox/translations.xml new file mode 100644 index 0000000000..5f2276971a --- /dev/null +++ b/hardware/virtualization/virtualbox/translations.xml @@ -0,0 +1,13 @@ + + + + virtualbox + Güçlü bir sanallaştırma programı + VirtualBox, ev kullanımı yanında kurumsal kullanım alanı da bulan güçlü bir xf86 sanallaştırma ürünleri ailesidir. Bu sürüm, USB ve birkaç özellik için desteği bulunmayan açık kodlu uyarlamasıdır. + + + + virtualbox-guest-utils + VirtualBox misafir işletim sistemleri için yardımcı araçlar ve sürücüler + + diff --git a/office/misc/gsoap/actions.py b/office/misc/gsoap/actions.py new file mode 100644 index 0000000000..265d8a3afe --- /dev/null +++ b/office/misc/gsoap/actions.py @@ -0,0 +1,32 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/copyleft/gpl.txt. + +from pisi.actionsapi import autotools +from pisi.actionsapi import pisitools +from pisi.actionsapi import libtools +from pisi.actionsapi import get + + +def setup(): + pisitools.cflags.add("-fPIC") + pisitools.cxxflags.add("-fPIC") + pisitools.ldflags.add("-fPIC") + autotools.autoreconf("-if") + #libtools.libtoolize("--force --copy --automake") + autotools.configure("--disable-static \ + --enable-shared \ + --prefix=/usr \ + --enable-samples \ + --enable-ipv6 \ + ") + +def build(): + autotools.make("-j1") + +def install(): + autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + + pisitools.dodoc("*txt") diff --git a/office/misc/gsoap/files/gsoap-libtool.patch b/office/misc/gsoap/files/gsoap-libtool.patch new file mode 100644 index 0000000000..86235a5c55 --- /dev/null +++ b/office/misc/gsoap/files/gsoap-libtool.patch @@ -0,0 +1,133 @@ +diff -ur gsoap-2.8.orig/configure.in gsoap-2.8/configure.in +--- gsoap-2.8.orig/configure.in 2011-10-22 23:12:11.000000000 +0200 ++++ gsoap-2.8/configure.in 2011-11-01 06:25:39.071999543 +0100 +@@ -16,8 +16,7 @@ + AM_PROG_LEX + AC_PROG_YACC + AC_PROG_CPP +-AC_PROG_RANLIB +-#AM_PROG_LIBTOOL ++AM_PROG_LIBTOOL + AC_PROG_LN_S + AC_PROG_AWK + AC_PROG_INSTALL +@@ -226,13 +225,13 @@ + WSDL2H_EXTRA_FLAGS="-DWITH_GNUTLS -DWITH_GZIP" + WSDL2H_EXTRA_LIBS="-lgnutls -lgcrypt -lgpg-error -lz" + SAMPLE_SSL_LIBS="-lgnutls -lgcrypt -lgpg-error -lz" +- WSDL2H_SOAP_CPP_LIB="libgsoapssl++.a" ++ WSDL2H_SOAP_CPP_LIB="libgsoapssl++.la" + else + AC_MSG_RESULT(no) + WSDL2H_EXTRA_FLAGS="-DWITH_OPENSSL -DWITH_GZIP" +- WSDL2H_EXTRA_LIBS="-lssl -lcrypto -lz" ++ WSDL2H_EXTRA_LIBS= + SAMPLE_SSL_LIBS="-lssl -lcrypto -lz" +- WSDL2H_SOAP_CPP_LIB="libgsoapssl++.a" ++ WSDL2H_SOAP_CPP_LIB="libgsoapssl++.la" + fi + if test -n "$OPENSSL"; then + WSDL2H_EXTRA_FLAGS="-I${OPENSSL}/include ${WSDL2H_EXTRA_FLAGS}" +@@ -244,7 +243,7 @@ + WSDL2H_EXTRA_FLAGS= + WSDL2H_EXTRA_LIBS= + SAMPLE_SSL_LIBS= +- WSDL2H_SOAP_CPP_LIB="libgsoap++.a" ++ WSDL2H_SOAP_CPP_LIB="libgsoap++.la" + fi + AC_SUBST(WSDL2H_EXTRA_FLAGS) + AC_SUBST(WSDL2H_EXTRA_LIBS) +diff -ur gsoap-2.8.orig/gsoap/Makefile.am gsoap-2.8/gsoap/Makefile.am +--- gsoap-2.8.orig/gsoap/Makefile.am 2011-10-22 23:12:12.000000000 +0200 ++++ gsoap-2.8/gsoap/Makefile.am 2011-11-01 06:25:39.071999543 +0100 +@@ -34,20 +34,30 @@ + dom_cpp.cpp: dom.cpp + $(LN_S) -f $(srcdir)/dom.cpp dom_cpp.cpp + +-lib_LIBRARIES = libgsoap.a libgsoap++.a libgsoapck.a libgsoapck++.a libgsoapssl.a libgsoapssl++.a ++lib_LTLIBRARIES = libgsoap.la libgsoap++.la libgsoapck.la libgsoapck++.la libgsoapssl.la libgsoapssl++.la + +-libgsoap_a_SOURCES = stdsoap2.c dom.c +-libgsoap_a_CFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_IPV6) -D$(platform) +-libgsoap___a_SOURCES = stdsoap2_cpp.cpp dom_cpp.cpp +-libgsoap___a_CXXFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_IPV6) -D$(platform) +-libgsoapck_a_SOURCES = stdsoap2_ck.c dom.c +-libgsoapck_a_CFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_IPV6) -D$(platform) -DWITH_COOKIES +-libgsoapck___a_SOURCES = stdsoap2_ck_cpp.cpp dom_cpp.cpp +-libgsoapck___a_CXXFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_IPV6) -D$(platform) -DWITH_COOKIES +-libgsoapssl_a_SOURCES = stdsoap2_ssl.c dom.c +-libgsoapssl_a_CFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_IPV6) -D$(platform) $(WSDL2H_EXTRA_FLAGS) -DWITH_DOM +-libgsoapssl___a_SOURCES = stdsoap2_ssl_cpp.cpp dom_cpp.cpp +-libgsoapssl___a_CXXFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_IPV6) -D$(platform) $(WSDL2H_EXTRA_FLAGS) -DWITH_DOM ++SOVERSION = 0 ++ ++libgsoap_la_SOURCES = stdsoap2.c dom.c ++libgsoap_la_CFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_IPV6) -D$(platform) ++libgsoap_la_LDFLAGS = -version-info $(SOVERSION) ++libgsoap___la_SOURCES = stdsoap2_cpp.cpp dom_cpp.cpp ++libgsoap___la_CXXFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_IPV6) -D$(platform) ++libgsoap___la_LDFLAGS = -version-info $(SOVERSION) ++libgsoapck_la_SOURCES = stdsoap2_ck.c dom.c ++libgsoapck_la_CFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_IPV6) -D$(platform) -DWITH_COOKIES ++libgsoapck_la_LDFLAGS = -version-info $(SOVERSION) ++libgsoapck___la_SOURCES = stdsoap2_ck_cpp.cpp dom_cpp.cpp ++libgsoapck___la_CXXFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_IPV6) -D$(platform) -DWITH_COOKIES ++libgsoapck___la_LDFLAGS = -version-info $(SOVERSION) ++libgsoapssl_la_SOURCES = stdsoap2_ssl.c dom.c ++libgsoapssl_la_CFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_IPV6) -D$(platform) $(WSDL2H_EXTRA_FLAGS) -DWITH_DOM ++libgsoapssl_la_LDFLAGS = -version-info $(SOVERSION) ++libgsoapssl_la_LIBADD = -lssl -lcrypto -lz ++libgsoapssl___la_SOURCES = stdsoap2_ssl_cpp.cpp dom_cpp.cpp ++libgsoapssl___la_CXXFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_IPV6) -D$(platform) $(WSDL2H_EXTRA_FLAGS) -DWITH_DOM ++libgsoapssl___la_LDFLAGS = -version-info $(SOVERSION) ++libgsoapssl___la_LIBADD = -lssl -lcrypto -lz + + BUILT_SOURCES = stdsoap2_cpp.cpp dom_cpp.cpp $(lib_LIBRARIES) + +diff -ur gsoap-2.8.orig/gsoap/samples/autotest/Makefile.am gsoap-2.8/gsoap/samples/autotest/Makefile.am +--- gsoap-2.8.orig/gsoap/samples/autotest/Makefile.am 2011-10-22 23:12:14.000000000 +0200 ++++ gsoap-2.8/gsoap/samples/autotest/Makefile.am 2011-11-01 06:25:39.071999543 +0100 +@@ -14,7 +14,7 @@ + WSDLINPUT=$(srcdir)/examples.wsdl + SOAPHEADER=$(srcdir)/examples.h + SOAP_CPP_SRC=soapC.cpp soapServer.cpp +-SOAP_CPP_LIB=$(top_builddir)/gsoap/libgsoap++.a ++SOAP_CPP_LIB=$(top_builddir)/gsoap/libgsoap++.la + + $(SOAP_CPP_SRC) : $(WSDLINPUT) + $(WSDL) $(WSDL_FLAGS) $(WSDLINPUT) +diff -ur gsoap-2.8.orig/gsoap/samples/databinding/Makefile.am gsoap-2.8/gsoap/samples/databinding/Makefile.am +--- gsoap-2.8.orig/gsoap/samples/databinding/Makefile.am 2011-10-22 23:12:15.000000000 +0200 ++++ gsoap-2.8/gsoap/samples/databinding/Makefile.am 2011-11-01 06:25:39.071999543 +0100 +@@ -14,7 +14,7 @@ + WSDLINPUT=$(srcdir)/address.xsd + SOAPHEADER=$(srcdir)/address.h + SOAP_CPP_SRC=addressC.cpp +-SOAP_CPP_LIB=$(top_builddir)/gsoap/libgsoap++.a ++SOAP_CPP_LIB=$(top_builddir)/gsoap/libgsoap++.la + + $(SOAP_CPP_SRC) : $(WSDLINPUT) + $(WSDL) $(WSDL_FLAGS) $(WSDLINPUT) +diff -ur gsoap-2.8.orig/gsoap/samples/Makefile.defines gsoap-2.8/gsoap/samples/Makefile.defines +--- gsoap-2.8.orig/gsoap/samples/Makefile.defines 2011-10-22 23:12:15.000000000 +0200 ++++ gsoap-2.8/gsoap/samples/Makefile.defines 2011-11-01 06:25:39.071999543 +0100 +@@ -15,13 +15,13 @@ + SOAP_C_CORE=soapC.c + SOAP_C_CLIENT=soapClient.c $(SOAP_C_CORE) + SOAP_C_SERVER=soapServer.c $(SOAP_C_CORE) +-SOAP_C_LIB=$(top_builddir)/gsoap/libgsoap.a +-SOAP_C_LIB_CK=$(top_builddir)/gsoap/libgsoapck.a +-SOAP_C_LIB_SSL=$(top_builddir)/gsoap/libgsoapssl.a ++SOAP_C_LIB=$(top_builddir)/gsoap/libgsoap.la ++SOAP_C_LIB_CK=$(top_builddir)/gsoap/libgsoapck.la ++SOAP_C_LIB_SSL=$(top_builddir)/gsoap/libgsoapssl.la + + SOAP_CPP_CORE=soapC.cpp + SOAP_CPP_CLIENT=soapClient.cpp $(SOAP_CPP_CORE) + SOAP_CPP_SERVER=soapServer.cpp $(SOAP_CPP_CORE) +-SOAP_CPP_LIB=$(top_builddir)/gsoap/libgsoap++.a +-SOAP_CPP_LIB_CK=$(top_builddir)/gsoap/libgsoapck++.a +-SOAP_CPP_LIB_SSL=$(top_builddir)/gsoap/libgsoapssl++.a ++SOAP_CPP_LIB=$(top_builddir)/gsoap/libgsoap++.la ++SOAP_CPP_LIB_CK=$(top_builddir)/gsoap/libgsoapck++.la ++SOAP_CPP_LIB_SSL=$(top_builddir)/gsoap/libgsoapssl++.la diff --git a/office/misc/gsoap/files/gsoap-pad.patch b/office/misc/gsoap/files/gsoap-pad.patch new file mode 100644 index 0000000000..114800f0b9 --- /dev/null +++ b/office/misc/gsoap/files/gsoap-pad.patch @@ -0,0 +1,33 @@ +diff -ur gsoap-2.8.orig/gsoap/samples/calc_vs2005/calc_vs2005/stdsoap2.h gsoap-2.8/gsoap/samples/calc_vs2005/calc_vs2005/stdsoap2.h +--- gsoap-2.8.orig/gsoap/samples/calc_vs2005/calc_vs2005/stdsoap2.h 2013-08-26 01:10:06.000000000 +0200 ++++ gsoap-2.8/gsoap/samples/calc_vs2005/calc_vs2005/stdsoap2.h 2013-10-16 09:29:02.181454071 +0200 +@@ -2130,6 +2130,7 @@ + struct sockaddr_storage peer; /* IPv6: set by soap_accept and by UDP recv */ + #else + struct sockaddr_in peer; /* IPv4: set by soap_connect/soap_accept and by UDP recv */ ++ unsigned char pad[sizeof(struct sockaddr_storage) - sizeof(struct sockaddr_in)]; + #endif + #endif + size_t peerlen; +diff -ur gsoap-2.8.orig/gsoap/stdsoap2.h gsoap-2.8/gsoap/stdsoap2.h +--- gsoap-2.8.orig/gsoap/stdsoap2.h 2013-08-26 01:10:07.000000000 +0200 ++++ gsoap-2.8/gsoap/stdsoap2.h 2013-10-16 09:29:02.181454071 +0200 +@@ -2130,6 +2130,7 @@ + struct sockaddr_storage peer; /* IPv6: set by soap_accept and by UDP recv */ + #else + struct sockaddr_in peer; /* IPv4: set by soap_connect/soap_accept and by UDP recv */ ++ unsigned char pad[sizeof(struct sockaddr_storage) - sizeof(struct sockaddr_in)]; + #endif + #endif + size_t peerlen; +diff -ur gsoap-2.8.orig/gsoap/VisualStudio2005/wsdl2h/wsdl2h/stdsoap2.h gsoap-2.8/gsoap/VisualStudio2005/wsdl2h/wsdl2h/stdsoap2.h +--- gsoap-2.8.orig/gsoap/VisualStudio2005/wsdl2h/wsdl2h/stdsoap2.h 2013-08-26 01:10:07.000000000 +0200 ++++ gsoap-2.8/gsoap/VisualStudio2005/wsdl2h/wsdl2h/stdsoap2.h 2013-10-16 09:29:02.181454071 +0200 +@@ -2130,6 +2130,7 @@ + struct sockaddr_storage peer; /* IPv6: set by soap_accept and by UDP recv */ + #else + struct sockaddr_in peer; /* IPv4: set by soap_connect/soap_accept and by UDP recv */ ++ unsigned char pad[sizeof(struct sockaddr_storage) - sizeof(struct sockaddr_in)]; + #endif + #endif + size_t peerlen; diff --git a/office/misc/gsoap/files/gsoap-private-lm.patch b/office/misc/gsoap/files/gsoap-private-lm.patch new file mode 100644 index 0000000000..18c9c221f0 --- /dev/null +++ b/office/misc/gsoap/files/gsoap-private-lm.patch @@ -0,0 +1,44 @@ +diff -ur gsoap-2.8.orig/gsoapck.pc.in gsoap-2.8/gsoapck.pc.in +--- gsoap-2.8.orig/gsoapck.pc.in 2013-08-26 01:10:08.000000000 +0200 ++++ gsoap-2.8/gsoapck.pc.in 2013-10-31 09:35:27.786580230 +0100 +@@ -7,5 +7,6 @@ + Description: SOAP C Web Services with Cookies Enabled + Version: @VERSION@ + Requires: +-Libs: -L${libdir} -lgsoapck @SAMPLE_EXTRA_LIBS@ ++Libs: -L${libdir} -lgsoapck ++Libs.private: @SAMPLE_EXTRA_LIBS@ + Cflags: @SOAPCPP2_IPV6@ -DWITH_COOKIES -DWITH_DOM -I${includedir} +diff -ur gsoap-2.8.orig/gsoapck++.pc.in gsoap-2.8/gsoapck++.pc.in +--- gsoap-2.8.orig/gsoapck++.pc.in 2013-08-26 01:10:08.000000000 +0200 ++++ gsoap-2.8/gsoapck++.pc.in 2013-10-31 09:35:12.459766167 +0100 +@@ -7,5 +7,6 @@ + Description: SOAP C++ Web Services with Cookies Enabled + Version: @VERSION@ + Requires: +-Libs: -L${libdir} -lgsoapck++ @SAMPLE_EXTRA_LIBS@ ++Libs: -L${libdir} -lgsoapck++ ++Libs.private: @SAMPLE_EXTRA_LIBS@ + Cflags: @SOAPCPP2_IPV6@ -DWITH_COOKIES -DWITH_DOM -I${includedir} +diff -ur gsoap-2.8.orig/gsoap.pc.in gsoap-2.8/gsoap.pc.in +--- gsoap-2.8.orig/gsoap.pc.in 2013-08-26 01:10:08.000000000 +0200 ++++ gsoap-2.8/gsoap.pc.in 2013-10-31 09:34:52.043013855 +0100 +@@ -7,5 +7,6 @@ + Description: SOAP C Web Services + Version: @VERSION@ + Requires: +-Libs: -L${libdir} -lgsoap @SAMPLE_EXTRA_LIBS@ ++Libs: -L${libdir} -lgsoap ++Libs.private: @SAMPLE_EXTRA_LIBS@ + Cflags: @SOAPCPP2_IPV6@ -DWITH_DOM -I${includedir} +diff -ur gsoap-2.8.orig/gsoap++.pc.in gsoap-2.8/gsoap++.pc.in +--- gsoap-2.8.orig/gsoap++.pc.in 2013-08-26 01:10:08.000000000 +0200 ++++ gsoap-2.8/gsoap++.pc.in 2013-10-31 09:34:20.155400703 +0100 +@@ -7,5 +7,6 @@ + Description: SOAP C++ Web Services + Version: @VERSION@ + Requires: +-Libs: -L${libdir} -lgsoap++ @SAMPLE_EXTRA_LIBS@ ++Libs: -L${libdir} -lgsoap++ ++Libs.private: @SAMPLE_EXTRA_LIBS@ + Cflags: @SOAPCPP2_IPV6@ -DWITH_DOM -I${includedir} diff --git a/office/misc/gsoap/pspec.xml b/office/misc/gsoap/pspec.xml new file mode 100644 index 0000000000..7baf3a8d96 --- /dev/null +++ b/office/misc/gsoap/pspec.xml @@ -0,0 +1,60 @@ + + + + + gsoap + http://sourceforge.net/projects/gsoap2/ + + Osman Erkan + osman.erkan@pisilinux.org + + GPLv2 + Offers an XML language binding to ease the development of SOAP/XML Web services in C and C/C++ + The gSOAP toolkit is an extensive suite of portable C and C++ software to develop XML Web services with powerful type-safe XML data bindings. + http://sourceforge.net/projects/gsoap2/files/gSOAP/gsoap_2.8.21.zip + + + + + + + + + gsoap + + /usr/lib + /usr/share/doc + /usr/bin + /usr/share/gsoap + + + + + gsoap-devel + Development files for gsoap + + gsoap + + + /usr/include + /usr/lib/pkgconfig + + + + + + 2015-02-06 + 2.8.21 + Version bump. + Stefan Gronewold(groni) + groni@pisilinux.org + + + 2014-03-01 + 2.8.16 + First release + Osman Erkan + osman.erkan@pisilinux.org + + + diff --git a/office/misc/gsoap/translations.xml b/office/misc/gsoap/translations.xml new file mode 100644 index 0000000000..68f4576261 --- /dev/null +++ b/office/misc/gsoap/translations.xml @@ -0,0 +1,14 @@ + + + + gsoap + Offers an XML language binding to ease the development of SOAP/XML Web services in C and C/C++ + The gSOAP toolkit is an extensive suite of portable C and C++ software to develop XML Web services with powerful type-safe XML data bindings. + + + + gsoap-devel + gsoap için geliştirme dosyaları + Development files for gsoap + + \ No newline at end of file diff --git a/server/misc/component.xml b/server/misc/component.xml new file mode 100644 index 0000000000..832372336d --- /dev/null +++ b/server/misc/component.xml @@ -0,0 +1,3 @@ + + server.misc + diff --git a/server/misc/libvncserver/actions.py b/server/misc/libvncserver/actions.py new file mode 100644 index 0000000000..b25ed839c6 --- /dev/null +++ b/server/misc/libvncserver/actions.py @@ -0,0 +1,28 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/licenses/gpl.txt + +from pisi.actionsapi import autotools +from pisi.actionsapi import pisitools +from pisi.actionsapi import get + +WorkDir = "LibVNCServer-%s" % get.srcVERSION() + +def setup(): + autotools.configure("--disable-static \ + --with-backchannel \ + --disable-dependency-tracking \ + --with-24bpp \ + --with-zlib \ + --with-jpeg") + + pisitools.dosed("libtool", " -shared ", " -shared -Wl,--as-needed") + +def build(): + autotools.make() + +def install(): + autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + pisitools.remove("/usr/bin/linuxvnc") diff --git a/server/misc/libvncserver/pspec.xml b/server/misc/libvncserver/pspec.xml new file mode 100644 index 0000000000..e80478ed71 --- /dev/null +++ b/server/misc/libvncserver/pspec.xml @@ -0,0 +1,81 @@ + + + + + libvncserver + http://libvncserver.sourceforge.net/ + + PisiLinux Community + admins@pisilinux.org + + GPLv2 + app:console + Library for creating VNC (Virtual Network Computing) servers + libvncserver provides a C library to create VNC servers. + mirrors://sourceforge/libvncserver/LibVNCServer-0.9.9.tar.gz + + + + + + libvncserver + + gnutls + libjpeg-turbo + + + /usr/bin/*-config + /usr/lib + + + + + libvncserver-devel + Development files for libvncserver + + libvncserver + + + /usr/include + /usr/lib/pkgconfig + + + + + + 2014-06-14 + 0.9.9 + Rebuild for gcc. + PisiLinux Community + admins@pisilinux.org + + + 2014-04-05 + 0.9.9 + Release bump + Serdar Soytetir + kaptan@pisilinux.org + + + 2013-09-28 + 0.9.9 + Release bump + Aydın Demirel + aydin.demirel@pisilinux.org + + + 2013-07-30 + 0.9.9 + Rebuild + PisiLinux Community + admins@pisilinux.org + + + 2012-10-17 + 0.9.9 + First release + Marcin Bojara + marcin@pisilinux.org + + + \ No newline at end of file diff --git a/server/misc/libvncserver/translations.xml b/server/misc/libvncserver/translations.xml new file mode 100644 index 0000000000..db4c08b324 --- /dev/null +++ b/server/misc/libvncserver/translations.xml @@ -0,0 +1,16 @@ + + + + libvncserver + VNC sunucu oluşturmak için kütüphane + Biblioteka do łatwego implementowania serwera VNC + VNC sunucu benzeri kendi VNC (Virtual Network Computing) sunucunuzu oluşturmak isterseniz gerekli kütüphane + Wieloplatformowa biblioteka C, pozwalającą na łatwą implementację trybu serwera lub klienta VNC (Virtual Network Computing) we własnym programie. + + + + libvncserver-devel + libvncserver için geliştirme dosyaları + Pliki nagłówkowe libvncserver + + From f9af198c42c0fab75350821b40542d104767bfb3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ertu=C4=9Frul=20Erata?= Date: Wed, 12 Aug 2015 10:08:21 +0300 Subject: [PATCH 3/6] fix libvncserver deps. --- server/misc/libvncserver/actions.py | 1 - server/misc/libvncserver/pspec.xml | 14 ++++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/server/misc/libvncserver/actions.py b/server/misc/libvncserver/actions.py index b25ed839c6..3687e8431d 100644 --- a/server/misc/libvncserver/actions.py +++ b/server/misc/libvncserver/actions.py @@ -12,7 +12,6 @@ WorkDir = "LibVNCServer-%s" % get.srcVERSION() def setup(): autotools.configure("--disable-static \ - --with-backchannel \ --disable-dependency-tracking \ --with-24bpp \ --with-zlib \ diff --git a/server/misc/libvncserver/pspec.xml b/server/misc/libvncserver/pspec.xml index e80478ed71..6de0a8cb0d 100644 --- a/server/misc/libvncserver/pspec.xml +++ b/server/misc/libvncserver/pspec.xml @@ -13,6 +13,12 @@ Library for creating VNC (Virtual Network Computing) servers libvncserver provides a C library to create VNC servers. mirrors://sourceforge/libvncserver/LibVNCServer-0.9.9.tar.gz + + gnutls-devel + libjpeg-turbo-devel + libgcrypt-devel + libpng-devel + @@ -20,6 +26,9 @@ libvncserver + zlib + libpng + libgcrypt gnutls libjpeg-turbo @@ -34,6 +43,11 @@ Development files for libvncserver libvncserver + zlib-devel + libpng-devel + libgcrypt-devel + gnutls-devel + libjpeg-turbo-devel /usr/include From 2ace1fa72ba590dcbc107be14990725dcc78e5c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ertu=C4=9Frul=20Erata?= Date: Wed, 12 Aug 2015 10:32:14 +0300 Subject: [PATCH 4/6] gsoap v.bump, fix deps. --- office/misc/gsoap/pspec.xml | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/office/misc/gsoap/pspec.xml b/office/misc/gsoap/pspec.xml index 7baf3a8d96..05f927a9b9 100644 --- a/office/misc/gsoap/pspec.xml +++ b/office/misc/gsoap/pspec.xml @@ -11,7 +11,11 @@ GPLv2 Offers an XML language binding to ease the development of SOAP/XML Web services in C and C/C++ The gSOAP toolkit is an extensive suite of portable C and C++ software to develop XML Web services with powerful type-safe XML data bindings. - http://sourceforge.net/projects/gsoap2/files/gSOAP/gsoap_2.8.21.zip + http://sourceforge.net/projects/gsoap2/files/gSOAP/gsoap_2.8.22.zip + + zlib-devel + openssl-devel + @@ -21,6 +25,11 @@ gsoap + + zlib + openssl + libgcc + /usr/lib /usr/share/doc @@ -34,6 +43,8 @@ Development files for gsoap gsoap + zlib-devel + openssl-devel /usr/include @@ -42,6 +53,13 @@ + + 2015-08-12 + 2.8.22 + Version bump. + Ertuğrul Erata + ertugrulerata@gmail.com + 2015-02-06 2.8.21 From 46bde02467018e0fe71ae36d8fb44896a63da7c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ertu=C4=9Frul=20Erata?= Date: Wed, 12 Aug 2015 13:04:18 +0300 Subject: [PATCH 5/6] add deps for virtualbox --- hardware/optical/cdrkit/actions.py | 29 ++++ hardware/optical/cdrkit/pspec.xml | 71 +++++++++ hardware/optical/cdrkit/translations.xml | 8 ++ hardware/powermanagement/acpica/actions.py | 21 +++ hardware/powermanagement/acpica/files/LICENSE | 33 +++++ hardware/powermanagement/acpica/files/iasl.1 | 135 ++++++++++++++++++ hardware/powermanagement/acpica/pspec.xml | 55 +++++++ .../powermanagement/acpica/translations.xml | 8 ++ multimedia/misc/libkate/actions.py | 21 +++ multimedia/misc/libkate/pspec.xml | 94 ++++++++++++ multimedia/misc/libkate/translations.xml | 18 +++ multimedia/sound/vorbis-tools/pspec.xml | 1 + programming/tool/dev86/actions.py | 29 ++++ .../tool/dev86/files/64bit-build-fix.patch | 26 ++++ .../tool/dev86/files/dont-ask-anything.patch | 15 ++ .../tool/dev86/files/fedora/dev86-long.patch | 22 +++ .../dev86/files/fedora/dev86-noelks.patch | 15 ++ .../dev86/files/fedora/dev86-nostrip.patch | 11 ++ .../files/fedora/dev86-print-overflow.patch | 27 ++++ .../tool/dev86/files/makefile-fix.patch | 15 ++ programming/tool/dev86/pspec.xml | 61 ++++++++ programming/tool/dev86/translations.xml | 8 ++ 22 files changed, 723 insertions(+) create mode 100644 hardware/optical/cdrkit/actions.py create mode 100644 hardware/optical/cdrkit/pspec.xml create mode 100644 hardware/optical/cdrkit/translations.xml create mode 100644 hardware/powermanagement/acpica/actions.py create mode 100644 hardware/powermanagement/acpica/files/LICENSE create mode 100644 hardware/powermanagement/acpica/files/iasl.1 create mode 100644 hardware/powermanagement/acpica/pspec.xml create mode 100644 hardware/powermanagement/acpica/translations.xml create mode 100644 multimedia/misc/libkate/actions.py create mode 100644 multimedia/misc/libkate/pspec.xml create mode 100644 multimedia/misc/libkate/translations.xml create mode 100644 programming/tool/dev86/actions.py create mode 100644 programming/tool/dev86/files/64bit-build-fix.patch create mode 100644 programming/tool/dev86/files/dont-ask-anything.patch create mode 100644 programming/tool/dev86/files/fedora/dev86-long.patch create mode 100644 programming/tool/dev86/files/fedora/dev86-noelks.patch create mode 100644 programming/tool/dev86/files/fedora/dev86-nostrip.patch create mode 100644 programming/tool/dev86/files/fedora/dev86-print-overflow.patch create mode 100644 programming/tool/dev86/files/makefile-fix.patch create mode 100644 programming/tool/dev86/pspec.xml create mode 100644 programming/tool/dev86/translations.xml diff --git a/hardware/optical/cdrkit/actions.py b/hardware/optical/cdrkit/actions.py new file mode 100644 index 0000000000..610df5640c --- /dev/null +++ b/hardware/optical/cdrkit/actions.py @@ -0,0 +1,29 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/licenses/gpl.txt + +from pisi.actionsapi import autotools +from pisi.actionsapi import pisitools +from pisi.actionsapi import get + +def build(): + autotools.make() + +def install(): + autotools.rawInstall("DESTDIR=%s PREFIX=/usr" % (get.installDIR())) + + pisitools.dosym("/usr/bin/wodim", "usr/bin/cdrecord") + pisitools.dosym("/usr/bin/readom", "usr/bin/readcd") + pisitools.dosym("/usr/bin/genisoimage", "usr/bin/mkisofs") + pisitools.dosym("/usr/bin/genisoimage", "usr/bin/mkhybrid") + pisitools.dosym("/usr/bin/icedax", "usr/bin/cdda2wav") + + pisitools.dosym("/usr/share/man/man1/wodim.1", "usr/share/man/man1/cdrecord.1") + pisitools.dosym("/usr/share/man/man1/readom.1", "usr/share/man/man1/readcd.1") + pisitools.dosym("/usr/share/man/man1/genisoimage.1", "usr/share/man/man1/mkisofs.1") + pisitools.dosym("/usr/share/man/man1/genisoimage.1", "usr/share/man/man1/mkhybrid.1") + pisitools.dosym("/usr/share/man/man1/icedax.1", "usr/share/man/man1/cdda2wav.1") + + pisitools.dodoc("ABOUT", "Changelog", "COPYING", "FAQ", "FORK", "START", "TODO", "VERSION") diff --git a/hardware/optical/cdrkit/pspec.xml b/hardware/optical/cdrkit/pspec.xml new file mode 100644 index 0000000000..8b1c6e0794 --- /dev/null +++ b/hardware/optical/cdrkit/pspec.xml @@ -0,0 +1,71 @@ + + + + + cdrkit + http://cdrkit.org + + PisiLinux Community + admins@pisilinux.org + + GPLv2 + app:console + Suite of programs for CD/DVD recording. + Suite of programs for CD/DVD recording, ISO image creation, and audio CD extraction. + http://pkgs.fedoraproject.org/repo/pkgs/cdrkit/cdrkit-1.1.11.tar.gz/efe08e2f3ca478486037b053acd512e9/cdrkit-1.1.11.tar.gz + + cdparanoia-devel + libcap-devel + zlib-devel + bzip2 + cmake + + + + + cdrkit + + file + zlib + bzip2 + libcap + + + + /usr/bin + /usr/sbin + /usr/include + /usr/lib + /usr/share/man + /usr/share/doc + + + cdrtools + + + + + + 2013-09-14 + 1.1.11 + Disable patch + Burak Fazıl Ertürk + burakerturk@pisilinux.org + + + 2013-05-16 + 1.1.11 + fixing working + Erdinç Gültekin + erdincgultekin@pisilinux.org + + + 2013-02-11 + 1.1.11 + First release + PisiLinux Community + admins@pisilinux.org + + + diff --git a/hardware/optical/cdrkit/translations.xml b/hardware/optical/cdrkit/translations.xml new file mode 100644 index 0000000000..e5a409e5bc --- /dev/null +++ b/hardware/optical/cdrkit/translations.xml @@ -0,0 +1,8 @@ + + + + cdrkit + Suite of programs for CD/DVD recording. + Suite of programs for CD/DVD recording, ISO image creation, and audio CD extraction. + + \ No newline at end of file diff --git a/hardware/powermanagement/acpica/actions.py b/hardware/powermanagement/acpica/actions.py new file mode 100644 index 0000000000..32983a337b --- /dev/null +++ b/hardware/powermanagement/acpica/actions.py @@ -0,0 +1,21 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/licenses/gpl.txt + +from pisi.actionsapi import shelltools +from pisi.actionsapi import autotools +from pisi.actionsapi import pisitools +from pisi.actionsapi import get + +def build(): + shelltools.export("CFLAGS", "%s -fno-strict-aliasing" % get.CFLAGS()) + if get.ARCH() == "x86_64": + autotools.make("BITS=64") + else: + autotools.make("BITS=32") + +def install(): + autotools.rawInstall('DESTDIR="%s"' % get.installDIR()) + pisitools.dodoc("changes.txt") diff --git a/hardware/powermanagement/acpica/files/LICENSE b/hardware/powermanagement/acpica/files/LICENSE new file mode 100644 index 0000000000..d47edccb2a --- /dev/null +++ b/hardware/powermanagement/acpica/files/LICENSE @@ -0,0 +1,33 @@ +IMPORTANT - READ BEFORE COPYING, INSTALLING OR USING. +Do not use or load this software and any associated materials (collectively, the "Software") until you have carefully read the following terms and conditions. By loading or using the Software, you agree to the terms of this Agreement. If you do not wish to so agree, do not install or use the Software. + +1. COPYRIGHT NOTICE +Some or all of this work - Copyright © 1999-2008, Intel Corp. All rights reserved. + +2. LICENSE + +2.1. This is your license from Intel Corp. under its intellectual property rights. You may have additional license terms from the party that provided you this software, covering your right to use that party's intellectual property rights. + +2.2. Intel grants, free of charge, to any person ("Licensee") obtaining a copy of the source code appearing in this file ("Covered Code") an irrevocable, perpetual, worldwide license under Intel's copyrights in the base code distributed originally by Intel ("Original Intel Code") to copy, make derivatives, distribute, use and display any portion of the Covered Code in any form, with the right to sublicense such rights; and + +2.3. Intel grants Licensee a non-exclusive and non-transferable patent license (with the right to sublicense), under only those claims of Intel patents that are infringed by the Original Intel Code, to make, use, sell, offer to sell, and import the Covered Code and derivative works thereof solely to the minimum extent necessary to exercise the above copyright license, and in no event shall the patent license extend to any additions to or modifications of the Original Intel Code. No other license or right is granted directly or by implication, estoppel or otherwise; The above copyright and patent license is granted only if the following conditions are met: + +3. CONDITIONS + +3.1. Redistribution of Source with Rights to Further Distribute Source. Redistribution of source code of any substantial portion of the Covered Code or modification with rights to further distribute source must include the above Copyright Notice, the above License, this list of Conditions, and the following Disclaimer and Export Compliance provision. In addition, Licensee must cause all Covered Code to which Licensee contributes to contain a file documenting the changes Licensee made to create that Covered Code and the date of any change. Licensee must include in that file the documentation of any changes made by any predecessor Licensee. Licensee must include a prominent statement that the modification is derived, directly or indirectly, from Original Intel Code. + +3.2. Redistribution of Source with no Rights to Further Distribute Source. Redistribution of source code of any substantial portion of the Covered Code or modification without rights to further distribute source must include the following Disclaimer and Export Compliance provision in the documentation and/or other materials provided with distribution. In addition, Licensee may not authorize further sublicense of source of any portion of the Covered Code, and must include terms to the effect that the license from Licensee to its licensee is limited to the intellectual property embodied in the software Licensee provides to its licensee, and not to intellectual property embodied in modifications its licensee may make. + +3.3. Redistribution of Executable. Redistribution in executable form of any substantial portion of the Covered Code or modification must reproduce the above Copyright Notice, and the following Disclaimer and Export Compliance provision in the documentation and/or other materials provided with the distribution. + +3.4. Intel retains all right, title, and interest in and to the Original Intel Code. + +3.5. Neither the name Intel nor any other trademark owned or controlled by Intel shall be used in advertising or otherwise to promote the sale, use or other dealings in products derived from or relating to the Covered Code without prior written authorization from Intel. + +4. DISCLAIMER AND EXPORT COMPLIANCE + +4.1. INTEL MAKES NO WARRANTY OF ANY KIND REGARDING ANY SOFTWARE PROVIDED HERE. ANY SOFTWARE ORIGINATING FROM INTEL OR DERIVED FROM INTEL SOFTWARE IS PROVIDED "AS IS," AND INTEL WILL NOT PROVIDE ANY SUPPORT, ASSISTANCE, INSTALLATION, TRAINING OR OTHER SERVICES. INTEL WILL NOT PROVIDE ANY UPDATES, ENHANCEMENTS OR EXTENSIONS. INTEL SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTIES OF MERCHANTABILITY, NONINFRINGEMENT AND FITNESS FOR A PARTICULAR PURPOSE. + +4.2. IN NO EVENT SHALL INTEL HAVE ANY LIABILITY TO LICENSEE, ITS LICENSEES OR ANY OTHER THIRD PARTY, FOR ANY LOST PROFITS, LOST DATA, LOSS OF USE OR COSTS OF PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES, OR FOR ANY INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THIS AGREEMENT, UNDER ANY CAUSE OF ACTION OR THEORY OF LIABILITY, AND IRRESPECTIVE OF WHETHER INTEL HAS ADVANCE NOTICE OF THE POSSIBILITY OF SUCH DAMAGES. THESE LIMITATIONS SHALL APPLY NOTWITHSTANDING THE FAILURE OF THE ESSENTIAL PURPOSE OF ANY LIMITED REMEDY. + +4.3. Licensee shall not export, either directly or indirectly, any of this software or system incorporating such software without first obtaining any required license or other approval from the U. S. Department of Commerce or any other agency or department of the United States Government. In the event Licensee exports any such software from the United States or re-exports any such software from a foreign destination, Licensee shall ensure that the distribution and export/re-export of the software is in compliance with all laws, regulations, orders, or other restrictions of the U.S. Export Administration Regulations. Licensee agrees that neither it nor any of its subsidiaries will export/re-export any technical data, process, software, or service, directly or indirectly, to any country for which the United States government or any agency thereof requires an export license, other governmental approval, or letter of assurance, without first obtaining such license, approval or letter. diff --git a/hardware/powermanagement/acpica/files/iasl.1 b/hardware/powermanagement/acpica/files/iasl.1 new file mode 100644 index 0000000000..000a3b8123 --- /dev/null +++ b/hardware/powermanagement/acpica/files/iasl.1 @@ -0,0 +1,135 @@ +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH IASL 1 "October 14, 2005" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME +iasl \- ACPI Source Language compiler/decompiler +.SH SYNOPSIS +.B iasl +.RI [ options ] +.RI [ "input file" ] +.SH DESCRIPTION +This manual page documents briefly the +.B iasl +command. The option list is taken from the iasl interactive help. +.PP +.\" TeX users may be more comfortable with the \fB\fP and +.\" \fI\fP escape sequences to invode bold face and italics, +.\" respectively. +.B iasl +is an ASL compiler and decompiler. + +.SH OPTIONS + +.PP +.SS General Output +.TP +.B \-p +Specify filename prefix for all output files (including .aml) +.TP +.B \-vi +Less verbose errors and warnings for use with IDEs +.TP +.B \-vo +Enable optimization comments +.TP +.B \-vr +Disable remarks +.TP +.B \-vs +Disable signon + +.PP +.SS AML Output Files +.TP +.B \-s +Create AML in assembler or C source file (*.asm or *.c) +.TP +.B \-i +Create assembler or C include file (*.inc or *.h) +.TP +.B \-t +Create AML in assembler or C hex table (*.hex) + +.PP +.SS AML Code Generation +.TP +.B \-oa +Disable all optimizations (compatibility mode) +.TP +.B \-of +Disable constant folding +.TP +.B \-oi +Disable integer optimization to Zero/One/Ones +.TP +.B \-on +Disable named reference string optimization +.TP +.B \-r +Override table header Revision (1-255) + +.PP +.SS Listings +.TP +.B \-l +Create mixed listing file (ASL source and AML) (*.lst) +.TP +.B \-ln +Create namespace file (*.nsp) +.TP +.B \-ls +Create combined source file (expanded includes) (*.src) + +.PP +.SS AML Disassembler +.TP +.B \-d [file] +Disassemble AML to ASL source code file (*.dsl) +.TP +.B \-dc [file] +Disassemble AML and immediately compile it +.br +(Obtain DSDT from current system if no input file) +.TP +.B \-e +Generate External() statements for unresolved symbols +.TP +.B \-g +Get ACPI tables and write to files (*.dat) + +.PP +.SS Miscellaneous +.TP +.B \-a +Verify source file is entirely ASCII text (0x00-0x7F) + +.PP +.SS Help +.TP +.B \-h +Additional help and compiler debug options +.TP +.B \-hc +Display operators allowed in constant expressions +.TP +.B \-hr +Display ACPI reserved method names + +.SH AUTHOR +iasl was written by Robert Moore . +.PP +This manual page was written by Mattia Dongili , +for the Debian project (but may be used by others). diff --git a/hardware/powermanagement/acpica/pspec.xml b/hardware/powermanagement/acpica/pspec.xml new file mode 100644 index 0000000000..2be6db6e93 --- /dev/null +++ b/hardware/powermanagement/acpica/pspec.xml @@ -0,0 +1,55 @@ + + + + + acpica + http://www.acpica.org + + PisiLinux Community + admins@pisilinux.org + + custom + app:console + ACPI debugging tools written by Intel + acpica contains an AML interpreter and debugger, ACPI namespace support, ACPI hardware and event support and a full ASL compiler and disassembler. + ftp://gentoo.arcticnetwork.ca/pub/gentoo/distfiles/acpica-unix-20130117.tar.gz + + + + acpica + + /usr/share/doc + /usr/bin + /usr/sbin + /usr/share/man/man1 + + + iasl.1 + LICENSE + + + + + + 2014-03-05 + 0.0_20130117 + Rebuild for buildhost + Osman Erkan + osman.erkan@pisilinux.org + + + 2013-05-02 + 0.0_20130117 + Fixed + Osman Erkan + osman.erkan@pisilinux.org + + + 2010-12-22 + 0.0_20130117 + First release + Marcin Bojara + marcin@pisilinux.org + + + \ No newline at end of file diff --git a/hardware/powermanagement/acpica/translations.xml b/hardware/powermanagement/acpica/translations.xml new file mode 100644 index 0000000000..327f87752d --- /dev/null +++ b/hardware/powermanagement/acpica/translations.xml @@ -0,0 +1,8 @@ + + + + acpica + Intel ACPI hata ayıklama araçları + acpica, AML yorumlayıcısı, AML hata ayıklayıcısı, ACPI donanım ve olay desteği, ASL derleyicisi ve ASL disassembler gibi çeşitli ACPI araçları içeren bir pakettir. + + diff --git a/multimedia/misc/libkate/actions.py b/multimedia/misc/libkate/actions.py new file mode 100644 index 0000000000..ba73a26ad5 --- /dev/null +++ b/multimedia/misc/libkate/actions.py @@ -0,0 +1,21 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/licenses/gpl.txt + +from pisi.actionsapi import autotools +from pisi.actionsapi import pisitools +from pisi.actionsapi import get + +def setup(): + pisitools.dosed("configure", "HAVE_PYTHON=yes", "HAVE_PYTHON=no") + autotools.configure("--enable-static=no") + +def build(): + autotools.make() + +def install(): + autotools.install() + + pisitools.insinto("%s/%s" % (get.docDIR(), get.srcNAME()), "examples") diff --git a/multimedia/misc/libkate/pspec.xml b/multimedia/misc/libkate/pspec.xml new file mode 100644 index 0000000000..b5c4d14bd0 --- /dev/null +++ b/multimedia/misc/libkate/pspec.xml @@ -0,0 +1,94 @@ + + + + + libkate + http://code.google.com/p/libkate + + PisiLinux Community + admins@pisilinux.org + + BSD + library + app:console + A text codec for embedding in Ogg + Kate is a codec for karaoke and text encapsulation for Ogg. + http://libkate.googlecode.com/files/libkate-0.4.1.tar.gz + + libogg-devel + libpng-devel + doxygen + + + + + libkate + + libogg + libpng + + + /usr/bin + /usr/lib + /usr/share/man + /usr/share/doc + + + + + libkate-devel + Development files for libkate + + libkate + libogg-devel + libpng-devel + + + /usr/include + /usr/lib/pkgconfig + + + + + libkate-docs + API documentation for libkate + + libkate + + + /usr/share/doc/libkate/html + /usr/share/doc/libkate/examples + + + + + + 2014-05-24 + 0.4.1 + Rebuild. + Alihan Öztürk + alihan@pisilinux.org + + + 2014-03-09 + 0.4.1 + Rebuild. + Kamil Atlı + suvarice@gmail.com + + + 2013-07-31 + 0.4.1 + missing dep. + Erdinç Gültekin + erdincgultekin@pisilinux.org + + + 2012-08-29 + 0.4.1 + First release + PisiLinux Community + admins@pisilinux.org + + + diff --git a/multimedia/misc/libkate/translations.xml b/multimedia/misc/libkate/translations.xml new file mode 100644 index 0000000000..fc5fed4511 --- /dev/null +++ b/multimedia/misc/libkate/translations.xml @@ -0,0 +1,18 @@ + + + + libkate + Ogg için karaoke ve metin kitaplığı + Kate, karaoke ve metinleri ogg dosyalara gömmek için kullanılan kitaplık ve konsol uygulamaları içerir. + + + + libkate-devel + libkate için geliştirme dosyaları + + + + libkate-docs + libkate paketine ait API belgeleri + + diff --git a/multimedia/sound/vorbis-tools/pspec.xml b/multimedia/sound/vorbis-tools/pspec.xml index b105920878..0c6103c992 100644 --- a/multimedia/sound/vorbis-tools/pspec.xml +++ b/multimedia/sound/vorbis-tools/pspec.xml @@ -20,6 +20,7 @@ speex-devel libogg-devel libkate-devel + curl-devel diff --git a/programming/tool/dev86/actions.py b/programming/tool/dev86/actions.py new file mode 100644 index 0000000000..605bd31726 --- /dev/null +++ b/programming/tool/dev86/actions.py @@ -0,0 +1,29 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/licenses/gpl.txt + +from pisi.actionsapi import autotools +from pisi.actionsapi import pisitools +from pisi.actionsapi import get + +def build(): + for com in [ "bcc86", "unproto", "copt", "as86", "ld86", + "-C cpp", "-C ar", "-C ld" ]: + make_opts = { 'cflags' : get.CFLAGS(), + 'com' : com } + + autotools.make('%(com)s CFLAGS="%(cflags)s -D_POSIX_SOURCE" -j1' % make_opts) + + # ncc does not support gcc optflags + autotools.make('-j1') + +def install(): + for binary in ["bin/*","cpp/bcc-cpp","bcc/bcc-cc1"]: + pisitools.dobin(binary) + + pisitools.rename("/usr/bin/Bcc","bcc") + + pisitools.doman("man/*.1") + pisitools.dodoc("Changes","COPYING","MAGIC","README") diff --git a/programming/tool/dev86/files/64bit-build-fix.patch b/programming/tool/dev86/files/64bit-build-fix.patch new file mode 100644 index 0000000000..b70ef91e39 --- /dev/null +++ b/programming/tool/dev86/files/64bit-build-fix.patch @@ -0,0 +1,26 @@ +Index: dev86-0.16.17/bcc/bcc.c +=================================================================== +--- dev86-0.16.17.orig/bcc/bcc.c ++++ dev86-0.16.17/bcc/bcc.c +@@ -226,12 +226,21 @@ char ** argv; + + } else { + /* Relative paths to normal PREFIX directory */ ++#ifdef __x86_64__ ++ default_include = build_libpath("-I", "/lib64/bcc/include", ""); ++ default_libdir = build_libpath("-L", "/lib64/bcc", libdir_suffix); ++ optim_rules = build_libpath("-d", "/lib64/bcc", libdir_suffix); ++ ++ build_prefix("/lib64/bcc", libdir_suffix, ""); ++ build_prefix("/lib64/bcc", "", ""); ++#else + default_include = build_libpath("-I", "/lib/bcc/include", ""); + default_libdir = build_libpath("-L", "/lib/bcc", libdir_suffix); + optim_rules = build_libpath("-d", "/lib/bcc", libdir_suffix); + + build_prefix("/lib/bcc", libdir_suffix, ""); + build_prefix("/lib/bcc", "", ""); ++#endif + } + + build_prefix("/bin", "", ""); diff --git a/programming/tool/dev86/files/dont-ask-anything.patch b/programming/tool/dev86/files/dont-ask-anything.patch new file mode 100644 index 0000000000..3a82fbc2d5 --- /dev/null +++ b/programming/tool/dev86/files/dont-ask-anything.patch @@ -0,0 +1,15 @@ +Index: dev86-0.16.17/libc/Config_sh +=================================================================== +--- dev86-0.16.17.orig/libc/Config_sh ++++ dev86-0.16.17/libc/Config_sh +@@ -46,8 +46,8 @@ main() + do + display + echo +- echon 'Select config option to flip [or quit] >' +- read n ++ echon 'Do not select config option, I can do it for you ;)' ++ n="q" # read n + v="" + case "$n" in + [qQ]* ) RUNNING=0 diff --git a/programming/tool/dev86/files/fedora/dev86-long.patch b/programming/tool/dev86/files/fedora/dev86-long.patch new file mode 100644 index 0000000000..b2f2dcbd2c --- /dev/null +++ b/programming/tool/dev86/files/fedora/dev86-long.patch @@ -0,0 +1,22 @@ +diff -up dev86-0.16.19/ld/x86_aout.h.long dev86-0.16.19/ld/x86_aout.h +--- dev86-0.16.19/ld/x86_aout.h.long 2012-07-30 10:17:06.000000000 +0200 ++++ dev86-0.16.19/ld/x86_aout.h 2012-11-15 15:19:12.215396644 +0100 +@@ -11,17 +11,11 @@ + /* If the host isn't an x86 all bets are off, use chars. */ + #if defined(i386) || defined(__BCC__) || defined(MSDOS) + typedef long Long; +-#define __OUT_OK 1 + #else +-/* Beware: this will probably allow some BE hosts to generate broken files. */ +-#ifdef INT32_MAX + #include + typedef int32_t Long; +-#define __OUT_OK 1 +-#else +-typedef char Long[4]; +-#endif + #endif ++#define __OUT_OK 1 + + struct exec { /* a.out header */ + unsigned char a_magic[2]; /* magic number */ \ No newline at end of file diff --git a/programming/tool/dev86/files/fedora/dev86-noelks.patch b/programming/tool/dev86/files/fedora/dev86-noelks.patch new file mode 100644 index 0000000000..9fd46e9577 --- /dev/null +++ b/programming/tool/dev86/files/fedora/dev86-noelks.patch @@ -0,0 +1,15 @@ +--- dev86-0.16.17/makefile.in.noelks 2006-01-25 17:03:02.000000000 -0500 ++++ dev86-0.16.17/makefile.in 2006-01-25 17:03:19.000000000 -0500 +@@ -89,10 +89,10 @@ + + #ifdef GNUMAKE + all: check_config bcc86 cpp unproto copt as86 ar86 ld86 objdump86 \ +- library lib-bsd alt-libs elksemu ++ library lib-bsd alt-libs + + install: check_config install-bcc install-man \ +- install-lib install-emu ++ install-lib + + install-all: install install-other + diff --git a/programming/tool/dev86/files/fedora/dev86-nostrip.patch b/programming/tool/dev86/files/fedora/dev86-nostrip.patch new file mode 100644 index 0000000000..b26169abb2 --- /dev/null +++ b/programming/tool/dev86/files/fedora/dev86-nostrip.patch @@ -0,0 +1,11 @@ +--- dev86-0.16.17/makefile.in.nostrip 2007-01-30 14:28:38.000000000 +0100 ++++ dev86-0.16.17/makefile.in 2007-01-30 14:40:56.000000000 +0100 +@@ -78,7 +78,7 @@ + + # Install files with the userid of the currently running process. + INDAT=-m 644 +-INEXE=-m 755 -s ++INEXE=-m 755 + INSCR=-m 755 + + #ifdef __CYGWIN__ diff --git a/programming/tool/dev86/files/fedora/dev86-print-overflow.patch b/programming/tool/dev86/files/fedora/dev86-print-overflow.patch new file mode 100644 index 0000000000..c75e18c9bb --- /dev/null +++ b/programming/tool/dev86/files/fedora/dev86-print-overflow.patch @@ -0,0 +1,27 @@ +From: Lubomir Rintel + +There are off-by-one errors when filling the ar headers, the trailing nul +would overflow the target buffer. + +diff -urp dev86-0.16.17/ld/mkar.c dev86-0.16.17.fixed/ld/mkar.c +--- dev86-0.16.17/ld/mkar.c 2004-06-20 09:23:27.000000000 +0200 ++++ dev86-0.16.17.fixed/ld/mkar.c 2010-03-29 23:34:30.351426404 +0200 +@@ -51,12 +51,12 @@ char buf[128]; + memset(&arbuf, ' ', sizeof(arbuf)); + strcpy(buf, ptr); strcat(buf, "/ "); + strncpy(arbuf.ar_name, buf, sizeof(arbuf.ar_name)); +- +- sprintf(arbuf.ar_date, "%-12ld", (long)st.st_mtime); +- sprintf(arbuf.ar_uid, "%-6d", (int)(st.st_uid%1000000L)); +- sprintf(arbuf.ar_gid, "%-6d", (int)(st.st_gid%1000000L)); +- sprintf(arbuf.ar_mode, "%-8lo", (long)st.st_mode); +- sprintf(arbuf.ar_size, "%-10ld", (long)st.st_size); ++ ++ snprintf(arbuf.ar_date, 12, "%-12ld", (long)st.st_mtime); ++ snprintf(arbuf.ar_uid, 6, "%-6d", (int)(st.st_uid%1000000L)); ++ snprintf(arbuf.ar_gid, 6, "%-6d", (int)(st.st_gid%1000000L)); ++ snprintf(arbuf.ar_mode, 8, "%-8lo", (long)st.st_mode); ++ snprintf(arbuf.ar_size, 10, "%-10ld", (long)st.st_size); + memcpy(arbuf.ar_fmag, ARFMAG, sizeof(arbuf.ar_fmag)); + + if( fwrite(&arbuf, 1, sizeof(arbuf), fd) != sizeof(arbuf) ) diff --git a/programming/tool/dev86/files/makefile-fix.patch b/programming/tool/dev86/files/makefile-fix.patch new file mode 100644 index 0000000000..f47119284b --- /dev/null +++ b/programming/tool/dev86/files/makefile-fix.patch @@ -0,0 +1,15 @@ +Index: dev86-0.16.17/libc/i386sys/Makefile +=================================================================== +--- dev86-0.16.17.orig/libc/i386sys/Makefile ++++ dev86-0.16.17/libc/i386sys/Makefile +@@ -20,6 +20,10 @@ CFLAGS=$(ARCH) $(CCFLAGS) $(DEFS) + all: $(SYSCALLS) $(LIBC)($(OBJ)) + @$(RM) $(OBJ) + ++# when OBJ is null at $(LIBC)($(OBJ)), make crashes ++$(LIBC)(): ++ @: ++ + syscalls: syscall.mak + $(MAKE) -f syscall.mak LIBC="$(LIBC)" CFLAGS="$(CFLAGS)" + diff --git a/programming/tool/dev86/pspec.xml b/programming/tool/dev86/pspec.xml new file mode 100644 index 0000000000..059a1a8b6a --- /dev/null +++ b/programming/tool/dev86/pspec.xml @@ -0,0 +1,61 @@ + + + + + dev86 + http://homepage.ntlworld.com/robert.debath/ + + PisiLinux Community + admins@pisilinux.org + + GPLv2 + app:console + Development environment for ELKS-86 and standalone 8086 code + The dev86 package provides an assembler and linker for real mode 80x86 instructions. You'll need to have this package installed in order to build programs that run in real mode, including LILO and the kernel's bootstrapping code, from their sources. + http://v3.sk/~lkundrak/dev86/archive/Dev86src-0.16.19.tar.gz + + + + fedora/dev86-noelks.patch + fedora/dev86-nostrip.patch + fedora/dev86-long.patch + fedora/dev86-print-overflow.patch + dont-ask-anything.patch + 64bit-build-fix.patch + makefile-fix.patch + + + + + dev86 + + /usr/bin + /usr/share/doc + /usr/share/man + + + + + + 2014-02-17 + 0.16.19 + Release. + Serdar Soytetir + kaptan@pisilinux.org + + + 2013-05-02 + 0.16.19 + Version bump. + Serdar Soytetir + kaptan@pisilinux.org + + + 2010-10-13 + 0.16.17 + First release + Pisi Linux Admins + admins@pisilinux.org + + + diff --git a/programming/tool/dev86/translations.xml b/programming/tool/dev86/translations.xml new file mode 100644 index 0000000000..ed23ec3fbe --- /dev/null +++ b/programming/tool/dev86/translations.xml @@ -0,0 +1,8 @@ + + + + dev86 + ELKS-86 ve 8086 kodları için geliştirme ortamı + Entorno de desarrollo para ELKS-86 y código 8086 independiente + + From 74979ba42d28f9f9b1c1f7f08ef33348cf087ef4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ertu=C4=9Frul=20Erata?= Date: Wed, 12 Aug 2015 13:08:17 +0300 Subject: [PATCH 6/6] rm vbox --- hardware/virtualization/virtualbox/actions.py | 118 -------- .../virtualbox/comar/package.py | 13 - .../files/002-dri-driver-path.patch | 28 -- .../files/003-ogl-include-path.patch | 26 -- .../virtualbox/files/004-xorg.patch | 217 --------------- .../virtualbox/files/005-gsoap-build.patch | 11 - .../files/006-rdesktop-vrdp-keymap-path.patch | 12 - .../virtualbox/files/008-root-window.patch | 19 -- .../virtualbox/files/009-fix-smap-crash.patch | 107 -------- .../virtualbox/files/60-vboxdrv.rules | 8 - .../virtualbox/files/60-vboxguest.rules | 2 - .../virtualbox/files/LocalConfig.kmk | 21 -- .../virtualbox/files/desktop-file.patch | 17 -- .../virtualbox/files/fix-tr-keyboard.patch | 13 - .../virtualbox/files/module-mismatch.patch | 43 --- .../virtualbox/files/vboxclient.sh | 2 - .../virtualbox/files/vboxreload | 40 --- .../files/virtualbox-4-makeself-check.patch | 10 - .../virtualbox/files/wrapper.patch | 28 -- hardware/virtualization/virtualbox/pspec.xml | 256 ------------------ .../virtualbox/translations.xml | 13 - 21 files changed, 1004 deletions(-) delete mode 100644 hardware/virtualization/virtualbox/actions.py delete mode 100644 hardware/virtualization/virtualbox/comar/package.py delete mode 100644 hardware/virtualization/virtualbox/files/002-dri-driver-path.patch delete mode 100644 hardware/virtualization/virtualbox/files/003-ogl-include-path.patch delete mode 100644 hardware/virtualization/virtualbox/files/004-xorg.patch delete mode 100644 hardware/virtualization/virtualbox/files/005-gsoap-build.patch delete mode 100644 hardware/virtualization/virtualbox/files/006-rdesktop-vrdp-keymap-path.patch delete mode 100644 hardware/virtualization/virtualbox/files/008-root-window.patch delete mode 100644 hardware/virtualization/virtualbox/files/009-fix-smap-crash.patch delete mode 100644 hardware/virtualization/virtualbox/files/60-vboxdrv.rules delete mode 100644 hardware/virtualization/virtualbox/files/60-vboxguest.rules delete mode 100644 hardware/virtualization/virtualbox/files/LocalConfig.kmk delete mode 100644 hardware/virtualization/virtualbox/files/desktop-file.patch delete mode 100644 hardware/virtualization/virtualbox/files/fix-tr-keyboard.patch delete mode 100644 hardware/virtualization/virtualbox/files/module-mismatch.patch delete mode 100644 hardware/virtualization/virtualbox/files/vboxclient.sh delete mode 100644 hardware/virtualization/virtualbox/files/vboxreload delete mode 100644 hardware/virtualization/virtualbox/files/virtualbox-4-makeself-check.patch delete mode 100644 hardware/virtualization/virtualbox/files/wrapper.patch delete mode 100644 hardware/virtualization/virtualbox/pspec.xml delete mode 100644 hardware/virtualization/virtualbox/translations.xml diff --git a/hardware/virtualization/virtualbox/actions.py b/hardware/virtualization/virtualbox/actions.py deleted file mode 100644 index 1eea97cb17..0000000000 --- a/hardware/virtualization/virtualbox/actions.py +++ /dev/null @@ -1,118 +0,0 @@ -# -*- coding: utf-8 -*- -# -# Licensed under the GNU General Public License, version 3. -# See the file http://www.gnu.org/licenses/gpl.txt - -from pisi.actionsapi import get -from pisi.actionsapi import autotools -from pisi.actionsapi import pisitools -from pisi.actionsapi import shelltools -from pisi.actionsapi import pythonmodules -from pisi.actionsapi import kerneltools - -VBoxLibDir = "/usr/lib/virtualbox" -VBoxDataDir = "/usr/share/virtualbox" -KDIR = kerneltools.getKernelVersion() - -def setup(): - #pisitools.dosed("LocalConfig.kmk", "__VBOXLIBDIR__", VBoxLibDir) - #pisitools.dosed("LocalConfig.kmk", "__VBOXDATADIR__", VBoxDataDir) - - shelltools.echo("vbox.cfg", "INSTALL_DIR=%s" % VBoxLibDir) - - # TODO: Enable web service when we have soapcpp2 - autotools.rawConfigure("\ - --with-makeself=/usr/bin/echo \ - --disable-docs \ - --enable-vde \ - --enable-vnc \ - --enable-webservice \ - --with-linux=/usr/src/linux-headers-%s \ - --with-gcc=%s \ - --with-g++=%s \ - " % (KDIR, get.CC(), get.CXX())) - -def build(): - shelltools.system("source %s/env.sh && kmk" % get.curDIR()) - -def install(): - shelltools.system("awk '$1 ~ /Version:/ { print gensub(/([0-9]+)\.([0-9]+).*/, \"\\\\1\\\\2\", \"g\", $2) }' /usr/lib/pkgconfig/xorg-server.pc > XorgVersion") - with open("XorgVersion", "r") as f: - XorgVersion = f.readline().strip() - pisitools.insinto("/etc/vbox", "vbox.cfg") - shelltools.chmod("src/VBox/Additions/x11/Installer/98vboxadd-xclient", 0755) - pisitools.insinto("/usr/bin", "src/VBox/Additions/x11/Installer/98vboxadd-xclient", "VBoxClient-all") - #pisitools.insinto("/lib/udev/rules.d", "src/VBox/Additions/linux/installer/70-xorg-vboxmouse.rules") - pisitools.insinto("/usr/share/X11/pci", "src/VBox/Additions/x11/Installer/vboxvideo.ids") - #pisitools.insinto("/usr/share/X11/xorg.conf.d", "src/VBox/Additions/x11/Installer/50-vboxmouse.conf") - - arch = "amd64" if get.ARCH() == "x86_64" else "x86" - shelltools.cd("out/linux.%s/release/bin" % arch) - - # libraries installation. The files below are unnecessary files. - # TODO: change loop and make it more discrete (i.e copying each single file) - exclude = ("additions", "icons", "nls", "scm", "sdk", "src", "SUP", "vboxkeyboard", - "VBox.sh", "VBoxSysInfo.sh", "VBoxCreateUSBNode.sh", "VBoxTunctl", "testcase", "tst", "xpidl") - - for _file in shelltools.ls("."): - if _file.startswith(exclude): - continue - - print "Installing %s ..." % _file - pisitools.insinto(VBoxLibDir, _file) - - pisitools.dobin("VBox*.sh", VBoxDataDir) - pisitools.insinto(VBoxDataDir, "nls") - - # TODO: Add vboxwebsrv when ready - # Binaries and Wrapper with Launchers - apps = ("VBoxHeadless", "VBoxManage", "VBoxSDL", "VBoxVRDP", "VirtualBox", "VBoxBalloonCtrl") - for link in apps: - pisitools.dosym("../share/virtualbox/VBox.sh", "/usr/bin/%s" % link) - - pisitools.dobin("VBoxTunctl") - - # Desktop file, mimetype file for xml and icon - pisitools.domove("%s/*.desktop" % VBoxLibDir, "/usr/share/applications") - pisitools.domove("%s/*.png" % VBoxLibDir, "/usr/share/pixmaps") - pisitools.domove("%s/*.xml" % VBoxLibDir, "/usr/share/mime/packages") - - # Mimetypes icons - for size in ["16", "20", "24", "32", "48", "64", "72", "96", "128", "256"]: - pisitools.insinto("/usr/share/icons/hicolor/%sx%s/mimetypes" % (size, size), - "icons/%sx%s/*.png" % (size, size)) - - # Guest additions - pisitools.dobin("additions/VBoxClient") - pisitools.dobin("additions/VBoxControl") - - pisitools.dosbin("additions/VBoxService") - pisitools.dosbin("additions/mount.vboxsf", "/sbin") - - pisitools.insinto("/lib/security", "additions/pam_vbox.so") - - pisitools.dolib("additions/VBoxOGL*") - pisitools.dosym("../../../VBoxOGL.so", "/usr/lib/xorg/modules/dri/vboxvideo_dri.so") - - pisitools.insinto("/usr/lib/xorg/modules/drivers", "additions/vboxvideo_drv_%s.so" % XorgVersion, "vboxvideo_drv.so") - #pisitools.insinto("/usr/lib/xorg/modules/input", "additions/vboxmouse_drv_%s.so" % XorgVersion, "vboxmouse_drv.so") - - # Python bindings - pisitools.insinto("%s/sdk/bindings/xpcom" % VBoxLibDir, "sdk/bindings/xpcom/python") - - shelltools.cd("sdk/installer") - shelltools.copy("vboxapisetup.py", "setup.py") - shelltools.export("VBOX_INSTALL_PATH", VBoxLibDir) - pythonmodules.install() - - shelltools.cd("../..") - mvb_name = "module-virtualbox-%s" % get.srcVERSION() - mvbg_name = "module-virtualbox-guest-%s" % get.srcVERSION() - - shelltools.copy("src", "%s/%s" % (get.workDIR(), mvb_name)) - shelltools.copy("additions/src", "%s/%s" % (get.workDIR(), mvbg_name)) - shelltools.cd(get.workDIR()) - shelltools.system("tar c %s | xz -9 > %s.tar.xz" % ((mvb_name, )*2)) - shelltools.unlinkDir(mvb_name) - shelltools.system("tar c %s | xz -9 > %s.tar.xz" % ((mvbg_name, )*2)) - shelltools.unlinkDir(mvbg_name) diff --git a/hardware/virtualization/virtualbox/comar/package.py b/hardware/virtualization/virtualbox/comar/package.py deleted file mode 100644 index 1477f975bf..0000000000 --- a/hardware/virtualization/virtualbox/comar/package.py +++ /dev/null @@ -1,13 +0,0 @@ -#/usr/bin/python -# -*- coding: utf-8 -*- - -import os - -files = ("VBoxHeadless", "VBoxNetAdpCtl", "VBoxNetDHCP", "VBoxSDL", "VirtualBox") -vboxgroup = "vboxusers" - -def postInstall(fromVersion, fromRelease, toVersion, toRelease): - for _file in files: - f = "/usr/lib/virtualbox/%s" % _file - os.system("/bin/chown :%s %s" % (vboxgroup, f)) - os.chmod(f, 04510) diff --git a/hardware/virtualization/virtualbox/files/002-dri-driver-path.patch b/hardware/virtualization/virtualbox/files/002-dri-driver-path.patch deleted file mode 100644 index 777e8e73b8..0000000000 --- a/hardware/virtualization/virtualbox/files/002-dri-driver-path.patch +++ /dev/null @@ -1,28 +0,0 @@ -# 2013 © Sébastien Luttringer ---- a/src/VBox/Additions/common/crOpenGL/fakedri_drv.c 2013-09-04 21:03:47.040743507 +0200 -+++ b/src/VBox/Additions/common/crOpenGL/fakedri_drv.c 2013-10-20 23:23:49.705371815 +0200 -@@ -58,23 +58,8 @@ - //#define DEBUG_DRI_CALLS - - //@todo this could be different... --#ifdef RT_ARCH_AMD64 --# ifdef RT_OS_FREEBSD --# define DRI_DEFAULT_DRIVER_DIR "/usr/local/lib/dri" --# define DRI_XORG_DRV_DIR "/usr/local/lib/xorg/modules/drivers/" --# else --# define DRI_DEFAULT_DRIVER_DIR "/usr/lib64/dri:/usr/lib/dri:/usr/lib/x86_64-linux-gnu/dri:/usr/lib/xorg/modules/dri" -+# define DRI_DEFAULT_DRIVER_DIR "/usr/lib/xorg/modules/dri" - # define DRI_XORG_DRV_DIR "/usr/lib/xorg/modules/drivers/" --# endif --#else --# ifdef RT_OS_FREEBSD --# define DRI_DEFAULT_DRIVER_DIR "/usr/local/lib/dri" --# define DRI_XORG_DRV_DIR "/usr/local/lib/xorg/modules/drivers/" --# else --# define DRI_DEFAULT_DRIVER_DIR "/usr/lib/dri:/usr/lib/i386-linux-gnu/dri:/usr/lib/xorg/modules/dri" --# define DRI_XORG_DRV_DIR "/usr/lib/xorg/modules/drivers/" --# endif --#endif - - #ifdef DEBUG_DRI_CALLS - #define SWDRI_SHOWNAME(pext, func) \ diff --git a/hardware/virtualization/virtualbox/files/003-ogl-include-path.patch b/hardware/virtualization/virtualbox/files/003-ogl-include-path.patch deleted file mode 100644 index 7f319ec76d..0000000000 --- a/hardware/virtualization/virtualbox/files/003-ogl-include-path.patch +++ /dev/null @@ -1,26 +0,0 @@ ---- a/src/VBox/Additions/common/crOpenGL/Makefile.kmk 2013-03-19 18:55:28.774951223 +0000 -+++ b/src/VBox/Additions/common/crOpenGL/Makefile.kmk 2013-03-19 18:58:06.337193736 +0000 -@@ -63,18 +63,12 @@ - VBoxOGL_INCS = . - if1of ($(KBUILD_TARGET), linux solaris freebsd) - VBoxOGL_INCS += \ -- $(VBOX_PATH_X11_ROOT)/libXdamage-1.1 \ -- $(VBOX_PATH_X11_ROOT)/libXcomposite-0.4.0 \ -- $(VBOX_PATH_X11_ROOT)/libXext-1.3.1 \ -- $(VBOX_PATH_X11_ROOT)/libXfixes-4.0.3 \ -- $(VBOX_PATH_X11_ROOT)/damageproto-1.1.0 \ -- $(VBOX_PATH_X11_ROOT)/compositeproto-0.4 \ -- $(VBOX_PATH_X11_ROOT)/fixesproto-4.0 \ -- $(VBOX_PATH_X11_ROOT)/libx11-1.1.5-other \ -- $(VBOX_PATH_X11_ROOT)/xextproto-7.1.1 \ -- $(VBOX_PATH_X11_ROOT)/xproto-7.0.18 \ -+ /usr/include/x11 \ -+ /usr/include/xorg \ -+ /usr/include/pixman-1 \ - $(VBOX_MESA_INCS) \ -- $(PATH_ROOT)/src/VBox/Additions/x11/x11include/libdrm-2.4.13 -+ /usr/include/drm \ -+ /usr/include/libdrm - VBoxOGL_DEFS += VBOX_NO_NATIVEGL - endif - diff --git a/hardware/virtualization/virtualbox/files/004-xorg.patch b/hardware/virtualization/virtualbox/files/004-xorg.patch deleted file mode 100644 index 788f16a687..0000000000 --- a/hardware/virtualization/virtualbox/files/004-xorg.patch +++ /dev/null @@ -1,217 +0,0 @@ ---- a/src/VBox/Additions/common/VBoxGuestLib/Makefile.km 2013-09-04 21:03:47.334749420 +0200 -+++ b/src/VBox/Additions/common/VBoxGuestLib/Makefile.kmk 2013-10-21 00:06:36.418245968 +0200 -@@ -40,8 +40,8 @@ - VBoxGuestR3LibShared - ifndef VBOX_ONLY_TESTSUITE - if1of ($(KBUILD_TARGET), freebsd linux netbsd openbsd) -- LIBRARIES += \ -- VBoxGuestR3LibXFree86 -+# LIBRARIES += \ -+# VBoxGuestR3LibXFree86 - endif - endif - LIBRARIES.win.amd64 += VBoxGuestR3Lib-x86 VBoxGuestR3LibShared-x86 - ---- a/src/VBox/Additions/x11/Makefile.kmk 2013-03-19 18:55:28.974949837 +0000 -+++ b/src/VBox/Additions/x11/Makefile.kmk 2013-03-19 18:56:00.468064457 +0000 -@@ -17,6 +17,10 @@ - SUB_DEPTH = ../../../.. - include $(KBUILD_PATH)/subheader.kmk - -+ifn1of ($(XSERVER_VERSION), 13 14 15 16 17 18 19 110 111) -+ XSERVER_VERSION := 17 -+endif -+ - # Include sub-makefiles. - if1of ($(KBUILD_TARGET), freebsd linux netbsd openbsd solaris) - include $(PATH_SUB_CURRENT)/VBoxClient/Makefile.kmk - ---- a/src/VBox/Additions/x11/vboxmouse/Makefile.kmk 2013-03-19 18:55:28.818284256 +0000 -+++ b/src/VBox/Additions/x11/vboxmouse/Makefile.kmk 2013-03-19 18:56:00.468064457 +0000 -@@ -29,7 +29,6 @@ - # vboxmouse_drv - # - if1of ($(KBUILD_TARGET), linux) -- SYSMODS += vboxmouse_drv - vboxmouse_drv_TEMPLATE = VBOXGUESTR3XF86MOD - vboxmouse_drv_DEFS.linux = linux - vboxmouse_drv_DEFS.x86 += __i386__ -@@ -69,7 +68,6 @@ - # - # vboxmouse_drv_70 - # --DLLS += vboxmouse_drv_70 - vboxmouse_drv_70_TEMPLATE = VBOXGUESTR3XORGMOD - vboxmouse_drv_70_DEFS = \ - XFree86Server IN_MODULE XFree86Module XFree86LOADER XINPUT XORG_7X IN_XF86_MODULE DONT_DEFINE_WRAPPERS NO_ANSIC -@@ -85,7 +83,6 @@ - # - # vboxmouse_drv_71 - # --DLLS += vboxmouse_drv_71 - vboxmouse_drv_71_TEMPLATE = VBOXGUESTR3XORGMOD - vboxmouse_drv_71_DEFS := $(vboxmouse_drv_70_DEFS) NO_ANSIC - vboxmouse_drv_71_INCS := \ -@@ -100,7 +97,6 @@ - # - # vboxmouse_drv_13 - # --DLLS += vboxmouse_drv_13 - vboxmouse_drv_13_TEMPLATE = VBOXGUESTR3XORGMOD - vboxmouse_drv_13_DEFS := $(vboxmouse_drv_70_DEFS) NO_ANSIC - vboxmouse_drv_13_INCS := \ -@@ -114,7 +110,6 @@ - # - # vboxmouse_drv_14 - # --DLLS += vboxmouse_drv_14 - vboxmouse_drv_14_TEMPLATE = VBOXGUESTR3XORGMOD - vboxmouse_drv_14_DEFS := $(vboxmouse_drv_70_DEFS) NO_ANSIC - vboxmouse_drv_14_INCS := \ -@@ -128,7 +123,6 @@ - # - # vboxmouse_drv_15 - # --DLLS += vboxmouse_drv_15 - vboxmouse_drv_15_TEMPLATE = VBOXGUESTR3XORGMOD - vboxmouse_drv_15_DEFS := $(vboxmouse_drv_70_DEFS) NO_ANSIC - vboxmouse_drv_15_INCS := \ -@@ -142,7 +136,6 @@ - # - # vboxmouse_drv_16 - # --DLLS += vboxmouse_drv_16 - vboxmouse_drv_16_TEMPLATE = VBOXGUESTR3XORGMOD - vboxmouse_drv_16_DEFS := $(vboxmouse_drv_70_DEFS) NO_ANSIC - vboxmouse_drv_16_INCS := \ - ---- a/src/VBox/Additions/x11/vboxvideo/Makefile.kmk 2013-03-19 18:55:28.974949837 +0000 -+++ b/src/VBox/Additions/x11/vboxvideo/Makefile.kmk 2013-03-19 18:56:00.468064457 +0000 -@@ -53,7 +53,6 @@ - # vboxvideo_drv - # - if1of ($(KBUILD_TARGET), linux) -- SYSMODS += vboxvideo_drv - endif # target linux - vboxvideo_drv_TEMPLATE = VBOXGUESTR3XF86MOD - vboxvideo_drv_DEFS.linux = linux -@@ -128,7 +127,6 @@ - # base keywords instead of using .solaris or .linux. - # Also it is *important* to use := and not = when deriving a property. - # --DLLS += vboxvideo_drv_70 - vboxvideo_drv_70_TEMPLATE = VBOXGUESTR3XORGMOD - if1of ($(KBUILD_TARGET), linux) - vboxvideo_drv_70_CFLAGS += \ -@@ -149,7 +147,6 @@ - # - # vboxvideo_drv_71 - # --DLLS += vboxvideo_drv_71 - vboxvideo_drv_71_TEMPLATE = VBOXGUESTR3XORGMOD - vboxvideo_drv_71_CFLAGS := $(vboxvideo_drv_70_CFLAGS) - vboxvideo_drv_71_DEFS := $(vboxvideo_70_DEFS) XORG_VERSION_CURRENT=700100000 -@@ -164,7 +161,6 @@ - # - # vboxvideo_drv_13 - # --DLLS += vboxvideo_drv_13 - vboxvideo_drv_13_TEMPLATE = VBOXGUESTR3XORGMOD - vboxvideo_drv_13_CFLAGS := $(vboxvideo_drv_70_CFLAGS) - vboxvideo_drv_13_DEFS := $(vboxvideo_13_DEFS) XORG_VERSION_CURRENT=100300000 -@@ -178,7 +174,6 @@ - # - # vboxvideo_drv_14 - # --DLLS += vboxvideo_drv_14 - vboxvideo_drv_14_TEMPLATE = VBOXGUESTR3XORGMOD - vboxvideo_drv_14_CFLAGS := $(vboxvideo_drv_70_CFLAGS) - vboxvideo_drv_14_DEFS := $(vboxvideo_13_DEFS) XORG_VERSION_CURRENT=100400000 -@@ -192,7 +187,6 @@ - # - # vboxvideo_drv_15 - # --DLLS += vboxvideo_drv_15 - vboxvideo_drv_15_TEMPLATE = VBOXGUESTR3XORGMOD - vboxvideo_drv_15_CFLAGS := $(vboxvideo_drv_70_CFLAGS) - vboxvideo_drv_15_DEFS := $(vboxvideo_15_DEFS) XORG_VERSION_CURRENT=100503000 -@@ -213,7 +207,6 @@ - # - # vboxvideo_drv_16 - # --DLLS += vboxvideo_drv_16 - vboxvideo_drv_16_TEMPLATE = VBOXGUESTR3XORGMOD - vboxvideo_drv_16_CFLAGS := $(vboxvideo_drv_70_CFLAGS) - vboxvideo_drv_16_DEFS := $(vboxvideo_15_DEFS) XORG_VERSION_CURRENT=100600000 -@@ -227,7 +220,6 @@ - # - # vboxvideo_drv_17 - # --DLLS += vboxvideo_drv_17 - vboxvideo_drv_17_TEMPLATE = VBOXGUESTR3XORGMOD - vboxvideo_drv_17_CFLAGS := $(vboxvideo_drv_70_CFLAGS) - vboxvideo_drv_17_DEFS := $(vboxvideo_15_DEFS) XORG_VERSION_CURRENT=100699000 -@@ -241,7 +233,6 @@ - # - # vboxvideo_drv_18 - # --DLLS += vboxvideo_drv_18 - vboxvideo_drv_18_TEMPLATE = VBOXGUESTR3XORGMOD - vboxvideo_drv_18_CFLAGS := $(vboxvideo_drv_70_CFLAGS) - vboxvideo_drv_18_DEFS := $(vboxvideo_15_DEFS) XORG_VERSION_CURRENT=100800000 -@@ -255,7 +246,6 @@ - # - # vboxvideo_drv_19 - # --DLLS += vboxvideo_drv_19 - vboxvideo_drv_19_TEMPLATE = VBOXGUESTR3XORGMOD - vboxvideo_drv_19_CFLAGS := $(vboxvideo_drv_70_CFLAGS) - vboxvideo_drv_19_DEFS := $(vboxvideo_15_DEFS) XORG_VERSION_CURRENT=100900000 -@@ -269,7 +259,6 @@ - # - # vboxvideo_drv_110 - # --DLLS += vboxvideo_drv_110 - vboxvideo_drv_110_TEMPLATE = VBOXGUESTR3XORGMOD - vboxvideo_drv_110_CFLAGS := $(vboxvideo_drv_70_CFLAGS) - vboxvideo_drv_110_DEFS := $(vboxvideo_15_DEFS) XORG_VERSION_CURRENT=101000000 -@@ -283,7 +272,6 @@ - # - # vboxvideo_drv_111 - # --DLLS += vboxvideo_drv_111 - vboxvideo_drv_111_TEMPLATE = VBOXGUESTR3XORGMOD - vboxvideo_drv_111_CFLAGS := $(vboxvideo_drv_70_CFLAGS) - vboxvideo_drv_111_DEFS := $(vboxvideo_15_DEFS) XORG_VERSION_CURRENT=101100000 -@@ -297,7 +285,6 @@ - # - # vboxvideo_drv_112 - # --DLLS += vboxvideo_drv_112 - vboxvideo_drv_112_TEMPLATE = VBOXGUESTR3XORGMOD - vboxvideo_drv_112_CFLAGS := $(vboxvideo_drv_70_CFLAGS) - vboxvideo_drv_112_DEFS := $(vboxvideo_15_DEFS) XORG_VERSION_CURRENT=101200000 -@@ -341,6 +328,23 @@ - endif - - -+vboxvideo_drv_$(XSERVER_VERSION)_NAME := vboxvideo_drv -+vboxvideo_drv_$(XSERVER_VERSION)_INCS := \ -+ /usr/include/xorg \ -+ /usr/include/x11 \ -+ /usr/include/pixman-1 \ -+ /usr/include/X11/dri \ -+ /usr/include/drm \ -+ /usr/include/libdrm -+vboxvideo_drv_$(XSERVER_VERSION)_INCS += $(PATH_ROOT)/src/VBox/Runtime/include -+DLLS += vboxvideo_drv_$(XSERVER_VERSION) -+ -+# required for lenny backports -+ifeq ($(XSERVER_VERSION),14) -+ vboxvideo_drv_$(XSERVER_VERSION)_INCS += $(VBOX_PATH_X11_XORG_1_4)/xorg -+endif -+ -+ - # Check the undefined symbols in the X.Org modules against lists of allowed - # symbols. Not very elegant, but it will catch problems early. - diff --git a/hardware/virtualization/virtualbox/files/005-gsoap-build.patch b/hardware/virtualization/virtualbox/files/005-gsoap-build.patch deleted file mode 100644 index 267be96853..0000000000 --- a/hardware/virtualization/virtualbox/files/005-gsoap-build.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/src/VBox/Main/webservice/Makefile.kmk 2013-11-21 19:00:46.812761628 +0100 -+++ b/src/VBox/Main/webservice/Makefile.kmk 2014-01-04 04:37:05.803599026 +0100 -@@ -683,7 +683,7 @@ - : $(VBOXWEB_GSOAPH_FROM_GSOAP) $(VBOXWEB_GSOAPH_FROM_XSLT) $(VBOX_NSMAP) $(RECOMPILE_ON_MAKEFILE_CURRENT) | $$(dir $$@) - $(call MSG_GENERATE,,lots of files,$(GSOAPH_RELEVANT)) - $(RM) -f $@ -- $(REDIRECT) -C $(VBOXWEB_OUT_DIR) -- $(VBOX_SOAPCPP2) $(VBOXWEB_SOAPCPP2_SKIP_FILES) -L -2 -w -I$(VBOX_PATH_GSOAP_IMPORT) $(GSOAPH_RELEVANT) -+ $(REDIRECT) -C $(VBOXWEB_OUT_DIR) -- $(VBOX_SOAPCPP2) $(VBOXWEB_SOAPCPP2_SKIP_FILES) -z1 -L -2 -w -I$(VBOX_PATH_GSOAP_IMPORT) $(GSOAPH_RELEVANT) - $(APPEND) $@ done - - # copy the generated headers and stuff. This has to be a separate rule if we diff --git a/hardware/virtualization/virtualbox/files/006-rdesktop-vrdp-keymap-path.patch b/hardware/virtualization/virtualbox/files/006-rdesktop-vrdp-keymap-path.patch deleted file mode 100644 index 46c72c1ccf..0000000000 --- a/hardware/virtualization/virtualbox/files/006-rdesktop-vrdp-keymap-path.patch +++ /dev/null @@ -1,12 +0,0 @@ -# 2015 © Sébastien Luttringer ---- a/src/VBox/RDP/client-1.8.3/Makefile.kmk 2013-02-19 23:12:20.207464901 +0100 -+++ b/src/VBox/RDP/client-1.8.3/Makefile.kmk 2014-01-04 04:17:26.700618600 +0100 -@@ -41,7 +41,7 @@ - EGD_SOCKET=\"/var/run/egd-pool\" WITH_RDPSND=1 HAVE_DIRENT_H=1 \ - HAVE_ICONV=1 HAVE_SYS_STATVFS_H=1 \ - HAVE_SYS_PARAM_H=1 HAVE_SYS_MOUNT_H=1 HAVE_STRUCT_STATVFS_F_NAMEMAX=1 \ -- KEYMAP_PATH=$(if $(findstring RTPATH_APP_PRIVATE,$(CDEFS)),RTPATH_APP_PRIVATE,\"/opt/VirtualBox\")\"/rdesktop-vrdp-keymaps\" \ -+ KEYMAP_PATH=$(if $(findstring RTPATH_APP_PRIVATE,$(CDEFS)),RTPATH_APP_PRIVATE,\"/usr/share/virtualbox\")\"/rdesktop-vrdp-keymaps\" \ - RDESKTOP=1 - ifdef WITH_BIRD_VD_HACKS - rdesktop-vrdp_DEFS += WITH_BIRD_VD_HACKS diff --git a/hardware/virtualization/virtualbox/files/008-root-window.patch b/hardware/virtualization/virtualbox/files/008-root-window.patch deleted file mode 100644 index 4d16a094cb..0000000000 --- a/hardware/virtualization/virtualbox/files/008-root-window.patch +++ /dev/null @@ -1,19 +0,0 @@ ---- a/src/VBox/Additions/x11/vboxvideo/vboxvideo.h 2015-03-04 00:38:45.381480285 +0100 -+++ b/src/VBox/Additions/x11/vboxvideo/vboxvideo.h 2015-03-04 00:40:57.536942966 +0100 -@@ -130,15 +130,7 @@ - #define VBOX_MAX_DRAWABLES 256 /* At random. */ - - #define VBOXPTR(p) ((VBOXPtr)((p)->driverPrivate)) -- --/** Helper to work round different ways of getting the root window in different -- * server versions. */ --#if defined(XORG_VERSION_CURRENT) && XORG_VERSION_CURRENT < 70000000 \ -- && XORG_VERSION_CURRENT >= 10900000 --# define ROOT_WINDOW(pScrn) screenInfo.screens[(pScrn)->scrnIndex]->root --#else --# define ROOT_WINDOW(pScrn) WindowTable[(pScrn)->scrnIndex] --#endif -+#define ROOT_WINDOW(pScrn) screenInfo.screens[(pScrn)->scrnIndex]->root - - /** Structure containing all virtual monitor-specific information. */ - struct VBoxScreen diff --git a/hardware/virtualization/virtualbox/files/009-fix-smap-crash.patch b/hardware/virtualization/virtualbox/files/009-fix-smap-crash.patch deleted file mode 100644 index ba6065717e..0000000000 --- a/hardware/virtualization/virtualbox/files/009-fix-smap-crash.patch +++ /dev/null @@ -1,107 +0,0 @@ -# https://www.virtualbox.org/ticket/13961 - ---- a/src/VBox/HostDrivers/Support/linux/SUPDrv-linux.c 2015-03-20 15:24:13.000000000 +0100 -+++ b/src/VBox/HostDrivers/Support/linux/SUPDrv-linux.c 2015-03-20 15:23:51.000000000 +0100 -@@ -48,12 +48,6 @@ - # include - # define VBOX_WITH_SUSPEND_NOTIFICATION - #endif --#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 7, 0) --# include --#else --static inline void clac(void) { } --static inline void stac(void) { } --#endif - - #include - #ifdef CONFIG_DEVFS_FS ---- a/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h 2015-03-20 15:24:13.000000000 +0100 -+++ b/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h 2015-03-20 15:23:52.000000000 +0100 -@@ -145,6 +145,13 @@ - # include - #endif - -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 7, 0) -+# include -+#else -+static inline void clac(void) { } -+static inline void stac(void) { } -+#endif -+ - #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 0) - # ifndef page_to_pfn - # define page_to_pfn(page) ((page) - mem_map) ---- a/src/VBox/Runtime/r0drv/linux/threadctxhooks-r0drv-linux.c 2015-03-20 15:24:13.000000000 +0100 -+++ b/src/VBox/Runtime/r0drv/linux/threadctxhooks-r0drv-linux.c 2015-03-20 15:23:52.000000000 +0100 -@@ -36,6 +36,9 @@ - #include - #include - #include -+#if defined(RT_ARCH_AMD64) || defined(RT_ARCH_X86) -+# include -+#endif - #include "internal/thread.h" - - /* -@@ -68,6 +71,11 @@ - struct preempt_ops hPreemptOps; - /** The reference count for this object. */ - uint32_t volatile cRefs; -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 1, 19) && defined(RT_ARCH_AMD64) -+ /** Starting with 3.1.19, the linux kernel doesn't restore kernel RFLAGS during -+ * task switch, so we have to do that ourselves. (x86 code is not affected.) */ -+ RTCCUINTREG fSavedRFlags; -+#endif - } RTTHREADCTXINT, *PRTTHREADCTXINT; - - -@@ -84,12 +92,24 @@ - static void rtThreadCtxHooksLnxSchedOut(struct preempt_notifier *pPreemptNotifier, struct task_struct *pNext) - { - PRTTHREADCTXINT pThis = RT_FROM_MEMBER(pPreemptNotifier, RTTHREADCTXINT, hPreemptNotifier); -+#if defined(RT_ARCH_AMD64) || defined(RT_ARCH_X86) -+ RTCCUINTREG fSavedEFlags = ASMGetFlags(); -+ stac(); -+#endif -+ - AssertPtr(pThis); - AssertPtr(pThis->pfnThreadCtxHook); - Assert(pThis->fRegistered); - Assert(!RTThreadPreemptIsEnabled(NIL_RTTHREAD)); - - pThis->pfnThreadCtxHook(RTTHREADCTXEVENT_PREEMPTING, pThis->pvUser); -+ -+#if defined(RT_ARCH_AMD64) || defined(RT_ARCH_X86) -+ ASMSetFlags(fSavedEFlags); -+# if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 1, 19) && defined(RT_ARCH_AMD64) -+ pThis->fSavedRFlags = fSavedEFlags; -+# endif -+#endif - } - - -@@ -105,11 +125,24 @@ - static void rtThreadCtxHooksLnxSchedIn(struct preempt_notifier *pPreemptNotifier, int iCpu) - { - PRTTHREADCTXINT pThis = RT_FROM_MEMBER(pPreemptNotifier, RTTHREADCTXINT, hPreemptNotifier); -+#if defined(RT_ARCH_AMD64) || defined(RT_ARCH_X86) -+ RTCCUINTREG fSavedEFlags = ASMGetFlags(); -+ stac(); -+#endif -+ - AssertPtr(pThis); - AssertPtr(pThis->pfnThreadCtxHook); - Assert(pThis->fRegistered); - - pThis->pfnThreadCtxHook(RTTHREADCTXEVENT_RESUMED, pThis->pvUser); -+ -+#if defined(RT_ARCH_AMD64) || defined(RT_ARCH_X86) -+# if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 1, 19) && defined(RT_ARCH_AMD64) -+ fSavedEFlags &= ~RT_BIT_64(18) /*X86_EFL_AC*/; -+ fSavedEFlags |= pThis->fSavedRFlags & RT_BIT_64(18) /*X86_EFL_AC*/; -+# endif -+ ASMSetFlags(fSavedEFlags); -+#endif - } - - diff --git a/hardware/virtualization/virtualbox/files/60-vboxdrv.rules b/hardware/virtualization/virtualbox/files/60-vboxdrv.rules deleted file mode 100644 index 83daf59262..0000000000 --- a/hardware/virtualization/virtualbox/files/60-vboxdrv.rules +++ /dev/null @@ -1,8 +0,0 @@ -KERNEL=="vboxdrv", NAME="vboxdrv", OWNER="root", GROUP="root", MODE="0600" -KERNEL=="vboxdrvu", NAME="vboxdrvu", OWNER="root", GROUP="root", MODE="0666" -KERNEL=="vboxnetctl", NAME="vboxnetctl", OWNER="root", GROUP="root", MODE="0600" - -SUBSYSTEM=="usb_device", ACTION=="add", RUN="/usr/share/virtualbox/VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass} vboxusers" -SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", RUN="/usr/share/virtualbox/VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass} vboxusers" -SUBSYSTEM=="usb_device", ACTION=="remove", RUN="/usr/share/virtualbox/VBoxCreateUSBNode.sh --remove $major $minor" -SUBSYSTEM=="usb", ACTION=="remove", ENV{DEVTYPE}=="usb_device", RUN="/usr/share/virtualbox/VBoxCreateUSBNode.sh --remove $major $minor" diff --git a/hardware/virtualization/virtualbox/files/60-vboxguest.rules b/hardware/virtualization/virtualbox/files/60-vboxguest.rules deleted file mode 100644 index 6285f72499..0000000000 --- a/hardware/virtualization/virtualbox/files/60-vboxguest.rules +++ /dev/null @@ -1,2 +0,0 @@ -ACTION=="add", KERNEL=="vboxguest", SUBSYSTEM=="misc", OWNER="root", MODE="0600" -ACTION=="add", KERNEL=="vboxuser", SUBSYSTEM=="misc", OWNER="root", MODE="0666" diff --git a/hardware/virtualization/virtualbox/files/LocalConfig.kmk b/hardware/virtualization/virtualbox/files/LocalConfig.kmk deleted file mode 100644 index 5dbfcf7dec..0000000000 --- a/hardware/virtualization/virtualbox/files/LocalConfig.kmk +++ /dev/null @@ -1,21 +0,0 @@ -VBOX_WITH_ADDITION_DRIVERS = -VBOX_WITH_INSTALLER = 1 -VBOX_WITH_LINUX_ADDITIONS = 1 -VBOX_WITH_X11_ADDITIONS = 1 -VBOX_WITH_TESTCASES = -VBOX_WITH_TESTSUITE = -VBOX_WITH_ORIGIN := -VBOX_PATH_APP_PRIVATE_ARCH := /usr/lib/virtualbox -VBOX_PATH_SHARED_LIBS := $(VBOX_PATH_APP_PRIVATE_ARCH) -VBOX_WITH_RUNPATH := $(VBOX_PATH_APP_PRIVATE_ARCH) -VBOX_PATH_APP_PRIVATE := /usr/share/virtualbox -VBOX_PATH_APP_DOCS := /usr/share/doc/virtualbox -VBOX_PATH_PACKAGE_DOCS := $(VBOX_PATH_APP_DOCS) -VBOX_WITH_REGISTRATION_REQUEST = -VBOX_WITH_UPDATE_REQUEST = -VBOX_BLD_PYTHON = python -VBOX_JAVA_HOME = /usr/lib/jvm/java-7-openjdk -VBOX_GCC_WERR = -VBOX_GCC_WARN = -# fix gsoap missing zlib include and produce errors with --as-needed -VBOX_GSOAP_CXX_LIBS := gsoapssl++ z diff --git a/hardware/virtualization/virtualbox/files/desktop-file.patch b/hardware/virtualization/virtualbox/files/desktop-file.patch deleted file mode 100644 index 05eff96be4..0000000000 --- a/hardware/virtualization/virtualbox/files/desktop-file.patch +++ /dev/null @@ -1,17 +0,0 @@ -Index: VirtualBox-2.2.0_OSE/src/VBox/Installer/freebsd/VirtualBox.desktop -=================================================================== ---- VirtualBox-2.2.0_OSE.orig/src/VBox/Installer/freebsd/virtualbox.desktop -+++ VirtualBox-2.2.0_OSE/src/VBox/Installer/freebsd/virtualbox.desktop -@@ -3,6 +3,7 @@ Encoding=UTF-8 - Version=1.0 - Name=Oracle VM VirtualBox - GenericName=Virtual Machine -+GenericName[tr]=Sanal Makine - Type=Application - Exec=VirtualBox - TryExec=VirtualBox -@@ -14,3 +15,4 @@ Comment[de]=Windows und andere Betriebss - Comment[pl]=Uruchamianie wielu systemów wirtualnych na jednym komputerze gospodarza - Comment[sv]=Kör flera virtuella system på en enda värddator - Comment[ko]=가상 머신 -+Comment[tr]=Tek bir sunucu bilgisayarda birden fazla sanal sistem çalıştırın diff --git a/hardware/virtualization/virtualbox/files/fix-tr-keyboard.patch b/hardware/virtualization/virtualbox/files/fix-tr-keyboard.patch deleted file mode 100644 index f95e3bda04..0000000000 --- a/hardware/virtualization/virtualbox/files/fix-tr-keyboard.patch +++ /dev/null @@ -1,13 +0,0 @@ -Index: VirtualBox-2.2.4_OSE/src/VBox/Frontends/Common/VBoxKeyboard/keyboard-layouts.h -=================================================================== ---- VirtualBox-2.2.4_OSE.orig/src/VBox/Frontends/Common/VBoxKeyboard/keyboard-layouts.h -+++ VirtualBox-2.2.4_OSE/src/VBox/Frontends/Common/VBoxKeyboard/keyboard-layouts.h -@@ -1836,7 +1836,7 @@ static const char main_key_th_pat[MAIN_L - /* Turkey */ - static const char main_key_tr[MAIN_LEN][2] = - { --"\"\\","1!","2'","3^","4+","5%","6&","7/","8(","9)","0=","*?","-_", -+"\"\xe9","1!","2'","3^","4+","5%","6&","7/","8(","9)","0=","*?","-_", - "qQ","wW","eE","rR","tT","yY","uU","\xb9I","oO","pP","\xbb\xab","\xfc\xdc", - "aA","sS","dD","fF","gG","hH","jJ","kK","lL","\xba\xaa","i\xa9",",;", - "zZ","xX","cC","vV","bB","nN","mM","\xf6\xd6","\xe7\xc7",".:","<>","\x0\x0","\x0\x0" diff --git a/hardware/virtualization/virtualbox/files/module-mismatch.patch b/hardware/virtualization/virtualbox/files/module-mismatch.patch deleted file mode 100644 index c0f47a433d..0000000000 --- a/hardware/virtualization/virtualbox/files/module-mismatch.patch +++ /dev/null @@ -1,43 +0,0 @@ -Index: VirtualBox-4.0.2_OSE/src/VBox/VMM/VMMR3/VM.cpp -=================================================================== ---- VirtualBox-4.0.2_OSE.orig/src/VBox/VMM/VMMR3/VM.cpp -+++ VirtualBox-4.0.2_OSE/src/VBox/VMM/VMMR3/VM.cpp -@@ -361,10 +361,8 @@ VMMR3DECL(int) VMR3Create(uint32_t cCp - { - case VERR_VM_DRIVER_LOAD_ERROR: - #ifdef RT_OS_LINUX -- pszError = N_("VirtualBox kernel driver not loaded. The vboxdrv kernel module " -- "was either not loaded or /dev/vboxdrv is not set up properly. " -- "Re-setup the kernel module by executing " -- "'/etc/init.d/vboxdrv setup' as root"); -+ pszError = N_("VirtualBox kernel driver not loaded. " -+ "Please install the module-virtualbox package."); - #else - pszError = N_("VirtualBox kernel driver not loaded"); - #endif -@@ -403,10 +401,8 @@ VMMR3DECL(int) VMR3Create(uint32_t cCp - case VERR_INVALID_HANDLE: /** @todo track down and fix this error. */ - case VERR_VM_DRIVER_NOT_INSTALLED: - #ifdef RT_OS_LINUX -- pszError = N_("VirtualBox kernel driver not installed. The vboxdrv kernel module " -- "was either not loaded or /dev/vboxdrv was not created for some " -- "reason. Re-setup the kernel module by executing " -- "'/etc/init.d/vboxdrv setup' as root"); -+ pszError = N_("VirtualBox kernel driver not installed. " -+ "Please install the module-virtualbox package."); - #else - pszError = N_("VirtualBox kernel driver not installed"); - #endif -@@ -416,9 +412,9 @@ VMMR3DECL(int) VMR3Create(uint32_t cCp - break; - case VERR_VERSION_MISMATCH: - case VERR_VM_DRIVER_VERSION_MISMATCH: -- pszError = N_("The VirtualBox support driver which is running is from a different " -- "version of VirtualBox. You can correct this by stopping all " -- "running instances of VirtualBox and reinstalling the software."); -+ pszError = N_("The version of the VirtualBox kernel modules and the version of " -+ "VirtualBox application are not matching. You can correct this by " -+ "updating virtualbox and module-virtualbox packages."); - break; - default: - pszError = N_("Unknown error initializing kernel driver"); diff --git a/hardware/virtualization/virtualbox/files/vboxclient.sh b/hardware/virtualization/virtualbox/files/vboxclient.sh deleted file mode 100644 index 49905d5d2a..0000000000 --- a/hardware/virtualization/virtualbox/files/vboxclient.sh +++ /dev/null @@ -1,2 +0,0 @@ -# Start VirtualBox Clients on guest machines -test -c /dev/vboxguest && /usr/bin/VBoxClient-all diff --git a/hardware/virtualization/virtualbox/files/vboxreload b/hardware/virtualization/virtualbox/files/vboxreload deleted file mode 100644 index 7b525674a3..0000000000 --- a/hardware/virtualization/virtualbox/files/vboxreload +++ /dev/null @@ -1,40 +0,0 @@ -#!/bin/bash - -# vboxreload: shortcut to reload virtualbox modules with DKMS support -# -# Copyright © 2013 Sébastien Luttringer -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -modules=(vboxnetadp vboxnetflt vboxpci vboxdrv) - -echo -n 'Unloading modules: ' -for _m in "${modules[@]}"; do - lsmod|grep -q "$_m" && rmmod "$_m" && echo -n "$_m " -done -echo - -if type -P dkms >/dev/null; then - echo 'DKMS autoinstall' - dkms autoinstall -fi - -echo -n 'Loading modules: ' -for _m in "${modules[@]}"; do - modprobe "$_m" && echo -n "$_m " -done -echo - -# vim:set ts=2 sw=2 ai et: diff --git a/hardware/virtualization/virtualbox/files/virtualbox-4-makeself-check.patch b/hardware/virtualization/virtualbox/files/virtualbox-4-makeself-check.patch deleted file mode 100644 index e1fcb8c2f4..0000000000 --- a/hardware/virtualization/virtualbox/files/virtualbox-4-makeself-check.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- VirtualBox-4.0.0_OSE/configure -+++ VirtualBox-4.0.0_OSE/configure -@@ -2527,7 +2527,6 @@ - check_compiler_h - [ "$BUILD_MACHINE" = "amd64" -a $WITH_VMMRAW -eq 1 ] && check_32bit - # tools/common/makeself* -- [ $OSE -ge 1 ] && check_makeself - fi - - [ -n "$SETUP_WINE" ] && setup_wine diff --git a/hardware/virtualization/virtualbox/files/wrapper.patch b/hardware/virtualization/virtualbox/files/wrapper.patch deleted file mode 100644 index 3ef1693198..0000000000 --- a/hardware/virtualization/virtualbox/files/wrapper.patch +++ /dev/null @@ -1,28 +0,0 @@ -Index: VirtualBox-2.2.4_OSE/src/VBox/Installer/linux/VBox.sh -=================================================================== ---- VirtualBox-2.2.4_OSE.orig/src/VBox/Installer/linux/VBox.sh -+++ VirtualBox-2.2.4_OSE/src/VBox/Installer/linux/VBox.sh -@@ -32,16 +32,18 @@ fi - - if [ "$1" = "shutdown" ]; then - SHUTDOWN="true" --elif ! lsmod|grep -q vboxdrv; then -- cat << EOF -+elif [ -x /usr/libexec/virt-wrapper ]; then -+ /usr/libexec/virt-wrapper virtualbox || exit 1 -+ -+ if ! lsmod|grep -q vboxdrv; then -+ cat << EOF - WARNING: The vboxdrv kernel module is not loaded. Either there is no module - available for the current kernel (`uname -r`) or it failed to -- load. Please recompile the kernel module and install it by -- -- sudo /etc/init.d/vboxdrv setup -+ load. - - You will not be able to start VMs until this problem is fixed. - EOF -+ fi - elif [ ! -c /dev/vboxdrv ]; then - cat << EOF - WARNING: The character device /dev/vboxdrv does not exist. Try diff --git a/hardware/virtualization/virtualbox/pspec.xml b/hardware/virtualization/virtualbox/pspec.xml deleted file mode 100644 index 4fff7f5751..0000000000 --- a/hardware/virtualization/virtualbox/pspec.xml +++ /dev/null @@ -1,256 +0,0 @@ - - - - - virtualbox - http://www.virtualbox.org/ - - Serdar Soytetir - kaptan@pisilinux.org - - GPLv2 - app:gui - A powerful virtualization program - VirtualBox is a family of powerful x86 virtualization products for enterprise as well as home use. This is the Open Source Edition which lacks USB support and some other things. - http://download.virtualbox.org/virtualbox/4.3.28/VirtualBox-4.3.28.tar.bz2 - - dev86 - cdrkit - acpica - qt-devel - mesa-devel - gsoap-devel - libXt-devel - libXmu-devel - libIDL-devel - libsdl-devel - libvpx-devel - libXext-devel - libxslt-devel - mesa-glu-devel - alsa-lib-devel - libXfixes-devel - libXrandr-devel - libXdamage-devel - libXcursor-devel - libXinerama-devel - xorg-server-devel - libvncserver-devel - libXcomposite-devel - pulseaudio-libs-devel - jdk7-openjdk - dkms - kernel-module-headers - - - LocalConfig.kmk - - - wrapper.patch - 002-dri-driver-path.patch - 003-ogl-include-path.patch - 004-xorg.patch - 005-gsoap-build.patch - 006-rdesktop-vrdp-keymap-path.patch - 008-root-window.patch - - desktop-file.patch - fix-tr-keyboard.patch - virtualbox-4-makeself-check.patch - module-mismatch.patch - - - - - virtualbox - - qt - mesa - libXt - gsoap - libvpx - libXmu - libsdl - libXext - libXcursor - libXinerama - virt-wrapper - libvncserver - module-virtualbox - - - /etc/vbox - /usr/bin - /usr/lib/virtualbox - /usr/lib/python* - /usr/share/virtualbox - /usr/share/applications - /usr/share/pixmaps - /usr/share/icons/hicolor - /usr/share/mime/packages - - - System.Package - - - vboxreload - 60-vboxdrv.rules - 60-vboxguest.rules - - - - - virtualbox-guest-utils - x11.driver - VirtualBox guest utilities and drivers - - libXt - libXmu - libXext - libXfixes - libXrandr - libXdamage - xorg-server - libXcomposite - module-virtualbox-guest - - - /etc/X11/Xsession.d - /lib/udev/rules.d - /lib/security - /sbin - /usr/bin/VBoxClient* - /usr/bin/VBoxControl - /usr/sbin - /usr/lib - /usr/kde/*/share/autostart - /usr/share/X11 - /usr/lib/xorg/modules - - - vboxclient.sh - - - - - - 2015-05-18 - 4.3.28 - Version bump. - Ertuğrul Erata - ertugrulerata@gmail.com - - - 2015-02-13 - 4.3.20 - Version bump, rebuild. - Ertuğrul Erata - ertugrulerata@gmail.com - - - 2014-11-21 - 4.3.18 - Rebuild - Serdar Soytetir - kaptan@pisilinux.org - - - 2014-10-19 - 4.3.18 - Version bump. - Serdar Soytetir - kaptan@pisilinux.org - - - 2014-09-19 - 4.3.16 - Version bump. - Serdar Soytetir - kaptan@pisilinux.org - - - 2014-07-26 - 4.3.14 - Version bump. - Vedat Demir - vedat@pisilinux.org - - - 2014-04-06 - 4.3.10 - Version bump. - Marcin Bojara - marcin@pisilinux.org - - - 2014-03-23 - 4.3.8 - Some improvements. - Serdar Soytetir - kaptan@pisilinux.org - - - 2014-03-02 - 4.3.8 - Version bump. - Osman Erkan - osman.erkan@pisilinux.org - - - 2013-12-21 - 4.3.6 - Version bump. - Serdar Soytetir - kaptan@pisilinux.org - - - 2013-11-11 - 4.3.2 - Version bump. - Serdar Soytetir - kaptan@pisilinux.org - - - 2013-10-10 - 4.2.18 - Version bump. - Erdinç Gültekin - erdincgultekin@pisilinux.org - - - 2013-07-05 - 4.2.16 - Version bump. - Marcin Bojara - marcin@pisilinux.org - - - 2013-05-04 - 4.2.12 - Add system-xorg.patch - Marcin Bojara - marcin@pisilinux.org - - - 2013-04-14 - 4.2.12 - Version bump. - Marcin Bojara - marcin@pisilinux.org - - - 2013-03-02 - 4.2.8 - Version bump. - Marcin Bojara - marcin@pisilinux.org - - - 2013-01-22 - 4.2.6 - First release - Marcin Bojara - marcin@pisilinux.org - - - diff --git a/hardware/virtualization/virtualbox/translations.xml b/hardware/virtualization/virtualbox/translations.xml deleted file mode 100644 index 5f2276971a..0000000000 --- a/hardware/virtualization/virtualbox/translations.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - virtualbox - Güçlü bir sanallaştırma programı - VirtualBox, ev kullanımı yanında kurumsal kullanım alanı da bulan güçlü bir xf86 sanallaştırma ürünleri ailesidir. Bu sürüm, USB ve birkaç özellik için desteği bulunmayan açık kodlu uyarlamasıdır. - - - - virtualbox-guest-utils - VirtualBox misafir işletim sistemleri için yardımcı araçlar ve sürücüler - -