--- xjokes-1.0.orig/mori1.c +++ xjokes-1.0/mori1.c @@ -106,7 +106,7 @@ gcvals.foreground = BlackPixel(dpy, screen); gcvals.background = WhitePixel(dpy, screen); - gcvals.function = GXset; + gcvals.function = GXcopy; gcvals.fill_style = FillStippled; for( i = 0; i < 2; i++){ mori[i] = XCreateBitmapFromData(dpy, win, bit[i], --- xjokes-1.0.orig/Makefile +++ xjokes-1.0/Makefile @@ -1,5 +1,5 @@ CFLAGS = -O -LDFLAGS = -lX11 +LDFLAGS = -L/usr/X11R6/lib -lX11 CC = cc all: yasiti blackhole mori1 mori2 @@ -18,3 +18,5 @@ $(CC) $@.o -o $@ $(LDFLAGS) mori2.o: mori2.c +clean: + -rm -f *.o *~ yasiti blackhole mori1 mori2 --- xjokes-1.0.orig/debian/README.Debian +++ xjokes-1.0/debian/README.Debian @@ -0,0 +1,11 @@ +xjokes for DEBIAN +---------------------- + +Run X and type following commands on terminal window. + +blackhole +yasiti +mori1 +mori2 + +Kenshi Muto , Mon, 23 Aug 1999 13:09:46 +0900 --- xjokes-1.0.orig/debian/changelog +++ xjokes-1.0/debian/changelog @@ -0,0 +1,82 @@ +xjokes (1.0-12) unstable; urgency=low + + * Orphaned (#448111). Set maintainer to QA Group. + + -- Kenshi Muto Fri, 26 Oct 2007 15:30:34 +0900 + +xjokes (1.0-11) unstable; urgency=low + + * Changed rules base from debmake to standard build rule. + + -- Kenshi Muto Sun, 15 Jan 2006 14:20:42 +0000 + +xjokes (1.0-10) unstable; urgency=low + + * Remove /usr/doc link. + * Fix FTBFS of xlibs-dev transition (closes: #346931) + + -- Kenshi Muto Mon, 15 Aug 2005 23:35:56 +0000 + +xjokes (1.0-9) unstable; urgency=low + + * Apply manpage created by Timo. Thanks! (closes: #225819) + + -- Kenshi Muto Sun, 24 Jul 2005 02:52:27 +0000 + +xjokes (1.0-8) unstable; urgency=low + + * xjokes binaries are moved /usr/games. They are not important, + but their file name will be conflict with more important package. + + -- Kenshi Muto Wed, 11 Sep 2002 14:09:45 +0900 + +xjokes (1.0-7) unstable; urgency=low + + * Really modified for Policy 3.2.1.0 (Oops, I must read it more carefully...) + Thanks Watson. (closes: Bug#82784, Bug#82786) + + -- Kenshi Muto Fri, 19 Jan 2001 19:46:36 +0900 + +xjokes (1.0-6) unstable; urgency=low + + * Applied TrueColor patch. Thanks Bill. (closes: Bug#81925) + * Compiled with glibc 2.2 and X 4.0. + * Modified for Policy 3.2.1.0. + + -- Kenshi Muto Tue, 16 Jan 2001 21:51:02 +0900 + +xjokes (1.0-5) unstable; urgency=low + + * Fixed source missing. + + -- Kenshi Muto Mon, 30 Aug 1999 10:14:52 +0900 + +xjokes (1.0-4) unstable; urgency=low + + * Initial official release for Debian Project. + + -- Kenshi Muto Mon, 23 Aug 1999 11:27:07 +0900 + +xjokes (1.0-3) frozen-jp; urgency=low + + * Fixed lintian check errors. + * Fixed Bug#JP/365. + + -- Masahiro TANAKA Thu, 11 Jun 1998 02:37:00 +0900 + +xjokes (1.0-2) hamm-jp; urgency=low + + * hamm Release. + + -- Masahiro TANAKA Sat, 8 Nov 1997 22:29:18 +0900 + +xjokes (1.0-1) unstable; urgency=low + + * Initial Release. + + -- Masahiro TANAKA Tue, 14 Oct 1997 02:59:37 +0900 + +Local variables: +mode: debian-changelog +add-log-mailing-address: "tanaka@debian.or.jp" +End: --- xjokes-1.0.orig/debian/control +++ xjokes-1.0/debian/control @@ -0,0 +1,12 @@ +Source: xjokes +Section: games +Priority: optional +Maintainer: Debian QA Group +Build-Depends: debhelper (>= 4.0.0), libx11-dev +Standards-Version: 3.6.2 + +Package: xjokes +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: X11 jokes + xjokes contains 4 small funny program; yasiti, blackhole, mori1, and mori2. --- xjokes-1.0.orig/debian/compat +++ xjokes-1.0/debian/compat @@ -0,0 +1 @@ +4 --- xjokes-1.0.orig/debian/dirs +++ xjokes-1.0/debian/dirs @@ -0,0 +1,2 @@ +usr/games +usr/share/man/man6 --- xjokes-1.0.orig/debian/rules +++ xjokes-1.0/debian/rules @@ -0,0 +1,102 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + + + + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +configure: configure-stamp +configure-stamp: + dh_testdir + # Add here commands to configure the package. + + touch configure-stamp + + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + + # Add here commands to compile the package. + $(MAKE) + #docbook-to-man debian/xjokes.sgml > xjokes.1 + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + # Add here commands to clean up after the build process. + -$(MAKE) clean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/xjokes. + #$(MAKE) install DESTDIR=$(CURDIR)/debian/xjokes + install -o root -g root yasiti blackhole mori1 mori2 $(CURDIR)/debian/xjokes/usr/games + ln -s blackhole.6.gz $(CURDIR)/debian/xjokes/usr/share/man/man6/yasiti.6.gz + ln -s blackhole.6.gz $(CURDIR)/debian/xjokes/usr/share/man/man6/mori1.6.gz + ln -s blackhole.6.gz $(CURDIR)/debian/xjokes/usr/share/man/man6/mori2.6.gz + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installexamples +# dh_install +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_installinit +# dh_installcron +# dh_installinfo + dh_installman debian/blackhole.6 + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_perl +# dh_python +# dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- xjokes-1.0.orig/debian/copyright.jp +++ xjokes-1.0/debian/copyright.jp @@ -0,0 +1,24 @@ +This package was debianized by Kenshi Muto kmuto@debian.org on +Mon, 23 Aug 1999 10:57:40 +0900. + +It was downloaded from + ftp://stardust.sfc.wide.ad.jp/pub/JG/sources/xjokes.tar.Z + +Copyright: + +meltdown に影響されて作ったプログラムです。 + +4つの独立したプログラムから構成されています。簡単なプロフィールなど + + yasiti : ブラックホールのつもりが風車に見える + blackhole : 内輪では、一番評判がいい + mori1 : 見た人を呆れさせたかった + mori2 : ビットマップを大きくしろとの要望に答えて + +手抜きの Makefile をつけておきましたので、コンパイル実行して下さい。 + +配布・改造 問答無用、好きにして下さい。楽しんでいたたければ幸いです。 + ^^^^^^^^ + +日本たばこ産業株式会社 生産技術開発センター +古谷 努 E-mail : furuya@joyful1.jtim.snet.or.jp --- xjokes-1.0.orig/debian/copyright +++ xjokes-1.0/debian/copyright @@ -0,0 +1,28 @@ +This package was debianized by Kenshi Muto kmuto@debian.org on +Mon, 23 Aug 1999 10:57:40 +0900. + +It was downloaded from + ftp://stardust.sfc.wide.ad.jp/pub/JG/sources/xjokes.tar.Z + +Copyright: + +This program inspirated by meltdown. + +This package contains four unique programs. +Profile: + + yasiti : Blackhole or windmill. + blackhole : This program has good reputation on my friends. + mori1 : I want everyone amaze. + mori2 : This is same as mori1, but bitmap is more large. + +I added roughly Makefile,so you can compile this and run. + +License: +You can distribute and modify this without any permission.Enjoy this. + +Japan Tabako Co.,Ltd. +Tsutomu Hurutani E-mail: furuya@joyful1.jtim.snet.or.jp + +This file translated by Kenshi Muto +See also original file copyright.jp. --- xjokes-1.0.orig/debian/docs +++ xjokes-1.0/debian/docs @@ -0,0 +1 @@ +debian/copyright.jp --- xjokes-1.0.orig/debian/blackhole.6 +++ xjokes-1.0/debian/blackhole.6 @@ -0,0 +1,30 @@ +.\" Process this file with +.\" groff -man -Tascii blackhole.6 +.\" +.TH "blackhole" 6 +.SH NAME +blackhole, mori1, mori2, yasiti \- draws funny things on an XDisplay +.SH SYNOPSIS +.B blackhole +[-display ] +.SH DESCRIPTION +.TP +.B blackhole +produces an animated zoom-out effect on a display. The display will be restored afterwards. +.TP +.B mori1 +tiles a display with the face of a girl winking at you. The display will be restored afterwards. +.TP +.B mori2 +displays the face of a girl winking at you. The display will be restored afterwards. +.TP +.B yasiti +displays a rotating black object at the center of the screen. The display will be restored afterwards. +.SH OPTIONS +.TP +.B \-display displayname +With this argument you can determine on which display the programs should draw. By default, the display specified by the DISPLAY environment variable is used. +.SH "SEE ALSO" +.BR X (7) +.SH AUTHOR +This manual page was written by Timo Schneider , for the Debian project (but may be used by others).