Thu Jan 24 03:00:29 2008 UTC ()
Add initial public release of clawsker, a program to edit hidden
preferences for claws-mail.


(smb)
diff -r0 -r1.1 pkgsrc/mail/clawsker/DESCR
diff -r0 -r1.1 pkgsrc/mail/clawsker/Makefile
diff -r0 -r1.1 pkgsrc/mail/clawsker/PLIST
diff -r0 -r1.1 pkgsrc/mail/clawsker/distinfo
diff -r0 -r1.1 pkgsrc/mail/clawsker/patches/patch-aa
diff -r0 -r1.1 pkgsrc/mail/clawsker/patches/patch-ab
diff -r0 -r1.1 pkgsrc/mail/clawsker/patches/patch-ac

File Added: pkgsrc/mail/clawsker/DESCR
Clawsker is an applet to edit Claws Mail's hidden preferences.

Claws Mail has a high number of configurable options and, in order
to keep the binary small and fast, some of these preferences which
are not widely used are not provided with a graphical interface
for inspection and/or modification.

Users wanting to edit such preferences had to face editing the
configuration text files directly, now it is possible with a
convenient GTK2 interface using Clawsker.

Other features:

    * Handling of all hidden preferences
    * Fully internationalized interface using gettext
    * Detection of running Claws Mail
    * Support for alternate configuration directories

File Added: pkgsrc/mail/clawsker/Makefile
# $NetBSD: Makefile,v 1.1 2008/01/24 03:00:28 smb Exp $

DISTNAME=	clawsker-0.3.0
CATEGORIES=	mail
MASTER_SITES=	http://www.claws-mail.org/tools/

MAINTAINER=	smb@NetBSD.org
HOMEPAGE=	http://www.claws-mail.org/clawsker
COMMENT=	Edit Claws-Mail hidden preferences

USE_TOOLS+=	gmake
USE_TOOLS+=	perl
REPLACE_PERL=	clawsker

DEPENDS+=	p5-gtk2>=1.144:../../x11/p5-gtk2
DEPENDS+=	p5-gettext>=1.05:../../devel/p5-gettext
DEPENDS+=	claws-mail-3.2.0{,nb[0-9]*}:../../mail/claws-mail

.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

File Added: pkgsrc/mail/clawsker/PLIST
@comment $NetBSD: PLIST,v 1.1 2008/01/24 03:00:28 smb Exp $
bin/clawsker
share/locale/es/LC_MESSAGES/clawsker.mo
man/man1/clawsker.1

File Added: pkgsrc/mail/clawsker/distinfo
$NetBSD: distinfo,v 1.1 2008/01/24 03:00:28 smb Exp $

SHA1 (clawsker-0.3.0.tar.gz) = 72118a32636d95103380a1e65f831c95a7dda71a
RMD160 (clawsker-0.3.0.tar.gz) = 27b76cded291ceec49c448569fde6763a502aebd
Size (clawsker-0.3.0.tar.gz) = 29524 bytes
SHA1 (patch-aa) = bc7d011e4fae77968d6d5e9ccbfaa6feb4a6bbc5
SHA1 (patch-ab) = 2be3130215d38b76192fd796b9443cf54740addc
SHA1 (patch-ac) = 95ae82ef362248fce8f84de80c7a3b912938a9f5

File Added: pkgsrc/mail/clawsker/patches/patch-aa
$NetBSD: patch-aa,v 1.1 2008/01/24 03:00:29 smb Exp $

--- Makefile.orig	2008-01-21 10:55:39.000000000 -0500
+++ Makefile	2008-01-21 10:58:00.000000000 -0500
@@ -9,7 +9,7 @@
 BINDIR = ${PREFIX}/bin
 DATADIR = ${PREFIX}/share
 LIBDIR = ${PREFIX}/lib/${NAME}
-MANDIR = ${DATADIR}/man
+MANDIR = ${PREFIX}/man
 MAN1DIR = ${MANDIR}/man1
 
 all: build

File Added: pkgsrc/mail/clawsker/patches/Attic/patch-ab
$NetBSD: patch-ab,v 1.1 2008/01/24 03:00:29 smb Exp $

--- clawsker.orig	2008-01-21 12:19:07.000000000 -0500
+++ clawsker	2008-01-21 12:19:46.000000000 -0500
@@ -345,8 +345,6 @@
 sub set_widget_hint() {
     if ($SHOWHINTS) {
         my ($wdgt, $hint) = @_;    
-        $wdgt->set_tooltip_text ($hint);
-        $wdgt->set_has_tooltip (TRUE);
     }
 }
 

File Added: pkgsrc/mail/clawsker/patches/Attic/patch-ac
$NetBSD: patch-ac,v 1.1 2008/01/24 03:00:29 smb Exp $

--- po/Makefile.orig	2008-01-23 21:55:37.000000000 -0500
+++ po/Makefile	2008-01-23 21:55:49.000000000 -0500
@@ -28,7 +28,7 @@
 
 install: all install-dirs
 	for po in ${LINGUAS}; \
-	do install -m 0755 $${po}.mo ${DESTDIR}${LOCALEDIR}/$${po}/LC_MESSAGES/${NAME}.mo; \
+	do install -m 0444 $${po}.mo ${DESTDIR}${LOCALEDIR}/$${po}/LC_MESSAGES/${NAME}.mo; \
 	done
 
 install-dirs: