winebus.sys: Move winebus.inf into the module resources.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
5696c3c23d
commit
4650dff5c4
|
@ -9,3 +9,5 @@ C_SRCS = \
|
||||||
bus_sdl.c \
|
bus_sdl.c \
|
||||||
bus_udev.c \
|
bus_udev.c \
|
||||||
main.c
|
main.c
|
||||||
|
|
||||||
|
RC_SRCS = winebus.rc
|
||||||
|
|
|
@ -0,0 +1,20 @@
|
||||||
|
/*
|
||||||
|
* Copyright 2020 Alexandre Julliard
|
||||||
|
*
|
||||||
|
* This library is free software; you can redistribute it and/or
|
||||||
|
* modify it under the terms of the GNU Lesser General Public
|
||||||
|
* License as published by the Free Software Foundation; either
|
||||||
|
* version 2.1 of the License, or (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This library is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
* Lesser General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU Lesser General Public
|
||||||
|
* License along with this library; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* @makedep: winebus.inf */
|
||||||
|
1 WINE_DATA_FILE winebus.inf
|
|
@ -9,7 +9,6 @@ SOURCES = \
|
||||||
wine.man.in \
|
wine.man.in \
|
||||||
wine.pl.UTF-8.man.in \
|
wine.pl.UTF-8.man.in \
|
||||||
wine_info.plist.in \
|
wine_info.plist.in \
|
||||||
winebus.inf.in \
|
|
||||||
winehid.inf.in \
|
winehid.inf.in \
|
||||||
wineusb.inf.in
|
wineusb.inf.in
|
||||||
|
|
||||||
|
|
|
@ -4059,7 +4059,7 @@ HKLM,Software\Wine\LicenseInformation,"Shell-InBoxGames-SpiderSolitaire-EnableGa
|
||||||
HKLM,Software\Wine\LicenseInformation,"Shell-PremiumInBoxGames-Chess-EnableGame",0x10001,0x00000001
|
HKLM,Software\Wine\LicenseInformation,"Shell-PremiumInBoxGames-Chess-EnableGame",0x10001,0x00000001
|
||||||
|
|
||||||
[InfFiles]
|
[InfFiles]
|
||||||
winebus.inf
|
winebus.inf,"@winebus.sys,-1"
|
||||||
winehid.inf
|
winehid.inf
|
||||||
wineusb.inf
|
wineusb.inf
|
||||||
|
|
||||||
|
|
|
@ -73,7 +73,6 @@ my @source_vars = (
|
||||||
);
|
);
|
||||||
|
|
||||||
my (@makefiles, %makefiles);
|
my (@makefiles, %makefiles);
|
||||||
my @inf_files;
|
|
||||||
my @nls_files;
|
my @nls_files;
|
||||||
|
|
||||||
sub dirname($)
|
sub dirname($)
|
||||||
|
@ -382,10 +381,6 @@ sub assign_sources_to_makefiles(@)
|
||||||
{
|
{
|
||||||
push @{${$make}{"=MANPAGES"}}, $name;
|
push @{${$make}{"=MANPAGES"}}, $name;
|
||||||
}
|
}
|
||||||
elsif ($name =~ /\.inf\.in$/)
|
|
||||||
{
|
|
||||||
push @inf_files, $name unless $name eq "wine.inf.in";
|
|
||||||
}
|
|
||||||
elsif ($name =~ /\.in$/)
|
elsif ($name =~ /\.in$/)
|
||||||
{
|
{
|
||||||
push @{${$make}{"=IN_SRCS"}}, $name;
|
push @{${$make}{"=IN_SRCS"}}, $name;
|
||||||
|
@ -492,11 +487,10 @@ sub update_makefiles(@)
|
||||||
sub update_wine_inf()
|
sub update_wine_inf()
|
||||||
{
|
{
|
||||||
my @lines;
|
my @lines;
|
||||||
push @lines, "[InfFiles]", sort grep { s/\.in$//; } @inf_files;
|
push @lines, "[NlsFiles]", sort grep(!/^sort/, @nls_files);
|
||||||
push @lines, "\n[NlsFiles]", sort grep(!/^sort/, @nls_files);
|
|
||||||
push @lines, "\n[SortFiles]", sort grep(/^sort/, @nls_files);
|
push @lines, "\n[SortFiles]", sort grep(/^sort/, @nls_files);
|
||||||
push @lines, "\n[WineSourceDirs]\n";
|
push @lines, "\n[WineSourceDirs]\n";
|
||||||
replace_in_file "loader/wine.inf.in", '^\[InfFiles\]', '^\[WineSourceDirs\]', join( "\n", @lines );
|
replace_in_file "loader/wine.inf.in", '^\[NlsFiles\]', '^\[WineSourceDirs\]', join( "\n", @lines );
|
||||||
}
|
}
|
||||||
|
|
||||||
my $git_dir = $ENV{GIT_DIR} || ".git";
|
my $git_dir = $ENV{GIT_DIR} || ".git";
|
||||||
|
|
Loading…
Reference in New Issue