From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Jan 21 16:00:22 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C197A16A41F for ; Sat, 21 Jan 2006 16:00:22 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 26DDB43D4C for ; Sat, 21 Jan 2006 16:00:22 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k0LG0LFb015142 for ; Sat, 21 Jan 2006 16:00:21 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k0LG0L1k015141; Sat, 21 Jan 2006 16:00:21 GMT (envelope-from gnats) Resent-Date: Sat, 21 Jan 2006 16:00:21 GMT Resent-Message-Id: <200601211600.k0LG0L1k015141@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, Igor Pokrovsky Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D035916A41F for ; Sat, 21 Jan 2006 15:58:04 +0000 (GMT) (envelope-from igor@doom.homeunix.org) Received: from mail.ecolines.ru (ns.ecolines.ru [81.3.181.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id C077243D4C for ; Sat, 21 Jan 2006 15:58:03 +0000 (GMT) (envelope-from igor@doom.homeunix.org) Received: (qmail 28275 invoked from network); 21 Jan 2006 16:02:23 -0000 Received: from unknown (HELO doom.homeunix.org) (ip@212.113.114.62) by mail.ecolines.ru with ESMTPA; 21 Jan 2006 16:02:23 -0000 Received: from doom.homeunix.org (localhost [127.0.0.1]) by doom.homeunix.org (8.13.4/8.13.4) with ESMTP id k0LFvFtT074757 for ; Sat, 21 Jan 2006 18:57:16 +0300 (MSK) (envelope-from igor@doom.homeunix.org) Received: (from igor@localhost) by doom.homeunix.org (8.13.4/8.13.4/Submit) id k0LFlmRV074584; Sat, 21 Jan 2006 18:47:48 +0300 (MSK) (envelope-from igor) Message-Id: <200601211547.k0LFlmRV074584@doom.homeunix.org> Date: Sat, 21 Jan 2006 18:47:48 +0300 (MSK) From: Igor Pokrovsky To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/92103: New port: x11-toolkits/otk An OpenGL based GUI widget library X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Igor Pokrovsky List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Jan 2006 16:00:22 -0000 >Number: 92103 >Category: ports >Synopsis: New port: x11-toolkits/otk An OpenGL based GUI widget library >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Jan 21 16:00:21 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Igor Pokrovsky >Release: FreeBSD 4.11-STABLE i386 >Organization: >Environment: System: FreeBSD doom.homeunix.org 4.11-STABLE FreeBSD 4.11-STABLE #0: Thu Dec 15 07:51:52 MSK 2005 root@doom.homeunix.org:/usr/obj/usr/src/sys/KERNEL-p3 i386 >Description: Otk is a portable widget library for making graphical user interfaces for application programs. It emphasizes simplicity without eliminating capability. It is based on OpenGL, and C. Otk provides the following basic widgets: * Panel - The "container" widget, * Text Label - Text labels, * Button - Buttons with labels and call-backs to user functions, * Text Form Box - Accept text with function call-back, also scrollable editor window, * Pull-down Menu - Display hierarchical menu-lists with user function call-backs on mouse release, * Slider Control - Slider control with call-back, * Sub-windows - Detachable self-managed windows, * Gadgets - High level widgets and many others. WWW: http://otk.sourceforge.net/ >How-To-Repeat: >Fix: --- otk.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # otk # otk/pkg-descr # otk/files # otk/files/patch-otk__lib.c # otk/files/patch-otk__lib.h # otk/distinfo # otk/Makefile # echo c - otk mkdir -p otk > /dev/null 2>&1 echo x - otk/pkg-descr sed 's/^X//' >otk/pkg-descr << 'END-of-otk/pkg-descr' XOtk is a portable widget library for making graphical user interfaces for Xapplication programs. It emphasizes simplicity without eliminating capability. XIt is based on OpenGL, and C. Otk provides the following basic widgets: X X * Panel - The "container" widget, X * Text Label - Text labels, X * Button - Buttons with labels and call-backs X to user functions, X * Text Form Box - Accept text with function call-back, X also scrollable editor window, X * Pull-down Menu - Display hierarchical menu-lists with user X function call-backs on mouse release, X * Slider Control - Slider control with call-back, X * Sub-windows - Detachable self-managed windows, X * Gadgets - High level widgets X Xand many others. X XWWW: http://otk.sourceforge.net/ END-of-otk/pkg-descr echo c - otk/files mkdir -p otk/files > /dev/null 2>&1 echo x - otk/files/patch-otk__lib.c sed 's/^X//' >otk/files/patch-otk__lib.c << 'END-of-otk/files/patch-otk__lib.c' X--- otk_lib.c.orig X+++ otk_lib.c X@@ -70,6 +70,7 @@ X X #if (PLATFORM_KIND==Posix_Platform) X // #include X+ #include X #define GlutEnabled 0 /* Choice: 0=Use X-windows, 1=Use Glut. */ X #define WinGLEnabled 0 X #ifndef SocEnabled X@@ -111,6 +112,7 @@ X #endif X X #include "otk_lib.h" X+#include "gadget_lib.h" X X int Otk_verbose=0; X int OtkWindowSizeX=-1, OtkWindowSizeY=-1; X@@ -4517,3 +4519,5 @@ X glutMainLoop(); X #endif X } X+ X+#include "gadget_lib.c" END-of-otk/files/patch-otk__lib.c echo x - otk/files/patch-otk__lib.h sed 's/^X//' >otk/files/patch-otk__lib.h << 'END-of-otk/files/patch-otk__lib.h' X--- otk_lib.h.orig X+++ otk_lib.h X@@ -283,4 +283,7 @@ X X OtkFont *Otk_Read_SVG_Font( char *filename ); /* FONTS insertion */ X X+extern struct OtkObjectInstance *OtkRootObject, *OtkOuterWindow, X+ *Otk_keyboard_focus, *Otk_OpenMenu; X+ X #endif END-of-otk/files/patch-otk__lib.h echo x - otk/distinfo sed 's/^X//' >otk/distinfo << 'END-of-otk/distinfo' XMD5 (otk_lib_v0.40.tar.gz) = 30cff8d872aa6457e359f345555d3c22 XSHA256 (otk_lib_v0.40.tar.gz) = 867d6d17b1277598d5f5bdb4b9d353c994d0982c7b6b4e01942ebd0f4a1796af XSIZE (otk_lib_v0.40.tar.gz) = 60273 END-of-otk/distinfo echo x - otk/Makefile sed 's/^X//' >otk/Makefile << 'END-of-otk/Makefile' X# New ports collection makefile for: otk X# Date created: 21 Jan 2006 X# Whom: Igor Pokrovsky X# X# $FreeBSD$ X# X XPORTNAME= otk XPORTVERSION= 0.40 XCATEGORIES= x11-toolkits graphics XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE} XMASTER_SITE_SUBDIR= ${PORTNAME} XDISTNAME= ${PORTNAME}_lib_v${PORTVERSION} X XMAINTAINER= ip@doom.homeunix.org XCOMMENT= An OpenGL based GUI widget library X XUSE_GL= yes XUSE_X_PREFIX= yes XWRKSRC= ${WRKDIR}/${PORTNAME}_lib X XPLIST_FILES= lib/libotk.a include/gadget_lib.h include/otk_lib.h X Xdo-build: X cd ${WRKSRC} && \ X ${CC} ${CFLAGS} -I${X11BASE}/include -c ./otk_lib.c && \ X ar q ./libotk.a ./otk_lib.o && ranlib ./libotk.a X Xdo-install: X ${INSTALL_DATA} ${WRKSRC}/libotk.a ${PREFIX}/lib X ${INSTALL_DATA} ${WRKSRC}/*.h ${PREFIX}/include X X.include END-of-otk/Makefile exit --- otk.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: