diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-02-08 01:11:55 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-02-08 01:11:55 +0000 |
commit | 06f5325c51c2b6c015d963a1781039e080d80bc5 (patch) | |
tree | 27e3572633ec8f9cbe2232977e4a90a96bef478f /media-libs/svgalib/files | |
parent | delete all docs by CREDITS #121003 by Georgi Georgiev (diff) | |
download | gentoo-2-06f5325c51c2b6c015d963a1781039e080d80bc5.tar.gz gentoo-2-06f5325c51c2b6c015d963a1781039e080d80bc5.tar.bz2 gentoo-2-06f5325c51c2b6c015d963a1781039e080d80bc5.zip |
cut old ebuilds to shut brix up #121961
(Portage version: 2.1_pre4-r1)
Diffstat (limited to 'media-libs/svgalib/files')
7 files changed, 0 insertions, 379 deletions
diff --git a/media-libs/svgalib/files/digest-svgalib-1.9.19-r3 b/media-libs/svgalib/files/digest-svgalib-1.9.19-r3 deleted file mode 100644 index a0902968e62f..000000000000 --- a/media-libs/svgalib/files/digest-svgalib-1.9.19-r3 +++ /dev/null @@ -1 +0,0 @@ -MD5 44e5063c9a22e9554088e125b0df7593 svgalib-1.9.19.tar.gz 935305 diff --git a/media-libs/svgalib/files/svgalib-1.9.18-lrmi-gentoo-cflags.patch b/media-libs/svgalib/files/svgalib-1.9.18-lrmi-gentoo-cflags.patch deleted file mode 100644 index 2bddb4a1b7ce..000000000000 --- a/media-libs/svgalib/files/svgalib-1.9.18-lrmi-gentoo-cflags.patch +++ /dev/null @@ -1,9 +0,0 @@ ---- svgalib-1.9.18/lrmi-0.6m/Makefile.orig 2004-06-19 02:48:08.112742704 -0400 -+++ svgalib-1.9.18/lrmi-0.6m/Makefile 2004-06-19 02:48:23.471407832 -0400 -@@ -1,4 +1,5 @@ --CFLAGS = -g -Wall -+OPTIMIZE = -g -Wall -+CFLAGS = $(OPTIMIZE) - - sources = lrmi.c - objects = lrmi.o diff --git a/media-libs/svgalib/files/svgalib-1.9.18-utils-include.patch b/media-libs/svgalib/files/svgalib-1.9.18-utils-include.patch deleted file mode 100644 index 954d3f33d538..000000000000 --- a/media-libs/svgalib/files/svgalib-1.9.18-utils-include.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- svgalib-1.9.18/utils/Makefile.orig 2004-06-19 02:41:48.628433088 -0400 -+++ svgalib-1.9.18/utils/Makefile 2004-06-19 02:42:00.532623376 -0400 -@@ -56,7 +56,7 @@ - $(INSTALLPROG) $(UTILPROGS) $(UTILINSTALLDIR) - - .depend: -- gcc -MM $(patsubst %.o,$(srcdir)/utils/%.c,$(OBJECTS)) >.depend -+ gcc -MM $(CFLAGS) $(patsubst %.o,$(srcdir)/utils/%.c,$(OBJECTS)) >.depend - - # - # include a dependency file if one exists diff --git a/media-libs/svgalib/files/svgalib-1.9.19-devfs.patch b/media-libs/svgalib/files/svgalib-1.9.19-devfs.patch deleted file mode 100644 index 20efcabc0634..000000000000 --- a/media-libs/svgalib/files/svgalib-1.9.19-devfs.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- svgalib-1.9.19/kernel/svgalib_helper/main.c.orig 2005-01-13 20:29:43.540399736 +0000 -+++ svgalib-1.9.19/kernel/svgalib_helper/main.c 2005-01-13 20:30:02.050585760 +0000 -@@ -582,7 +582,6 @@ int init_module(void) - devfs_mk_cdev(MKDEV(SVGALIB_HELPER_MAJOR, i), - S_IFCHR | S_IRUGO | S_IRWXU, "svga_helper/%d", i); - } -- devfs_mk_symlink("svga", "svga_helper/0"); - # endif - #endif /* devfsd support */ - diff --git a/media-libs/svgalib/files/svgalib-1.9.19-gentoo.patch b/media-libs/svgalib/files/svgalib-1.9.19-gentoo.patch deleted file mode 100644 index 4e4c6a2c9a53..000000000000 --- a/media-libs/svgalib/files/svgalib-1.9.19-gentoo.patch +++ /dev/null @@ -1,103 +0,0 @@ -diff -ur svgalib-1.9.19.orig/Makefile svgalib-1.9.19/Makefile ---- svgalib-1.9.19.orig/Makefile 2004-06-22 22:10:10.696376120 -0400 -+++ svgalib-1.9.19/Makefile 2004-06-22 22:11:08.182636880 -0400 -@@ -78,10 +78,6 @@ - - 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 - @mkdir -p $(includedir) - @cp $(SRCDIR)/src/vga.h $(includedir)/vga.h - @chmod a+r $(includedir)/vga.h -@@ -95,16 +91,6 @@ - @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 --ifndef KEEPSHAREDLIBS -- @echo "Removing shared library images (old & current)..." -- @for i in $(OBSOLETELDIRS); do \ -- rm -f `echo $(OBSOLETESHAREDIMAGES) | sed s?/lib/?$$i?g`; \ -- done --endif - @echo Installing shared library image as \ - $(addprefix $(sharedlibdir)/,$(notdir $(SHAREDLIBS))). - @for foo in $(notdir $(SHAREDLIBS)); do \ -@@ -118,10 +104,8 @@ - installstaticlib: static - @echo Installing static libraries in $(libdir). - @mkdir -p $(libdir) -- @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 - @$(INSTALL_DATA) staticlib/libvgagl.a $(libdir)/libvgagl.a - @chmod a+r $(libdir)/libvgagl.a - -@@ -130,14 +114,6 @@ - echo No $(bindir) directory, creating it.; \ - mkdir -p $(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 - @echo Installing textmode utilities in $(bindir): - @echo "restorefont: Save/restore textmode font." - @cp utils/restorefont $(bindir) -@@ -213,7 +189,7 @@ - lib3dkit-install: - (cd threeDKit/; $(MAKE) install) - --install: uninstall installheaders $(INSTALLSHAREDLIB) installconfig \ -+install: installheaders $(INSTALLSHAREDLIB) installconfig \ - $(INSTALLSTATICLIB) $(INSTALLUTILS) $(INSTALLMAN) $(INSTALLMODULE) $(INSTALLDEV) \ - lib3dkit-install - @echo -diff -ur svgalib-1.9.19.orig/Makefile.cfg svgalib-1.9.19/Makefile.cfg ---- svgalib-1.9.19.orig/Makefile.cfg 2004-06-22 22:10:10.707374448 -0400 -+++ svgalib-1.9.19/Makefile.cfg 2004-06-22 22:12:25.266918288 -0400 -@@ -44,7 +44,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. -@@ -126,7 +126,7 @@ - # MAKEWHATIS = makewhatis # Beware, this will really need a few minutes! - - # Comment this out if you use devfs only and don't want to make svga nodes --INSTALLDEV = installdev -+#INSTALLDEV = installdev - - # Select which makefile to use to install the module, or comment both out if - # you are going to install the kernel module manually -diff -ur svgalib-1.9.19.orig/kernel/svgalib_helper/Makefile svgalib-1.9.19/kernel/svgalib_helper/Makefile ---- svgalib-1.9.19.orig/kernel/svgalib_helper/Makefile 2004-06-22 22:10:10.705374752 -0400 -+++ svgalib-1.9.19/kernel/svgalib_helper/Makefile 2004-06-22 22:11:59.252873024 -0400 -@@ -45,9 +45,9 @@ - mknod -m 666 /dev/svga3 c $(SVGALIB_HELPER_MAJOR) 3 - mknod -m 666 /dev/svga4 c $(SVGALIB_HELPER_MAJOR) 4 - --install: device modules_install -+install: modules_install - - modules_install: $(MODNAME) -- mkdir -p /lib/modules/$(VER)/kernel/misc -- install -m 0644 -c $(TARGET).o /lib/modules/$(VER)/kernel/misc || install -m 0644 -c $(TARGET).ko /lib/modules/$(VER)/kernel/misc -+ mkdir -p $(TOPDIR)/lib/modules/$(VER)/kernel/misc -+ install -m 0644 -c $(TARGET).o $(TOPDIR)/lib/modules/$(VER)/kernel/misc || install -m 0644 -c $(TARGET).ko $(TOPDIR)/lib/modules/$(VER)/kernel/misc - diff --git a/media-libs/svgalib/files/svgalib-1.9.19-linux2.6.patch b/media-libs/svgalib/files/svgalib-1.9.19-linux2.6.patch deleted file mode 100644 index dea800b36f10..000000000000 --- a/media-libs/svgalib/files/svgalib-1.9.19-linux2.6.patch +++ /dev/null @@ -1,233 +0,0 @@ -diff -urpwN svgalib-1.9.18/kernel/svgalib_helper/Makefile.alt svgalib-1.9.18.kernel2.6/kernel/svgalib_helper/Makefile.alt ---- svgalib-1.9.18/kernel/svgalib_helper/Makefile.alt 2002-10-28 18:25:47.000000000 +0200 -+++ svgalib-1.9.18.kernel2.6/kernel/svgalib_helper/Makefile.alt 2003-08-03 14:34:40.000000000 +0200 -@@ -37,7 +37,7 @@ - CFLAGS += -DSVGALIB_HELPER_MAJOR=$(SVGALIB_HELPER_MAJOR) - - ifeq (1,$(findstring 1,$(MODVER))) -- CFLAGS += -DMODVERSIONS -include $(INCLUDEDIR)/linux/modversions.h -+ CFLAGS += -DMODVERSIONS -DCONFIG_MODVERSIONS=1 - endif - - TARGET = svgalib_helper -@@ -50,7 +50,8 @@ - endif - endif - --all: .depend $(OBJS) -+modules: $(OBJS) -+all: .depend modules - - $(TARGET).o: $(SRC:.c=.o) - $(LD) -r $^ -o $@ -@@ -61,8 +62,8 @@ - install: device modules_install - - modules_install: $(OBJS) -- mkdir -p /lib/modules/$(VER)/kernel/misc -- install -m 0644 -c $(OBJS) /lib/modules/$(VER)/kernel/misc -+ mkdir -p $(TOPDIR)/lib/modules/$(VER)/kernel/misc -+ install -m 0644 -c $(OBJS) $(TOPDIR)/lib/modules/$(VER)/kernel/misc - - device: - rm -f /dev/svgalib_helper* /dev/svga_helper* /dev/svga /dev/svga? -diff -urpN svgalib-1.9.18/kernel/svgalib_helper/kernel26compat.h svgalib-1.9.18.new/kernel/svgalib_helper/kernel26compat.h ---- svgalib-1.9.18/kernel/svgalib_helper/kernel26compat.h 2003-10-04 15:42:01.000000000 +0200 -+++ svgalib-1.9.18.new/kernel/svgalib_helper/kernel26compat.h 2004-02-23 00:41:03.176196576 +0200 -@@ -52,6 +52,33 @@ static inline int devfs_unregister_chrde - } - #endif - -+#if defined(KERNEL_2_6) -+# define SLH_SYSFS_REGISTER \ -+ svgalib_helper_class = class_simple_create(THIS_MODULE, "svgalib_helper"); -+ -+# define SLH_SYSFS_ADD_CONTROL \ -+ class_simple_device_add(svgalib_helper_class, \ -+ MKDEV(SVGALIB_HELPER_MAJOR, 0), \ -+ NULL, "svga"); -+ -+# define SLH_SYSFS_ADD_DEVICE(_name, _minor) \ -+ class_simple_device_add(svgalib_helper_class, \ -+ MKDEV(SVGALIB_HELPER_MAJOR, _minor), \ -+ &sh_pci_devs[_minor]->dev->dev, _name); -+ -+# define SLH_SYSFS_REMOVE_DEVICE(i) \ -+ class_simple_device_remove(MKDEV(SVGALIB_HELPER_MAJOR, i)); -+ -+# define SLH_SYSFS_UNREGISTER \ -+ class_simple_destroy(svgalib_helper_class); -+#else -+# define SLH_SYSFS_REGISTER -+# define SLH_SYSFS_ADD_CONTROL -+# define SLH_SYSFS_ADD_DEVICE(_name, _minor) -+# define SLH_SYSFS_REMOVE_DEVICE(i) -+# define SLH_SYSFS_UNREGISTER -+#endif -+ - #if (defined MINOR) - # define my_minor(x) MINOR(x) - #else -diff -urpN svgalib-1.9.18/kernel/svgalib_helper/main.c svgalib-1.9.18.new/kernel/svgalib_helper/main.c ---- svgalib-1.9.18/kernel/svgalib_helper/main.c 2003-10-04 12:34:20.000000000 +0200 -+++ svgalib-1.9.18.new/kernel/svgalib_helper/main.c 2004-02-23 00:42:25.490682872 +0200 -@@ -51,6 +51,10 @@ static int irqs[MAX_NR_DEVICES]; - static devfs_handle_t devfs_handle; - #endif - -+#if defined(KERNEL_2_6) -+struct class_simple *svgalib_helper_class; -+#endif -+ - static int check_io_range(int port, int device) { - return 1; - } -@@ -467,6 +471,7 @@ int init_module(void) - { - int result, i, j; - struct pci_dev *dev=NULL; -+ char name[255]; - #ifdef CONFIG_DEVFS_FS - # ifndef KERNEL_2_6 - devfs_handle_t slave_handle; -@@ -513,9 +518,9 @@ int init_module(void) - - printk(KERN_INFO "svgalib_helper: Initializing, version %s\n", versionstr); - -- result = devfs_register_chrdev(SVGALIB_HELPER_MAJOR, "svgalib_helper", &svgalib_helper_fops); -+ result = devfs_register_chrdev(SVGALIB_HELPER_MAJOR, "svgalib_helper", &svgalib_helper_fops); - -- if (result < 0) { -+ if (result < 0) { - printk(KERN_WARNING "svgalib_helper: can't get major %d\n",SVGALIB_HELPER_MAJOR); - return result; - } -@@ -523,7 +528,7 @@ int init_module(void) - if((sh_pci_devs[0]=kmalloc(sizeof(struct sh_pci_device),GFP_KERNEL))==NULL) { - goto nomem_error; - } -- -+ - memset(sh_pci_devs[0],0,sizeof(struct sh_pci_device)); - num_devices=1; - for(i=1;i<MAX_NR_DEVICES;i++) sh_pci_devs[i]=NULL; -@@ -537,19 +542,22 @@ int init_module(void) - devfs_mk_symlink( NULL, "svga", 0, "svga_helper/0", &slave_handle, NULL ); - devfs_auto_unregister( devfs_handle, slave_handle ); - # else -- devfs_mk_dir ("svga_helper"); -- for (i = 0; i < 8; i++) { -- devfs_mk_cdev(MKDEV(SVGALIB_HELPER_MAJOR, i), -- S_IFCHR | S_IRUGO | S_IRWXU, "svga_helper/%d", i); -- } -- devfs_mk_symlink("svga", "svga_helper/0"); -+ devfs_mk_dir ("svga_helper"); -+ for (i = 0; i < 8; i++) { -+ devfs_mk_cdev(MKDEV(SVGALIB_HELPER_MAJOR, i), -+ S_IFCHR | S_IRUGO | S_IRWXU, "svga_helper/%d", i); -+ } -+ devfs_mk_symlink("svga", "svga_helper/0"); - # endif - #endif /* devfsd support */ - -+ SLH_SYSFS_REGISTER; -+ SLH_SYSFS_ADD_CONTROL; -+ - if(pci_present()) { - while((dev= all_devices ? -- pci_find_device(PCI_ANY_ID, PCI_ANY_ID, dev) : -- pci_find_class(PCI_CLASS_DISPLAY_VGA<<8,dev)) && -+ pci_find_device(PCI_ANY_ID, PCI_ANY_ID, dev) : -+ pci_find_class(PCI_CLASS_DISPLAY_VGA<<8,dev)) && - (num_devices<=MAX_NR_DEVICES)) { - if((sh_pci_devs[num_devices]=kmalloc(sizeof(struct sh_pci_device),GFP_KERNEL))==NULL) { - goto nomem_error; -@@ -581,6 +589,10 @@ int init_module(void) - sh_pci_devs[num_devices]->startad=-1; - #endif - sh_pci_devs[num_devices]->opencount=0; -+ -+ sprintf(name, "svga%d", num_devices); -+ SLH_SYSFS_ADD_DEVICE(name, num_devices); -+ - num_devices++; - } - } -@@ -600,39 +612,51 @@ int init_module(void) - init_waitqueue_head(&vsync_wait); - - #ifndef KERNEL_2_6 -- EXPORT_NO_SYMBOLS; -+ EXPORT_NO_SYMBOLS; - #endif -- -+ - return 0; /* succeed */ - - nomem_error: -- for(i=0;i<MAX_NR_DEVICES;i++) -- if(sh_pci_devs[i])kfree(sh_pci_devs[i]); -+ for(i=0;i<MAX_NR_DEVICES;i++) { -+ if(sh_pci_devs[i]) { -+ SLH_SYSFS_REMOVE_DEVICE(i); -+ kfree(sh_pci_devs[i]); -+ } -+ } -+ -+ SLH_SYSFS_REMOVE_DEVICE(0); -+ SLH_SYSFS_UNREGISTER; -+ -+ devfs_unregister_chrdev(SVGALIB_HELPER_MAJOR, "svgalib_helper"); - -- devfs_unregister_chrdev(SVGALIB_HELPER_MAJOR, "svgalib_helper"); -- -- return result; -+ return result; - } - - void cleanup_module(void) - { - int i; -- for(i=0;i<MAX_NR_DEVICES;i++) -+ for(i=0;i<MAX_NR_DEVICES;i++) { - if(sh_pci_devs[i]) { -+ SLH_SYSFS_REMOVE_DEVICE(i); - kfree(sh_pci_devs[i]); - } -+ } -+ -+ SLH_SYSFS_REMOVE_DEVICE(0); -+ SLH_SYSFS_UNREGISTER; - - #ifdef CONFIG_DEVFS_FS - # ifndef KERNEL_2_6 -- devfs_unregister(devfs_handle); -+ devfs_unregister(devfs_handle); - # else -- for (i = 0; i < 8; i++) -- devfs_remove("svga_helper/%d", i); -- devfs_remove("svga_helper"); -- devfs_remove("svga"); --# endif -+ for (i = 0; i < 8; i++) -+ devfs_remove("svga_helper/%d", i); -+ devfs_remove("svga_helper"); -+ devfs_remove("svga"); -+# endif - #endif -- -+ - devfs_unregister_chrdev(SVGALIB_HELPER_MAJOR, "svgalib_helper"); - - } ---- svgalib-1.9.19/kernel/svgalib_helper/kernel26compat.h.orig 2004-07-20 19:05:13.491390800 -0400 -+++ svgalib-1.9.19/kernel/svgalib_helper/kernel26compat.h 2004-07-20 19:05:29.217999992 -0400 -@@ -7,7 +7,7 @@ - # undef KERNEL_2_6 - # endif - --# if defined (PG_chainlock) -+# if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,3) - # define my_io_remap_page_range(vma, start, ofs, len, prot) \ - io_remap_page_range(vma,start,ofs,len,prot) - # else diff --git a/media-libs/svgalib/files/svgalib-1.9.19-pci-get-class.patch b/media-libs/svgalib/files/svgalib-1.9.19-pci-get-class.patch deleted file mode 100644 index a8978add2b67..000000000000 --- a/media-libs/svgalib/files/svgalib-1.9.19-pci-get-class.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- kernel/svgalib_helper/main.c.orig 2004-11-08 00:32:55.451258208 -0500 -+++ kernel/svgalib_helper/main.c 2004-11-08 00:35:31.591521280 -0500 -@@ -589,6 +589,9 @@ - SLH_SYSFS_REGISTER; - SLH_SYSFS_ADD_CONTROL; - -+#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,9) -+# define pci_find_class pci_get_class -+#endif - if(pci_present()) { - while((dev= all_devices ? - pci_find_device(PCI_ANY_ID, PCI_ANY_ID, dev) : |