Import wmpinboard 1.0.
Submitted by Peter Stromberg <home@wilfried.net>. wmpinboard is a Window Maker dock applet resembling a miniature pinboard. It's intended to somewhat relieve heavily littered desktops by allowing you to place reminders on a graphical on-screen pinboard.
This commit is contained in:
parent
a5e6464ab3
commit
8d1d4c465f
24
x11/wmpinboard/Makefile
Normal file
24
x11/wmpinboard/Makefile
Normal file
@ -0,0 +1,24 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2001/01/17 16:32:52 naddy Exp $
|
||||
|
||||
DISTNAME= wmpinboard-1.0
|
||||
CATEGORIES= x11
|
||||
NEED_VERSION= 1.340
|
||||
HOMEPAGE= http://www.tu-ilmenau.de/~gomar/stuff/wmpinboard/
|
||||
MASTER_SITES= ${HOMEPAGE}
|
||||
|
||||
MAINTAINER= Peter Stromberg <home@wilfried.net>
|
||||
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
SEPARATE_BUILD= concurrent
|
||||
USE_X11= Yes
|
||||
CONFIGURE_STYLE= gnu
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKBUILD}/src/wmpinboard ${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/man/wmpinboard.1 ${PREFIX}/man/man1
|
||||
|
||||
.include <bsd.port.mk>
|
3
x11/wmpinboard/files/md5
Normal file
3
x11/wmpinboard/files/md5
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (wmpinboard-1.0.tar.gz) = 40b1353b213c538042660cb96cd0610a
|
||||
RMD160 (wmpinboard-1.0.tar.gz) = 4bff5dd17b33058870ecbf2522f3da4dae71c4d3
|
||||
SHA1 (wmpinboard-1.0.tar.gz) = 496d06c4a677b655113318e1467cfc6c2ac3287e
|
12
x11/wmpinboard/patches/patch-Makefile_in
Normal file
12
x11/wmpinboard/patches/patch-Makefile_in
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-Makefile_in,v 1.1.1.1 2001/01/17 16:32:52 naddy Exp $
|
||||
--- Makefile.in.orig Thu Apr 13 15:37:47 2000
|
||||
+++ Makefile.in Mon Jan 15 17:42:14 2001
|
||||
@@ -63,7 +63,7 @@ MAKEINFO = @MAKEINFO@
|
||||
PACKAGE = @PACKAGE@
|
||||
VERSION = @VERSION@
|
||||
|
||||
-SUBDIRS = src man
|
||||
+SUBDIRS = src
|
||||
EXTRA_DIST = CREDITS TODO wmpb-convert.pl wmpinboard.lsm wmpinboard.spec.in man/Makefile.* man/wmpinboard.* xpm/* themes-kit/*
|
||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
130
x11/wmpinboard/patches/patch-configure
Normal file
130
x11/wmpinboard/patches/patch-configure
Normal file
@ -0,0 +1,130 @@
|
||||
$OpenBSD: patch-configure,v 1.1.1.1 2001/01/17 16:32:53 naddy Exp $
|
||||
--- configure.orig Thu Apr 13 15:37:26 2000
|
||||
+++ configure Mon Jan 15 17:13:42 2001
|
||||
@@ -1035,8 +1035,6 @@ ac_link='${CC-cc} -o conftest${ac_exeext
|
||||
cross_compiling=$ac_cv_prog_cc_cross
|
||||
|
||||
|
||||
-CFLAGS="$CFLAGS -D_BSD_SOURCE -D_POSIX_SOURCE=199506L"
|
||||
-
|
||||
if test x$GCC = xyes; then
|
||||
CFLAGS="$CFLAGS -Wall -ansi -pedantic"
|
||||
fi
|
||||
@@ -2199,104 +2197,6 @@ else
|
||||
fi
|
||||
done
|
||||
|
||||
-echo $ac_n "checking for getopt""... $ac_c" 1>&6
|
||||
-echo "configure:2204: checking for getopt" >&5
|
||||
-if eval "test \"`echo '$''{'ac_cv_func_getopt'+set}'`\" = set"; then
|
||||
- echo $ac_n "(cached) $ac_c" 1>&6
|
||||
-else
|
||||
- cat > conftest.$ac_ext <<EOF
|
||||
-#line 2209 "configure"
|
||||
-#include "confdefs.h"
|
||||
-/* System header to define __stub macros and hopefully few prototypes,
|
||||
- which can conflict with char getopt(); below. */
|
||||
-#include <assert.h>
|
||||
-/* Override any gcc2 internal prototype to avoid an error. */
|
||||
-/* We use char because int might match the return type of a gcc2
|
||||
- builtin and then its argument prototype would still apply. */
|
||||
-char getopt();
|
||||
-
|
||||
-int main() {
|
||||
-
|
||||
-/* The GNU C library defines this for functions which it implements
|
||||
- to always fail with ENOSYS. Some functions are actually named
|
||||
- something starting with __ and the normal name is an alias. */
|
||||
-#if defined (__stub_getopt) || defined (__stub___getopt)
|
||||
-choke me
|
||||
-#else
|
||||
-getopt();
|
||||
-#endif
|
||||
-
|
||||
-; return 0; }
|
||||
-EOF
|
||||
-if { (eval echo configure:2232: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
- rm -rf conftest*
|
||||
- eval "ac_cv_func_getopt=yes"
|
||||
-else
|
||||
- echo "configure: failed program was:" >&5
|
||||
- cat conftest.$ac_ext >&5
|
||||
- rm -rf conftest*
|
||||
- eval "ac_cv_func_getopt=no"
|
||||
-fi
|
||||
-rm -f conftest*
|
||||
-fi
|
||||
-
|
||||
-if eval "test \"`echo '$ac_cv_func_'getopt`\" = yes"; then
|
||||
- echo "$ac_t""yes" 1>&6
|
||||
- :
|
||||
-else
|
||||
- echo "$ac_t""no" 1>&6
|
||||
-need_getopt=yes
|
||||
-fi
|
||||
-
|
||||
-echo $ac_n "checking for getopt_long""... $ac_c" 1>&6
|
||||
-echo "configure:2253: checking for getopt_long" >&5
|
||||
-if eval "test \"`echo '$''{'ac_cv_func_getopt_long'+set}'`\" = set"; then
|
||||
- echo $ac_n "(cached) $ac_c" 1>&6
|
||||
-else
|
||||
- cat > conftest.$ac_ext <<EOF
|
||||
-#line 2258 "configure"
|
||||
-#include "confdefs.h"
|
||||
-/* System header to define __stub macros and hopefully few prototypes,
|
||||
- which can conflict with char getopt_long(); below. */
|
||||
-#include <assert.h>
|
||||
-/* Override any gcc2 internal prototype to avoid an error. */
|
||||
-/* We use char because int might match the return type of a gcc2
|
||||
- builtin and then its argument prototype would still apply. */
|
||||
-char getopt_long();
|
||||
-
|
||||
-int main() {
|
||||
-
|
||||
-/* The GNU C library defines this for functions which it implements
|
||||
- to always fail with ENOSYS. Some functions are actually named
|
||||
- something starting with __ and the normal name is an alias. */
|
||||
-#if defined (__stub_getopt_long) || defined (__stub___getopt_long)
|
||||
-choke me
|
||||
-#else
|
||||
-getopt_long();
|
||||
-#endif
|
||||
-
|
||||
-; return 0; }
|
||||
-EOF
|
||||
-if { (eval echo configure:2281: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
- rm -rf conftest*
|
||||
- eval "ac_cv_func_getopt_long=yes"
|
||||
-else
|
||||
- echo "configure: failed program was:" >&5
|
||||
- cat conftest.$ac_ext >&5
|
||||
- rm -rf conftest*
|
||||
- eval "ac_cv_func_getopt_long=no"
|
||||
-fi
|
||||
-rm -f conftest*
|
||||
-fi
|
||||
-
|
||||
-if eval "test \"`echo '$ac_cv_func_'getopt_long`\" = yes"; then
|
||||
- echo "$ac_t""yes" 1>&6
|
||||
- :
|
||||
-else
|
||||
- echo "$ac_t""no" 1>&6
|
||||
-need_getopt_long=yes
|
||||
-fi
|
||||
-
|
||||
echo $ac_n "checking for 8-bit clean memcmp""... $ac_c" 1>&6
|
||||
echo "configure:2302: checking for 8-bit clean memcmp" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_func_memcmp_clean'+set}'`\" = set"; then
|
||||
@@ -2633,12 +2533,6 @@ fi
|
||||
|
||||
if test x"$need_memcmp" = xyes; then
|
||||
CONDITIONAL_SOURCES="$CONDITIONAL_SOURCES memcmp.c"
|
||||
-fi
|
||||
-if test x"$need_getopt" = xyes; then
|
||||
- CONDITIONAL_SOURCES="$CONDITIONAL_SOURCES getopt.c"
|
||||
-fi
|
||||
-if test x"$need_getopt_long" = xyes; then
|
||||
- CONDITIONAL_SOURCES="$CONDITIONAL_SOURCES getopt1.c"
|
||||
fi
|
||||
|
||||
|
35
x11/wmpinboard/patches/patch-configure_in
Normal file
35
x11/wmpinboard/patches/patch-configure_in
Normal file
@ -0,0 +1,35 @@
|
||||
$OpenBSD: patch-configure_in,v 1.1.1.1 2001/01/17 16:32:53 naddy Exp $
|
||||
--- configure.in.orig Thu Apr 13 14:40:33 2000
|
||||
+++ configure.in Wed Jan 17 13:22:55 2001
|
||||
@@ -10,9 +10,6 @@ CFLAGS=`echo "x $CFLAGS"|sed 's/^x //; s
|
||||
AC_ISC_POSIX
|
||||
AC_LANG_C
|
||||
|
||||
-dnl use POSIX and BSD stuff where available
|
||||
-CFLAGS="$CFLAGS -D_BSD_SOURCE -D_POSIX_SOURCE=199506L"
|
||||
-
|
||||
dnl additional compile flags when using gcc
|
||||
if test x$GCC = xyes; then
|
||||
CFLAGS="$CFLAGS -Wall -ansi -pedantic"
|
||||
@@ -31,8 +28,6 @@ AC_C_INLINE
|
||||
dnl check for C headers and functions
|
||||
dnl more or less optional ones first
|
||||
AC_CHECK_HEADERS([getopt.h malloc.h signal.h string.h unistd.h])
|
||||
-AC_CHECK_FUNC(getopt, , need_getopt=yes)
|
||||
-AC_CHECK_FUNC(getopt_long, , need_getopt_long=yes)
|
||||
AC_FUNC_MEMCMP
|
||||
if test x"$ac_cv_func_memcmp_clean" = xyes; then
|
||||
AC_DEFINE(HAVE_MEMCMP)
|
||||
@@ -85,12 +80,6 @@ fi
|
||||
dnl determine what conditional stuff has to be compiled
|
||||
if test x"$need_memcmp" = xyes; then
|
||||
CONDITIONAL_SOURCES="$CONDITIONAL_SOURCES memcmp.c"
|
||||
-fi
|
||||
-if test x"$need_getopt" = xyes; then
|
||||
- CONDITIONAL_SOURCES="$CONDITIONAL_SOURCES getopt.c"
|
||||
-fi
|
||||
-if test x"$need_getopt_long" = xyes; then
|
||||
- CONDITIONAL_SOURCES="$CONDITIONAL_SOURCES getopt1.c"
|
||||
fi
|
||||
AC_SUBST(CONDITIONAL_SOURCES)
|
||||
|
25
x11/wmpinboard/patches/patch-src_Makefile_in
Normal file
25
x11/wmpinboard/patches/patch-src_Makefile_in
Normal file
@ -0,0 +1,25 @@
|
||||
$OpenBSD: patch-src_Makefile_in,v 1.1.1.1 2001/01/17 16:32:52 naddy Exp $
|
||||
--- src/Makefile.in.orig Thu Apr 13 15:37:51 2000
|
||||
+++ src/Makefile.in Tue Jan 16 12:54:50 2001
|
||||
@@ -68,10 +68,10 @@ LIBS = $(X_LIBS) -lX11 -lXext -lXpm
|
||||
|
||||
bin_PROGRAMS = wmpinboard
|
||||
|
||||
-wmpinboard_SOURCES = @CONDITIONAL_SOURCES@ misc.c misc.h notes.c notes.h wmpinboard.c wmpinboard.h xmisc.c xmisc.h
|
||||
+wmpinboard_SOURCES = @CONDITIONAL_SOURCES@ getopt.c getopt1.c getopt.h misc.c misc.h notes.c notes.h wmpinboard.c wmpinboard.h xmisc.c xmisc.h
|
||||
|
||||
|
||||
-EXTRA_wmpinboard_SOURCES = getopt.c getopt1.c getopt.h memcmp.c memcmp.h
|
||||
+EXTRA_wmpinboard_SOURCES = memcmp.c memcmp.h
|
||||
|
||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||
CONFIG_HEADER = ../config.h
|
||||
@@ -86,7 +86,7 @@ X_CFLAGS = @X_CFLAGS@
|
||||
X_LIBS = @X_LIBS@
|
||||
X_EXTRA_LIBS = @X_EXTRA_LIBS@
|
||||
X_PRE_LIBS = @X_PRE_LIBS@
|
||||
-wmpinboard_OBJECTS = misc.o notes.o wmpinboard.o xmisc.o
|
||||
+wmpinboard_OBJECTS = getopt1.o getopt.o misc.o notes.o wmpinboard.o xmisc.o
|
||||
wmpinboard_LDADD = $(LDADD)
|
||||
wmpinboard_DEPENDENCIES =
|
||||
wmpinboard_LDFLAGS =
|
28
x11/wmpinboard/patches/patch-src_getopt_c
Normal file
28
x11/wmpinboard/patches/patch-src_getopt_c
Normal file
@ -0,0 +1,28 @@
|
||||
$OpenBSD: patch-src_getopt_c,v 1.1.1.1 2001/01/17 16:32:52 naddy Exp $
|
||||
--- src/getopt.c.orig Wed Sep 1 15:49:35 1999
|
||||
+++ src/getopt.c Mon Jan 15 16:45:15 2001
|
||||
@@ -43,6 +43,7 @@
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
+#include <string.h>
|
||||
|
||||
/* Comment out all this code if we are using the GNU C Library, and are not
|
||||
actually compiling the library itself. This code is part of the GNU C
|
||||
@@ -649,7 +650,7 @@ int
|
||||
optarg = nameend + 1;
|
||||
else
|
||||
{
|
||||
- if (opterr)
|
||||
+ if (opterr) {
|
||||
if (argv[optind - 1][1] == '-')
|
||||
/* --option */
|
||||
fprintf(stderr,
|
||||
@@ -660,6 +661,7 @@ int
|
||||
fprintf(stderr,
|
||||
_("%s: option `%c%s' doesn't allow an argument\n"),
|
||||
argv[0], argv[optind - 1][0], pfound->name);
|
||||
+ }
|
||||
|
||||
nextchar += strlen(nextchar);
|
||||
|
13
x11/wmpinboard/patches/patch-src_wmpinboard_c
Normal file
13
x11/wmpinboard/patches/patch-src_wmpinboard_c
Normal file
@ -0,0 +1,13 @@
|
||||
$OpenBSD: patch-src_wmpinboard_c,v 1.1.1.1 2001/01/17 16:32:52 naddy Exp $
|
||||
--- src/wmpinboard.c.orig Thu Apr 13 13:01:17 2000
|
||||
+++ src/wmpinboard.c Mon Jan 15 16:11:36 2001
|
||||
@@ -1142,7 +1142,8 @@ void
|
||||
timer(unsigned int intv)
|
||||
{
|
||||
#ifndef __GLIBC__
|
||||
- struct itimerval val = { { 0, intv }, { 0, intv } };
|
||||
+ struct itimerval val = { { 0, 0 }, { 0, 0 } };
|
||||
+ val.it_interval.tv_usec = val.it_value.tv_usec = intv;
|
||||
|
||||
setitimer(ITIMER_REAL, &val, 0);
|
||||
#else
|
1
x11/wmpinboard/pkg/COMMENT
Normal file
1
x11/wmpinboard/pkg/COMMENT
Normal file
@ -0,0 +1 @@
|
||||
dock app resembling a miniature pinboard
|
16
x11/wmpinboard/pkg/DESCR
Normal file
16
x11/wmpinboard/pkg/DESCR
Normal file
@ -0,0 +1,16 @@
|
||||
wmpinboard is a Window Maker dock applet resembling a
|
||||
miniature pinboard. It's intended to somewhat relieve
|
||||
heavily littered desktops by allowing you to place reminders
|
||||
on a graphical on-screen pinboard rather than producing a
|
||||
mess of real notes all around your keyboard. It supports
|
||||
arbitrary 6x10 X fonts and has XLocale support, enabling you
|
||||
to enter locale-dependent special characters if set up
|
||||
appropriately. Besides text, you can add small monochrome
|
||||
sketches to your notes or simply encircle or underline words
|
||||
as a means of emphasis, and alarms can be set to explicitly
|
||||
remind you of things. Above all, wmpinboard is animated in
|
||||
redundant ways to make it look even more attractive, and
|
||||
themeability provides for a way of adapting its appearance
|
||||
to that of the rest of your desktop.
|
||||
|
||||
WWW: ${HOMEPAGE}
|
3
x11/wmpinboard/pkg/PLIST
Normal file
3
x11/wmpinboard/pkg/PLIST
Normal file
@ -0,0 +1,3 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2001/01/17 16:32:52 naddy Exp $
|
||||
bin/wmpinboard
|
||||
man/man1/wmpinboard.1
|
Loading…
Reference in New Issue
Block a user