From owner-freebsd-ports-bugs@FreeBSD.ORG Sat May 14 15:10:12 2011 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9F6611065675 for ; Sat, 14 May 2011 15:10:12 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 5FC848FC1E for ; Sat, 14 May 2011 15:10:12 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p4EFACfW056716 for ; Sat, 14 May 2011 15:10:12 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p4EFACmf056715; Sat, 14 May 2011 15:10:12 GMT (envelope-from gnats) Resent-Date: Sat, 14 May 2011 15:10:12 GMT Resent-Message-Id: <201105141510.p4EFACmf056715@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jilles Tjoelker Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BC0EC1065672 for ; Sat, 14 May 2011 15:00:29 +0000 (UTC) (envelope-from jilles@stack.nl) Received: from mx1.stack.nl (relay02.stack.nl [IPv6:2001:610:1108:5010::104]) by mx1.freebsd.org (Postfix) with ESMTP id 5E5EE8FC18 for ; Sat, 14 May 2011 15:00:29 +0000 (UTC) Received: from turtle.stack.nl (turtle.stack.nl [IPv6:2001:610:1108:5010::132]) by mx1.stack.nl (Postfix) with ESMTP id 617F3359394 for ; Sat, 14 May 2011 17:00:28 +0200 (CEST) Received: by turtle.stack.nl (Postfix, from userid 1677) id 5983C173DE; Sat, 14 May 2011 17:00:28 +0200 (CEST) Message-Id: <20110514150028.5983C173DE@turtle.stack.nl> Date: Sat, 14 May 2011 17:00:28 +0200 (CEST) From: Jilles Tjoelker To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/157044: x11-toolkits/slgtk: fails to start X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jilles Tjoelker List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 May 2011 15:10:12 -0000 >Number: 157044 >Category: ports >Synopsis: x11-toolkits/slgtk: fails to start >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat May 14 15:10:11 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Jilles Tjoelker >Release: FreeBSD 8.2-STABLE i386 >Organization: The FreeBSD Project >Environment: System: FreeBSD *** 8.2-STABLE FreeBSD 8.2-STABLE #4 r219306M: Sat Mar 5 15:04:21 CET 2011 jilles@***:/usr/obj/***/freebsd/stable/8/sys/GENERIC i386 gtk-2.22.1_1 gdk-pixbuf-2.22.1 glib-2.26.1_1 >Description: Apparently slgtk is using obsolete names from old versions of gtk. The accompanying programs do not start. >How-To-Repeat: A command like imdisplay /usr/local/share/gtk-2.0/demo/apple-red.png (passing the path to an existing image file) gives an error like GDK_Shift_L is undefined /usr/local/share/slsh/local-packages/gtk.sl:216::Undefined Name Traceback: evalfile Traceback: evalfile and does not display a window. Starting the example using slsh /usr/local/share/examples/slgtk/main.sl fails similarly. >Fix: The following patch appears to fix imdisplay, but it does not fix the example (it now complains about GDK_1). It may be wrong. --- patch-packages__gtk.sl begins here --- --- ./packages/gtk.sl.orig 2010-02-03 23:43:27.000000000 +0100 +++ ./packages/gtk.sl 2011-05-14 16:28:22.000000000 +0200 @@ -213,7 +213,7 @@ private define shift_chain(slave, event, chain) % {{{ { - if (event.keyval != GDK_Shift_L and event.keyval != GDK_Shift_R) + if (event.keyval != GDK_KEY_Shift_L and event.keyval != GDK_KEY_Shift_R) return FALSE; chain.shift = (event.type == GDK_KEY_PRESS); --- patch-packages__gtk.sl ends here --- >Release-Note: >Audit-Trail: >Unformatted: