summaryrefslogtreecommitdiff
path: root/dev-games/KXL
diff options
context:
space:
mode:
Diffstat (limited to 'dev-games/KXL')
-rw-r--r--dev-games/KXL/KXL-1.1.7-r2.ebuild33
-rw-r--r--dev-games/KXL/Manifest7
-rw-r--r--dev-games/KXL/files/KXL-1.1.7-amd64.patch95
-rw-r--r--dev-games/KXL/files/KXL-1.1.7-as-needed.patch8
-rw-r--r--dev-games/KXL/files/KXL-1.1.7-ldflags.patch10
-rw-r--r--dev-games/KXL/files/KXL-1.1.7-m4.patch9
-rw-r--r--dev-games/KXL/metadata.xml22
7 files changed, 0 insertions, 184 deletions
diff --git a/dev-games/KXL/KXL-1.1.7-r2.ebuild b/dev-games/KXL/KXL-1.1.7-r2.ebuild
deleted file mode 100644
index fc453d84b946..000000000000
--- a/dev-games/KXL/KXL-1.1.7-r2.ebuild
+++ /dev/null
@@ -1,33 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit eutils autotools
-
-DESCRIPTION="Development Library for making games for X"
-HOMEPAGE="http://kxl.orz.hm/"
-SRC_URI="http://kxl.hn.org/download/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="static-libs"
-
-DEPEND="x11-libs/libX11"
-
-src_prepare() {
- epatch "${FILESDIR}"/${P}-m4.patch \
- "${FILESDIR}"/${P}-amd64.patch \
- "${FILESDIR}"/${P}-as-needed.patch \
- "${FILESDIR}"/${P}-ldflags.patch
- eautoreconf
-}
-
-src_configure() {
- econf $(use_enable static-libs static)
-}
-
-src_install() {
- default
- use static-libs || prune_libtool_files
-}
diff --git a/dev-games/KXL/Manifest b/dev-games/KXL/Manifest
deleted file mode 100644
index afbda738e888..000000000000
--- a/dev-games/KXL/Manifest
+++ /dev/null
@@ -1,7 +0,0 @@
-AUX KXL-1.1.7-amd64.patch 3207 BLAKE2B f215b32c48c60ed58da3064097bde7b00dc0d7e8df4690ac921da9be46527ef8cc5e2c807ce1b872b531ad1dded9efd6b9759fb919c5ac3bd1b91a7e700bcc19 SHA512 756cd90aca9c6ac1c9ac2c9229b8ae2904315fe29e59b842d963b72b2004c088f5b526ac00b97ed61763001a5e79f0e435c043ae54f4022ea392367a8f0c8142
-AUX KXL-1.1.7-as-needed.patch 308 BLAKE2B 7a07c561f300f3f58bc3e06f9bf6416b58432d14fa819c0f2885fb5e169ec949315094b6a1b94896811bc813beee7960344031f4111ccb5ec1e0318f534333f1 SHA512 8494ce4f631b82e798a0e4364252d35645544ed417bec11c5c7b6dcb179b5182187166f37562d6b40e393081112bb4d0787f8140464763b1482464c04fb9fd44
-AUX KXL-1.1.7-ldflags.patch 234 BLAKE2B f1cbe9b75b12b2d37911ec2a957b7624c679e6fcfb92e2db935ebed379aa0c7e7da7f0cb81a337295a48d7b75f4c4fe55c20f8b4efb1577ef59161b1e1942ac3 SHA512 b051fff9db4b353ad29479b3a08d2aadb49230800589337f13f34e4490330d1b683a42c2bdbac02dcbe0016e9755939e5f4a538167284011ad97502977d397a3
-AUX KXL-1.1.7-m4.patch 221 BLAKE2B bc3a010136208abe90ec266273580650214eb03a91308e1edc795ca71e86ecfeb22131552ec78c2c1e52ccf269b16331e28abc6eca04a0ff03ed0b5ddbb466ca SHA512 b9a0b71474c43cec838ab6fdadd183a80d409d935bc7b65a61cf87d2b777ef5b51cf86469aa8a0040d15a64b1a008ebd3eb9b1d0dc9e4e86160bda92612f2b6a
-DIST KXL-1.1.7.tar.gz 192070 BLAKE2B 7f5256afaffe94cd5f6551d8f53b43e2d9512cf94dfaebb123205b55d83d4645e226bbed62bf5f0da909104d4e33d1da60c7e08c0ee527087a4793c79c117df2 SHA512 f3a9051b0e8916745725a2809097df07c59f8811f336574def7e479c992175d0bd49661817f9da35d122d291aff0bde5d4c27e5b17a3f09878e71b2c7a709adb
-EBUILD KXL-1.1.7-r2.ebuild 677 BLAKE2B ce8d3ba64e3ffc2754eb2f5718b2e0b99ad9e9b6fea726d78c1f3c0830c0dfb63c18b30964e0414315050fd4ad6d281f87b9244c28143a902a44143ed55c0855 SHA512 83084dcf781122e7555195bb0b900c84f5121786214aeb701a1dce493746143813e0ca92a02a8f463b5278f0213fa2ca12830a70774af2568bfe79e27127719e
-MISC metadata.xml 677 BLAKE2B 7a7bed86880706ee5ed39121c002f35d410e2cd13ab316bf59be425318d15eca661f6d1c1be602ccc59e7fd5500322f60be9bd14865c0abb01e1b111a1f9d731 SHA512 c0bdd55e9cce88c16b4ac1cc71f30fd89e9341956d87de5e70eae786d9a71b675af94052149ee77e0b18b385a6f96dfa999f821c0177788e94de01f626a5a36f
diff --git a/dev-games/KXL/files/KXL-1.1.7-amd64.patch b/dev-games/KXL/files/KXL-1.1.7-amd64.patch
deleted file mode 100644
index ec4b141d2a3e..000000000000
--- a/dev-games/KXL/files/KXL-1.1.7-amd64.patch
+++ /dev/null
@@ -1,95 +0,0 @@
---- src/KXLsound.c.old 2007-05-13 21:59:27.000000000 +0200
-+++ src/KXLsound.c 2007-05-13 22:09:19.000000000 +0200
-@@ -4,6 +4,9 @@
- #include <sys/ioctl.h>
- #include <sys/time.h>
- #include <linux/soundcard.h>
-+#include <stdlib.h>
-+#include <errno.h>
-+#include <string.h>
- #include "KXL.h"
-
- #define MIN(a, b) (((a) < (b)) ? (a) : (b))
-@@ -22,7 +24,7 @@
- struct {
- Uint16 ListCnt;
- Sint32 ID;
-- Sint32 Pipe[2];
-+ int Pipe[2];
- Sint32 Device;
- Uint16 PlayCnt;
- KXL_SoundControl PlaySound[MAX_SOUNDS_PLAYING];
-@@ -242,11 +244,19 @@
- KXL_SoundOk = False;
-
- KXL_LoadSoundData(path, fname);
-- // device check
-- if ((KXL_SoundData.Device = open("/dev/dsp", O_WRONLY)) == -1) {
-- fprintf(stderr, "KXL error message\nnot found sound card\n");
-+ // Open the sound device in non-blocking mode, because ALSA's OSS
-+ // emulation and some broken OSS drivers would make a blocking call
-+ // wait forever until the device is available. Since this breaks the
-+ // OSS spec, we immediately put it back to blocking mode if the
-+ // operation was successful.
-+ KXL_SoundData.Device = open("/dev/dsp", O_WRONLY|O_NDELAY);
-+ if (KXL_SoundData.Device < 0) {
-+ fprintf(stderr, "KXL error message\ncould not open sound card (%s)\n",
-+ strerror(errno));
- return;
- }
-+ fcntl( KXL_SoundData.Device, F_SETFL,
-+ fcntl( KXL_SoundData.Device, F_GETFL ) &~ FNDELAY );
- // create pipe
- if (pipe(KXL_SoundData.Pipe) < 0) {
- fprintf(stderr, "KXL error message\npipe error\n");
---- src/KXL.h.old 2007-05-13 22:25:11.000000000 +0200
-+++ src/KXL.h 2007-05-13 22:25:47.000000000 +0200
-@@ -205,6 +205,7 @@
- KXL_Frame *Frame; // Pointer of frame structure
- GC FontGC; // GC of font
- XFontStruct *WinFont; // Pointer of font structrue
-+ Bool DetectAutoRepeat; // Does the server have detectable auto repeat
- } KXL_Window;
- // RGBE palette
- typedef struct {
---- src/KXLimage.c.old 2007-05-13 22:29:02.000000000 +0200
-+++ src/KXLimage.c 2007-05-13 22:29:33.000000000 +0200
-@@ -1,4 +1,5 @@
- #include <stdio.h>
-+#include <stdlib.h>
- #include "KXL.h"
-
- extern KXL_Window *KXL_Root;
---- src/KXLvisual.c.old 2007-05-13 22:22:34.000000000 +0200
-+++ src/KXLvisual.c 2007-05-13 22:28:39.000000000 +0200
-@@ -1,4 +1,6 @@
- #include <stdio.h>
-+#include <stdlib.h>
-+#include <string.h>
- #include "KXL.h"
-
- //================================================================
-@@ -364,7 +366,11 @@
- KXL_ReSizeFrame(w, h);
- KXL_Clear_Frame(0, 0, w, h);
- // Auto repeat off
-- XAutoRepeatOff(KXL_Root->Display);
-+ XkbSetDetectableAutoRepeat(KXL_Root->Display, True,
-+ &KXL_Root->DetectAutoRepeat);
-+ if(!KXL_Root->DetectAutoRepeat) {
-+ XAutoRepeatOff(KXL_Root->Display);
-+ }
- }
-
- //==============================================================
-@@ -377,7 +383,9 @@
- XFreeGC(KXL_Root->Display, KXL_Root->Frame->Gc);
- KXL_Free(KXL_Root->Frame);
- // Auto repeat on
-- XAutoRepeatOn(KXL_Root->Display);
-+ if(!KXL_Root->DetectAutoRepeat) {
-+ XAutoRepeatOn(KXL_Root->Display);
-+ }
- // Delete font
- XFreeGC(KXL_Root->Display, KXL_Root->FontGC);
- // Delete window
diff --git a/dev-games/KXL/files/KXL-1.1.7-as-needed.patch b/dev-games/KXL/files/KXL-1.1.7-as-needed.patch
deleted file mode 100644
index d99564202ecd..000000000000
--- a/dev-games/KXL/files/KXL-1.1.7-as-needed.patch
+++ /dev/null
@@ -1,8 +0,0 @@
---- src/Makefile.am.old 2009-01-28 16:03:27.000000000 +0100
-+++ src/Makefile.am 2009-01-28 16:03:47.000000000 +0100
-@@ -2,3 +2,4 @@
- libKXL_la_SOURCES = KXLmisc.c KXLsound.c KXLjoystick.c KXLvisual.c KXLimage.c
- include_HEADERS = KXL.h
- libKXL_la_LDFLAGS = -release $(VERSION)
-+libKXL_la_LIBADD = -lX11
-
diff --git a/dev-games/KXL/files/KXL-1.1.7-ldflags.patch b/dev-games/KXL/files/KXL-1.1.7-ldflags.patch
deleted file mode 100644
index e628b5d2170f..000000000000
--- a/dev-games/KXL/files/KXL-1.1.7-ldflags.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- KXL.m4.old 2010-09-23 14:20:45.000000000 +0200
-+++ KXL.m4 2010-09-23 14:21:08.000000000 +0200
-@@ -29,7 +29,6 @@
-
- dnl add the KXL library
- KXL_LIBS="$KXL_LIBS -lKXL"
--LDFLAGS="$KXL_LIBS"
- AC_MSG_RESULT($KXL_LIBS)
-
- AC_PATH_XTRA
diff --git a/dev-games/KXL/files/KXL-1.1.7-m4.patch b/dev-games/KXL/files/KXL-1.1.7-m4.patch
deleted file mode 100644
index f039974e6f98..000000000000
--- a/dev-games/KXL/files/KXL-1.1.7-m4.patch
+++ /dev/null
@@ -1,9 +0,0 @@
-Get rid of aclocal warning:
-/usr/share/aclocal/KXL.m4:6: warning: underquoted definition of AM_PATH_KXL
---- KXL-1.1.7/KXL.m4
-+++ KXL-1.1.7/KXL.m4
-@@ -5,3 +5,3 @@
- dnl
--AC_DEFUN(AM_PATH_KXL,
-+AC_DEFUN([AM_PATH_KXL],
- [dnl
diff --git a/dev-games/KXL/metadata.xml b/dev-games/KXL/metadata.xml
deleted file mode 100644
index a580c9cfe304..000000000000
--- a/dev-games/KXL/metadata.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<maintainer type="project">
- <email>games@gentoo.org</email>
- <name>Gentoo Games Project</name>
-</maintainer>
-<longdescription>
-KXL is the library developed for the purpose of the ability to develop a
-game easily on X Window System of Linux.
-
-KXL is the composition of the window of one sheet, and the frame buffer
-of one sheet.
-
-KXL corresponds to reading of a bitmap picture, and offers a still
-simple drawing function and a wave sound function.
-
-KXL is written only using xlib.
-
-KXL is written by the C language.
-</longdescription>
-</pkgmetadata>