summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
Diffstat (limited to 'x11')
-rw-r--r--x11/xpad/DESCR19
-rw-r--r--x11/xpad/Makefile25
-rw-r--r--x11/xpad/PLIST21
-rw-r--r--x11/xpad/distinfo6
-rw-r--r--x11/xpad/patches/patch-aa12
-rw-r--r--x11/xpad/patches/patch-ab15
6 files changed, 98 insertions, 0 deletions
diff --git a/x11/xpad/DESCR b/x11/xpad/DESCR
new file mode 100644
index 00000000000..ea2ba12ae3e
--- /dev/null
+++ b/x11/xpad/DESCR
@@ -0,0 +1,19 @@
+xpad is a sticky notes application written using GTK+ 2.0 that strives to
+be simple, fault-tolerant, and customizable. xpad consists of independent
+pad windows; each is basically a text box in which notes can be written.
+Despite being called xpad, all that is needed to run or compile it is the
+GTK+ 2.0 libraries. Here is a list of major features in the current xpad
+stable release:
+
+ * GTK+ 2.0 powered text view.
+ * Fault tolerant. All information is kept on the hard drive, not memory.
+ So if power is lost or your computer freezes, there is little lost
+ information.
+ * xpad is very customizable. The color scheme (text, background, and window
+ borders) and the font can be changed. These settings can be applied to
+ one pad or set as the default for future pads. Want window decorations or
+ not? Your choice.
+ * A customizable toolbar puts the most frequently used commands at your
+ fingertips.
+ * Support for the X session management protocol.
+ * Support for the www.freedesktop.org system tray proposal.
diff --git a/x11/xpad/Makefile b/x11/xpad/Makefile
new file mode 100644
index 00000000000..57f76a2eb49
--- /dev/null
+++ b/x11/xpad/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/09/02 07:19:20 xtraeme Exp $
+#
+
+DISTNAME= xpad-1.11
+CATEGORIES= x11
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xpad/}
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= xtraeme@NetBSD.org
+HOMEPAGE= http://xpad.sourceforge.net/
+COMMENT= Sticky notes application in GTK 2
+
+BUILD_USES_MSGFMT= yes
+DEPENDS+= gnome2-dirs>=1.2:../../misc/gnome2-dirs
+
+GNU_CONFIGURE= yes
+USE_BUILDLINK2= yes
+USE_GMAKE= yes
+USE_PKGLOCALEDIR= yes
+USE_X11= yes
+
+.include "../../converters/libiconv/buildlink2.mk"
+.include "../../x11/gtk2/buildlink2.mk"
+.include "../../textproc/intltool/buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/x11/xpad/PLIST b/x11/xpad/PLIST
new file mode 100644
index 00000000000..d98b9fc978f
--- /dev/null
+++ b/x11/xpad/PLIST
@@ -0,0 +1,21 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/09/02 07:19:20 xtraeme Exp $
+bin/xpad
+man/man1/xpad.1
+share/applications/xpad.desktop
+share/icons/hicolor/128x128/apps/xpad.png
+share/icons/hicolor/16x16/apps/xpad.png
+share/icons/hicolor/22x22/apps/xpad.png
+share/icons/hicolor/32x32/apps/xpad.png
+share/icons/hicolor/48x48/apps/xpad.png
+share/icons/hicolor/64x64/apps/xpad.png
+share/icons/hicolor/96x96/apps/xpad.png
+share/icons/hicolor/scalable/apps/xpad.svg
+${PKGLOCALEDIR}/locale/dk/LC_MESSAGES/xpad.mo
+${PKGLOCALEDIR}/locale/eo/LC_MESSAGES/xpad.mo
+${PKGLOCALEDIR}/locale/es/LC_MESSAGES/xpad.mo
+${PKGLOCALEDIR}/locale/fr/LC_MESSAGES/xpad.mo
+${PKGLOCALEDIR}/locale/it/LC_MESSAGES/xpad.mo
+${PKGLOCALEDIR}/locale/nl/LC_MESSAGES/xpad.mo
+${PKGLOCALEDIR}/locale/ro/LC_MESSAGES/xpad.mo
+${PKGLOCALEDIR}/locale/ru/LC_MESSAGES/xpad.mo
+share/pixmaps/xpad.png
diff --git a/x11/xpad/distinfo b/x11/xpad/distinfo
new file mode 100644
index 00000000000..9f40899a843
--- /dev/null
+++ b/x11/xpad/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/09/02 07:19:20 xtraeme Exp $
+
+SHA1 (xpad-1.11.tar.bz2) = d226fcfd56097849f2cb283c92c318ec17d28ae5
+Size (xpad-1.11.tar.bz2) = 235533 bytes
+SHA1 (patch-aa) = acad079b9577710aec48c7e41b359b97eeb17b45
+SHA1 (patch-ab) = d7f8ba8946a1d09fb7c73e80b2b0079926709cb6
diff --git a/x11/xpad/patches/patch-aa b/x11/xpad/patches/patch-aa
new file mode 100644
index 00000000000..58fb827d4cd
--- /dev/null
+++ b/x11/xpad/patches/patch-aa
@@ -0,0 +1,12 @@
+$NetBSD: patch-aa,v 1.1.1.1 2003/09/02 07:19:20 xtraeme Exp $
+
+--- src/sm.c.orig 2003-09-02 04:09:39.000000000 +0200
++++ src/sm.c 2003-09-02 04:10:05.000000000 +0200
+@@ -25,6 +25,7 @@
+ #include "main.h"
+ #include <X11/SM/SMlib.h>
+ #include <stdio.h> /* only for printf */
++#include <sys/types.h> /* for getuid and getpwuid */
+ #include <sys/select.h> /* for select */
+ #include <stdlib.h> /* for free */
+ #include <string.h> /* for strlen */
diff --git a/x11/xpad/patches/patch-ab b/x11/xpad/patches/patch-ab
new file mode 100644
index 00000000000..648e812555c
--- /dev/null
+++ b/x11/xpad/patches/patch-ab
@@ -0,0 +1,15 @@
+$NetBSD: patch-ab,v 1.1.1.1 2003/09/02 07:19:20 xtraeme Exp $
+
+--- src/main.c.orig Tue Jul 15 14:58:26 2003
++++ src/main.c Tue Jul 15 14:58:55 2003
+@@ -38,6 +38,10 @@
+ #include <stdio.h>
+ #include <unistd.h>
+
++#if HAVE_SETLOCALE
++ #include <locale.h>
++#endif
++
+ #if defined (G_OS_UNIX)
+
+ #include <signal.h>