Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
c40a7222
Commit
c40a7222
authored
Jan 07, 2013
by
Ken Thomases
Committed by
Alexandre Julliard
Jan 08, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
loader: On Mac, embed Info.plist in (__TEXT, __info_plist) section.
parent
57343604
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
37 additions
and
6 deletions
+37
-6
.gitignore
.gitignore
+1
-0
configure
configure
+2
-2
configure.ac
configure.ac
+2
-2
Makefile.in
loader/Makefile.in
+5
-2
wine_info.plist.in
loader/wine_info.plist.in
+26
-0
make_makefiles
tools/make_makefiles
+1
-0
No files found.
.gitignore
View file @
c40a7222
...
@@ -274,6 +274,7 @@ loader/wine-installed
...
@@ -274,6 +274,7 @@ loader/wine-installed
loader/wine-preloader
loader/wine-preloader
loader/wine64
loader/wine64
loader/wine64-preloader
loader/wine64-preloader
loader/wine_info.plist
msg.pot
msg.pot
po/*.mo
po/*.mo
programs/Makeprog.rules
programs/Makeprog.rules
...
...
configure
View file @
c40a7222
...
@@ -6567,10 +6567,10 @@ fi
...
@@ -6567,10 +6567,10 @@ fi
case
$host_os
in
case
$host_os
in
darwin11
*
)
darwin11
*
)
LDEXECFLAGS
=
"-image_base 0x7bf00000 -Wl,-macosx_version_min,10.6,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000"
LDEXECFLAGS
=
"-image_base 0x7bf00000 -Wl,-macosx_version_min,10.6,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000
,-sectcreate,__TEXT,__info_plist,wine_info.plist
"
;;
;;
*
)
*
)
LDEXECFLAGS
=
"-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000"
LDEXECFLAGS
=
"-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000
,-sectcreate,__TEXT,__info_plist,wine_info.plist
"
;;
;;
esac
esac
if
test
"
$ac_cv_header_DiskArbitration_DiskArbitration_h
"
=
"yes"
if
test
"
$ac_cv_header_DiskArbitration_DiskArbitration_h
"
=
"yes"
...
...
configure.ac
View file @
c40a7222
...
@@ -732,9 +732,9 @@ case $host_os in
...
@@ -732,9 +732,9 @@ case $host_os in
AC_SUBST(CORESERVICESLIB,"-framework CoreServices")
AC_SUBST(CORESERVICESLIB,"-framework CoreServices")
case $host_os in
case $host_os in
darwin11*)
darwin11*)
AC_SUBST(LDEXECFLAGS,["-image_base 0x7bf00000 -Wl,-macosx_version_min,10.6,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000"]) ;;
AC_SUBST(LDEXECFLAGS,["-image_base 0x7bf00000 -Wl,-macosx_version_min,10.6,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000
,-sectcreate,__TEXT,__info_plist,wine_info.plist
"]) ;;
*)
*)
AC_SUBST(LDEXECFLAGS,["-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000"]) ;;
AC_SUBST(LDEXECFLAGS,["-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000
,-sectcreate,__TEXT,__info_plist,wine_info.plist
"]) ;;
esac
esac
if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
then
then
...
...
loader/Makefile.in
View file @
c40a7222
...
@@ -39,12 +39,15 @@ LDEXECFLAGS = @LDEXECFLAGS@
...
@@ -39,12 +39,15 @@ LDEXECFLAGS = @LDEXECFLAGS@
wine-preloader wine64-preloader
:
preloader.o Makefile.in
wine-preloader wine64-preloader
:
preloader.o Makefile.in
$(CC)
-o
$@
-static
-nostartfiles
-nodefaultlibs
-Wl
,-Ttext
=
0x7c400000 preloader.o
$(LIBPORT)
$(LDFLAGS)
$(CC)
-o
$@
-static
-nostartfiles
-nodefaultlibs
-Wl
,-Ttext
=
0x7c400000 preloader.o
$(LIBPORT)
$(LDFLAGS)
$(MAIN_BINARY)
:
main.o Makefile.in
$(MAIN_BINARY)
:
main.o Makefile.in
wine_info.plist
$(CC)
-o
$@
$(LDEXECFLAGS)
main.o
$(LIBWINE)
$(LIBPORT)
$(LIBPTHREAD)
$(EXTRALIBS)
$(LDFLAGS)
$(LDRPATH_LOCAL)
$(CC)
-o
$@
$(LDEXECFLAGS)
main.o
$(LIBWINE)
$(LIBPORT)
$(LIBPTHREAD)
$(EXTRALIBS)
$(LDFLAGS)
$(LDRPATH_LOCAL)
wine-installed
:
main.o Makefile.in
wine-installed
:
main.o Makefile.in
wine_info.plist
$(CC)
-o
$@
$(LDEXECFLAGS)
main.o
$(LIBWINE)
$(LIBPORT)
$(LIBPTHREAD)
$(EXTRALIBS)
$(LDFLAGS)
$(LDRPATH_INSTALL)
$(CC)
-o
$@
$(LDEXECFLAGS)
main.o
$(LIBWINE)
$(LIBPORT)
$(LIBPTHREAD)
$(EXTRALIBS)
$(LDFLAGS)
$(LDRPATH_INSTALL)
wine_info.plist
:
wine_info.plist.in
LC_ALL
=
C
sed
-e
's,@PACKAGE_VERSION\@,@PACKAGE_VERSION@,g'
$<
>
$@
||
(
$(RM)
$@
&&
false
)
$(EXTRA_BINARIES
:
%=__install__%): $(EXTRA_BINARIES) $(DESTDIR)$(bindir) dummy
$(EXTRA_BINARIES
:
%=__install__%): $(EXTRA_BINARIES) $(DESTDIR)$(bindir) dummy
f
=
`
expr
$@
:
'__install__\(.*\)'
`
&&
$(INSTALL_PROGRAM)
$$
f
$(DESTDIR)$(bindir)
/
$$
f
f
=
`
expr
$@
:
'__install__\(.*\)'
`
&&
$(INSTALL_PROGRAM)
$$
f
$(DESTDIR)$(bindir)
/
$$
f
...
...
loader/wine_info.plist.in
0 → 100644
View file @
c40a7222
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist
version=
"1.0"
>
<dict>
<key>
CFBundleDevelopmentRegion
</key>
<string>
English
</string>
<key>
CFBundleExecutable
</key>
<string>
wine
</string>
<key>
CFBundleIdentifier
</key>
<string>
org.winehq.wine
</string>
<key>
CFBundleInfoDictionaryVersion
</key>
<string>
6.0
</string>
<key>
CFBundleName
</key>
<string>
Wine
</string>
<key>
CFBundlePackageType
</key>
<string>
APPL
</string>
<key>
CFBundleShortVersionString
</key>
<string>
@PACKAGE_VERSION@
</string>
<key>
CFBundleSignature
</key>
<string>
????
</string>
<key>
CFBundleVersion
</key>
<string>
@PACKAGE_VERSION@
</string>
<key>
NSPrincipalClass
</key>
<string>
WineApplication
</string>
</dict>
</plist>
tools/make_makefiles
View file @
c40a7222
...
@@ -95,6 +95,7 @@ my @ignores = (
...
@@ -95,6 +95,7 @@ my @ignores = (
"*/*/tests/testlist.c"
,
"*/*/tests/testlist.c"
,
"include/config.h"
,
"include/config.h"
,
"include/stamp-h"
,
"include/stamp-h"
,
"loader/wine_info.plist"
,
"msg.pot"
,
"msg.pot"
,
"po/*.mo"
,
"po/*.mo"
,
"programs/winetest/build.nfo"
,
"programs/winetest/build.nfo"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment