From 5f32465f39a78d2b7ed47e50d0fb86e2e1806818 Mon Sep 17 00:00:00 2001 From: Enno Boland Date: Thu, 30 Jul 2015 07:57:40 +0200 Subject: [PATCH] remove unstable packages maintained by me. --- srcpkgs/gyp-svn/template | 19 ------- srcpkgs/swc-git-devel | 1 - srcpkgs/swc-git/patches/0001-wl-terminal.diff | 11 ---- .../patches/0002-fix-libinput-0.9.diff | 38 -------------- .../swc-git/patches/0003-fix-call-order.diff | 30 ----------- srcpkgs/swc-git/template | 51 ------------------- srcpkgs/swc-wm-git | 1 - srcpkgs/wld-git-devel | 1 - srcpkgs/wld-git/template | 45 ---------------- 9 files changed, 197 deletions(-) delete mode 100644 srcpkgs/gyp-svn/template delete mode 120000 srcpkgs/swc-git-devel delete mode 100644 srcpkgs/swc-git/patches/0001-wl-terminal.diff delete mode 100644 srcpkgs/swc-git/patches/0002-fix-libinput-0.9.diff delete mode 100644 srcpkgs/swc-git/patches/0003-fix-call-order.diff delete mode 100644 srcpkgs/swc-git/template delete mode 120000 srcpkgs/swc-wm-git delete mode 120000 srcpkgs/wld-git-devel delete mode 100644 srcpkgs/wld-git/template diff --git a/srcpkgs/gyp-svn/template b/srcpkgs/gyp-svn/template deleted file mode 100644 index 9776038b8fc..00000000000 --- a/srcpkgs/gyp-svn/template +++ /dev/null @@ -1,19 +0,0 @@ -# Template file for 'gyp-svn' -pkgname=gyp-svn -_svnrev=1973 -version=r$_svnrev -revision=2 -build_style=gnu-configure -build_style="python-module" -python_versions="2.7" -hostmakedepends="python subversion python-setuptools" -depends="python" -short_desc="can generate your projects" -maintainer="Enno Boland " -homepage="https://code.google.com/p/gyp/" -license="BSD" -noarch=yes - -do_fetch() { - svn co http://gyp.googlecode.com/svn/trunk $pkgname-$version -} diff --git a/srcpkgs/swc-git-devel b/srcpkgs/swc-git-devel deleted file mode 120000 index bc160902a6b..00000000000 --- a/srcpkgs/swc-git-devel +++ /dev/null @@ -1 +0,0 @@ -swc-git \ No newline at end of file diff --git a/srcpkgs/swc-git/patches/0001-wl-terminal.diff b/srcpkgs/swc-git/patches/0001-wl-terminal.diff deleted file mode 100644 index de6e6c25793..00000000000 --- a/srcpkgs/swc-git/patches/0001-wl-terminal.diff +++ /dev/null @@ -1,11 +0,0 @@ ---- example/wm.c.orig -+++ example/wm.c -@@ -43,7 +43,7 @@ struct window - struct wl_list link; - }; - --static const char * terminal_command[] = { "st-wl", NULL }; -+static const char * terminal_command[] = { "weston-terminal", NULL }; - static const char * dmenu_command[] = { "dmenu_run-wl", NULL }; - static const uint32_t border_width = 1; - static const uint32_t border_color_active = 0xff333388; diff --git a/srcpkgs/swc-git/patches/0002-fix-libinput-0.9.diff b/srcpkgs/swc-git/patches/0002-fix-libinput-0.9.diff deleted file mode 100644 index 2e61198703d..00000000000 --- a/srcpkgs/swc-git/patches/0002-fix-libinput-0.9.diff +++ /dev/null @@ -1,38 +0,0 @@ -From 23f2de229ad432308639d5306db902d4f512a988 Mon Sep 17 00:00:00 2001 -From: Konstantin Bytensky -Date: Mon, 9 Feb 2015 13:50:24 +0200 -Subject: [PATCH] Fix for libinput 0.9 - ---- - libswc/seat.c | 16 ++++++++++++---- - 1 file changed, 12 insertions(+), 4 deletions(-) - -diff --git a/libswc/seat.c b/libswc/seat.c -index d9c70f3..14d46b7 100644 ---- libswc/seat.c -+++ libswc/seat.c -@@ -320,12 +320,20 @@ static int handle_libinput_data(int fd, uint32_t mask, void * data) - { - struct libinput_event_pointer * event; - wl_fixed_t amount; -+ enum libinput_pointer_axis axis; - - event = libinput_event_get_pointer_event(generic_event); -- amount = wl_fixed_from_double -- (libinput_event_pointer_get_axis_value(event)); -- handle_axis(libinput_event_pointer_get_time(event), -- libinput_event_pointer_get_axis(event), amount); -+ for (axis = LIBINPUT_POINTER_AXIS_SCROLL_VERTICAL; -+ axis <= LIBINPUT_POINTER_AXIS_SCROLL_HORIZONTAL; -+ ++axis) -+ { -+ if (libinput_event_pointer_has_axis(event, axis)) { -+ amount = wl_fixed_from_double -+ (libinput_event_pointer_get_axis_value(event, axis)); -+ handle_axis(libinput_event_pointer_get_time(event), -+ axis, amount); -+ } -+ } - break; - } - default: diff --git a/srcpkgs/swc-git/patches/0003-fix-call-order.diff b/srcpkgs/swc-git/patches/0003-fix-call-order.diff deleted file mode 100644 index dcd2a81bba8..00000000000 --- a/srcpkgs/swc-git/patches/0003-fix-call-order.diff +++ /dev/null @@ -1,30 +0,0 @@ -From 521f21c3ecda9bb4bcdafab59fc5cf6dba382492 Mon Sep 17 00:00:00 2001 -From: Konstantin Bytensky -Date: Wed, 11 Feb 2015 11:51:45 +0200 -Subject: [PATCH] Fix to make wl_keyboard_send_keymap call before - wl_keyboard_send_modifiers. It requires for mpv. - ---- - libswc/keyboard.c | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/libswc/keyboard.c b/libswc/keyboard.c -index 28a66eb..b06844e 100644 ---- libswc/keyboard.c -+++ libswc/keyboard.c -@@ -216,13 +216,14 @@ struct wl_resource * keyboard_bind(struct keyboard * keyboard, - version, id); - wl_resource_set_implementation(client_resource, &keyboard_implementation, - keyboard, &unbind); -- input_focus_add_resource(&keyboard->focus, client_resource); - - /* Subtract one to remove terminating NULL character. */ - wl_keyboard_send_keymap(client_resource, WL_KEYBOARD_KEYMAP_FORMAT_XKB_V1, - keyboard->xkb.keymap.fd, - keyboard->xkb.keymap.size - 1); - -+ input_focus_add_resource(&keyboard->focus, client_resource); -+ - if (version >= 4) - { - wl_keyboard_send_repeat_info(client_resource, diff --git a/srcpkgs/swc-git/template b/srcpkgs/swc-git/template deleted file mode 100644 index 568a1b9974e..00000000000 --- a/srcpkgs/swc-git/template +++ /dev/null @@ -1,51 +0,0 @@ -# Template file for 'swc-git' -# Latest commit as of 20141130 -_githash="21de9f4416426f11d1164b626aac191448f9608a" -_gitshort="${_githash:0:7}" - -pkgname=swc-git -version=20150215 -revision=2 -homepage="https://github.com/michaelforney/swc" -distfiles="https://github.com/michaelforney/swc/archive/${_githash}.tar.gz" -short_desc="A library for making a simple Wayland compositor" -maintainer="Enno Boland " -hostmakedepends="pkg-config wayland-devel" -makedepends="pixman-devel fontconfig-devel libdrm-devel wayland-devel - wld-git-devel xcb-util-wm-devel libxkbcommon-devel - libinput-devel libevdev-devel" -checksum="976388bf6994c086bd7e99a07310a20b8cb3734ded0185555745dbcdb64bd56c" -license="MIT" -wrksrc=swc-${_githash} - -do_build() { - sed -i '/^ENABLE_STATIC /d' config.mk - sed -i '/^CC /d' config.mk - sed -i '/^CFLAGS /d' config.mk - - make CC="$BUILD_CC" CFLAGS="$BUILD_CFLAGS" \ - LDFLAGS="$BUILD_LDFLAGS" cursor/convert_font - make ${makejobs} CC="$CC" CFLAGS="$CFLAGS" \ - LDFLAGS="$LDFLAGS" OBJCOPY="$OBJCOPY" \ - all example/wm -} -do_install() { - make PREFIX=/usr DESTDIR=$DESTDIR install -} - -swc-git-devel_package() { - depends="swc-git>=${version}_${revision}" - short_desc+=" - development files" - pkg_install() { - vmove usr/include - vmove usr/lib/pkgconfig - vmove "usr/lib/*.so" - vmove "usr/lib/*.a" - } -} -swc-wm-git_package() { - short_desc="Simple Wayland compositor" - pkg_install() { - vbin ${wrksrc}/example/wm swc-wm - } -} diff --git a/srcpkgs/swc-wm-git b/srcpkgs/swc-wm-git deleted file mode 120000 index bc160902a6b..00000000000 --- a/srcpkgs/swc-wm-git +++ /dev/null @@ -1 +0,0 @@ -swc-git \ No newline at end of file diff --git a/srcpkgs/wld-git-devel b/srcpkgs/wld-git-devel deleted file mode 120000 index f6b85a31fb4..00000000000 --- a/srcpkgs/wld-git-devel +++ /dev/null @@ -1 +0,0 @@ -wld-git \ No newline at end of file diff --git a/srcpkgs/wld-git/template b/srcpkgs/wld-git/template deleted file mode 100644 index 8f2781fb336..00000000000 --- a/srcpkgs/wld-git/template +++ /dev/null @@ -1,45 +0,0 @@ -# Template file for 'wld-git' -# Latest commit as of 20141130 -_githash="74f0deabb2a8a0f2e9c2eaebb4e36945716d8ab9" -_gitshort="${_githash:0:7}" - -pkgname=wld-git -version=20150215 -revision=2 -homepage="https://github.com/michaelforney/wld" -distfiles="https://github.com/michaelforney/wld/archive/${_githash}.tar.gz" -short_desc="Primitive drawing library targeted at Wayland" -maintainer="Enno Boland " -hostmakedepends="pkg-config wayland-devel" -makedepends="pixman-devel fontconfig-devel libdrm-devel wayland-devel" -license="MIT" -checksum=da4f2c862958346ac54a83cf0f1cb4b9734bafbbe0844d7e15447bfcb18d97b4 -wrksrc=wld-${_githash} - -case "$XBPS_TARGET_MACHINE" in - arm*) _drm_drivers="nouveau";; - i686*|x86_64*) _drm_drivers="intel nouveau";; -esac - -do_build() { - sed -i '/^ENABLE_STATIC /d' config.mk - sed -i '/^CC /d' config.mk - sed -i '/^CFLAGS /d' config.mk - - make ${makejobs} CC="$CC" CFLAGS="$CFLAGS" \ - LDFLAGS="$LDFLAGS" DRM_DRIVERS="$_drm_drivers" -} - -do_install() { - make PREFIX=/usr DESTDIR=$DESTDIR DRM_DRIVERS="$_drm_drivers" install -} - -wld-git-devel_package() { - depends="wld-git>=${version}_${revision}" - short_desc+=" - development files" - pkg_install() { - vmove usr/include - vmove usr/lib/pkgconfig - vmove "usr/lib/*.so" - } -}