summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2003-08-03 13:00:43 +0000
committerMartin Schlemmer <azarah@gentoo.org>2003-08-03 13:00:43 +0000
commit0e154326a14eb10ea0ffccba178a02376dce5a5a (patch)
tree2b0af0f8a4b27de4cbae595a680d61fecdbd5432 /media-libs
parentInitial import, fixes bug #23288. (diff)
downloadgentoo-2-0e154326a14eb10ea0ffccba178a02376dce5a5a.tar.gz
gentoo-2-0e154326a14eb10ea0ffccba178a02376dce5a5a.tar.bz2
gentoo-2-0e154326a14eb10ea0ffccba178a02376dce5a5a.zip
remove temp stuff from 2.6 patch; clean old builds
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/svgalib/ChangeLog6
-rw-r--r--media-libs/svgalib/Manifest14
-rw-r--r--media-libs/svgalib/files/digest-svgalib-1.4.3-r31
-rw-r--r--media-libs/svgalib/files/digest-svgalib-1.9.161
-rw-r--r--media-libs/svgalib/files/digest-svgalib-1.9.171
-rw-r--r--media-libs/svgalib/files/digest-svgalib-1.9.17-r11
-rw-r--r--media-libs/svgalib/files/svgalib-1.9.16-gentoo.diff292
-rw-r--r--media-libs/svgalib/files/svgalib-1.9.17-kernel25.patch30
-rw-r--r--media-libs/svgalib/files/svgalib-1.9.17-linux2.6.patch405
-rw-r--r--media-libs/svgalib/svgalib-1.4.3-r3.ebuild77
-rw-r--r--media-libs/svgalib/svgalib-1.9.16.ebuild87
-rw-r--r--media-libs/svgalib/svgalib-1.9.17-r1.ebuild135
-rw-r--r--media-libs/svgalib/svgalib-1.9.17.ebuild88
13 files changed, 69 insertions, 1069 deletions
diff --git a/media-libs/svgalib/ChangeLog b/media-libs/svgalib/ChangeLog
index 5b3dec6e8b2b..9efd95d2d063 100644
--- a/media-libs/svgalib/ChangeLog
+++ b/media-libs/svgalib/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-libs/svgalib
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/svgalib/ChangeLog,v 1.15 2003/08/03 12:32:01 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/svgalib/ChangeLog,v 1.16 2003/08/03 12:58:58 azarah Exp $
+
+ 03 Aug 2003; Martin Schlemmer <azarah@gentoo.org>
+ files/svgalib-1.9.17-linux2.6.patch:
+ Cleanup linux-2.6 patch to not contain temp files.
*svgalib-1.9.17-r2 (03 Aug 2003)
diff --git a/media-libs/svgalib/Manifest b/media-libs/svgalib/Manifest
index d82a7a52e628..c0ab4caf56c0 100644
--- a/media-libs/svgalib/Manifest
+++ b/media-libs/svgalib/Manifest
@@ -1,19 +1,9 @@
-MD5 3af9fc60d97e2b52ace37d79171b16b0 ChangeLog 2592
-MD5 00b7f6601d4ab8d1ea0e1844e2ef3614 svgalib-1.4.3-r3.ebuild 1987
+MD5 e21c783dcb613243234462183d70dc53 ChangeLog 2737
MD5 36f034f0cd418b0a084cef2e4804fdfd svgalib-1.4.3-r4.ebuild 2344
-MD5 1cf052c4f64fa573030429d8ee982b68 svgalib-1.9.16.ebuild 2440
-MD5 9eaa078f8ca1c6088a5fac17c1c1e9ab svgalib-1.9.17.ebuild 2442
-MD5 89f0c669ee04b8d2890b89e9042139a3 svgalib-1.9.17-r1.ebuild 3538
MD5 44300c1c75e22669d7ea5028d4a73edb svgalib-1.9.17-r2.ebuild 2705
-MD5 74413285b5e0e4df477b9aaf1451cc24 files/svgalib-1.9.17-kernel25.patch 1069
MD5 c2977469108170b5851b7706829ad646 files/svgalib-1.9.17-gentoo.patch 11536
-MD5 85ff750e0c090adfb266e764aa9a0ade files/digest-svgalib-1.4.3-r3 65
-MD5 f1acb2f2beb3bf1471561dc7e4635882 files/digest-svgalib-1.9.16 66
MD5 19b74fedfd6953bd3537a803abecc4d3 files/svgalib-1.4.3-gentoo.diff 10364
-MD5 0f4ac3c77b1af140a4ca924b35506709 files/svgalib-1.9.16-gentoo.diff 10729
MD5 e4ead3e3192f5a945ff177331122d7ae files/digest-svgalib-1.9.17-r2 66
-MD5 e4ead3e3192f5a945ff177331122d7ae files/digest-svgalib-1.9.17-r1 66
-MD5 e4ead3e3192f5a945ff177331122d7ae files/digest-svgalib-1.9.17 66
MD5 939b8bf99fcf4fccef7d92377df90dc2 files/digest-svgalib-1.4.3-r4 115
MD5 c4b69ccaea188c0ee4b32111b769ae6d files/svgalib-1.4.3-userpriv.patch 1267
-MD5 a21c78045ea645454c1ad8ae1b7193cb files/svgalib-1.9.17-linux2.6.patch 39246
+MD5 0d83597b775f3ce3fe5162391da4e4a2 files/svgalib-1.9.17-linux2.6.patch 20281
diff --git a/media-libs/svgalib/files/digest-svgalib-1.4.3-r3 b/media-libs/svgalib/files/digest-svgalib-1.4.3-r3
deleted file mode 100644
index 0d27a405e4c3..000000000000
--- a/media-libs/svgalib/files/digest-svgalib-1.4.3-r3
+++ /dev/null
@@ -1 +0,0 @@
-MD5 7d2778e3beebc07dd7c74668f6887c6f svgalib-1.4.3.tar.gz 840282
diff --git a/media-libs/svgalib/files/digest-svgalib-1.9.16 b/media-libs/svgalib/files/digest-svgalib-1.9.16
deleted file mode 100644
index 415de115101f..000000000000
--- a/media-libs/svgalib/files/digest-svgalib-1.9.16
+++ /dev/null
@@ -1 +0,0 @@
-MD5 1014dffa9610bf5e04bdf2aa2f160253 svgalib-1.9.16.tar.gz 923184
diff --git a/media-libs/svgalib/files/digest-svgalib-1.9.17 b/media-libs/svgalib/files/digest-svgalib-1.9.17
deleted file mode 100644
index c9f9b62846dc..000000000000
--- a/media-libs/svgalib/files/digest-svgalib-1.9.17
+++ /dev/null
@@ -1 +0,0 @@
-MD5 e1599bb3222899d39ce1a2af36670a98 svgalib-1.9.17.tar.gz 921750
diff --git a/media-libs/svgalib/files/digest-svgalib-1.9.17-r1 b/media-libs/svgalib/files/digest-svgalib-1.9.17-r1
deleted file mode 100644
index c9f9b62846dc..000000000000
--- a/media-libs/svgalib/files/digest-svgalib-1.9.17-r1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 e1599bb3222899d39ce1a2af36670a98 svgalib-1.9.17.tar.gz 921750
diff --git a/media-libs/svgalib/files/svgalib-1.9.16-gentoo.diff b/media-libs/svgalib/files/svgalib-1.9.16-gentoo.diff
deleted file mode 100644
index 89b98b5f3506..000000000000
--- a/media-libs/svgalib/files/svgalib-1.9.16-gentoo.diff
+++ /dev/null
@@ -1,292 +0,0 @@
-diff -urN svgalib-1.9.16.orig/kernel/svgalib_helper/Makefile svgalib-1.9.16/kernel/svgalib_helper/Makefile
---- svgalib-1.9.16.orig/kernel/svgalib_helper/Makefile Tue Jul 23 11:45:03 2002
-+++ svgalib-1.9.16/kernel/svgalib_helper/Makefile Sun Sep 15 20:40:29 2002
-@@ -30,8 +30,8 @@
- install: device modules_install
-
- modules_install: $(TARGET).o
-- mkdir -p /lib/modules/$(VER)/kernel/misc
-- install -c $(TARGET).o /lib/modules/$(VER)/misc
-+ mkdir -p $(TOPDIR)/lib/modules/$(VER)/misc
-+ install -c $(TARGET).o $(TOPDIR)/lib/modules/$(VER)/misc
-
- device:
- rm -f /dev/svgalib_helper* /dev/svga /dev/svga?
-diff -urN svgalib-1.9.16.orig/Makefile svgalib-1.9.16/Makefile
---- svgalib-1.9.16.orig/Makefile Sat Jun 15 10:53:52 2002
-+++ svgalib-1.9.16/Makefile Sun Sep 15 20:39:50 2002
-@@ -78,10 +78,10 @@
-
- installheaders:
- @echo Installing header files in $(includedir).
-- @if [ -f /usr/include/vga.h ]; then \
-- rm -f /usr/include/vga.h /usr/include/vgagl.h; \
-- echo Old header files in /usr/include removed.; \
-- fi
-+# @if [ -f /usr/include/vga.h ]; then \
-+# rm -f /usr/include/vga.h /usr/include/vgagl.h; \
-+# echo Old header files in /usr/include removed.; \
-+# fi
- @mkdir -p $(includedir)
- @cp $(srcdir)/src/vga.h $(includedir)/vga.h
- @chmod a+r $(includedir)/vga.h
-@@ -95,10 +95,10 @@
- @chmod a+r $(includedir)/vgakeyboard.h
-
- installsharedlib: $(SHAREDLIBS) $(SVGALIBSHAREDSTUBS)
-- @if [ -f /usr/lib/libvga.sa ]; then \
-- rm -f /usr/lib/libvga.sa /usr/lib/libvgagl.sa; \
-- echo Old stubs in /usr/lib removed.; \
-- fi
-+# @if [ -f /usr/lib/libvga.sa ]; then \
-+# rm -f /usr/lib/libvga.sa /usr/lib/libvgagl.sa; \
-+# echo Old stubs in /usr/lib removed.; \
-+# fi
- ifndef KEEPSHAREDLIBS
- @echo "Removing shared library images (old & current)..."
- @for i in $(OBSOLETELDIRS); do \
-@@ -112,15 +112,15 @@
- (cd $(sharedlibdir); \
- ln -sf $$foo `echo $$foo | sed 's/\.so\..*/.so/'` ); \
- done
-- @./fixldsoconf
-- @ldconfig
-+# @./fixldsoconf
-+# @ldconfig
-
- installstaticlib: static
- @echo Installing static libraries in $(libdir).
-- @rm -f /usr/lib/libvga.a
-+# @rm -f /usr/lib/libvga.a
- @$(INSTALL_DATA) staticlib/libvga.a $(libdir)/libvga.a
- @chmod a+r $(libdir)/libvga.a
-- @rm -f /usr/lib/libvgagl.a
-+# @rm -f /usr/lib/libvgagl.a
- @$(INSTALL_DATA) staticlib/libvgagl.a $(libdir)/libvgagl.a
- @chmod a+r $(libdir)/libvgagl.a
-
-@@ -129,14 +129,14 @@
- echo No $(bindir) directory, creating it.; \
- mkdir $(bindir); \
- fi
-- @if [ -f /usr/bin/restorefont ]; then \
-- echo Removing old utilities in /usr/bin.; \
-- for x in $(UTILS); do rm -f /usr/bin/$$x; done; \
-- fi
-- @if [ -f /usr/bin/convfont ]; then \
-- echo Removing inappropriate utilities in /usr/bin.; \
-- rm -f /usr/bin/convfont /usr/bin/setmclk; \
-- fi
-+# @if [ -f /usr/bin/restorefont ]; then \
-+# echo Removing old utilities in /usr/bin.; \
-+# for x in $(UTILS); do rm -f /usr/bin/$$x; done; \
-+# fi
-+# @if [ -f /usr/bin/convfont ]; then \
-+# echo Removing inappropriate utilities in /usr/bin.; \
-+# rm -f /usr/bin/convfont /usr/bin/setmclk; \
-+# fi
- @echo Installing textmode utilities in $(bindir):
- @echo "restorefont: Save/restore textmode font."
- @cp utils/restorefont $(bindir)
-@@ -162,22 +162,22 @@
- mkdir $(datadir); \
- chmod go-w $(datadir); \
- fi
-- @if [ \( -f /usr/local/lib/libvga.config -a ! -f $(datadir)/libvga.config \) ]; then \
-- echo "Moving old config file /usr/local/lib/libvga.config to $(datadir)." ; \
-- mv -f /usr/local/lib/libvga.config $(datadir)/libvga.config; \
-- fi
-- @if [ \( -f /usr/local/lib/libvga.et4000 -a ! -f $(datadir)/libvga.et4000 \) ]; then \
-- echo "Moving old config file /usr/local/lib/libvga.et4000 to $(datadir)." ; \
-- mv -f /usr/local/lib/libvga.et4000 $(datadir)/libvga.et4000; \
-- fi
-- @if [ \( -f /usr/local/lib/libvga.ega -a ! -f $(datadir)/libvga.ega \) ]; then \
-- echo "Moving old config file /usr/local/lib/libvga.ega to $(datadir)." ; \
-- mv -f /usr/local/lib/libvga.ega $(datadir)/libvga.ega; \
-- fi
-- @if [ \( -f /etc/mach32.eeprom -a ! -f $(datadir)/mach32.eeprom \) ]; then \
-- echo Consider moving your /etc/mach32.eeprom file to $(datadir) ; \
-- echo and changing $(datadir)/libvga.config appropriately. ; \
-- fi
-+# @if [ \( -f /usr/local/lib/libvga.config -a ! -f $(datadir)/libvga.config \) ]; then \
-+# echo "Moving old config file /usr/local/lib/libvga.config to $(datadir)." ; \
-+# mv -f /usr/local/lib/libvga.config $(datadir)/libvga.config; \
-+# fi
-+# @if [ \( -f /usr/local/lib/libvga.et4000 -a ! -f $(datadir)/libvga.et4000 \) ]; then \
-+# echo "Moving old config file /usr/local/lib/libvga.et4000 to $(datadir)." ; \
-+# mv -f /usr/local/lib/libvga.et4000 $(datadir)/libvga.et4000; \
-+# fi
-+# @if [ \( -f /usr/local/lib/libvga.ega -a ! -f $(datadir)/libvga.ega \) ]; then \
-+# echo "Moving old config file /usr/local/lib/libvga.ega to $(datadir)." ; \
-+# mv -f /usr/local/lib/libvga.ega $(datadir)/libvga.ega; \
-+# fi
-+# @if [ \( -f /etc/mach32.eeprom -a ! -f $(datadir)/mach32.eeprom \) ]; then \
-+# echo Consider moving your /etc/mach32.eeprom file to $(datadir) ; \
-+# echo and changing $(datadir)/libvga.config appropriately. ; \
-+# fi
- @if [ ! -f $(datadir)/libvga.config ]; then \
- echo Installing default configuration file in $(datadir).; \
- cp $(confdir)/libvga.config $(datadir)/libvga.config; \
-@@ -207,8 +207,8 @@
- lib3dkit-install:
- (cd threeDKit/; $(MAKE) install)
-
--install: uninstall installheaders $(INSTALLSHAREDLIB) installconfig \
-- $(INSTALLSTATICLIB) $(INSTALLUTILS) $(INSTALLMAN) installmodule $(INSTALLDEV) \
-+install: installheaders $(INSTALLSHAREDLIB) installconfig \
-+ $(INSTALLSTATICLIB) $(INSTALLUTILS) $(INSTALLMAN) installmodule \
- lib3dkit-install
- @echo
- @echo
-@@ -285,15 +285,23 @@
- @rm -f sharedlib/DISTRIBUTION
- (cd $(dir $@); \
- $(MAKE) -f $(srcdir)/src/Makefile $(notdir $@) \
-- srcdir="$(srcdir)" DLLFLAGS="$(DLLFLAGS)" \
-+ srcdir="$(srcdir)" DLLFLAGS="$(DLLFLAGS)" ; \
-+ ln -sf libvga.so.$(VERSION) libvga.so \
- )
-
--sharedlib/libvgagl.a sharedlib/libvgagl.so.$(VERSION): $(SHAREDDIRS)
-+sharedlib/libvgagl.a: $(SHAREDDIRS)
- (cd $(dir $@); \
- $(MAKE) -f $(srcdir)/gl/Makefile $(notdir $@) \
- srcdir="$(srcdir)" DLLFLAGS="$(DLLFLAGS)" \
- )
-
-+sharedlib/libvgagl.so.$(VERSION): $(SHAREDDIRS)
-+ (cd $(dir $@); \
-+ $(MAKE) -f $(srcdir)/gl/Makefile $(notdir $@) \
-+ srcdir="$(srcdir)" DLLFLAGS="$(DLLFLAGS)" ; \
-+ ln -sf libvgagl.so.$(VERSION) libvgagl.so \
-+ )
-+
- demoprogs: $(PREDEMO) $(DEMODIRS)
- @for dir in $(DEMODIRS); do \
- if [ -d $(srcdir)/$$dir ]; then \
-diff -urN svgalib-1.9.16.orig/Makefile.cfg svgalib-1.9.16/Makefile.cfg
---- svgalib-1.9.16.orig/Makefile.cfg Thu Jul 25 14:25:01 2002
-+++ svgalib-1.9.16/Makefile.cfg Sun Sep 15 20:39:50 2002
-@@ -35,7 +35,7 @@
- # Common prefix for installation directories.
- # NOTE: This directory must exist when you start the install.
- TOPDIR=
--prefix = $(TOPDIR)/usr/local
-+prefix = $(TOPDIR)/usr
- exec_prefix = $(prefix)
-
- # Directory where the shared stubs and static library will be installed.
-@@ -48,13 +48,13 @@
- bindir = $(exec_prefix)/bin
-
- # Directory where the run-time configuration files will be installed.
--datadir = $(TOPDIR)/etc/vga
-+datadir = $(TOPDIR)/etc/svgalib
-
- # Directory where the header files will be installed.
- includedir = $(prefix)/include
-
- # Directory where the man files will be installed.
--mandir = $(prefix)/man
-+mandir = $(prefix)/share/man
-
- # Target binary format.
- TARGET_FORMAT = elf
-@@ -84,7 +84,7 @@
- # LIBC_MEMCPY = y
-
- # Uncomment this if you want to compile and install the static libs.
--# INSTALLSTATICLIB = installstaticlib
-+INSTALLSTATICLIB = installstaticlib
-
- # Comment this out if you don't want to install the shared libs.
- # If you do not install the shared nor the static libs, 'make static'
-@@ -95,7 +95,7 @@
- # Comment this out if you want to keep old shared images. Old header files,
- # library stubs and static libraries CANNOT be kept in public locations
- # except when you rename them yourself.
--# KEEPSHAREDLIBS = keep
-+KEEPSHAREDLIBS = keep
-
- # Comment this out if you don't want to compile and install the utilities.
- INSTALLUTILS = installutils
-@@ -272,10 +272,8 @@
- endif
-
-
--ifndef CFLAGS
-+ifndef OPTIMIZE
- OPTIMIZE = -fomit-frame-pointer -O2 -fno-strength-reduce -pipe -fPIC
--else
-- OPTIMIZE := $(CFLAGS)
- endif
-
- # You might want to add -m386 here if you have a recently installed
-@@ -284,14 +282,14 @@
- WARN = -Wall -Wstrict-prototypes
- INCLUDES = -I$(srcdir)/include -I.
- CFLAGS = $(WARN) $(DLLFLAGS) $(INCLUDES) $(OPTIMIZE) $(DEFINES)
--LDFLAGS = -s
-+LDFLAGS =
-
- # additional flags for shared lib.
- DLLFLAGS = -fPIC
-
- # Utilites used.
- AR = ar
--INSTALL_PROGRAM = install -c -s -m 755 -o root -g bin
-+INSTALL_PROGRAM = install -c -m 755 -o root -g bin
- INSTALL_SHLIB = install -c -m 755 -o root -g bin
- INSTALL_DATA = install -c -m 644 -o root -g bin
-
-diff -urN svgalib-1.9.16.orig/threeDKit/Makefile svgalib-1.9.16/threeDKit/Makefile
---- svgalib-1.9.16.orig/threeDKit/Makefile Wed Apr 3 09:57:18 2002
-+++ svgalib-1.9.16/threeDKit/Makefile Sun Sep 15 20:39:50 2002
-@@ -14,7 +14,7 @@
- # Compiler Section (overrides Makefile.cfg)
- #----------------------------------------------------------------------
-
--INCLUDES += -I$(srcdir)/src
-+INCLUDES += -I$(srcdir)/src -I$(srcdir)/gl
-
- #----------------------------------------------------------------------
- # Rules Section
-diff -urN svgalib-1.9.16.orig/utils/Makefile svgalib-1.9.16/utils/Makefile
---- svgalib-1.9.16.orig/utils/Makefile Wed Jul 21 18:41:18 1999
-+++ svgalib-1.9.16/utils/Makefile Sun Sep 15 20:39:50 2002
-@@ -13,10 +13,11 @@
- # Compiler Section (overrides Makefile.cfg)
- #----------------------------------------------------------------------
-
--CFLAGS = $(WARN) $(OPTIMIZE) -I../include
-+INCLUDES=-I../include
-+CFLAGS = $(WARN) $(OPTIMIZE) $(INCLUDES)
- #Use the next one for the Alpha/AXP if you need it
- #LDFLAGS = -L../staticlib
--LIBS = -lvga -lm
-+LIBS = -L$(srcdir)/sharedlib -L$(srcdir)/staticlib -lvga -lm
-
- #----------------------------------------------------------------------
- # Rules Section
-@@ -56,7 +57,7 @@
- $(INSTALLPROG) $(UTILPROGS) $(UTILINSTALLDIR)
-
- .depend:
-- gcc -MM $(patsubst %.o,$(srcdir)/utils/%.c,$(OBJECTS)) >.depend
-+ gcc $(INCLUDES) -MM $(patsubst %.o,$(srcdir)/utils/%.c,$(OBJECTS)) >.depend
-
- #
- # include a dependency file if one exists
---- svgalib-1.9.16/src/Makefile.jj 2002-12-13 10:39:52.000000000 +0000
-+++ svgalib-1.9.16/src/Makefile 2002-12-13 10:40:05.000000000 +0000
-@@ -461,10 +461,6 @@
- vga.o: vga.c
- $(CC) $(CFLAGS) $(VGA_DEFINES) -c -o $@ $<
-
--#lrmi must NOT be compiled as -fPIC
--lrmi.o: lrmi.c
-- $(CC) $(CFLAGS:-fPIC=) -c -o $@ $<
--
- $(RAMDAC): %.o: %.c
- $(CC) $(CFLAGS) $(RAMDAC_DEFINES) -c -o $@ $<
-
diff --git a/media-libs/svgalib/files/svgalib-1.9.17-kernel25.patch b/media-libs/svgalib/files/svgalib-1.9.17-kernel25.patch
deleted file mode 100644
index dd4f08df83f5..000000000000
--- a/media-libs/svgalib/files/svgalib-1.9.17-kernel25.patch
+++ /dev/null
@@ -1,30 +0,0 @@
---- svgalib-1.9.17/kernel/svgalib_helper/kernel25compat.h.orig 2002-12-29 19:47:01.000000000 +0200
-+++ svgalib-1.9.17/kernel/svgalib_helper/kernel25compat.h 2002-12-29 19:47:07.000000000 +0200
-@@ -1,4 +1,8 @@
-+#include <linux/version.h>
-+
-+#ifndef minor
- #define minor(x) MINOR(x)
-+#endif
-
- #if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0)
- #define my_remap_page_range(vma, start, ofs, len, prot) remap_page_range(start,ofs,len,prot)
---- svgalib-1.9.17/kernel/svgalib_helper/Makefile.orig 2002-12-31 22:55:42.000000000 +0200
-+++ svgalib-1.9.17/kernel/svgalib_helper/Makefile 2002-12-31 22:56:19.000000000 +0200
-@@ -1,11 +1,11 @@
- include ../../Makefile.cfg
-
--MODVER = $(shell grep CONFIG_MODVERSIONS $(INCLUDEDIR)/linux/autoconf.h)
-+#MODVER = $(shell grep CONFIG_MODVERSIONS $(INCLUDEDIR)/linux/autoconf.h)
-
--ifeq ($(MODVER),)
-- @echo INCLUDEDIR is not set up correctly
-- exit 1
--endif
-+#ifeq ($(MODVER),)
-+# @echo INCLUDEDIR is not set up correctly
-+# exit 1
-+#endif
-
- CFLAGS = -O2 -DLINUX -Dlinux -D__KERNEL__ -DMODULE -Wall $(DEBFLAGS)
- CFLAGS += -I$(INCLUDEDIR)
diff --git a/media-libs/svgalib/files/svgalib-1.9.17-linux2.6.patch b/media-libs/svgalib/files/svgalib-1.9.17-linux2.6.patch
index c975ace8f2fd..31ef2a034692 100644
--- a/media-libs/svgalib/files/svgalib-1.9.17-linux2.6.patch
+++ b/media-libs/svgalib/files/svgalib-1.9.17-linux2.6.patch
@@ -1,7 +1,7 @@
diff -urpwN svgalib-1.9.17/kernel/svgalib_helper/Makefile svgalib-1.9.17.kernel2.6/kernel/svgalib_helper/Makefile
--- svgalib-1.9.17/kernel/svgalib_helper/Makefile 2002-10-28 18:25:47.000000000 +0200
-+++ svgalib-1.9.17.kernel2.6/kernel/svgalib_helper/Makefile 2003-08-03 13:52:47.000000000 +0200
-@@ -1,42 +1,66 @@
++++ svgalib-1.9.17.kernel2.6/kernel/svgalib_helper/Makefile 2003-08-03 14:34:40.000000000 +0200
+@@ -1,45 +1,69 @@
include ../../Makefile.cfg
-MODVER = $(shell grep CONFIG_MODVERSIONS $(INCLUDEDIR)/linux/autoconf.h)
@@ -80,7 +80,11 @@ diff -urpwN svgalib-1.9.17/kernel/svgalib_helper/Makefile svgalib-1.9.17.kernel2
+ install -m 0644 -c $(OBJS) $(TOPDIR)/lib/modules/$(VER)/misc
device:
- rm -f /dev/svgalib_helper* /dev/svga /dev/svga?
+- rm -f /dev/svgalib_helper* /dev/svga /dev/svga?
++ rm -f /dev/svgalib_helper* /dev/svga_helper* /dev/svga /dev/svga?
+ mknod -m 666 /dev/svga c $(SVGALIB_HELPER_MAJOR) 0
+ mknod -m 666 /dev/svga1 c $(SVGALIB_HELPER_MAJOR) 1
+ mknod -m 666 /dev/svga2 c $(SVGALIB_HELPER_MAJOR) 2
@@ -47,7 +71,7 @@ device:
mknod -m 666 /dev/svga4 c $(SVGALIB_HELPER_MAJOR) 4
@@ -90,340 +94,36 @@ diff -urpwN svgalib-1.9.17/kernel/svgalib_helper/Makefile svgalib-1.9.17.kernel2
depend .depend dep:
$(CC) $(CFLAGS) -M *.c > $@
-diff -urpwN svgalib-1.9.17/kernel/svgalib_helper/depend svgalib-1.9.17.kernel2.6/kernel/svgalib_helper/depend
---- svgalib-1.9.17/kernel/svgalib_helper/depend 1970-01-01 02:00:00.000000000 +0200
-+++ svgalib-1.9.17.kernel2.6/kernel/svgalib_helper/depend 2003-08-03 13:53:27.000000000 +0200
-@@ -0,0 +1,324 @@
-+i810.o: i810.c
-+interrupt.o: interrupt.c \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/pci.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/mod_devicetable.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/types.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/config.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/autoconf.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/posix_types.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/stddef.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/posix_types.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/types.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/pci_ids.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/ioport.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/compiler.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/list.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/prefetch.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/processor.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/vm86.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/math_emu.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/sigcontext.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/segment.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/page.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/cpufeature.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/bitops.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/bitops.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/msr.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/system.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/kernel.h \
-+ /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3/include/stdarg.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/linkage.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/linkage.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/byteorder.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/byteorder/little_endian.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/byteorder/swab.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/byteorder/generic.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/bug.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/cache.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/cache.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/threads.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/errno.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/errno.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm-generic/errno.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm-generic/errno-base.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/device.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/kobject.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/sysfs.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/rwsem.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/atomic.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/rwsem.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/spinlock.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/preempt.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/thread_info.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/thread_info.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/stringify.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/spinlock.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/rwlock.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/module.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/sched.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/param.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/capability.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/timex.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/timex.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/time.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/seqlock.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/div64.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/jiffies.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/rbtree.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/semaphore.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/wait.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/ptrace.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/mmu.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/smp.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/smp.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/fixmap.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/acpi.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/apicdef.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/mpspec.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/mpspec_def.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/mach-default/mach_mpspec.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/io_apic.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/apic.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/pm.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/mach-default/mach_apicdef.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/sem.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/ipc.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/ipcbuf.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/sembuf.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/signal.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/signal.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/siginfo.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm-generic/siginfo.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/string.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/string.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/securebits.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/fs_struct.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/completion.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/pid.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/percpu.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/slab.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/gfp.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/mmzone.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/topology.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/topology.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm-generic/topology.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/kmalloc_sizes.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/percpu.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm-generic/percpu.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/param.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/resource.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/resource.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/timer.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/aio.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/workqueue.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/aio_abi.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/current.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/stat.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/stat.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/kmod.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/elf.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/elf.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/user.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/utsname.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/local.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/module.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/pci.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/mm.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/fs.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/limits.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/kdev_t.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/ioctl.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/ioctl.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/dcache.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/rcupdate.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/radix-tree.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/quota.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/dqblk_xfs.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/dqblk_v1.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/dqblk_v2.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/nfs_fs_i.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/nfs.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/sunrpc/msg_prot.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/fcntl.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/fcntl.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/err.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/pgtable.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/pgtable-2level.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/page-flags.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/scatterlist.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/io.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/vmalloc.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm-generic/pci-dma-compat.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/dma-mapping.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/dma-mapping.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm-generic/pci.h \
-+ svgalib_helper.h
-+main.o: main.c /lib/modules/2.6.0-test2-bk2/build/include/linux/config.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/autoconf.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/kernel.h \
-+ /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3/include/stdarg.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/linkage.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/linkage.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/stddef.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/types.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/posix_types.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/posix_types.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/types.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/compiler.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/byteorder.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/byteorder/little_endian.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/byteorder/swab.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/byteorder/generic.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/bug.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/module.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/sched.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/param.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/capability.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/spinlock.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/preempt.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/thread_info.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/bitops.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/bitops.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/thread_info.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/processor.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/vm86.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/math_emu.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/sigcontext.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/segment.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/page.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/cpufeature.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/msr.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/system.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/cache.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/cache.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/threads.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/stringify.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/spinlock.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/atomic.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/rwlock.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/timex.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/timex.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/time.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/seqlock.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/div64.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/jiffies.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/rbtree.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/semaphore.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/wait.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/list.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/prefetch.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/rwsem.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/rwsem.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/ptrace.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/mmu.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/smp.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/smp.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/fixmap.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/acpi.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/apicdef.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/mpspec.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/mpspec_def.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/mach-default/mach_mpspec.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/io_apic.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/apic.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/pm.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/mach-default/mach_apicdef.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/sem.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/ipc.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/ipcbuf.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/sembuf.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/signal.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/signal.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/siginfo.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm-generic/siginfo.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/string.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/string.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/securebits.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/fs_struct.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/completion.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/pid.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/percpu.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/slab.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/gfp.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/mmzone.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/topology.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/topology.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm-generic/topology.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/kmalloc_sizes.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/percpu.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm-generic/percpu.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/param.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/resource.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/resource.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/timer.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/aio.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/workqueue.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/aio_abi.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/current.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/stat.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/stat.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/kmod.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/errno.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/errno.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm-generic/errno.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm-generic/errno-base.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/elf.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/elf.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/user.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/utsname.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/local.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/module.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/fs.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/limits.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/kdev_t.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/ioctl.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/ioctl.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/dcache.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/rcupdate.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/radix-tree.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/kobject.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/sysfs.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/quota.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/dqblk_xfs.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/dqblk_v1.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/dqblk_v2.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/nfs_fs_i.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/nfs.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/sunrpc/msg_prot.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/fcntl.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/fcntl.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/err.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/proc_fs.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/ioport.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/pci.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/mod_devicetable.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/pci_ids.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/device.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/pci.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/mm.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/pgtable.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/pgtable-2level.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/page-flags.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/scatterlist.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/io.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/vmalloc.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm-generic/pci-dma-compat.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/dma-mapping.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/dma-mapping.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm-generic/pci.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/devfs_fs_kernel.h \
-+ kernel25compat.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/version.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/interrupt.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/hardirq.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/irq.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/irq.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/mach-default/irq_vectors.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/hw_irq.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/profile.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/init.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/sections.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm-generic/sections.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/linux/irq_cpustat.h \
-+ /lib/modules/2.6.0-test2-bk2/build/include/asm/uaccess.h \
-+ svgalib_helper.h ../../src/vgaversion.h i810.h interrupt.h
diff -urpwN svgalib-1.9.17/kernel/svgalib_helper/kernel25compat.h svgalib-1.9.17.kernel2.6/kernel/svgalib_helper/kernel25compat.h
--- svgalib-1.9.17/kernel/svgalib_helper/kernel25compat.h 2002-09-10 20:20:13.000000000 +0200
-+++ svgalib-1.9.17.kernel2.6/kernel/svgalib_helper/kernel25compat.h 2003-08-03 11:39:14.000000000 +0200
-@@ -1,9 +1,35 @@
++++ svgalib-1.9.17.kernel2.6/kernel/svgalib_helper/kernel25compat.h 1970-01-01 02:00:00.000000000 +0200
+@@ -1,20 +0,0 @@
+-#define minor(x) MINOR(x)
+-
+-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0)
+-#define my_remap_page_range(vma, start, ofs, len, prot) remap_page_range(start,ofs,len,prot)
+-#else
+-#define my_remap_page_range(vma, start, ofs, len, prot) remap_page_range(vma,start,ofs,len,prot)
+-#endif
+-
+-#ifndef _LINUX_DEVFS_FS_KERNEL_H
+-static inline int devfs_register_chrdev (unsigned int major, const char *name,
+- struct file_operations *fops)
+-{
+- return register_chrdev (major, name, fops);
+-}
+-static inline int devfs_unregister_chrdev (unsigned int major,const char *name)
+-{
+- return unregister_chrdev (major, name);
+-}
+-#endif
+-
+diff -urpwN svgalib-1.9.17/kernel/svgalib_helper/kernel26compat.h svgalib-1.9.17.kernel2.6/kernel/svgalib_helper/kernel26compat.h
+--- svgalib-1.9.17/kernel/svgalib_helper/kernel26compat.h 1970-01-01 02:00:00.000000000 +0200
++++ svgalib-1.9.17.kernel2.6/kernel/svgalib_helper/kernel26compat.h 2003-08-03 14:33:28.000000000 +0200
+@@ -0,0 +1,46 @@
+#ifndef minor
- #define minor(x) MINOR(x)
++#define minor(x) MINOR(x)
+#endif
+
+#ifndef KERNEL_VERSION
@@ -435,19 +135,18 @@ diff -urpwN svgalib-1.9.17/kernel/svgalib_helper/kernel25compat.h svgalib-1.9.17
+# ifdef KERNEL_2_6
+# undef KERNEL_2_6
+# endif
-
--#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0)
- #define my_remap_page_range(vma, start, ofs, len, prot) remap_page_range(start,ofs,len,prot)
++
++#define my_remap_page_range(vma, start, ofs, len, prot) remap_page_range(start,ofs,len,prot)
+
+typedef void irqreturn_t;
+
- #else
++#else
+
+# ifndef KERNEL_2_6
+# define KERNEL_2_6
+# endif
+
- #define my_remap_page_range(vma, start, ofs, len, prot) remap_page_range(vma,start,ofs,len,prot)
++#define my_remap_page_range(vma, start, ofs, len, prot) remap_page_range(vma,start,ofs,len,prot)
+
+#include <linux/interrupt.h>
+
@@ -455,12 +154,23 @@ diff -urpwN svgalib-1.9.17/kernel/svgalib_helper/kernel25compat.h svgalib-1.9.17
+typedef void* devfs_handle_t;
+# endif
+
- #endif
-
- #ifndef _LINUX_DEVFS_FS_KERNEL_H
++#endif
++
++#ifndef _LINUX_DEVFS_FS_KERNEL_H
++static inline int devfs_register_chrdev (unsigned int major, const char *name,
++ struct file_operations *fops)
++{
++ return register_chrdev (major, name, fops);
++}
++static inline int devfs_unregister_chrdev (unsigned int major,const char *name)
++{
++ return unregister_chrdev (major, name);
++}
++#endif
++
diff -urpwN svgalib-1.9.17/kernel/svgalib_helper/main.c svgalib-1.9.17.kernel2.6/kernel/svgalib_helper/main.c
--- svgalib-1.9.17/kernel/svgalib_helper/main.c 2002-09-10 20:20:23.000000000 +0200
-+++ svgalib-1.9.17.kernel2.6/kernel/svgalib_helper/main.c 2003-08-03 13:29:24.000000000 +0200
++++ svgalib-1.9.17.kernel2.6/kernel/svgalib_helper/main.c 2003-08-03 14:35:53.000000000 +0200
@@ -1,6 +1,12 @@
-#include <linux/module.h>
+#include <linux/config.h>
@@ -475,6 +185,15 @@ diff -urpwN svgalib-1.9.17/kernel/svgalib_helper/main.c svgalib-1.9.17.kernel2.6
#include <linux/slab.h> /* kmalloc() */
#include <linux/fs.h> /* everything... */
#include <linux/errno.h> /* error codes */
+@@ -15,7 +21,7 @@
+ #include <linux/sched.h>
+ #include <linux/wait.h>
+
+-#include "kernel25compat.h"
++#include "kernel26compat.h"
+
+ #include <asm/uaccess.h>
+ #include <asm/system.h> /* cli(), *_flags */
@@ -39,7 +45,7 @@ static struct sh_pci_device *sh_pci_devs
static int irqs[MAX_NR_DEVICES];
diff --git a/media-libs/svgalib/svgalib-1.4.3-r3.ebuild b/media-libs/svgalib/svgalib-1.4.3-r3.ebuild
deleted file mode 100644
index 94e1a89f45f1..000000000000
--- a/media-libs/svgalib/svgalib-1.4.3-r3.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/svgalib/svgalib-1.4.3-r3.ebuild,v 1.3 2003/02/13 12:55:56 vapier Exp $
-
-IUSE=""
-
-inherit eutils
-
-S="${WORKDIR}/${P}"
-DESCRIPTION="A library for running svga graphics on the console"
-SRC_URI="http://www.svgalib.org/${P}.tar.gz"
-HOMEPAGE="http://www.svgalib.org/"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="x86 -ppc -sparc "
-
-DEPEND="virtual/glibc"
-
-
-src_unpack() {
-
- unpack ${A}
-
- cd ${S}
- epatch ${FILESDIR}/${P}-gentoo.diff
-}
-
-src_compile() {
-
- make OPTIMIZE="${CFLAGS}" static shared textutils lrmi utils || die
- # Build the gl stuff tpp
- make OPTIMIZE="${CFLAGS}" -C gl || die
- make OPTIMIZE="${CFLAGS}" -C gl libvgagl.so.${PV} || die
-
- make OPTIMIZE="${CFLAGS}" LDFLAGS='-L ../sharedlib' demoprogs || die
-
- cp Makefile Makefile.orig
- sed 's/\(install: $(INSTALLAOUTLIB) \)installheaders \(.*\)/\1\2/g' \
- Makefile.orig > Makefile
-}
-
-src_install() {
-
- dodir /etc/{vga,svga} /usr/{include,lib,bin,share/man}
- make TOPDIR=${D} OPTIMIZE="${CFLAGS}" install || die
- insinto /usr/include
- doins gl/vgagl.h
- dolib.a gl/libvgagl.a
- dolib.so gl/libvgagl.so.${PV}
- dosym libvgagl.so.${PV} /usr/lib/libvgagl.so
- preplib
-
- insinto /usr/include
- doins src/vga.h gl/vgagl.h src/mouse/vgamouse.h src/joystick/vgajoystick.h
- doins src/keyboard/vgakeyboard.h
-
- cd ${S}/demos
- exeinto /usr/lib/svgalib/demos
- local DEMO_PROGS="fun testgl speedtest mousetest vgatest scrolltest \
- testlinear \
- keytest testaccel accel forktest eventtest spin bg_test printftest \
- joytest mjoytest bankspeed lineart linearspeed addmodetest \
- svidtune linearfork vgatweak"
- doexe ${DEMO_PROGS}
-
- cd ${S}/threeDKit
- exeinto /usr/lib/svgalib/theeDKit
- local THREED_PROGS="plane wrapdemo"
- doexe ${THREED_PROGS}
-
- cd ${S}/doc
- dodoc 0-README CHANGES* DESIGN NEWS TODO
- docinto txt
- dodoc Driver-programming-HOWTO README.* add_driver svgalib.lsm
-}
-
diff --git a/media-libs/svgalib/svgalib-1.9.16.ebuild b/media-libs/svgalib/svgalib-1.9.16.ebuild
deleted file mode 100644
index 33ef2682e548..000000000000
--- a/media-libs/svgalib/svgalib-1.9.16.ebuild
+++ /dev/null
@@ -1,87 +0,0 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/media-libs/svgalib/svgalib-1.9.16.ebuild,v 1.4 2003/02/13 12:56:05 vapier Exp $
-
-IUSE=""
-
-inherit eutils
-
-S="${WORKDIR}/${P}"
-DESCRIPTION="A library for running svga graphics on the console"
-SRC_URI="http://www.arava.co.il/matan/${PN}/${P}.tar.gz"
-HOMEPAGE="http://www.svgalib.org/"
-
-SLOT="0"
-LICENSE="BSD"
-KEYWORDS="~x86 -ppc -sparc "
-
-DEPEND="virtual/glibc"
-
-src_unpack() {
-
- unpack ${A}
-
- cd ${S}; epatch ${FILESDIR}/${P}-gentoo.diff
-}
-
-src_compile() {
-
- make OPTIMIZE="${CFLAGS}" static shared textutils lrmi utils || die
- # Build the gl stuff tpp
- make OPTIMIZE="${CFLAGS}" -C gl || die
- make OPTIMIZE="${CFLAGS}" -C gl libvgagl.so.${PV} || die
- rm -f src/svgalib_helper.h
- make OPTIMIZE="${CFLAGS}" -C src libvga.so.${PV} || die
- cp -a src/libvga.so.${PV} sharedlib/
- make OPTIMIZE="${CFLAFS}" LDFLAGS='-L ../sharedlib' \
- -C threeDKit lib3dkit.a || die
- make INCLUDEDIR="/usr/src/linux/include" -C kernel/svgalib_helper
- make OPTIMIZE="${CFLAGS}" LDFLAGS='-L ../sharedlib' demoprogs || die
- cp Makefile Makefile.orig
- sed -e 's/\(install: $(INSTALLAOUTLIB) \)installheaders \(.*\)/\1\2/g' \
- Makefile.orig > Makefile
-}
-
-src_install() {
-
- dodir /etc/svgalib /usr/{include,lib,bin,share/man}
- make TOPDIR=${D} OPTIMIZE="${CFLAGS}" install || die
- insinto /usr/include
- doins gl/vgagl.h
- dolib.a gl/libvgagl.a
- dolib.a threeDKit/lib3dkit.a
- dolib.so gl/libvgagl.so.${PV}
- dosym libvgagl.so.${PV} /usr/lib/libvgagl.so
- preplib
-
- insinto /usr/include
- doins src/vga.h gl/vgagl.h src/mouse/vgamouse.h src/joystick/vgajoystick.h
- doins src/keyboard/vgakeyboard.h
-
- echo "probeall /dev/svga svgalib_helper" > ${D}/etc/modules.d/svgalib
-
- cd ${S}/demos
- exeinto /usr/lib/svgalib/demos
- local DEMO_PROGS="fun testgl speedtest mousetest vgatest scrolltest \
- testlinear \
- keytest testaccel accel forktest eventtest spin bg_test printftest \
- joytest mjoytest bankspeed lineart linearspeed addmodetest \
- svidtune linearfork vgatweak"
- doexe ${DEMO_PROGS}
-
- cd ${S}/threeDKit
- exeinto /usr/lib/svgalib/theeDKit
- local THREED_PROGS="plane wrapdemo"
- doexe ${THREED_PROGS}
-
- cd ${S}/doc
- dodoc CHANGES DESIGN TODO
- docinto txt
- dodoc Driver-programming-HOWTO README.* add_driver svgalib.lsm
-}
-
-pkg_postinst() {
-
- [ "${ROOT}" = "/" ] && /sbin/modules-update &> /dev/null
-}
-
diff --git a/media-libs/svgalib/svgalib-1.9.17-r1.ebuild b/media-libs/svgalib/svgalib-1.9.17-r1.ebuild
deleted file mode 100644
index a4c88a9516db..000000000000
--- a/media-libs/svgalib/svgalib-1.9.17-r1.ebuild
+++ /dev/null
@@ -1,135 +0,0 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/media-libs/svgalib/svgalib-1.9.17-r1.ebuild,v 1.4 2003/02/13 12:56:09 vapier Exp $
-
-IUSE=""
-
-inherit eutils
-
-S="${WORKDIR}/${P}"
-DESCRIPTION="A library for running svga graphics on the console"
-SRC_URI="http://www.arava.co.il/matan/${PN}/${P}.tar.gz"
-HOMEPAGE="http://www.svgalib.org/"
-
-SLOT="0"
-LICENSE="BSD"
-KEYWORDS="~x86 -ppc -sparc -alpha"
-
-DEPEND="virtual/glibc"
-
-pkg_setup() {
-
- check_KV
-}
-
-src_unpack() {
-
- unpack ${A}
-
- cd ${S};
- epatch ${FILESDIR}/${P}-gentoo.patch
-
- # Get it to work with kernel 2.5
- epatch ${FILESDIR}/${P}-kernel25.patch
-}
-
-check_kernel() {
-
- local KV_MAJOR="`uname -r | cut -d. -f1`"
- local KV_MINOR="`uname -r | cut -d. -f2`"
- export INCLUDEDIR="/usr/src/linux/include"
-
- # Are we running kernel 2.5 ?
- if [ "${KV_MAJOR}${KV_MINOR}" -gt "24" ]
- then
- # Setup the proper mach include directory ...
- if [ -d ${INCLUDEDIR}/asm/mach-default ]
- then
- export INCLUDEDIR="${INCLUDEDIR} -I${INCLUDEDIR}/asm/mach-default"
-
- elif [ -d ${INCLUDEDIR}/asm/mach-generic ]
- then
- export INCLUDEDIR="${INCLUDEDIR} -I${INCLUDEDIR}/asm/mach-generic"
- else
- die "Cannot find kernel includes!"
- fi
- fi
-}
-
-src_compile() {
-
- check_kernel
-
- make OPTIMIZE="${CFLAGS}" static shared textutils lrmi utils || \
- die "Failed to build libraries and utils!"
- # Build the gl stuff tpp
- make OPTIMIZE="${CFLAGS}" -C gl || die "Failed to build gl!"
- make OPTIMIZE="${CFLAGS}" -C gl libvgagl.so.${PV} || \
- die "Failed to build libvgagl.so.${PV}!"
- rm -f src/svgalib_helper.h
- make OPTIMIZE="${CFLAGS}" -C src libvga.so.${PV} || \
- die "Failed to build libvga.so.${PV}!"
- cp -a src/libvga.so.${PV} sharedlib/
- make OPTIMIZE="${CFLAFS}" LDFLAGS='-L ../sharedlib' \
- -C threeDKit lib3dkit.a || die "Failed to build threeDKit!"
-
- make INCLUDEDIR="${INCLUDEDIR}" -C kernel/svgalib_helper || \
- die "Failed to build kernel module!"
-
- make OPTIMIZE="${CFLAGS}" LDFLAGS='-L ../sharedlib' demoprogs || \
- die "Failed to build demoprogs!"
-
- cp Makefile Makefile.orig
- sed -e 's/\(install: $(INSTALLAOUTLIB) \)installheaders \(.*\)/\1\2/g' \
- Makefile.orig > Makefile
-}
-
-src_install() {
-
- dodir /etc/svgalib /usr/{include,lib,bin,share/man}
-
- # Do not use 'hacked' INCLUDEDIR here ...
- make TOPDIR=${D} OPTIMIZE="${CFLAGS}" \
- INCLUDEDIR="/usr/src/linux/include" install || \
- die "Failed to install svgalib!"
-
- insinto /usr/include
- doins gl/vgagl.h
- dolib.a gl/libvgagl.a
- dolib.a threeDKit/lib3dkit.a
- dolib.so gl/libvgagl.so.${PV}
- dosym libvgagl.so.${PV} /usr/lib/libvgagl.so
- preplib
-
- insinto /usr/include
- doins src/vga.h gl/vgagl.h src/mouse/vgamouse.h src/joystick/vgajoystick.h
- doins src/keyboard/vgakeyboard.h
-
- dodir /etc/modules.d
- echo "probeall /dev/svga svgalib_helper" > ${D}/etc/modules.d/svgalib
-
- cd ${S}/demos
- exeinto /usr/lib/svgalib/demos
- local DEMO_PROGS="fun testgl speedtest mousetest vgatest scrolltest \
- testlinear \
- keytest testaccel accel forktest eventtest spin bg_test printftest \
- joytest mjoytest bankspeed lineart linearspeed addmodetest \
- svidtune linearfork vgatweak"
- doexe ${DEMO_PROGS}
-
- cd ${S}/threeDKit
- exeinto /usr/lib/svgalib/theeDKit
- local THREED_PROGS="plane wrapdemo"
- doexe ${THREED_PROGS}
-
- cd ${S}/doc
- dodoc CHANGES DESIGN TODO
- docinto txt
- dodoc Driver-programming-HOWTO README.* add_driver svgalib.lsm
-}
-
-pkg_postinst() {
-
- [ "${ROOT}" = "/" ] && /sbin/modules-update &> /dev/null
-}
-
diff --git a/media-libs/svgalib/svgalib-1.9.17.ebuild b/media-libs/svgalib/svgalib-1.9.17.ebuild
deleted file mode 100644
index 9b71deea17de..000000000000
--- a/media-libs/svgalib/svgalib-1.9.17.ebuild
+++ /dev/null
@@ -1,88 +0,0 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/media-libs/svgalib/svgalib-1.9.17.ebuild,v 1.2 2003/02/13 12:56:13 vapier Exp $
-
-IUSE=""
-
-inherit eutils
-
-S="${WORKDIR}/${P}"
-DESCRIPTION="A library for running svga graphics on the console"
-SRC_URI="http://www.arava.co.il/matan/${PN}/${P}.tar.gz"
-HOMEPAGE="http://www.svgalib.org/"
-
-SLOT="0"
-LICENSE="BSD"
-KEYWORDS="~x86 -ppc -sparc "
-
-DEPEND="virtual/glibc"
-
-src_unpack() {
-
- unpack ${A}
-
- cd ${S};
- epatch ${FILESDIR}/${P}-gentoo.patch
-}
-
-src_compile() {
-
- make OPTIMIZE="${CFLAGS}" static shared textutils lrmi utils || die
- # Build the gl stuff tpp
- make OPTIMIZE="${CFLAGS}" -C gl || die
- make OPTIMIZE="${CFLAGS}" -C gl libvgagl.so.${PV} || die
- rm -f src/svgalib_helper.h
- make OPTIMIZE="${CFLAGS}" -C src libvga.so.${PV} || die
- cp -a src/libvga.so.${PV} sharedlib/
- make OPTIMIZE="${CFLAFS}" LDFLAGS='-L ../sharedlib' \
- -C threeDKit lib3dkit.a || die
- make INCLUDEDIR="/usr/src/linux/include" -C kernel/svgalib_helper
- make OPTIMIZE="${CFLAGS}" LDFLAGS='-L ../sharedlib' demoprogs || die
- cp Makefile Makefile.orig
- sed -e 's/\(install: $(INSTALLAOUTLIB) \)installheaders \(.*\)/\1\2/g' \
- Makefile.orig > Makefile
-}
-
-src_install() {
-
- dodir /etc/svgalib /usr/{include,lib,bin,share/man}
- make TOPDIR=${D} OPTIMIZE="${CFLAGS}" install || die
- insinto /usr/include
- doins gl/vgagl.h
- dolib.a gl/libvgagl.a
- dolib.a threeDKit/lib3dkit.a
- dolib.so gl/libvgagl.so.${PV}
- dosym libvgagl.so.${PV} /usr/lib/libvgagl.so
- preplib
-
- insinto /usr/include
- doins src/vga.h gl/vgagl.h src/mouse/vgamouse.h src/joystick/vgajoystick.h
- doins src/keyboard/vgakeyboard.h
-
- echo "probeall /dev/svga svgalib_helper" > ${D}/etc/modules.d/svgalib
-
- cd ${S}/demos
- exeinto /usr/lib/svgalib/demos
- local DEMO_PROGS="fun testgl speedtest mousetest vgatest scrolltest \
- testlinear \
- keytest testaccel accel forktest eventtest spin bg_test printftest \
- joytest mjoytest bankspeed lineart linearspeed addmodetest \
- svidtune linearfork vgatweak"
- doexe ${DEMO_PROGS}
-
- cd ${S}/threeDKit
- exeinto /usr/lib/svgalib/theeDKit
- local THREED_PROGS="plane wrapdemo"
- doexe ${THREED_PROGS}
-
- cd ${S}/doc
- dodoc CHANGES DESIGN TODO
- docinto txt
- dodoc Driver-programming-HOWTO README.* add_driver svgalib.lsm
-}
-
-pkg_postinst() {
-
- [ "${ROOT}" = "/" ] && /sbin/modules-update &> /dev/null
-}
-