NetBSD Problem Report #44878
From www@NetBSD.org Tue Apr 19 02:14:56 2011
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by www.NetBSD.org (Postfix) with ESMTP id 04AF663C38B
for <gnats-bugs@gnats.NetBSD.org>; Tue, 19 Apr 2011 02:14:56 +0000 (UTC)
Message-Id: <20110419021455.0C41063BBDB@www.NetBSD.org>
Date: Tue, 19 Apr 2011 02:14:55 +0000 (UTC)
From: dhgutteridge@sympatico.ca
Reply-To: dhgutteridge@sympatico.ca
To: gnats-bugs@NetBSD.org
Subject: Submission to add an option to textproc/aiksaurus to enable the GUI interface (gaiksaurus)
X-Send-Pr-Version: www-1.0
>Number: 44878
>Category: pkg
>Synopsis: Submission to add an option to textproc/aiksaurus to enable the GUI interface (gaiksaurus)
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Tue Apr 19 02:15:00 +0000 2011
>Originator: David H. Gutteridge
>Release: Several
>Organization:
>Environment:
>Description:
I've been working (off and on) on adding support for more of the Abiword plug-ins than are currently enabled by default. In order to use the Abiword thesaurus functionality, the GTK-dependent portion of aiksaurus (gaiksaurus) must be enabled. (It's an interesting little application on its own, too, in how it displays results.) I've attached patches to add an option to the existing package to make this happen. (I've seen debate before on pkgsrc mailing lists over whether package options are a good or bad thing [as opposed to distinct packages], and I'm not sure how to force the GTK components to be included if this package is being compiled for Abiword, but this is a start, anyway...)
>How-To-Repeat:
>Fix:
Make file patch:
--- Makefile 2011-04-18 22:03:25.000000000 -0400
+++ Makefile.new 2011-04-18 22:02:53.000000000 -0400
@@ -15,7 +15,7 @@
USE_LIBTOOL= YES
USE_LANGUAGES= c c++
GNU_CONFIGURE= YES
-CONFIGURE_ARGS+= --without-gtk
PKGCONFIG_OVERRIDE= base/aiksaurus-1.0.pc.in
+.include "options.mk"
.include "../../mk/bsd.pkg.mk"
New options.mk file:
# $NetBSD: options.mk,v 1.10 2009/08/05 17:10:37 drochner Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.aiksaurus
PKG_SUPPORTED_OPTIONS= gtk
PKG_SUGGESTED_OPTIONS=
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mgtk)
CONFIGURE_ARGS+= --with-gtk
.include "../../x11/gtk2/buildlink3.mk"
PLIST_SRC= ${PKGDIR}/PLIST ${PKGDIR}/PLIST.gtk
.else
CONFIGURE_ARGS+= --without-gtk
.endif
New PLIST.gtk file:
bin/gaiksaurus
include/Aiksaurus/AiksaurusGTK-C.h
include/Aiksaurus/AiksaurusGTK.h
lib/libAiksaurusGTK-1.2.so.0.0.1
lib/libAiksaurusGTK.a
lib/libAiksaurusGTK.la
lib/pkgconfig/gaiksaurus-1.0.pc
(Contact us)
$NetBSD: query-full-pr,v 1.36 2007/11/24 03:27:39 kano Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.