Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
ca82bce9
Commit
ca82bce9
authored
Sep 03, 2020
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
initial commit for the update script and README
parents
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
83 additions
and
0 deletions
+83
-0
README.md
README.md
+19
-0
update-wine-cw.sh
update-wine-cw.sh
+64
-0
No files found.
README.md
0 → 100644
View file @
ca82bce9
This git repo contains history for
Free and Open Source Software (FOSS) Code for CrossOver
from https://www.codeweavers.com/products/more-information/source
This repository contains:
*
Branches with changes from wine vanilla code:
bcw-CWVERSION
*
Tags with CrossOver versions:
cw-CWVERSION
*
Branch with CrossOver code history:
history
*
Script in master branch for update the git repo:
./update-wine-cw.sh TARBALL
update-wine-cw.sh
0 → 100755
View file @
ca82bce9
#!/bin/sh
# run with tarball from
# http://ftp.codeweavers.com/pub/crossover/source/crossover-sources-9.0.1.tar.gz
# target repo
CWDIR
=
/home/lav/Projects/WINE/wine-cw
F
=
$(
realpath
$1
)
TDIR
=
$(
mktemp
-d
)
fatal
()
{
echo
"
$*
"
>
&2
echo
"Removing
$TDIR
..."
rm
-rf
$TDIR
exit
1
}
info
()
{
echo
"
$*
"
}
cd
$TDIR
erc
$F
FD
=
$(
basename
$F
.gz
)
CWVERSION
=
$(
echo
$FD
|
sed
-e
"s|crossover-sources-
\(
.*
\)
.tar|
\1
|"
)
#"
WD
=
$TDIR
/
$FD
/wine
test
-d
$WD
||
fatal
VERSION
=
$(
cat
$WD
/VERSION |
sed
-e
"s|^Wine version ||"
)
cd
$CWDIR
||
fatal
# check if branch already exists
if
git checkout bcw-
$CWVERSION
2>/dev/null
;
then
fatal
"branch bcw-
$CWVERSION
already exists, skipping"
else
info
"Checkouting branch bcw-
$CWVERSION
..."
git checkout
-b
bcw-
$CWVERSION
wine-
$VERSION
||
fatal
fi
commit_files
()
{
info
"Removing files from repo ..."
rm
-rf
*
info
"Copying files from tarball ..."
cp
-a
$WD
/
*
.
info
"Adding to git ..."
git add
*
info
"Committing ..."
git commit
-m
"commit
$CWVERSION
upon wine-
$VERSION
"
}
commit_files
info
info
"Commit source to history branch"
info
"Checkouting branch history ..."
git checkout
history
||
fatal
commit_files
git tag cw-
$CWVERSION
rm
-rf
$TDIR
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