summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Robbins <drobbins@gentoo.org>2001-02-14 16:31:46 +0000
committerDaniel Robbins <drobbins@gentoo.org>2001-02-14 16:31:46 +0000
commit537c34e8c929803b958e77a439337d81a09b277a (patch)
treec1fe84ac17258b0beecd04c2f346b406ce752c9e
parentthe diff! (diff)
downloadgentoo-2-537c34e8c929803b958e77a439337d81a09b277a.tar.gz
gentoo-2-537c34e8c929803b958e77a439337d81a09b277a.tar.bz2
gentoo-2-537c34e8c929803b958e77a439337d81a09b277a.zip
zapping things -> media-libs
-rw-r--r--dev-libs/svgalib/files/digest-svgalib-1.4.21
-rw-r--r--dev-libs/svgalib/files/svgalib-1.4.2-gentoo.diff286
-rw-r--r--dev-libs/svgalib/svgalib-1.4.2.ebuild46
3 files changed, 0 insertions, 333 deletions
diff --git a/dev-libs/svgalib/files/digest-svgalib-1.4.2 b/dev-libs/svgalib/files/digest-svgalib-1.4.2
deleted file mode 100644
index 2eaea78e5f84..000000000000
--- a/dev-libs/svgalib/files/digest-svgalib-1.4.2
+++ /dev/null
@@ -1 +0,0 @@
-MD5 4576058f43adbc2c433aeba25603fd82 svgalib-1.4.2.tar.gz
diff --git a/dev-libs/svgalib/files/svgalib-1.4.2-gentoo.diff b/dev-libs/svgalib/files/svgalib-1.4.2-gentoo.diff
deleted file mode 100644
index bda46ec93188..000000000000
--- a/dev-libs/svgalib/files/svgalib-1.4.2-gentoo.diff
+++ /dev/null
@@ -1,286 +0,0 @@
-diff -ru svgalib-1.4.2.orig/Makefile svgalib-1.4.2/Makefile
---- svgalib-1.4.2.orig/Makefile Thu Jul 6 12:12:47 2000
-+++ svgalib-1.4.2/Makefile Sat Feb 10 18:48:19 2001
-@@ -158,11 +158,11 @@
- chmod a+r $(libdir)/$$foo; \
- done
- endif
-- @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
-- @rm -f $(OBSOLETESHAREDIMAGES)
-+# @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
-+# @rm -f $(OBSOLETESHAREDIMAGES)
- ifndef KEEPSHAREDLIBS
- @echo "Removing shared library images (old & current)..."
- @for i in $(OBSOLETELDIRS); do \
-@@ -176,7 +176,7 @@
- (cd $(sharedlibdir); \
- ln -sf $$foo `echo $$foo | sed 's/\.so\..*/.so/'` ); \
- done
-- @ldconfig
-+# @ldconfig
-
- ifdef INSTALLAOUTDIR
-
-@@ -203,10 +203,10 @@
-
- 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
-
-@@ -215,14 +215,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)
-@@ -248,22 +248,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; \
-@@ -284,7 +284,7 @@
- installman:
- (cd doc; $(MAKE) -f $(srcdir)/doc/Makefile srcdir="$(srcdir)" install )
-
--install: uninstall $(INSTALLAOUTLIB) installheaders $(INSTALLSHAREDLIB) installconfig \
-+install: $(INSTALLAOUTLIB) installheaders $(INSTALLSHAREDLIB) installconfig \
- $(INSTALLSTATICLIB) $(INSTALLUTILS) $(INSTALLMAN)
- @echo
- @echo
-@@ -425,15 +425,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 \
- )
-
- endif # a.out
-
--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)
-diff -ru svgalib-1.4.2.orig/Makefile.cfg svgalib-1.4.2/Makefile.cfg
---- svgalib-1.4.2.orig/Makefile.cfg Fri Jul 21 04:21:34 2000
-+++ svgalib-1.4.2/Makefile.cfg Sat Feb 10 18:47:40 2001
-@@ -25,7 +25,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.
-@@ -38,13 +38,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 = a.out
-@@ -82,7 +82,7 @@
- # BACKGROUND = 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'
-@@ -94,12 +94,12 @@
- # a.out image is available install it in the first directory named something
- # like *aout/ in /etc/ld.so.conf.
- # If you want this, do not comment out the next line:
--INSTALLAOUTLIB = installaoutcompat
-+# INSTALLAOUTLIB = installaoutcompat
-
- # 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
-@@ -126,15 +126,15 @@
- #INCLUDE_ET4000_DRIVER = y
- INCLUDE_CIRRUS_DRIVER = y
- INCLUDE_TVGA_DRIVER = y
--#INCLUDE_OAK_DRIVER = y
--#INCLUDE_EGA_DRIVER = y
-+INCLUDE_OAK_DRIVER = y
-+INCLUDE_EGA_DRIVER = y
- INCLUDE_MACH32_DRIVER = y
- INCLUDE_S3_DRIVER = y
--#INCLUDE_ET3000_DRIVER = y
--#INCLUDE_GVGA6400_DRIVER = y
--#INCLUDE_ARK_DRIVER = y
--#INCLUDE_ATI_DRIVER = y
--#INCLUDE_ALI_DRIVER = y
-+INCLUDE_ET3000_DRIVER = y
-+INCLUDE_GVGA6400_DRIVER = y
-+INCLUDE_ARK_DRIVER = y
-+INCLUDE_ATI_DRIVER = y
-+INCLUDE_ALI_DRIVER = y
- INCLUDE_CHIPS_DRIVER = y
- INCLUDE_APM_DRIVER = y
- INCLUDE_NV3_DRIVER = y
-@@ -246,10 +246,8 @@
- endif
-
-
--ifndef CFLAGS
-+ifndef OPTIMIZE
- OPTIMIZE = -fomit-frame-pointer -O2 -fno-strength-reduce -pipe -g
--else
-- OPTIMIZE := $(CFLAGS)
- endif
-
- # You might want to add -m386 here if you have a recently installed
-@@ -260,9 +258,9 @@
- CFLAGS = $(WARN) $(DLLFLAGS) $(INCLUDES) $(OPTIMIZE) $(DEFINES)
- # ELF doesn't like -N. It is beneficial for small tools with a.out
- ifeq (a.out, $(TARGET_FORMAT))
-- LDFLAGS = -N -s
-+ LDFLAGS = -N
- else
-- LDFLAGS = -s
-+ LDFLAGS =
- endif
-
- # Uncomment the following if you are compiling a.out shared libraries
-@@ -279,6 +277,6 @@
-
- # 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
-Only in svgalib-1.4.2: Makefile.cfg~
-Only in svgalib-1.4.2: Makefile~
-diff -ru svgalib-1.4.2.orig/src/Makefile svgalib-1.4.2/src/Makefile
---- svgalib-1.4.2.orig/src/Makefile Thu Jul 6 12:10:58 2000
-+++ svgalib-1.4.2/src/Makefile Sat Feb 10 13:17:20 2001
-@@ -14,7 +14,7 @@
- # Compiler Section (overrides Makefile.cfg)
- #----------------------------------------------------------------------
-
--INCLUDES += -I$(srcdir)/src
-+INCLUDES += -I$(srcdir)/src -I$(srcdir)/src/config
-
- #----------------------------------------------------------------------
- # Rules Section
-diff -ru svgalib-1.4.2.orig/utils/Makefile svgalib-1.4.2/utils/Makefile
---- svgalib-1.4.2.orig/utils/Makefile Wed Jul 21 12:41:18 1999
-+++ svgalib-1.4.2/utils/Makefile Sat Feb 10 17:44:50 2001
-@@ -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 -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
diff --git a/dev-libs/svgalib/svgalib-1.4.2.ebuild b/dev-libs/svgalib/svgalib-1.4.2.ebuild
deleted file mode 100644
index f3847167cea6..000000000000
--- a/dev-libs/svgalib/svgalib-1.4.2.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 1999-2000 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License, v2 or later
-# Author Peter Gavin <pete@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/svgalib/svgalib-1.4.2.ebuild,v 1.2 2001/02/11 21:12:48 pete Exp $
-
-#P=
-A=${PN}-${PV}.tar.gz
-S=${WORKDIR}/${PN}-${PV}
-DESCRIPTION="a library for running svga graphics on the console"
-SRC_URI="http://www.svgalib.org/${A}"
-HOMEPAGE="http://www.svgalib.org/"
-
-DEPEND="virtual/glibc"
-
-src_unpack() {
- unpack ${A}
- cd ${S}
- patch -p1 < ${FILESDIR}/${PN}-${PV}-gentoo.diff
-}
-
-src_compile() {
- cd ${S}
- try make OPTIMIZE=\""${CFLAGS}"\" static
- try make OPTIMIZE=\""${CFLAGS}"\" shared
- try make OPTIMIZE=\""${CFLAGS}"\" textutils
- try make OPTIMIZE=\""${CFLAGS}"\" lrmi
- try make OPTIMIZE=\""${CFLAGS}"\" utils
-}
-
-src_install () {
- cd ${S}
- dodir /etc/svga
- dodir /usr/include
- dodir /usr/lib
- dodir /usr/bin
- dodir /usr/share/man
- try make TOPDIR=${D} OPTIMIZE=\""${CFLAGS}"\" install
-
- cd ${S}
- dodoc 0-INSTALL 0-README LICENSE svgalib.lsm
- cd ${S}/doc
- docinto doc
- dodoc 0-README CHANGES CHANGES.mach64 DESIGN Driver-programming-HOWTO NEWS
- dodoc README.joystick README.kernel-2.3 README.keymap README.patching
- dodoc README.vesa TODO add_driver svgalib.lsm
-}