rpms/sdlmess/F-11 .cvsignore, 1.12, 1.13 sdlmess.spec, 1.15, 1.16 sources, 1.12, 1.13 sdlmess-0134-nounidasm.patch, 1.1, NONE
by Julian Sikorski
Author: belegdol
Update of /cvs/nonfree/rpms/sdlmess/F-11
In directory se02.es.rpmfusion.net:/tmp/cvs-serv29211
Modified Files:
.cvsignore sdlmess.spec sources
Removed Files:
sdlmess-0134-nounidasm.patch
Log Message:
* Mon Jan 11 2010 Julian Sikorski <belegdol[at]gmail[dot]com> - 0136-1
- Updated to 0.136
- Added dat2html to the -tools subpackage
- Dropped unidasm patch and solved the problem correctly
Index: .cvsignore
===================================================================
RCS file: /cvs/nonfree/rpms/sdlmess/F-11/.cvsignore,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- .cvsignore 8 Nov 2009 14:23:06 -0000 1.12
+++ .cvsignore 11 Jan 2010 18:29:00 -0000 1.13
@@ -1,3 +1,3 @@
ui.bdc
ctrlr.rar
-sdlmess0135.zip
+sdlmess0136.zip
Index: sdlmess.spec
===================================================================
RCS file: /cvs/nonfree/rpms/sdlmess/F-11/sdlmess.spec,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- sdlmess.spec 8 Nov 2009 14:23:07 -0000 1.15
+++ sdlmess.spec 11 Jan 2010 18:29:00 -0000 1.16
@@ -5,14 +5,14 @@
%global arch_flags PTR64=1
%endif
%ifarch ppc
-%global arch_flags BIGENDIAN=1
+%global arch_flags powerpc=1 BIGENDIAN=1
%endif
%ifarch ppc64
-%global arch_flags BIGENDIAN=1 PTR64=1
+%global arch_flags powerpc=1 BIGENDIAN=1 PTR64=1
%endif
Name: sdlmess
-Version: 0135
+Version: 0136
Release: 1%{?dist}
Summary: SDL Multiple Emulator Super System
@@ -27,7 +27,6 @@
Patch0: %{name}-warnings.patch
Patch1: %{name}-expat.patch
Patch3: %{name}-fortify.patch
-Patch4: %{name}-0134-nounidasm.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: SDL-devel expat-devel zlib-devel libGL-devel gtk2-devel unrar
@@ -68,7 +67,6 @@
%patch0 -p0 -b .warnings~
%patch1 -p0 -b .expat~
%patch3 -p0 -b .fortify
-%patch4 -p1 -b .nounidasm
# Create mess.ini file
cat > mess.ini << EOF
@@ -114,6 +112,11 @@
# Move the imgtool documentation to the top dir for better visibility
mv docs/imgtool.txt .
+# Fix permissions
+chmod -x docs/license.txt docs/config.txt docs/mame.txt docs/faq.htm \
+ docs/credits.htm imgtool.txt
+find src/mess -type f \( -name \*.h -or -name \*.c \) -exec chmod -x {} \;
+
%build
%if %{with debug}
@@ -155,7 +158,7 @@
%else
install -pm 755 mess %{buildroot}%{_bindir}/mess
%endif
-install -pm 755 castool imgtool messtest %{buildroot}%{_bindir}
+install -pm 755 castool dat2html imgtool messtest %{buildroot}%{_bindir}
install -pm 644 sysinfo.dat %{buildroot}%{_datadir}/mess
install -pm 644 artwork/* %{buildroot}%{_datadir}/mess/artwork
install -pm 644 ui.bdf %{SOURCE2} %{buildroot}%{_datadir}/mess/fonts
@@ -196,6 +199,7 @@
%defattr(-,root,root,-)
%doc imgtool.txt
%{_bindir}/castool
+%{_bindir}/dat2html
%{_bindir}/imgtool
%{_bindir}/messtest
@@ -208,6 +212,11 @@
%changelog
+* Mon Jan 11 2010 Julian Sikorski <belegdol[at]gmail[dot]com> - 0136-1
+- Updated to 0.136
+- Added dat2html to the -tools subpackage
+- Dropped unidasm patch and solved the problem correctly
+
* Sun Nov 08 2009 Julian Sikorski <belegdol[at]gmail[dot]com> - 0135-1
- Updated to 0.135
- Use %%global instead of %%define
Index: sources
===================================================================
RCS file: /cvs/nonfree/rpms/sdlmess/F-11/sources,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- sources 8 Nov 2009 14:23:07 -0000 1.12
+++ sources 11 Jan 2010 18:29:00 -0000 1.13
@@ -1,3 +1,3 @@
b64914c2a5589f6d5b00361464152acd ui.bdc
d907085f2f69b74198796378e3ed0cb3 ctrlr.rar
-1c46e71e4d268d5afdca1b57aba1096e sdlmess0135.zip
+ad07a5df80f0f7a548f14703aa6ff756 sdlmess0136.zip
--- sdlmess-0134-nounidasm.patch DELETED ---
15 years, 1 month
rpms/sdlmess/F-12 .cvsignore,1.12,1.13 sources,1.12,1.13
by Julian Sikorski
Author: belegdol
Update of /cvs/nonfree/rpms/sdlmess/F-12
In directory se02.es.rpmfusion.net:/tmp/cvs-serv29126
Modified Files:
.cvsignore sources
Log Message:
Forgot to run make new-sources
Index: .cvsignore
===================================================================
RCS file: /cvs/nonfree/rpms/sdlmess/F-12/.cvsignore,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- .cvsignore 8 Nov 2009 14:22:54 -0000 1.12
+++ .cvsignore 11 Jan 2010 18:27:25 -0000 1.13
@@ -1,3 +1,3 @@
ui.bdc
ctrlr.rar
-sdlmess0135.zip
+sdlmess0136.zip
Index: sources
===================================================================
RCS file: /cvs/nonfree/rpms/sdlmess/F-12/sources,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- sources 8 Nov 2009 14:22:54 -0000 1.12
+++ sources 11 Jan 2010 18:27:25 -0000 1.13
@@ -1,3 +1,3 @@
b64914c2a5589f6d5b00361464152acd ui.bdc
d907085f2f69b74198796378e3ed0cb3 ctrlr.rar
-1c46e71e4d268d5afdca1b57aba1096e sdlmess0135.zip
+ad07a5df80f0f7a548f14703aa6ff756 sdlmess0136.zip
15 years, 1 month
rpms/sdlmess/devel .cvsignore,1.12,1.13 sources,1.12,1.13
by Julian Sikorski
Author: belegdol
Update of /cvs/nonfree/rpms/sdlmess/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv29048
Modified Files:
.cvsignore sources
Log Message:
Forgot to run make new-sources
Index: .cvsignore
===================================================================
RCS file: /cvs/nonfree/rpms/sdlmess/devel/.cvsignore,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- .cvsignore 8 Nov 2009 14:22:54 -0000 1.12
+++ .cvsignore 11 Jan 2010 18:27:16 -0000 1.13
@@ -1,3 +1,3 @@
ui.bdc
ctrlr.rar
-sdlmess0135.zip
+sdlmess0136.zip
Index: sources
===================================================================
RCS file: /cvs/nonfree/rpms/sdlmess/devel/sources,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- sources 8 Nov 2009 14:22:54 -0000 1.12
+++ sources 11 Jan 2010 18:27:16 -0000 1.13
@@ -1,3 +1,3 @@
b64914c2a5589f6d5b00361464152acd ui.bdc
d907085f2f69b74198796378e3ed0cb3 ctrlr.rar
-1c46e71e4d268d5afdca1b57aba1096e sdlmess0135.zip
+ad07a5df80f0f7a548f14703aa6ff756 sdlmess0136.zip
15 years, 1 month
rpms/sdlmess/F-12 sdlmess.spec, 1.16, 1.17 sdlmess-0134-nounidasm.patch, 1.1, NONE
by Julian Sikorski
Author: belegdol
Update of /cvs/nonfree/rpms/sdlmess/F-12
In directory se02.es.rpmfusion.net:/tmp/cvs-serv28243
Modified Files:
sdlmess.spec
Removed Files:
sdlmess-0134-nounidasm.patch
Log Message:
* Mon Jan 11 2010 Julian Sikorski <belegdol[at]gmail[dot]com> - 0136-1
- Updated to 0.136
- Added dat2html to the -tools subpackage
- Dropped unidasm patch and solved the problem correctly
Index: sdlmess.spec
===================================================================
RCS file: /cvs/nonfree/rpms/sdlmess/F-12/sdlmess.spec,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- sdlmess.spec 8 Nov 2009 14:22:54 -0000 1.16
+++ sdlmess.spec 11 Jan 2010 18:18:40 -0000 1.17
@@ -5,14 +5,14 @@
%global arch_flags PTR64=1
%endif
%ifarch ppc
-%global arch_flags BIGENDIAN=1
+%global arch_flags powerpc=1 BIGENDIAN=1
%endif
%ifarch ppc64
-%global arch_flags BIGENDIAN=1 PTR64=1
+%global arch_flags powerpc=1 BIGENDIAN=1 PTR64=1
%endif
Name: sdlmess
-Version: 0135
+Version: 0136
Release: 1%{?dist}
Summary: SDL Multiple Emulator Super System
@@ -27,7 +27,6 @@
Patch0: %{name}-warnings.patch
Patch1: %{name}-expat.patch
Patch3: %{name}-fortify.patch
-Patch4: %{name}-0134-nounidasm.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: SDL-devel expat-devel zlib-devel libGL-devel gtk2-devel unrar
@@ -68,7 +67,6 @@
%patch0 -p0 -b .warnings~
%patch1 -p0 -b .expat~
%patch3 -p0 -b .fortify
-%patch4 -p1 -b .nounidasm
# Create mess.ini file
cat > mess.ini << EOF
@@ -114,6 +112,11 @@
# Move the imgtool documentation to the top dir for better visibility
mv docs/imgtool.txt .
+# Fix permissions
+chmod -x docs/license.txt docs/config.txt docs/mame.txt docs/faq.htm \
+ docs/credits.htm imgtool.txt
+find src/mess -type f \( -name \*.h -or -name \*.c \) -exec chmod -x {} \;
+
%build
%if %{with debug}
@@ -155,7 +158,7 @@
%else
install -pm 755 mess %{buildroot}%{_bindir}/mess
%endif
-install -pm 755 castool imgtool messtest %{buildroot}%{_bindir}
+install -pm 755 castool dat2html imgtool messtest %{buildroot}%{_bindir}
install -pm 644 sysinfo.dat %{buildroot}%{_datadir}/mess
install -pm 644 artwork/* %{buildroot}%{_datadir}/mess/artwork
install -pm 644 ui.bdf %{SOURCE2} %{buildroot}%{_datadir}/mess/fonts
@@ -196,6 +199,7 @@
%defattr(-,root,root,-)
%doc imgtool.txt
%{_bindir}/castool
+%{_bindir}/dat2html
%{_bindir}/imgtool
%{_bindir}/messtest
@@ -208,6 +212,11 @@
%changelog
+* Mon Jan 11 2010 Julian Sikorski <belegdol[at]gmail[dot]com> - 0136-1
+- Updated to 0.136
+- Added dat2html to the -tools subpackage
+- Dropped unidasm patch and solved the problem correctly
+
* Sun Nov 08 2009 Julian Sikorski <belegdol[at]gmail[dot]com> - 0135-1
- Updated to 0.135
- Use %%global instead of %%define
--- sdlmess-0134-nounidasm.patch DELETED ---
15 years, 1 month
rpms/sdlmess/devel sdlmess.spec, 1.16, 1.17 sdlmess-0134-nounidasm.patch, 1.1, NONE
by Julian Sikorski
Author: belegdol
Update of /cvs/nonfree/rpms/sdlmess/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv28137
Modified Files:
sdlmess.spec
Removed Files:
sdlmess-0134-nounidasm.patch
Log Message:
* Mon Jan 11 2010 Julian Sikorski <belegdol[at]gmail[dot]com> - 0136-1
- Updated to 0.136
- Added dat2html to the -tools subpackage
- Dropped unidasm patch and solved the problem correctly
Index: sdlmess.spec
===================================================================
RCS file: /cvs/nonfree/rpms/sdlmess/devel/sdlmess.spec,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- sdlmess.spec 8 Nov 2009 14:22:54 -0000 1.16
+++ sdlmess.spec 11 Jan 2010 18:18:22 -0000 1.17
@@ -5,14 +5,14 @@
%global arch_flags PTR64=1
%endif
%ifarch ppc
-%global arch_flags BIGENDIAN=1
+%global arch_flags powerpc=1 BIGENDIAN=1
%endif
%ifarch ppc64
-%global arch_flags BIGENDIAN=1 PTR64=1
+%global arch_flags powerpc=1 BIGENDIAN=1 PTR64=1
%endif
Name: sdlmess
-Version: 0135
+Version: 0136
Release: 1%{?dist}
Summary: SDL Multiple Emulator Super System
@@ -27,7 +27,6 @@
Patch0: %{name}-warnings.patch
Patch1: %{name}-expat.patch
Patch3: %{name}-fortify.patch
-Patch4: %{name}-0134-nounidasm.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: SDL-devel expat-devel zlib-devel libGL-devel gtk2-devel unrar
@@ -68,7 +67,6 @@
%patch0 -p0 -b .warnings~
%patch1 -p0 -b .expat~
%patch3 -p0 -b .fortify
-%patch4 -p1 -b .nounidasm
# Create mess.ini file
cat > mess.ini << EOF
@@ -114,6 +112,11 @@
# Move the imgtool documentation to the top dir for better visibility
mv docs/imgtool.txt .
+# Fix permissions
+chmod -x docs/license.txt docs/config.txt docs/mame.txt docs/faq.htm \
+ docs/credits.htm imgtool.txt
+find src/mess -type f \( -name \*.h -or -name \*.c \) -exec chmod -x {} \;
+
%build
%if %{with debug}
@@ -155,7 +158,7 @@
%else
install -pm 755 mess %{buildroot}%{_bindir}/mess
%endif
-install -pm 755 castool imgtool messtest %{buildroot}%{_bindir}
+install -pm 755 castool dat2html imgtool messtest %{buildroot}%{_bindir}
install -pm 644 sysinfo.dat %{buildroot}%{_datadir}/mess
install -pm 644 artwork/* %{buildroot}%{_datadir}/mess/artwork
install -pm 644 ui.bdf %{SOURCE2} %{buildroot}%{_datadir}/mess/fonts
@@ -196,6 +199,7 @@
%defattr(-,root,root,-)
%doc imgtool.txt
%{_bindir}/castool
+%{_bindir}/dat2html
%{_bindir}/imgtool
%{_bindir}/messtest
@@ -208,6 +212,11 @@
%changelog
+* Mon Jan 11 2010 Julian Sikorski <belegdol[at]gmail[dot]com> - 0136-1
+- Updated to 0.136
+- Added dat2html to the -tools subpackage
+- Dropped unidasm patch and solved the problem correctly
+
* Sun Nov 08 2009 Julian Sikorski <belegdol[at]gmail[dot]com> - 0135-1
- Updated to 0.135
- Use %%global instead of %%define
--- sdlmess-0134-nounidasm.patch DELETED ---
15 years, 1 month
rpms/omnibook-kmod/F-12 omnibook-kmod.spec,1.1,1.2
by Dominik Mierzejewski
Author: rathann
Update of /cvs/free/rpms/omnibook-kmod/F-12
In directory se02.es.rpmfusion.net:/tmp/cvs-serv5193
Modified Files:
omnibook-kmod.spec
Log Message:
* Sat Jan 09 2010 Dominik Mierzejewski <rpm(a)greysector.net> 2.20090714-0.3.svn288
- ExclusiveArch is still necessary on F-12
Index: omnibook-kmod.spec
===================================================================
RCS file: /cvs/free/rpms/omnibook-kmod/F-12/omnibook-kmod.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- omnibook-kmod.spec 9 Jan 2010 19:52:13 -0000 1.1
+++ omnibook-kmod.spec 9 Jan 2010 22:59:05 -0000 1.2
@@ -9,7 +9,7 @@
Name: omnibook-kmod
Version: 2.20090714
-Release: 0.2.svn288%{?dist}
+Release: 0.3.svn288%{?dist}
Summary: Kernel module for HP Omnibook/Pavillon, Toshiba Satellite and Compal laptops
Group: System Environment/Kernel
@@ -28,6 +28,8 @@
Patch1: %{name}-a300d.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+ExclusiveArch: i686 x86_64
+
# get the proper build-sysbuild package from the repo, which
# tracks in all the kernel-devel packages
BuildRequires: %{_bindir}/kmodtool
@@ -83,6 +85,9 @@
%changelog
+* Sat Jan 09 2010 Dominik Mierzejewski <rpm(a)greysector.net> 2.20090714-0.3.svn288
+- ExclusiveArch is still necessary on F-12
+
* Thu Jan 07 2010 Dominik Mierzejewski <rpm(a)greysector.net> 2.20090714-0.2.svn288
- drop unnecessary ExclusiveArch
- drop double BR: kmodtool
15 years, 1 month
rpms/omnibook-kmod/F-11 omnibook-kmod-a300d.patch, NONE, 1.1 omnibook-kmod-warnings.patch, NONE, 1.1 omnibook-kmod.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
by Dominik Mierzejewski
Author: rathann
Update of /cvs/free/rpms/omnibook-kmod/F-11
In directory se02.es.rpmfusion.net:/tmp/cvs-serv24646/F-11
Modified Files:
.cvsignore sources
Added Files:
omnibook-kmod-a300d.patch omnibook-kmod-warnings.patch
omnibook-kmod.spec
Log Message:
- initial import into release branches
omnibook-kmod-a300d.patch:
acpi.c | 1 +
laptop.h | 9 +++++++++
2 files changed, 10 insertions(+)
--- NEW FILE omnibook-kmod-a300d.patch ---
diff -up _kmod_build_2.6.30.5-43.fc11.x86_64/acpi.c.a300d _kmod_build_2.6.30.5-43.fc11.x86_64/acpi.c
--- _kmod_build_2.6.30.5-43.fc11.x86_64/acpi.c.a300d 2009-07-14 09:52:28.000000000 +0200
+++ _kmod_build_2.6.30.5-43.fc11.x86_64/acpi.c 2009-09-17 19:27:31.000000000 +0200
@@ -66,6 +66,7 @@
static char ec_dev_list[][20] = {
"\\_SB.PCI0.LPCB.EC0",
"\\_SB.PCI0.LPC0.EC0",
+ "\\_SB_.PCI0.LPC_.EC0",
};
/* TSX205 HCI and display handles */
diff -up _kmod_build_2.6.30.5-43.fc11.x86_64/laptop.h.a300d _kmod_build_2.6.30.5-43.fc11.x86_64/laptop.h
--- _kmod_build_2.6.30.5-43.fc11.x86_64/laptop.h.a300d 2009-03-09 18:17:06.000000000 +0100
+++ _kmod_build_2.6.30.5-43.fc11.x86_64/laptop.h 2009-09-17 19:27:01.000000000 +0200
@@ -637,6 +637,15 @@ static struct dmi_system_id omnibook_id
},
{
.callback = dmi_matched,
+ .ident = "Toshiba Satellite A300",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "TOSHIBA"),
+ DMI_MATCH(DMI_PRODUCT_NAME, "Satellite A300"),
+ },
+ .driver_data = (void*) TSA105
+ },
+ {
+ .callback = dmi_matched,
.ident = "Toshiba Satellite P100",
.matches = {
DMI_MATCH(DMI_SYS_VENDOR, "TOSHIBA"),
omnibook-kmod-warnings.patch:
acpi.c | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
--- NEW FILE omnibook-kmod-warnings.patch ---
diff -up omnibook-2.20090714svn288/acpi.c.warn omnibook-2.20090714svn288/acpi.c
--- omnibook-2.20090714svn288/acpi.c.warn 2009-07-14 09:52:28.000000000 +0200
+++ omnibook-2.20090714svn288/acpi.c 2009-09-17 19:34:52.000000000 +0200
@@ -758,11 +758,11 @@ static int set_tsx205_wireless_status(co
{
int retval;
int raw_state = !!(state & WIFI_STA);
+ u32 in[HCI_WORDS] = { HCI_SET, HCI_RF_CONTROL, raw_state, HCI_WIRELESS_POWER, 0, 0 };
+ u32 out[HCI_WORDS];
dprintk("set_wireless raw_state: %x\n", raw_state);
- u32 in[HCI_WORDS] = { HCI_SET, HCI_RF_CONTROL, raw_state, HCI_WIRELESS_POWER, 0, 0 };
- u32 out[HCI_WORDS];
hci_raw(in, out);
raw_state |= !!(state & BT_STA) << 0x1; /* bit 1 */
@@ -1011,10 +1011,12 @@ static int omnibook_hci_set_hotkeys(cons
{
u32 in[HCI_WORDS] = { 0, 0, 0, 0, 0, 0 };
u32 out[HCI_WORDS];
+ acpi_status status;
in[0] = HCI_SET;
in[1] = HCI_HOTKEY_EVENT;
in[2] = (state & HKEY_FN) ? 1 : 0;
- acpi_status status = hci_raw(in, out);
+
+ status = hci_raw(in, out);
dprintk("set_hotkeys (Fn interface) raw_state: %x\n", in[2]);
--- NEW FILE omnibook-kmod.spec ---
# (un)define the next line to either build for the newest or all current kernels
#define buildforkernels newest
%define buildforkernels current
#define buildforkernels akmods
%define svn 1
# name should have a -kmod suffix
Name: omnibook-kmod
Version: 2.20090714
Release: 0.1.svn288%{?dist}
Summary: Kernel module for HP Omnibook/Pavillon, Toshiba Satellite and Compal laptops
Group: System Environment/Kernel
License: GPLv2
URL: http://sourceforge.net/projects/omnibook/
%if %{svn}
# svn export -r288 https://omnibook.svn.sourceforge.net/svnroot/omnibook/omnibook/trunk omnibook-2.20090714
Source0: omnibook-%{version}.tar.xz
%else
Source0: http://downloads.sourceforge.net/project/omnibook/omnibook%20kernel%20mod...
%endif
# silence some warnings: http://sourceforge.net/tracker/?func=detail&aid=2703528&group_id=174260&a...
Patch0: %{name}-warnings.patch
# add support for Toshiba Satellite A300D: http://sourceforge.net/tracker/?func=detail&aid=2841062&group_id=174260&a...
Patch1: %{name}-a300d.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# needed for plague to make sure it builds for i586 and i686
ExclusiveArch: i586 i686 x86_64
# get the proper build-sysbuild package from the repo, which
# tracks in all the kernel-devel packages
BuildRequires: %{_bindir}/kmodtool
%{!?kernels:BuildRequires: buildsys-build-rpmfusion-kerneldevpkgs-%{?buildforkernels:%{buildforkernels}}%{!?buildforkernels:current}-%{_target_cpu} }
# kmodtool does its magic here
%{expand:%(kmodtool --target %{_target_cpu} --repo rpmfusion --kmodname %{name} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null) }
%description
Linux kernel module for many HP Omnibook/Pavillon, Toshiba Satellite
(with Phoenix BIOS) and Compal laptops. It is based on the module found
in the 'omke' project.
%prep
# error out if there was something wrong with kmodtool
%{?kmodtool_check}
# print kmodtool output for debugging purposes:
kmodtool --target %{_target_cpu} --repo rpmfusion --kmodname %{name} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null
%setup -q -c -T -a 0
# apply patches and do other stuff here
pushd omnibook-%{version}
%patch0 -p1 -b .warn
%patch1 -p1 -b .a300d
popd
for kernel_version in %{?kernel_versions} ; do
cp -a omnibook-%{version} _kmod_build_${kernel_version%%___*}
done
%build
for kernel_version in %{?kernel_versions}; do
make %{?_smp_mflags} -C "${kernel_version##*___}" SUBDIRS=${PWD}/_kmod_build_${kernel_version%%___*} modules
done
%install
rm -rf ${RPM_BUILD_ROOT}
for kernel_version in %{?kernel_versions}; do
# doesn't work
# make install -C "${kernel_version##*___}" DESTDIR=${RPM_BUILD_ROOT} KMODPATH=%{kmodinstdir_prefix}/${kernel_version%%___*}/%{kmodinstdir_postfix}
install -D -m 755 _kmod_build_${kernel_version%%___*}/omnibook.ko ${RPM_BUILD_ROOT}%{kmodinstdir_prefix}/${kernel_version%%___*}/%{kmodinstdir_postfix}/omnibook.ko
done
%{?akmod_install}
%clean
rm -rf $RPM_BUILD_ROOT
%changelog
* Wed Sep 16 2009 Dominik Mierzejewski <rpm(a)greysector.net> 2.20090714-0.1.svn288
- initial build for RPM Fusion
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/omnibook-kmod/F-11/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 14 Dec 2009 18:57:30 -0000 1.1
+++ .cvsignore 9 Jan 2010 19:52:13 -0000 1.2
@@ -0,0 +1 @@
+omnibook-2.20090714.tar.xz
Index: sources
===================================================================
RCS file: /cvs/free/rpms/omnibook-kmod/F-11/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 14 Dec 2009 18:57:30 -0000 1.1
+++ sources 9 Jan 2010 19:52:13 -0000 1.2
@@ -0,0 +1 @@
+c5846f9eb93bca376d2887c7fffe87a3 omnibook-2.20090714.tar.xz
15 years, 1 month
rpms/omnibook-kmod/F-12 omnibook-kmod-a300d.patch, NONE, 1.1 omnibook-kmod-warnings.patch, NONE, 1.1 omnibook-kmod.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
by Dominik Mierzejewski
Author: rathann
Update of /cvs/free/rpms/omnibook-kmod/F-12
In directory se02.es.rpmfusion.net:/tmp/cvs-serv24646/F-12
Modified Files:
.cvsignore sources
Added Files:
omnibook-kmod-a300d.patch omnibook-kmod-warnings.patch
omnibook-kmod.spec
Log Message:
- initial import into release branches
omnibook-kmod-a300d.patch:
acpi.c | 1 +
laptop.h | 9 +++++++++
2 files changed, 10 insertions(+)
--- NEW FILE omnibook-kmod-a300d.patch ---
diff -up _kmod_build_2.6.30.5-43.fc11.x86_64/acpi.c.a300d _kmod_build_2.6.30.5-43.fc11.x86_64/acpi.c
--- _kmod_build_2.6.30.5-43.fc11.x86_64/acpi.c.a300d 2009-07-14 09:52:28.000000000 +0200
+++ _kmod_build_2.6.30.5-43.fc11.x86_64/acpi.c 2009-09-17 19:27:31.000000000 +0200
@@ -66,6 +66,7 @@
static char ec_dev_list[][20] = {
"\\_SB.PCI0.LPCB.EC0",
"\\_SB.PCI0.LPC0.EC0",
+ "\\_SB_.PCI0.LPC_.EC0",
};
/* TSX205 HCI and display handles */
diff -up _kmod_build_2.6.30.5-43.fc11.x86_64/laptop.h.a300d _kmod_build_2.6.30.5-43.fc11.x86_64/laptop.h
--- _kmod_build_2.6.30.5-43.fc11.x86_64/laptop.h.a300d 2009-03-09 18:17:06.000000000 +0100
+++ _kmod_build_2.6.30.5-43.fc11.x86_64/laptop.h 2009-09-17 19:27:01.000000000 +0200
@@ -637,6 +637,15 @@ static struct dmi_system_id omnibook_id
},
{
.callback = dmi_matched,
+ .ident = "Toshiba Satellite A300",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "TOSHIBA"),
+ DMI_MATCH(DMI_PRODUCT_NAME, "Satellite A300"),
+ },
+ .driver_data = (void*) TSA105
+ },
+ {
+ .callback = dmi_matched,
.ident = "Toshiba Satellite P100",
.matches = {
DMI_MATCH(DMI_SYS_VENDOR, "TOSHIBA"),
omnibook-kmod-warnings.patch:
acpi.c | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
--- NEW FILE omnibook-kmod-warnings.patch ---
diff -up omnibook-2.20090714svn288/acpi.c.warn omnibook-2.20090714svn288/acpi.c
--- omnibook-2.20090714svn288/acpi.c.warn 2009-07-14 09:52:28.000000000 +0200
+++ omnibook-2.20090714svn288/acpi.c 2009-09-17 19:34:52.000000000 +0200
@@ -758,11 +758,11 @@ static int set_tsx205_wireless_status(co
{
int retval;
int raw_state = !!(state & WIFI_STA);
+ u32 in[HCI_WORDS] = { HCI_SET, HCI_RF_CONTROL, raw_state, HCI_WIRELESS_POWER, 0, 0 };
+ u32 out[HCI_WORDS];
dprintk("set_wireless raw_state: %x\n", raw_state);
- u32 in[HCI_WORDS] = { HCI_SET, HCI_RF_CONTROL, raw_state, HCI_WIRELESS_POWER, 0, 0 };
- u32 out[HCI_WORDS];
hci_raw(in, out);
raw_state |= !!(state & BT_STA) << 0x1; /* bit 1 */
@@ -1011,10 +1011,12 @@ static int omnibook_hci_set_hotkeys(cons
{
u32 in[HCI_WORDS] = { 0, 0, 0, 0, 0, 0 };
u32 out[HCI_WORDS];
+ acpi_status status;
in[0] = HCI_SET;
in[1] = HCI_HOTKEY_EVENT;
in[2] = (state & HKEY_FN) ? 1 : 0;
- acpi_status status = hci_raw(in, out);
+
+ status = hci_raw(in, out);
dprintk("set_hotkeys (Fn interface) raw_state: %x\n", in[2]);
--- NEW FILE omnibook-kmod.spec ---
# (un)define the next line to either build for the newest or all current kernels
#define buildforkernels newest
%define buildforkernels current
#define buildforkernels akmods
%define svn 1
# name should have a -kmod suffix
Name: omnibook-kmod
Version: 2.20090714
Release: 0.2.svn288%{?dist}
Summary: Kernel module for HP Omnibook/Pavillon, Toshiba Satellite and Compal laptops
Group: System Environment/Kernel
License: GPLv2
URL: http://sourceforge.net/projects/omnibook/
%if %{svn}
# svn export -r288 https://omnibook.svn.sourceforge.net/svnroot/omnibook/omnibook/trunk omnibook-2.20090714
Source0: omnibook-%{version}.tar.xz
%else
Source0: http://downloads.sourceforge.net/project/omnibook/omnibook%20kernel%20mod...
%endif
# silence some warnings: http://sourceforge.net/tracker/?func=detail&aid=2703528&group_id=174260&a...
Patch0: %{name}-warnings.patch
# add support for Toshiba Satellite A300D: http://sourceforge.net/tracker/?func=detail&aid=2841062&group_id=174260&a...
Patch1: %{name}-a300d.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# get the proper build-sysbuild package from the repo, which
# tracks in all the kernel-devel packages
BuildRequires: %{_bindir}/kmodtool
%{!?kernels:BuildRequires: buildsys-build-rpmfusion-kerneldevpkgs-%{?buildforkernels:%{buildforkernels}}%{!?buildforkernels:current}-%{_target_cpu} }
# kmodtool does its magic here
%{expand:%(kmodtool --target %{_target_cpu} --repo rpmfusion --kmodname %{name} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null) }
%description
Linux kernel module for many HP Omnibook/Pavillon, Toshiba Satellite
(with Phoenix BIOS) and Compal laptops. It is based on the module found
in the 'omke' project.
%prep
# error out if there was something wrong with kmodtool
%{?kmodtool_check}
# print kmodtool output for debugging purposes:
kmodtool --target %{_target_cpu} --repo rpmfusion --kmodname %{name} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null
%setup -q -c -T -a 0
# apply patches and do other stuff here
pushd omnibook-%{version}
%patch0 -p1 -b .warn
%patch1 -p1 -b .a300d
popd
for kernel_version in %{?kernel_versions} ; do
cp -a omnibook-%{version} _kmod_build_${kernel_version%%___*}
done
%build
for kernel_version in %{?kernel_versions}; do
make %{?_smp_mflags} -C "${kernel_version##*___}" SUBDIRS=${PWD}/_kmod_build_${kernel_version%%___*} modules
done
%install
for kernel_version in %{?kernel_versions}; do
# doesn't work
# make install -C "${kernel_version##*___}" DESTDIR=${RPM_BUILD_ROOT} KMODPATH=%{kmodinstdir_prefix}/${kernel_version%%___*}/%{kmodinstdir_postfix}
install -D -m 755 _kmod_build_${kernel_version%%___*}/omnibook.ko ${RPM_BUILD_ROOT}%{kmodinstdir_prefix}/${kernel_version%%___*}/%{kmodinstdir_postfix}/omnibook.ko
done
%{?akmod_install}
%clean
rm -rf $RPM_BUILD_ROOT
%changelog
* Thu Jan 07 2010 Dominik Mierzejewski <rpm(a)greysector.net> 2.20090714-0.2.svn288
- drop unnecessary ExclusiveArch
- drop double BR: kmodtool
* Wed Sep 16 2009 Dominik Mierzejewski <rpm(a)greysector.net> 2.20090714-0.1.svn288
- initial build for RPM Fusion
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/omnibook-kmod/F-12/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 14 Dec 2009 18:57:30 -0000 1.1
+++ .cvsignore 9 Jan 2010 19:52:13 -0000 1.2
@@ -0,0 +1 @@
+omnibook-2.20090714.tar.xz
Index: sources
===================================================================
RCS file: /cvs/free/rpms/omnibook-kmod/F-12/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 14 Dec 2009 18:57:30 -0000 1.1
+++ sources 9 Jan 2010 19:52:13 -0000 1.2
@@ -0,0 +1 @@
+c5846f9eb93bca376d2887c7fffe87a3 omnibook-2.20090714.tar.xz
15 years, 1 month
rpms/omnibook/F-11 omnibook.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
by Dominik Mierzejewski
Author: rathann
Update of /cvs/free/rpms/omnibook/F-11
In directory se02.es.rpmfusion.net:/tmp/cvs-serv22730/F-11
Modified Files:
.cvsignore sources
Added Files:
omnibook.spec
Log Message:
- initial import into release branches
--- NEW FILE omnibook.spec ---
%define svn 1
Name: omnibook
Version: 2.20090714
Release: 0.2.svn288%{?dist}
Summary: Common files for omnibook-kmod
Group: System Environment/Kernel
License: GPLv2
URL: http://sourceforge.net/projects/omnibook/
%if %{svn}
# svn export -r288 https://omnibook.svn.sourceforge.net/svnroot/omnibook/omnibook/trunk omnibook-2.20090714
Source0: omnibook-%{version}.tar.xz
%else
Source0: http://downloads.sourceforge.net/project/omnibook/omnibook%20kernel%20mod...
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
Provides: %{name}-kmod-common = %{version}-%{release}
%description
Linux kernel module for many HP Omnibook/Pavillon, Toshiba Satellite
(with Phoenix BIOS) and Compal laptops. It is based on the module found
in the 'omke' project.
%prep
%setup -q -n omnibook-%{version}
%build
echo nothing to build
%install
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc doc/*
%changelog
* Mon Nov 16 2009 Dominik Mierzejewski <rpm(a)greysector.net> 2.20090714-0.2.svn288
- rename to omnibook, provide -kmod-common
- fix build
* Wed Sep 16 2009 Dominik Mierzejewski <rpm(a)greysector.net> 2.20090714-0.1.svn288
- initial build for RPM Fusion
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/omnibook/F-11/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 14 Dec 2009 18:56:21 -0000 1.1
+++ .cvsignore 9 Jan 2010 19:25:39 -0000 1.2
@@ -0,0 +1 @@
+omnibook-2.20090714.tar.xz
Index: sources
===================================================================
RCS file: /cvs/free/rpms/omnibook/F-11/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 14 Dec 2009 18:56:21 -0000 1.1
+++ sources 9 Jan 2010 19:25:39 -0000 1.2
@@ -0,0 +1 @@
+c5846f9eb93bca376d2887c7fffe87a3 omnibook-2.20090714.tar.xz
15 years, 1 month
rpms/omnibook/F-12 omnibook.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
by Dominik Mierzejewski
Author: rathann
Update of /cvs/free/rpms/omnibook/F-12
In directory se02.es.rpmfusion.net:/tmp/cvs-serv22730/F-12
Modified Files:
.cvsignore sources
Added Files:
omnibook.spec
Log Message:
- initial import into release branches
--- NEW FILE omnibook.spec ---
%define svn 1
Name: omnibook
Version: 2.20090714
Release: 0.2.svn288%{?dist}
Summary: Common files for omnibook-kmod
Group: System Environment/Kernel
License: GPLv2
URL: http://sourceforge.net/projects/omnibook/
%if %{svn}
# svn export -r288 https://omnibook.svn.sourceforge.net/svnroot/omnibook/omnibook/trunk omnibook-2.20090714
Source0: omnibook-%{version}.tar.xz
%else
Source0: http://downloads.sourceforge.net/project/omnibook/omnibook%20kernel%20mod...
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
Provides: %{name}-kmod-common = %{version}-%{release}
%description
Linux kernel module for many HP Omnibook/Pavillon, Toshiba Satellite
(with Phoenix BIOS) and Compal laptops. It is based on the module found
in the 'omke' project.
%prep
%setup -q -n omnibook-%{version}
%build
echo nothing to build
%install
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc doc/*
%changelog
* Mon Nov 16 2009 Dominik Mierzejewski <rpm(a)greysector.net> 2.20090714-0.2.svn288
- rename to omnibook, provide -kmod-common
- fix build
* Wed Sep 16 2009 Dominik Mierzejewski <rpm(a)greysector.net> 2.20090714-0.1.svn288
- initial build for RPM Fusion
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/omnibook/F-12/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 14 Dec 2009 18:56:21 -0000 1.1
+++ .cvsignore 9 Jan 2010 19:25:40 -0000 1.2
@@ -0,0 +1 @@
+omnibook-2.20090714.tar.xz
Index: sources
===================================================================
RCS file: /cvs/free/rpms/omnibook/F-12/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 14 Dec 2009 18:56:21 -0000 1.1
+++ sources 9 Jan 2010 19:25:40 -0000 1.2
@@ -0,0 +1 @@
+c5846f9eb93bca376d2887c7fffe87a3 omnibook-2.20090714.tar.xz
15 years, 1 month