Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
Normally, xteddy just sits around doing nothing. After
all, that's what teddy bears are for. Look at him, talk to
him, place heavy windows on top of him, zap him around
until he becomes dizzy, do what you like; he will always
be your true (albeit virtual) friend.
+22
View File
@@ -0,0 +1,22 @@
# $NetBSD: Makefile,v 1.23 2012/10/29 05:07:22 asau Exp $
DISTNAME= xteddy-1.1
PKGREVISION= 1
CATEGORIES= x11 games
MASTER_SITES= http://staffwww.itn.liu.se/~stegu/xteddy/
MAINTAINER= johnam@mail.kemper.org
HOMEPAGE= http://staffwww.itn.liu.se/~stegu/xteddy/
COMMENT= Cuddly teddy bear for your desktop
GNU_CONFIGURE= YES
INSTALLATION_DIRS= share/xteddy/pixmaps
BUILDLINK_DEPMETHOD.libXt?= build
.include "../../x11/libSM/buildlink3.mk"
.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/libXpm/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
+15
View File
@@ -0,0 +1,15 @@
@comment $NetBSD: PLIST,v 1.3 2012/06/16 03:15:33 dholland Exp $
bin/xteddy
man/man1/xteddy.1
share/xteddy/pixmaps/teddy_bw.xbm
share/xteddy/pixmaps/teddy_color.xpm
share/xteddy/pixmaps/teddy_icon.xbm
share/xteddy/pixmaps/teddy_mask.xbm
share/xteddy/pixmaps/xpenguin_bw.xbm
share/xteddy/pixmaps/xpenguin_color.xpm
share/xteddy/pixmaps/xpenguin_icon.xbm
share/xteddy/pixmaps/xpenguin_mask.xbm
share/xteddy/pixmaps/xteddy_bw.xbm
share/xteddy/pixmaps/xteddy_color.xpm
share/xteddy/pixmaps/xteddy_icon.xbm
share/xteddy/pixmaps/xteddy_mask.xbm
+8
View File
@@ -0,0 +1,8 @@
$NetBSD: distinfo,v 1.6 2006/09/10 13:39:40 schwarz Exp $
SHA1 (xteddy-1.1.tar.gz) = a681923333a4e2b2112290d601c167fd7e8e1302
RMD160 (xteddy-1.1.tar.gz) = b392d8385422198808ab02ccd0b6dc025512f7f2
Size (xteddy-1.1.tar.gz) = 117141 bytes
SHA1 (patch-aa) = b77f0b43a999f54b28602ab1fb66ed320a5632c1
SHA1 (patch-ab) = 260f836f4aab651c72caebac821e497b54d72cbd
SHA1 (patch-ac) = 28dce1fcdd1367c33159001bd5bba9cf4e7291a8
+29
View File
@@ -0,0 +1,29 @@
$NetBSD: patch-aa,v 1.3 2002/08/25 21:52:58 jlam Exp $
--- Makefile.in.orig Thu Oct 29 03:01:17 1998
+++ Makefile.in
@@ -70,11 +70,11 @@
xteddy_SOURCES = xteddy.c
HTML_DOC = html/xteddy.html html/xteddy_info.html \
html/images/noise.jpg html/images/xteddy.gif html/images/xteddy.xbm
-xteddy_LDADD = -L/usr/X11R6/lib
+xteddy_LDADD = -L${X11BASE}/lib
LIBS = -lX11 -lXext -lXpm
man_MANS = xteddy.1
-pixmapdir = $(prefix)/include/X11
+pixmapdir = $(prefix)/share/xteddy
pixmap_DATA = pixmaps/xteddy_bw.xbm \
pixmaps/xteddy_color.xpm \
@@ -108,8 +108,8 @@
xteddy_DEPENDENCIES =
xteddy_LDFLAGS =
CFLAGS = @CFLAGS@
-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
-LINK = $(CC) $(CFLAGS) $(LDFLAGS) -o $@
+COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) ${X_CFLAGS}
+LINK = $(CC) $(CFLAGS) $(LDFLAGS) -o $@ ${X_LIBS} ${X_EXTRA_LIBS} ${X_PRE_LIBS}
man1dir = $(mandir)/man1
MANS = $(man_MANS)
+13
View File
@@ -0,0 +1,13 @@
$NetBSD: patch-ab,v 1.1.1.1 1999/10/15 01:01:46 hubertf Exp $
--- configure.orig Fri Oct 15 02:41:18 1999
+++ configure Fri Oct 15 02:41:46 1999
@@ -1883,7 +1883,7 @@
cat >> confdefs.h <<EOF
-#define PIXMAP_PATH "${prefix}/include/X11/pixmaps"
+#define PIXMAP_PATH "${prefix}/share/xteddy/pixmaps"
EOF
+42
View File
@@ -0,0 +1,42 @@
$NetBSD: patch-ac,v 1.1 2006/09/10 13:39:40 schwarz Exp $
--- xteddy.c.orig 1998-04-23 09:58:17.000000000 +0200
+++ xteddy.c 2006-09-10 15:22:31.000000000 +0200
@@ -69,7 +69,8 @@
/* Initializing filenames */
{
#define FBUFLEN 200
- int buflen, w, h, xhotret, yhotret;
+ int buflen, xhotret, yhotret;
+ unsigned int w, h;
char fbuf[FBUFLEN];
if ( !xteddy->teddy || !(strlen(xteddy->teddy)) ) return -1;
@@ -130,8 +131,8 @@
XSetWindowAttributes setwinattr;
XGCValues gcvalues;
unsigned long valuemask, gcvaluemask, inputmask;
- int x, y, geomflags, xw, xh;
- unsigned int border_width = 0;
+ int x, y, geomflags;
+ unsigned int xw, xh, border_width = 0;
unsigned int display_width, display_height, display_depth;
Pixmap icon_pixmap, background_pixmap, shape_pixmap;
XSizeHints size_hints;
@@ -168,14 +169,14 @@
int offs_x, offs_y, new_x, new_y, tmp_x, tmp_y;
unsigned int tmp_mask;
- teddy.teddy = argv[0];
-
/* Determine program name */
if ((progname = strrchr(argv[0],'/')) == NULL)
progname = argv[0];
else
progname++;
+ teddy.teddy = progname;
+
/* Option handling: "-wm", "-float", "-noquit", "-mono", "-geometry" */
/* and "-display" are recognized. See manual page for details. */
/* -F<name> ... Other pixmap name */