Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.package
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
13
Merge Requests
13
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
slapos.package
Commits
b5c09ebe
Commit
b5c09ebe
authored
May 04, 2013
by
Jondy Zhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add missing file setup-cygwin.bat
parent
f11575b5
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
36 additions
and
0 deletions
+36
-0
windows/scripts/setup-cygwin.bat
windows/scripts/setup-cygwin.bat
+32
-0
windows/scripts/slapos-all-in-one.iss
windows/scripts/slapos-all-in-one.iss
+2
-0
windows/scripts/slapos.iss
windows/scripts/slapos.iss
+2
-0
No files found.
windows/scripts/setup-cygwin.bat
0 → 100755
View file @
b5c09ebe
@ECHO
OFF
SETLOCAL
SET
CYGWINHOME
=
%
~
1
SET
CYGWINROOT
=
"
%
~1\cygwin"
SET
DOWNLOADPATH
=
"
%CYGWINHOME%
\cygwin-packages"
SET
SETUPFILE
=
"
%DOWNLOADPATH%
\setup.exe"
SET
OPTIONS
=-
-no-shortcuts
-
-no-startmenu
-
-quiet-mode
-
-no-verify
IF
NOT
"
%
2"
==
""
GOTO
REMOTE_INSTALL
:LOCAL
_INSTALL
SET
PACKAGES
=
-C
All
ECHO
Install
cygwin
at
%CYGWINROOT%
from
%DOWNLOADPATH%
...
ECHO
Packages
:
%PACKAGES%
ECHO
%SETUPFILE%
-
-local-install
%PACKAGES%
-l
%DOWNLOADPATH%
-R
%CYGWINROOT%
%OPTIONS%
GOTO
END
:REMOTE
_INSTALL
SET
PACKAGES
=
-P
autobuild
-P
autoconf
-P
automake
-P
binutils
-P
bison
-P
bzip2
-P
ca
-certificates -P
cygport
-P
file
-P
flex
-P
gcc4
-P
gdbm
-P
libgdbm
-devel -P
gettext
-P
gettext
-devel -P
libglib2
.0
-devel -P
libglib2
.0_0
-P
libexpat1
-P
libexpat1
-devel -P
libmpfr
-devel -P
libmpfr4
-P
libtool
-P
libxml2
-P
libxml2
-devel -P
libxslt2
-P
libxslt2
-devel -P
make
-P
m4
-P
libncurses
-devel -P
libncursesw
-devel -P
patch
-P
patchutils
-P
pkg
-config -P
python
-P
python
-setuptools -P
openssl
-devel -P
libopenssl098
-P
libopenssl100
-P
popt
-P
readline
-P
libsqlite3
-devel -P
libsqlite3_0
-P
swig
-P
zlib
-devel -P
vim
-P
wget
SET
SITEOPTIONS
=
REM ECHO %2 | FINDSTR \. > /NULL
REM IF %ERRORLEVEL% == 0 SET SITEOPTIONS=--site %2 --only-site
IF
/I
%
2
NEQ
network
SET
SITEOPTIONS
=-
-site
%
2
-
-only-site
ECHO
Install
cygwin
at
%CYGWINROOT%
from
%SITE%
...
REM setup.exe -D -X --site http://mirrors.163.com/cygwin -l D:/slapos/slapos-cygwin-packages -R D:/slapos/cygwin
REM -P cygrunsrv -P binutils -P gcc4 -P libtool -P make -P autobuild -P autoconf -P automake -P libiconv
ECHO
%SETUPFILE%
%PACKAGES%
%SITEOPTIONS%
-l
%DOWNLOADPATH%
-R
%CYGWINROOT%
%OPTIONS%
GOTO
END
:END
ENDLOCAL
\ No newline at end of file
windows/scripts/slapos-all-in-one.iss
View file @
b5c09ebe
...
...
@@ -32,6 +32,8 @@ Source: "opt\git\slapos.recipe.cmmi\dist\slapos.recipe.cmmi-0.1.tar.gz"; DestDir
Source: "opt\git\qooxdoo\application\playground\build\*"; DestDir: "{app}\cygwin\etc\slapos\desktop";
Source: "opt\git\qooxdoo\application\showcase\build\*"; DestDir: "{app}\cygwin\etc\slapos\node";
Source: "opt\git\slapos.package\windows\scripts\setup-cygwin.bat"; DestDir: "{app}";
Source: "cygwin\Cygwin-Terminal.ico"; DestDir: "{app}\images"; DestName: "terminal.ico";
Source: "images\configure.ico"; DestDir: "{app}\images";
Source: "images\register.ico"; DestDir: "{app}\images";
...
...
windows/scripts/slapos.iss
View file @
b5c09ebe
...
...
@@ -37,6 +37,8 @@ Source: "images\register.ico"; DestDir: "{app}\images";
Source: "images\updater.ico"; DestDir: "{app}\images";
Source: "images\manager.ico"; DestDir: "{app}\images";
Source: "opt\git\slapos.package\windows\scripts\setup-cygwin.bat"; DestDir: "{app}";
Source: "opt\git\slapos.package\windows\scripts\ip"; DestDir: "{app}\cygwin\usr\local\bin";
Source: "opt\git\slapos.package\windows\scripts\useradd"; DestDir: "{app}\cygwin\usr\local\bin";
Source: "opt\git\slapos.package\windows\scripts\usermod"; DestDir: "{app}\cygwin\usr\local\bin";
...
...
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