dwb: remove.
This commit is contained in:
parent
73b15e1b46
commit
f9ff8b1d33
|
@ -1,17 +0,0 @@
|
|||
Description: Fix for deprecated symbols in gtk3-3.13
|
||||
Author: Yaakov Selkowitz <yselkowi@redhat.com>
|
||||
Bug-Debian: http://bugs.debian.org/763220
|
||||
|
||||
--- config.mk.orig
|
||||
+++ config.mk
|
||||
@@ -172,10 +172,6 @@ endif
|
||||
CFLAGS_OPTIONS := $(CFLAGS)
|
||||
|
||||
ifeq (${USEGTK3}, 1)
|
||||
-CPPFLAGS+=-DGTK_DISABLE_SINGLE_INCLUDES
|
||||
-CPPFLAGS+=-DGTK_DISABLE_DEPRECATED
|
||||
-CPPFLAGS+=-DGDK_DISABLE_DEPRECATED
|
||||
-CPPFLAGS+=-DGSEAL_ENABLE
|
||||
M4FLAGS += -DWITH_GTK3=1
|
||||
endif
|
||||
|
|
@ -1,43 +0,0 @@
|
|||
diff --git src/scripts.c src/scripts.c
|
||||
index 16784fc..71efc50 100644
|
||||
--- src/scripts.c
|
||||
+++ src/scripts.c
|
||||
@@ -3231,16 +3231,17 @@ sutil_checksum(JSContextRef ctx, JSObjectRef function, JSObjectRef thisObject, s
|
||||
if (original == NULL)
|
||||
return NIL;
|
||||
|
||||
+ double dtype;
|
||||
GChecksumType type = G_CHECKSUM_SHA256;
|
||||
if (argc > 1)
|
||||
{
|
||||
- type = JSValueToNumber(ctx, argv[1], exc);
|
||||
- if (isnan(type))
|
||||
+ dtype = JSValueToNumber(ctx, argv[1], exc);
|
||||
+ if (isnan(dtype))
|
||||
{
|
||||
ret = NIL;
|
||||
goto error_out;
|
||||
}
|
||||
- type = MIN(MAX(type, G_CHECKSUM_MD5), G_CHECKSUM_SHA256);
|
||||
+ type = MIN(MAX((GChecksumType)dtype, G_CHECKSUM_MD5), G_CHECKSUM_SHA256);
|
||||
}
|
||||
checksum = g_compute_checksum_for_data(type, original, -1);
|
||||
|
||||
@@ -6247,11 +6248,14 @@ gobject_unblock_signal(JSContextRef ctx, JSObjectRef function, JSObjectRef this,
|
||||
static JSValueRef
|
||||
gobject_disconnect(JSContextRef ctx, JSObjectRef function, JSObjectRef this, size_t argc, const JSValueRef argv[], JSValueRef* exc)
|
||||
{
|
||||
- int id;
|
||||
- if (argc > 0 && JSValueIsNumber(ctx, argv[0]) && !isnan(id = JSValueToNumber(ctx, argv[0], exc)))
|
||||
+ if (argc == 0) {
|
||||
+ return JSValueMakeBoolean(ctx, false);
|
||||
+ }
|
||||
+ double id = JSValueToNumber(ctx, argv[0], exc);
|
||||
+ if (!isnan(id))
|
||||
{
|
||||
GObject *o = JSObjectGetPrivate(this);
|
||||
- if (o != NULL && g_signal_handler_is_connected(o, id))
|
||||
+ if (o != NULL && g_signal_handler_is_connected(o, (int)id))
|
||||
{
|
||||
sigdata_remove(id, o);
|
||||
g_signal_handler_disconnect(o, id);
|
|
@ -1,20 +0,0 @@
|
|||
# Template file for 'dwb'
|
||||
pkgname=dwb
|
||||
version=2014.03.07
|
||||
revision=4
|
||||
build_style=gnu-makefile
|
||||
hostmakedepends="pkg-config m4"
|
||||
makedepends="gnutls-devel libsoup-devel webkitgtk-devel json-c-devel"
|
||||
short_desc="Lightweight web browser based on WebKit and GTK+"
|
||||
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
||||
license="GPL-3"
|
||||
homepage="http://portix.bitbucket.org/dwb/"
|
||||
distfiles="https://bitbucket.org/portix/dwb/downloads/dwb-${version}.tar.gz"
|
||||
checksum=bfbe3e366b27c969876f9ee7954f138b1d49a270aa84a14ce43e01591ab69b62
|
||||
CFLAGS="-D_DEFAULT_SOURCE"
|
||||
|
||||
do_build() {
|
||||
sed -i '/^CFLAGS += -Werror=/d' config.mk
|
||||
sed -i 's/-Werror[^ ]*//' */Makefile scripts/lib/Makefile
|
||||
make CC=$CC ${makejobs} GTK=3
|
||||
}
|
Loading…
Reference in New Issue