From 640055636ebe88b57914d81c7730df24d9c8d0cd Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Wed, 14 Jan 2009 21:07:01 +0000 Subject: [PATCH 01/13] exclude sparc arches no sys/io.h --- vbetool.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/vbetool.spec b/vbetool.spec index 95991c4..e135843 100644 --- a/vbetool.spec +++ b/vbetool.spec @@ -1,6 +1,6 @@ Name: vbetool Version: 1.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Run real-mode video BIOS code to alter hardware state Group: System Environment/Base @@ -10,10 +10,10 @@ Source0: http://www.codon.org.uk/~mjg59/vbetool/download/vbetool-%{versio BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: zlib-devel pciutils-devel libx86-devel -# does not build on ppc and ppc64, see #285361 (RedHat Bugzilla) +# does not build on ppc, ppc64 and sparc arches, see #285361 (RedHat Bugzilla) # on ppc sys/io.h is missing, on ppc64 there are more complaints # build.logs are attached in the bug report -ExcludeArch: ppc ppc64 +ExcludeArch: ppc ppc64 %{sparc} # vbetool is included in (some of) these pm-utils releases Conflicts: pm-utils <= 0.99.3-11 @@ -49,6 +49,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Wed Jan 14 2009 Dennis Gilmore - 1.1-2 +- exclude sparc arches missing sys/io.h + * Mon May 19 2008 Matthew Garrett - 1.1-1 - update to version 1.1 From 9eb3199d15d6ceebe0b6351af78f556b18c4ba43 Mon Sep 17 00:00:00 2001 From: Jesse Keating Date: Wed, 25 Feb 2009 23:50:17 +0000 Subject: [PATCH 02/13] - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild --- vbetool.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vbetool.spec b/vbetool.spec index e135843..b085126 100644 --- a/vbetool.spec +++ b/vbetool.spec @@ -1,6 +1,6 @@ Name: vbetool Version: 1.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Run real-mode video BIOS code to alter hardware state Group: System Environment/Base @@ -49,6 +49,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Wed Feb 25 2009 Fedora Release Engineering - 1.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + * Wed Jan 14 2009 Dennis Gilmore - 1.1-2 - exclude sparc arches missing sys/io.h From 6090bddfce2b421bfcdf86ccc635a74e4b149716 Mon Sep 17 00:00:00 2001 From: Karsten Hopp Date: Thu, 7 May 2009 13:11:06 +0000 Subject: [PATCH 03/13] - ExcludeArch s390, s390x --- vbetool.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/vbetool.spec b/vbetool.spec index b085126..8d1b362 100644 --- a/vbetool.spec +++ b/vbetool.spec @@ -1,6 +1,6 @@ Name: vbetool Version: 1.1 -Release: 3%{?dist} +Release: 3%{?dist}.1 Summary: Run real-mode video BIOS code to alter hardware state Group: System Environment/Base @@ -13,7 +13,7 @@ BuildRequires: zlib-devel pciutils-devel libx86-devel # does not build on ppc, ppc64 and sparc arches, see #285361 (RedHat Bugzilla) # on ppc sys/io.h is missing, on ppc64 there are more complaints # build.logs are attached in the bug report -ExcludeArch: ppc ppc64 %{sparc} +ExcludeArch: ppc ppc64 %{sparc} s390 s390x # vbetool is included in (some of) these pm-utils releases Conflicts: pm-utils <= 0.99.3-11 @@ -49,6 +49,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Thu May 07 2009 Karsten Hopp 1.1-3.1 +- ExcludeArch s390, s390x + * Wed Feb 25 2009 Fedora Release Engineering - 1.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild From 600f381b23e56d9ef0396c665a6f3f76b96d877f Mon Sep 17 00:00:00 2001 From: Jesse Keating Date: Mon, 27 Jul 2009 06:44:54 +0000 Subject: [PATCH 04/13] - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild --- vbetool.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vbetool.spec b/vbetool.spec index 8d1b362..29b406d 100644 --- a/vbetool.spec +++ b/vbetool.spec @@ -1,6 +1,6 @@ Name: vbetool Version: 1.1 -Release: 3%{?dist}.1 +Release: 4%{?dist}.1 Summary: Run real-mode video BIOS code to alter hardware state Group: System Environment/Base @@ -49,6 +49,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Sun Jul 26 2009 Fedora Release Engineering - 1.1-4.1 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + * Thu May 07 2009 Karsten Hopp 1.1-3.1 - ExcludeArch s390, s390x From c46609ebbcc473b885b9213311b93e1cdc50464d Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Fri, 31 Jul 2009 01:54:39 +0000 Subject: [PATCH 05/13] - pciacccess.patch: post to use libpciaccess - vgaarbpost.patch: use vga arb to post secondaries --- pciaccess.patch | 90 +++++++++++++++++++++++++++++++++++ vbetool.spec | 14 +++++- vgaarbpost.patch | 121 +++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 223 insertions(+), 2 deletions(-) create mode 100644 pciaccess.patch create mode 100644 vgaarbpost.patch diff --git a/pciaccess.patch b/pciaccess.patch new file mode 100644 index 0000000..5835b6e --- /dev/null +++ b/pciaccess.patch @@ -0,0 +1,90 @@ +diff -ur vbetool-1.1/Makefile.am vbetool-dave/Makefile.am +--- vbetool-1.1/Makefile.am 2008-05-16 22:52:33.000000000 +1000 ++++ vbetool-dave/Makefile.am 2009-07-27 14:09:51.000000000 +1000 +@@ -2,7 +2,7 @@ + + sbin_PROGRAMS = vbetool + +-vbetool_LDADD = $(libdir)/libpci.a ++vbetool_LDADD = $(VBETOOL_LIBS) -lpciaccess -lz + + man_MANS = vbetool.1 + vbetool_SOURCES = vbetool.c $(x86) +Only in vbetool-dave: Makefile.am~ +diff -ur vbetool-1.1/vbetool.c vbetool-dave/vbetool.c +--- vbetool-1.1/vbetool.c 2008-05-16 22:56:30.000000000 +1000 ++++ vbetool-dave/vbetool.c 2009-07-27 14:12:41.000000000 +1000 +@@ -8,7 +8,7 @@ + version 2 + */ + +-#include ++#include + #include + #include + #include +@@ -36,8 +36,6 @@ + #define DPMS_STATE_OFF 0x0400 + #define DPMS_STATE_LOW 0x0800 + +-static struct pci_access *pacc; +- + int vbetool_init (void) { + if (!LRMI_init()) { + fprintf(stderr, "Failed to initialise LRMI (Linux Real-Mode Interface).\n"); +@@ -46,9 +44,7 @@ + + iopl(3); + +- pacc = pci_alloc(); +- pacc->numeric_ids = 1; +- pci_init(pacc); ++ pci_system_init(); + return 0; + } + +@@ -220,25 +216,30 @@ + + int do_post(void) + { +- struct pci_dev *p; + unsigned int c; +- unsigned int pci_id; + int error; ++ struct pci_id_match dev_match = { ++ PCI_MATCH_ANY, PCI_MATCH_ANY, PCI_MATCH_ANY, PCI_MATCH_ANY, ++ (0x03 << 16), 0xff000, 0 }; ++ struct pci_device *dev, *first_dev = NULL; ++ struct pci_device_iterator *iter; ++ unsigned pci_id; + +- pci_scan_bus(pacc); ++ iter = pci_id_match_iterator_create(&dev_match); ++ if (iter == NULL) { ++ return 1; ++ } + +- for (p = pacc->devices; p; p = p->next) { +- c = pci_read_word(p, PCI_CLASS_DEVICE); +- if (c == 0x300) { +- pci_id = +- (p->bus << 8) + (p->dev << 3) + +- (p->func & 0x7); +- error = do_real_post(pci_id); +- if (error != 0) { +- return error; +- } ++ while ((dev = pci_device_next(iter)) != NULL) { ++ pci_id = (dev->bus << 8) + (dev->dev << 3) + ++ (dev->func & 0x7); ++ ++ error = do_real_post(dev); ++ if (error != 0) { ++ return error; + } + } ++ pci_iterator_destroy(iter); + return 0; + } + +Only in vbetool-dave: vbetool.c~ diff --git a/vbetool.spec b/vbetool.spec index 29b406d..1c03998 100644 --- a/vbetool.spec +++ b/vbetool.spec @@ -1,6 +1,6 @@ Name: vbetool -Version: 1.1 -Release: 4%{?dist}.1 +Version: 1.2 +Release: 0.1%{?dist} Summary: Run real-mode video BIOS code to alter hardware state Group: System Environment/Base @@ -9,7 +9,9 @@ URL: http://www.codon.org.uk/~mjg59/vbetool/ Source0: http://www.codon.org.uk/~mjg59/vbetool/download/vbetool-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Requires: libpciaccess > 0.10.6-2 BuildRequires: zlib-devel pciutils-devel libx86-devel +BuildRequires: libpciaccess-devel >= 0.10.6-2 # does not build on ppc, ppc64 and sparc arches, see #285361 (RedHat Bugzilla) # on ppc sys/io.h is missing, on ppc64 there are more complaints # build.logs are attached in the bug report @@ -17,6 +19,8 @@ ExcludeArch: ppc ppc64 %{sparc} s390 s390x # vbetool is included in (some of) these pm-utils releases Conflicts: pm-utils <= 0.99.3-11 +Patch0: pciaccess.patch +Patch1: vgaarbpost.patch %description vbetool uses lrmi in order to run code from the video BIOS. Currently, it is @@ -26,6 +30,8 @@ initialize the video card from scratch. %prep %setup -q +%patch0 -p1 +%patch1 -p1 -b .vga %build %configure --with-x86emu @@ -49,6 +55,10 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Fri Jul 31 2009 Dave Airlie 1.2-0.1 +- pciacccess.patch: post to use libpciaccess +- vgaarbpost.patch: use vga arb to post secondaries + * Sun Jul 26 2009 Fedora Release Engineering - 1.1-4.1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild diff --git a/vgaarbpost.patch b/vgaarbpost.patch new file mode 100644 index 0000000..398934b --- /dev/null +++ b/vgaarbpost.patch @@ -0,0 +1,121 @@ +diff -up vbetool-1.1/vbetool.c.da vbetool-1.1/vbetool.c +--- vbetool-1.1/vbetool.c.da 2009-07-31 11:14:18.000000000 +1000 ++++ vbetool-1.1/vbetool.c 2009-07-31 11:45:39.000000000 +1000 +@@ -119,7 +119,14 @@ int main(int argc, char *argv[]) + MAP_FIXED|MAP_PRIVATE, romfd, 0); + } + +- return do_post(); ++ return do_post(0); ++ } else if (!strcmp(argv[1], "bootpost")) { ++ int err = check_console(); ++ ++ if (err) { ++ return err; ++ } ++ return do_post(1); + } else if (!strcmp(argv[1], "vgastate")) { + if (!strcmp(argv[2], "on")) { + return enable_vga(); +@@ -143,7 +150,7 @@ int main(int argc, char *argv[]) + } else { + usage: + fprintf(stderr, +- "%s: Usage %s [[vbestate save|restore]|[vbemode set|get]|[vgamode]|[dpms on|off|standby|suspend|reduced]|[post [romfile]]|[vgastate on|off]|[vbefp panelid|panelsize|getbrightness|setbrightness|invert]]\n", ++ "%s: Usage %s [[vbestate save|restore]|[vbemode set|get]|[vgamode]|[dpms on|off|standby|suspend|reduced]|[post [romfile]]|[bootpost]|[vgastate on|off]|[vbefp panelid|panelsize|getbrightness|setbrightness|invert]]\n", + argv[0], argv[0]); + return 1; + } +@@ -214,7 +221,48 @@ int do_real_post(unsigned pci_device) + return error; + } + +-int do_post(void) ++#define MAX_ROMSIZE 64*1024 ++void *rom_cseg; ++unsigned char romfile[MAX_ROMSIZE]; ++ ++void setup_rom_section(void) ++{ ++ munmap((void *)0xc0000, MAX_ROMSIZE); ++ rom_cseg = mmap((void *)0xc0000, MAX_ROMSIZE, PROT_READ|PROT_WRITE|PROT_EXEC, ++ MAP_FIXED|MAP_ANONYMOUS|MAP_PRIVATE, -1, 0); ++ if (!rom_cseg) { ++ fprintf(stdrer,"unable to setup fake rom\n"); ++ return -1 ++ } ++ return 0; ++} ++ ++int do_device_post(struct pci_device *dev) ++{ ++ int error = 0; ++ /* need to pull the ROM file */ ++ unsigned int pci_id; ++ int ret; ++ ++ pci_device_vgaarb_set_target(dev); ++ pci_device_vgaarb_lock(dev); ++ ret = pci_device_read_rom(dev, romfile); ++ if (ret) { ++ pci_device_vgaarb_unlock(dev); ++ fprintf(stderr,"rom read returned %d\n"); ++ return 0; ++ } ++ ++ memcpy(rom_cseg, romfile, MAX_ROMSIZE); ++ ++ pci_id = (dev->bus << 8) + (dev->dev << 3) + ++ (dev->func & 0x7); ++ error = do_real_post(pci_id); ++ pci_device_vgaarb_unlock(dev); ++ return error; ++} ++ ++int do_post(int boot_flag) + { + unsigned int c; + int error; +@@ -225,21 +273,35 @@ int do_post(void) + struct pci_device_iterator *iter; + unsigned pci_id; + ++ if (setup_rom_section()) ++ return -1; ++ ++ pci_device_vgaarb_init(); + iter = pci_id_match_iterator_create(&dev_match); + if (iter == NULL) { + return 1; + } +- ++ + while ((dev = pci_device_next(iter)) != NULL) { +- pci_id = (dev->bus << 8) + (dev->dev << 3) + +- (dev->func & 0x7); +- +- error = do_real_post(dev); +- if (error != 0) { +- return error; ++ if (!first_dev) ++ first_dev = dev; ++ ++ if (pci_device_is_boot_vga(dev) && (boot_flag == 1)) { ++ continue; ++ } ++ if (pci_device_has_kernel_driver(dev)) { ++ continue; + } ++ error = do_device_post(dev); ++ if (error) ++ return error; + } ++ + pci_iterator_destroy(iter); ++ pci_device_vgaarb_set_target(first_dev); ++ pci_device_vgaarb_lock(first_dev); ++ pci_device_vgaarb_unlock(first_dev); ++ pci_device_vgaarb_fini(); + return 0; + } + From f332e560100846c86ab455ea3dc8b579afe1415b Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Fri, 31 Jul 2009 03:57:44 +0000 Subject: [PATCH 06/13] - pciacccess.patch: post to use libpciaccess - vgaarbpost.patch: use vga arb to post secondaries --- vbetool.spec | 14 ++++--- vgaarbpost.patch | 104 ++++++++++++++++++++++++++++++++--------------- 2 files changed, 79 insertions(+), 39 deletions(-) diff --git a/vbetool.spec b/vbetool.spec index 1c03998..8923d4f 100644 --- a/vbetool.spec +++ b/vbetool.spec @@ -1,6 +1,6 @@ Name: vbetool -Version: 1.2 -Release: 0.1%{?dist} +Version: 1.1 +Release: 5.1%{?dist} Summary: Run real-mode video BIOS code to alter hardware state Group: System Environment/Base @@ -9,9 +9,10 @@ URL: http://www.codon.org.uk/~mjg59/vbetool/ Source0: http://www.codon.org.uk/~mjg59/vbetool/download/vbetool-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -Requires: libpciaccess > 0.10.6-2 -BuildRequires: zlib-devel pciutils-devel libx86-devel -BuildRequires: libpciaccess-devel >= 0.10.6-2 +Requires: libpciaccess > 0.10.6-3 +BuildRequires: zlib-devel libx86-devel +BuildRequires: libpciaccess-devel >= 0.10.6-3 +BuildRequires: autoconf automake libtool pkgconfig # does not build on ppc, ppc64 and sparc arches, see #285361 (RedHat Bugzilla) # on ppc sys/io.h is missing, on ppc64 there are more complaints # build.logs are attached in the bug report @@ -34,6 +35,7 @@ initialize the video card from scratch. %patch1 -p1 -b .vga %build +autoreconf -v --install %configure --with-x86emu make %{?_smp_mflags} @@ -55,7 +57,7 @@ rm -rf $RPM_BUILD_ROOT %changelog -* Fri Jul 31 2009 Dave Airlie 1.2-0.1 +* Fri Jul 31 2009 Dave Airlie 1.1-5.1 - pciacccess.patch: post to use libpciaccess - vgaarbpost.patch: use vga arb to post secondaries diff --git a/vgaarbpost.patch b/vgaarbpost.patch index 398934b..a33a9c1 100644 --- a/vgaarbpost.patch +++ b/vgaarbpost.patch @@ -1,7 +1,15 @@ -diff -up vbetool-1.1/vbetool.c.da vbetool-1.1/vbetool.c ---- vbetool-1.1/vbetool.c.da 2009-07-31 11:14:18.000000000 +1000 -+++ vbetool-1.1/vbetool.c 2009-07-31 11:45:39.000000000 +1000 -@@ -119,7 +119,14 @@ int main(int argc, char *argv[]) +diff -up vbetool-1.1/vbetool.c.vga vbetool-1.1/vbetool.c +--- vbetool-1.1/vbetool.c.vga 2009-07-31 13:46:35.000000000 +1000 ++++ vbetool-1.1/vbetool.c 2009-07-31 13:53:35.000000000 +1000 +@@ -113,13 +113,20 @@ int main(int argc, char *argv[]) + void *rc; + int romfd = open (argv[2], O_RDWR); + +- munmap(0xc0000, 64*1024); +- rc = mmap(0xc0000, 64*1024, ++ munmap((void*)0xc0000, 64*1024); ++ rc = mmap((void *)0xc0000, 64*1024, + PROT_READ|PROT_WRITE|PROT_EXEC, MAP_FIXED|MAP_PRIVATE, romfd, 0); } @@ -26,7 +34,7 @@ diff -up vbetool-1.1/vbetool.c.da vbetool-1.1/vbetool.c argv[0], argv[0]); return 1; } -@@ -214,7 +221,48 @@ int do_real_post(unsigned pci_device) +@@ -214,32 +221,100 @@ int do_real_post(unsigned pci_device) return error; } @@ -35,55 +43,67 @@ diff -up vbetool-1.1/vbetool.c.da vbetool-1.1/vbetool.c +void *rom_cseg; +unsigned char romfile[MAX_ROMSIZE]; + -+void setup_rom_section(void) ++int setup_rom_section(void) +{ + munmap((void *)0xc0000, MAX_ROMSIZE); + rom_cseg = mmap((void *)0xc0000, MAX_ROMSIZE, PROT_READ|PROT_WRITE|PROT_EXEC, + MAP_FIXED|MAP_ANONYMOUS|MAP_PRIVATE, -1, 0); + if (!rom_cseg) { -+ fprintf(stdrer,"unable to setup fake rom\n"); -+ return -1 ++ fprintf(stderr,"unable to setup fake rom\n"); ++ return -1; + } + return 0; +} + -+int do_device_post(struct pci_device *dev) ++int do_device_post(struct pci_device *dev, int has_arb) +{ + int error = 0; + /* need to pull the ROM file */ + unsigned int pci_id; + int ret; + -+ pci_device_vgaarb_set_target(dev); -+ pci_device_vgaarb_lock(dev); -+ ret = pci_device_read_rom(dev, romfile); -+ if (ret) { -+ pci_device_vgaarb_unlock(dev); -+ fprintf(stderr,"rom read returned %d\n"); -+ return 0; ++ if (has_arb) { ++ pci_device_vgaarb_set_target(dev); ++ pci_device_vgaarb_lock(dev); ++ ++ ret = pci_device_read_rom(dev, romfile); ++ if (ret) { ++ pci_device_vgaarb_unlock(dev); ++ fprintf(stderr,"rom read returned %d\n", ret); ++ return 0; ++ } ++ ++ memcpy(rom_cseg, romfile, MAX_ROMSIZE); + } -+ -+ memcpy(rom_cseg, romfile, MAX_ROMSIZE); -+ + pci_id = (dev->bus << 8) + (dev->dev << 3) + + (dev->func & 0x7); + error = do_real_post(pci_id); -+ pci_device_vgaarb_unlock(dev); ++ if (has_arb) ++ pci_device_vgaarb_unlock(dev); + return error; +} + +int do_post(int boot_flag) { - unsigned int c; +- unsigned int c; int error; -@@ -225,21 +273,35 @@ int do_post(void) + struct pci_id_match dev_match = { + PCI_MATCH_ANY, PCI_MATCH_ANY, PCI_MATCH_ANY, PCI_MATCH_ANY, + (0x03 << 16), 0xff000, 0 }; + struct pci_device *dev, *first_dev = NULL; struct pci_device_iterator *iter; - unsigned pci_id; - -+ if (setup_rom_section()) -+ return -1; +- unsigned pci_id; ++ int has_arb = 1; ++ int ret; + -+ pci_device_vgaarb_init(); ++ ret = pci_device_vgaarb_init(); ++ if (ret) ++ has_arb = 0; ++ ++ if (has_arb) ++ if (setup_rom_section()) ++ return -1; + iter = pci_id_match_iterator_create(&dev_match); if (iter == NULL) { return 1; @@ -97,25 +117,43 @@ diff -up vbetool-1.1/vbetool.c.da vbetool-1.1/vbetool.c - error = do_real_post(dev); - if (error != 0) { - return error; ++ int is_boot = pci_device_is_boot_vga(dev); + if (!first_dev) + first_dev = dev; + -+ if (pci_device_is_boot_vga(dev) && (boot_flag == 1)) { ++ if (!is_boot && !has_arb) ++ continue; ++ ++ if (is_boot && boot_flag) { + continue; + } + if (pci_device_has_kernel_driver(dev)) { + continue; } -+ error = do_device_post(dev); ++ error = do_device_post(dev, has_arb); + if (error) + return error; } + pci_iterator_destroy(iter); -+ pci_device_vgaarb_set_target(first_dev); -+ pci_device_vgaarb_lock(first_dev); -+ pci_device_vgaarb_unlock(first_dev); -+ pci_device_vgaarb_fini(); ++ if (has_arb) { ++ pci_device_vgaarb_set_target(first_dev); ++ pci_device_vgaarb_lock(first_dev); ++ pci_device_vgaarb_unlock(first_dev); ++ pci_device_vgaarb_fini(); ++ } return 0; } +diff -up vbetool-1.1/vbetool.h.vga vbetool-1.1/vbetool.h +--- vbetool-1.1/vbetool.h.vga 2007-03-03 11:50:00.000000000 +1000 ++++ vbetool-1.1/vbetool.h 2009-07-31 13:46:35.000000000 +1000 +@@ -8,7 +8,7 @@ int do_get_mode(void); + int do_get_panel_brightness(void); + int do_set_panel_brightness(int brightness); + int do_invert_panel(void); +-int do_post(void); ++int do_post(int boot_flag); + void restore_state(void); + void save_state(void); + void text_mode(void); From 53c7ca5ac8c0dd407c33803df0ba612ed152c31d Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Tue, 4 Aug 2009 00:06:34 +0000 Subject: [PATCH 07/13] - rebase to vbetool 1.2.0 --- .cvsignore | 2 +- pciaccess.patch | 90 --------------------------- sources | 2 +- vbetool.spec | 14 ++--- vgaarbpost.patch | 159 ----------------------------------------------- 5 files changed, 8 insertions(+), 259 deletions(-) delete mode 100644 pciaccess.patch delete mode 100644 vgaarbpost.patch diff --git a/.cvsignore b/.cvsignore index 26d9ecd..c81c88a 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -vbetool-1.1.tar.gz +vbetool-1.2.0.tar.bz2 diff --git a/pciaccess.patch b/pciaccess.patch deleted file mode 100644 index 5835b6e..0000000 --- a/pciaccess.patch +++ /dev/null @@ -1,90 +0,0 @@ -diff -ur vbetool-1.1/Makefile.am vbetool-dave/Makefile.am ---- vbetool-1.1/Makefile.am 2008-05-16 22:52:33.000000000 +1000 -+++ vbetool-dave/Makefile.am 2009-07-27 14:09:51.000000000 +1000 -@@ -2,7 +2,7 @@ - - sbin_PROGRAMS = vbetool - --vbetool_LDADD = $(libdir)/libpci.a -+vbetool_LDADD = $(VBETOOL_LIBS) -lpciaccess -lz - - man_MANS = vbetool.1 - vbetool_SOURCES = vbetool.c $(x86) -Only in vbetool-dave: Makefile.am~ -diff -ur vbetool-1.1/vbetool.c vbetool-dave/vbetool.c ---- vbetool-1.1/vbetool.c 2008-05-16 22:56:30.000000000 +1000 -+++ vbetool-dave/vbetool.c 2009-07-27 14:12:41.000000000 +1000 -@@ -8,7 +8,7 @@ - version 2 - */ - --#include -+#include - #include - #include - #include -@@ -36,8 +36,6 @@ - #define DPMS_STATE_OFF 0x0400 - #define DPMS_STATE_LOW 0x0800 - --static struct pci_access *pacc; -- - int vbetool_init (void) { - if (!LRMI_init()) { - fprintf(stderr, "Failed to initialise LRMI (Linux Real-Mode Interface).\n"); -@@ -46,9 +44,7 @@ - - iopl(3); - -- pacc = pci_alloc(); -- pacc->numeric_ids = 1; -- pci_init(pacc); -+ pci_system_init(); - return 0; - } - -@@ -220,25 +216,30 @@ - - int do_post(void) - { -- struct pci_dev *p; - unsigned int c; -- unsigned int pci_id; - int error; -+ struct pci_id_match dev_match = { -+ PCI_MATCH_ANY, PCI_MATCH_ANY, PCI_MATCH_ANY, PCI_MATCH_ANY, -+ (0x03 << 16), 0xff000, 0 }; -+ struct pci_device *dev, *first_dev = NULL; -+ struct pci_device_iterator *iter; -+ unsigned pci_id; - -- pci_scan_bus(pacc); -+ iter = pci_id_match_iterator_create(&dev_match); -+ if (iter == NULL) { -+ return 1; -+ } - -- for (p = pacc->devices; p; p = p->next) { -- c = pci_read_word(p, PCI_CLASS_DEVICE); -- if (c == 0x300) { -- pci_id = -- (p->bus << 8) + (p->dev << 3) + -- (p->func & 0x7); -- error = do_real_post(pci_id); -- if (error != 0) { -- return error; -- } -+ while ((dev = pci_device_next(iter)) != NULL) { -+ pci_id = (dev->bus << 8) + (dev->dev << 3) + -+ (dev->func & 0x7); -+ -+ error = do_real_post(dev); -+ if (error != 0) { -+ return error; - } - } -+ pci_iterator_destroy(iter); - return 0; - } - -Only in vbetool-dave: vbetool.c~ diff --git a/sources b/sources index 8e8f52b..d497c17 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -ffb03b118867a02296d7449019ad8846 vbetool-1.1.tar.gz +8b148d9b54f8bc3a6dfe1be82e792b35 vbetool-1.2.0.tar.bz2 diff --git a/vbetool.spec b/vbetool.spec index 8923d4f..c7fb8ed 100644 --- a/vbetool.spec +++ b/vbetool.spec @@ -1,12 +1,12 @@ Name: vbetool -Version: 1.1 -Release: 5.1%{?dist} +Version: 1.2.0 +Release: 1%{?dist} Summary: Run real-mode video BIOS code to alter hardware state Group: System Environment/Base License: GPLv2 URL: http://www.codon.org.uk/~mjg59/vbetool/ -Source0: http://www.codon.org.uk/~mjg59/vbetool/download/vbetool-%{version}.tar.gz +Source0: http://www.codon.org.uk/~mjg59/vbetool/download/vbetool-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: libpciaccess > 0.10.6-3 @@ -20,9 +20,6 @@ ExcludeArch: ppc ppc64 %{sparc} s390 s390x # vbetool is included in (some of) these pm-utils releases Conflicts: pm-utils <= 0.99.3-11 -Patch0: pciaccess.patch -Patch1: vgaarbpost.patch - %description vbetool uses lrmi in order to run code from the video BIOS. Currently, it is able to alter DPMS states, save/restore video card state and attempt to @@ -31,8 +28,6 @@ initialize the video card from scratch. %prep %setup -q -%patch0 -p1 -%patch1 -p1 -b .vga %build autoreconf -v --install @@ -57,6 +52,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Tue Aug 04 2009 Dave Airlie 1.2.0-1 +- rebase to vbetool 1.2.0 + * Fri Jul 31 2009 Dave Airlie 1.1-5.1 - pciacccess.patch: post to use libpciaccess - vgaarbpost.patch: use vga arb to post secondaries diff --git a/vgaarbpost.patch b/vgaarbpost.patch deleted file mode 100644 index a33a9c1..0000000 --- a/vgaarbpost.patch +++ /dev/null @@ -1,159 +0,0 @@ -diff -up vbetool-1.1/vbetool.c.vga vbetool-1.1/vbetool.c ---- vbetool-1.1/vbetool.c.vga 2009-07-31 13:46:35.000000000 +1000 -+++ vbetool-1.1/vbetool.c 2009-07-31 13:53:35.000000000 +1000 -@@ -113,13 +113,20 @@ int main(int argc, char *argv[]) - void *rc; - int romfd = open (argv[2], O_RDWR); - -- munmap(0xc0000, 64*1024); -- rc = mmap(0xc0000, 64*1024, -+ munmap((void*)0xc0000, 64*1024); -+ rc = mmap((void *)0xc0000, 64*1024, - PROT_READ|PROT_WRITE|PROT_EXEC, - MAP_FIXED|MAP_PRIVATE, romfd, 0); - } - -- return do_post(); -+ return do_post(0); -+ } else if (!strcmp(argv[1], "bootpost")) { -+ int err = check_console(); -+ -+ if (err) { -+ return err; -+ } -+ return do_post(1); - } else if (!strcmp(argv[1], "vgastate")) { - if (!strcmp(argv[2], "on")) { - return enable_vga(); -@@ -143,7 +150,7 @@ int main(int argc, char *argv[]) - } else { - usage: - fprintf(stderr, -- "%s: Usage %s [[vbestate save|restore]|[vbemode set|get]|[vgamode]|[dpms on|off|standby|suspend|reduced]|[post [romfile]]|[vgastate on|off]|[vbefp panelid|panelsize|getbrightness|setbrightness|invert]]\n", -+ "%s: Usage %s [[vbestate save|restore]|[vbemode set|get]|[vgamode]|[dpms on|off|standby|suspend|reduced]|[post [romfile]]|[bootpost]|[vgastate on|off]|[vbefp panelid|panelsize|getbrightness|setbrightness|invert]]\n", - argv[0], argv[0]); - return 1; - } -@@ -214,32 +221,100 @@ int do_real_post(unsigned pci_device) - return error; - } - --int do_post(void) -+#define MAX_ROMSIZE 64*1024 -+void *rom_cseg; -+unsigned char romfile[MAX_ROMSIZE]; -+ -+int setup_rom_section(void) -+{ -+ munmap((void *)0xc0000, MAX_ROMSIZE); -+ rom_cseg = mmap((void *)0xc0000, MAX_ROMSIZE, PROT_READ|PROT_WRITE|PROT_EXEC, -+ MAP_FIXED|MAP_ANONYMOUS|MAP_PRIVATE, -1, 0); -+ if (!rom_cseg) { -+ fprintf(stderr,"unable to setup fake rom\n"); -+ return -1; -+ } -+ return 0; -+} -+ -+int do_device_post(struct pci_device *dev, int has_arb) -+{ -+ int error = 0; -+ /* need to pull the ROM file */ -+ unsigned int pci_id; -+ int ret; -+ -+ if (has_arb) { -+ pci_device_vgaarb_set_target(dev); -+ pci_device_vgaarb_lock(dev); -+ -+ ret = pci_device_read_rom(dev, romfile); -+ if (ret) { -+ pci_device_vgaarb_unlock(dev); -+ fprintf(stderr,"rom read returned %d\n", ret); -+ return 0; -+ } -+ -+ memcpy(rom_cseg, romfile, MAX_ROMSIZE); -+ } -+ pci_id = (dev->bus << 8) + (dev->dev << 3) + -+ (dev->func & 0x7); -+ error = do_real_post(pci_id); -+ if (has_arb) -+ pci_device_vgaarb_unlock(dev); -+ return error; -+} -+ -+int do_post(int boot_flag) - { -- unsigned int c; - int error; - struct pci_id_match dev_match = { - PCI_MATCH_ANY, PCI_MATCH_ANY, PCI_MATCH_ANY, PCI_MATCH_ANY, - (0x03 << 16), 0xff000, 0 }; - struct pci_device *dev, *first_dev = NULL; - struct pci_device_iterator *iter; -- unsigned pci_id; -+ int has_arb = 1; -+ int ret; -+ -+ ret = pci_device_vgaarb_init(); -+ if (ret) -+ has_arb = 0; -+ -+ if (has_arb) -+ if (setup_rom_section()) -+ return -1; - - iter = pci_id_match_iterator_create(&dev_match); - if (iter == NULL) { - return 1; - } -- -+ - while ((dev = pci_device_next(iter)) != NULL) { -- pci_id = (dev->bus << 8) + (dev->dev << 3) + -- (dev->func & 0x7); -- -- error = do_real_post(dev); -- if (error != 0) { -- return error; -+ int is_boot = pci_device_is_boot_vga(dev); -+ if (!first_dev) -+ first_dev = dev; -+ -+ if (!is_boot && !has_arb) -+ continue; -+ -+ if (is_boot && boot_flag) { -+ continue; -+ } -+ if (pci_device_has_kernel_driver(dev)) { -+ continue; - } -+ error = do_device_post(dev, has_arb); -+ if (error) -+ return error; - } -+ - pci_iterator_destroy(iter); -+ if (has_arb) { -+ pci_device_vgaarb_set_target(first_dev); -+ pci_device_vgaarb_lock(first_dev); -+ pci_device_vgaarb_unlock(first_dev); -+ pci_device_vgaarb_fini(); -+ } - return 0; - } - -diff -up vbetool-1.1/vbetool.h.vga vbetool-1.1/vbetool.h ---- vbetool-1.1/vbetool.h.vga 2007-03-03 11:50:00.000000000 +1000 -+++ vbetool-1.1/vbetool.h 2009-07-31 13:46:35.000000000 +1000 -@@ -8,7 +8,7 @@ int do_get_mode(void); - int do_get_panel_brightness(void); - int do_set_panel_brightness(int brightness); - int do_invert_panel(void); --int do_post(void); -+int do_post(int boot_flag); - void restore_state(void); - void save_state(void); - void text_mode(void); From 905e49f04432195a1ecd6d1c9b29b132dbdae00c Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Tue, 4 Aug 2009 02:52:33 +0000 Subject: [PATCH 08/13] update BR/reqs --- vbetool.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vbetool.spec b/vbetool.spec index c7fb8ed..c22219a 100644 --- a/vbetool.spec +++ b/vbetool.spec @@ -9,9 +9,9 @@ URL: http://www.codon.org.uk/~mjg59/vbetool/ Source0: http://www.codon.org.uk/~mjg59/vbetool/download/vbetool-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -Requires: libpciaccess > 0.10.6-3 +Requires: libpciaccess > 0.10.6-4 libx86 BuildRequires: zlib-devel libx86-devel -BuildRequires: libpciaccess-devel >= 0.10.6-3 +BuildRequires: libpciaccess-devel >= 0.10.6-4 libx86-devel BuildRequires: autoconf automake libtool pkgconfig # does not build on ppc, ppc64 and sparc arches, see #285361 (RedHat Bugzilla) # on ppc sys/io.h is missing, on ppc64 there are more complaints From 71ee7cd2cf6356e16e5ec87c4f20b6314c81663e Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Wed, 5 Aug 2009 03:59:58 +0000 Subject: [PATCH 09/13] - rebase to 1.2.1 and install the udev rules --- .cvsignore | 2 +- sources | 2 +- vbetool.spec | 9 ++++++--- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.cvsignore b/.cvsignore index c81c88a..540b319 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -vbetool-1.2.0.tar.bz2 +vbetool-1.2.1.tar.bz2 diff --git a/sources b/sources index d497c17..a12ffb0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -8b148d9b54f8bc3a6dfe1be82e792b35 vbetool-1.2.0.tar.bz2 +6a94f1c69c348de65e14a4ad9acbf795 vbetool-1.2.1.tar.bz2 diff --git a/vbetool.spec b/vbetool.spec index c22219a..5c0ee8b 100644 --- a/vbetool.spec +++ b/vbetool.spec @@ -1,5 +1,5 @@ Name: vbetool -Version: 1.2.0 +Version: 1.2.1 Release: 1%{?dist} Summary: Run real-mode video BIOS code to alter hardware state @@ -38,7 +38,7 @@ make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT - +install -m 0644 -D udev-video-post-example.rules $RPM_BUILD_ROOT/etc/udev/rules.d/92-video-post.rules %clean rm -rf $RPM_BUILD_ROOT @@ -49,9 +49,12 @@ rm -rf $RPM_BUILD_ROOT %doc COPYING %{_sbindir}/vbetool %{_mandir}/man1/vbetool.1.gz - +%{_sysconfdir}/udev/rules.d/92-video-post.rules %changelog +* Wed Aug 05 2009 Dave Airlie 1.2.1-1 +- rebase to 1.2.1 and install the udev rules + * Tue Aug 04 2009 Dave Airlie 1.2.0-1 - rebase to vbetool 1.2.0 From c999164668e5c44894910d234e0ba4be05f4f249 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Wed, 25 Nov 2009 22:43:19 +0000 Subject: [PATCH 10/13] Fix typo that causes a failure to update the common directory. (releng #2781) --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 9310e25..efaed09 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,10 @@ # Makefile for source rpm: vbetool -# $Id$ +# $Id: Makefile,v 1.1 2007/09/09 22:33:51 kevin Exp $ NAME := vbetool SPECFILE = $(firstword $(wildcard *.spec)) define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done +for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done endef MAKEFILE_COMMON := $(shell $(find-makefile-common)) From 421002f0bbdd5568c47707135e2da782b4ed5a2f Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 29 Jul 2010 14:54:25 +0000 Subject: [PATCH 11/13] dist-git conversion --- .cvsignore => .gitignore | 0 Makefile | 21 --------------------- 2 files changed, 21 deletions(-) rename .cvsignore => .gitignore (100%) delete mode 100644 Makefile diff --git a/.cvsignore b/.gitignore similarity index 100% rename from .cvsignore rename to .gitignore diff --git a/Makefile b/Makefile deleted file mode 100644 index efaed09..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: vbetool -# $Id: Makefile,v 1.1 2007/09/09 22:33:51 kevin Exp $ -NAME := vbetool -SPECFILE = $(firstword $(wildcard *.spec)) - -define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done -endef - -MAKEFILE_COMMON := $(shell $(find-makefile-common)) - -ifeq ($(MAKEFILE_COMMON),) -# attept a checkout -define checkout-makefile-common -test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 -endef - -MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) -endif - -include $(MAKEFILE_COMMON) From bff1aa20a8affdf6399cdfc05b4fe2ec2e725182 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Sat, 14 Jan 2012 01:46:05 -0600 Subject: [PATCH 12/13] - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild --- vbetool.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vbetool.spec b/vbetool.spec index 5c0ee8b..dd73566 100644 --- a/vbetool.spec +++ b/vbetool.spec @@ -1,6 +1,6 @@ Name: vbetool Version: 1.2.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Run real-mode video BIOS code to alter hardware state Group: System Environment/Base @@ -52,6 +52,9 @@ rm -rf $RPM_BUILD_ROOT %{_sysconfdir}/udev/rules.d/92-video-post.rules %changelog +* Sat Jan 14 2012 Fedora Release Engineering - 1.2.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + * Wed Aug 05 2009 Dave Airlie 1.2.1-1 - rebase to 1.2.1 and install the udev rules From c7be324f33daadda9004c71a68ff80f64ebe5be9 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Mon, 4 Jun 2012 11:02:28 -0400 Subject: [PATCH 13/13] Suspend not supported under UMS. Not installed by default since F13. --- .gitignore | 1 - dead.package | 1 + sources | 1 - vbetool.spec | 100 --------------------------------------------------- 4 files changed, 1 insertion(+), 102 deletions(-) delete mode 100644 .gitignore create mode 100644 dead.package delete mode 100644 sources delete mode 100644 vbetool.spec diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 540b319..0000000 --- a/.gitignore +++ /dev/null @@ -1 +0,0 @@ -vbetool-1.2.1.tar.bz2 diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..a55506a --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +Suspend not supported under UMS. Not installed by default since F13. diff --git a/sources b/sources deleted file mode 100644 index a12ffb0..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -6a94f1c69c348de65e14a4ad9acbf795 vbetool-1.2.1.tar.bz2 diff --git a/vbetool.spec b/vbetool.spec deleted file mode 100644 index dd73566..0000000 --- a/vbetool.spec +++ /dev/null @@ -1,100 +0,0 @@ -Name: vbetool -Version: 1.2.1 -Release: 2%{?dist} -Summary: Run real-mode video BIOS code to alter hardware state - -Group: System Environment/Base -License: GPLv2 -URL: http://www.codon.org.uk/~mjg59/vbetool/ -Source0: http://www.codon.org.uk/~mjg59/vbetool/download/vbetool-%{version}.tar.bz2 -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Requires: libpciaccess > 0.10.6-4 libx86 -BuildRequires: zlib-devel libx86-devel -BuildRequires: libpciaccess-devel >= 0.10.6-4 libx86-devel -BuildRequires: autoconf automake libtool pkgconfig -# does not build on ppc, ppc64 and sparc arches, see #285361 (RedHat Bugzilla) -# on ppc sys/io.h is missing, on ppc64 there are more complaints -# build.logs are attached in the bug report -ExcludeArch: ppc ppc64 %{sparc} s390 s390x -# vbetool is included in (some of) these pm-utils releases -Conflicts: pm-utils <= 0.99.3-11 - -%description -vbetool uses lrmi in order to run code from the video BIOS. Currently, it is -able to alter DPMS states, save/restore video card state and attempt to -initialize the video card from scratch. - - -%prep -%setup -q - -%build -autoreconf -v --install -%configure --with-x86emu -make %{?_smp_mflags} - - -%install -rm -rf $RPM_BUILD_ROOT -make install DESTDIR=$RPM_BUILD_ROOT -install -m 0644 -D udev-video-post-example.rules $RPM_BUILD_ROOT/etc/udev/rules.d/92-video-post.rules - -%clean -rm -rf $RPM_BUILD_ROOT - - -%files -%defattr(-,root,root,-) -%doc COPYING -%{_sbindir}/vbetool -%{_mandir}/man1/vbetool.1.gz -%{_sysconfdir}/udev/rules.d/92-video-post.rules - -%changelog -* Sat Jan 14 2012 Fedora Release Engineering - 1.2.1-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild - -* Wed Aug 05 2009 Dave Airlie 1.2.1-1 -- rebase to 1.2.1 and install the udev rules - -* Tue Aug 04 2009 Dave Airlie 1.2.0-1 -- rebase to vbetool 1.2.0 - -* Fri Jul 31 2009 Dave Airlie 1.1-5.1 -- pciacccess.patch: post to use libpciaccess -- vgaarbpost.patch: use vga arb to post secondaries - -* Sun Jul 26 2009 Fedora Release Engineering - 1.1-4.1 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild - -* Thu May 07 2009 Karsten Hopp 1.1-3.1 -- ExcludeArch s390, s390x - -* Wed Feb 25 2009 Fedora Release Engineering - 1.1-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild - -* Wed Jan 14 2009 Dennis Gilmore - 1.1-2 -- exclude sparc arches missing sys/io.h - -* Mon May 19 2008 Matthew Garrett - 1.1-1 -- update to version 1.1 - -* Tue Mar 25 2008 Till Maas - 0.7-6 -- remove overriding of CFLAGS for x86emu - -* Wed Feb 20 2008 Fedora Release Engineering - 0.7-5 -- Autorebuild for GCC 4.3 - -* Sun Dec 02 2007 Till Maas - 0.7-4 -- libz.a is now in a -static subpackage, add to BR - -* Tue Nov 13 2007 Adam Jackson 0.7-3 -- Build with x86emu everywhere for uniformity of bugs and consistency with X. - -* Fri Sep 07 2007 Till Maas 0.7-2 -- ExcludeArch: ppc and ppc64 (does not build there) -- add Conflicts with old pm-utils package - -* Fri Aug 31 2007 Till Maas - 0.7-1 -- initial release for Fedora with patches from the pm-utils package