Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
magicseteditor
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
magicseteditor
Commits
71c7ea93
Commit
71c7ea93
authored
Aug 01, 2009
by
coppro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improved the Linux installer.
parent
5696fba7
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
31 additions
and
8 deletions
+31
-8
tools/linux-installer/README
tools/linux-installer/README
+9
-4
tools/linux-installer/install
tools/linux-installer/install
+16
-4
tools/linux-installer/tarball
tools/linux-installer/tarball
+3
-0
tools/linux-installer/tarball-limited
tools/linux-installer/tarball-limited
+3
-0
No files found.
tools/linux-installer/README
View file @
71c7ea93
In
order
to
use
Magic
Set
Editor
,
you
need
to
have
libraries
for
wxGTK
version
In
order
to
use
Magic
Set
Editor
,
you
need
to
have
libraries
for
wxGTK
version
2.8
.
This
can
be
acquired
from
the
Ubuntu
/
Debian
package
libwxgtk2
.8
-
0.
If
you
2.8
.
This
can
be
acquired
from
the
Ubuntu
/
Debian
package
libwxgtk2
.8
-
0.
If
you
are
using
another
distribution
,
you
can
probably
find
the
library
in
a
package
are
using
another
distribution
,
you
can
probably
find
the
library
in
a
package
somewhere.
somewhere
.
You
also
need
Hunspell
,
which
is
in
Ubuntu
/
Debian
libhunspell
-
1.2
-
0.
Due
to
wxWidgets
sucking
,
there
is
a
fair
chance
that
this
will
not
work
out
of
the
box
on
non
-
Ubuntu
systems
.
If
this
is
the
case
,
please
download
the
source
package
and
compile
it
yourself
.
To
install
Magic
Set
Editor
,
please
extract
this
tarball
if
you
haven
't already,
To
install
Magic
Set
Editor
,
please
extract
this
tarball
if
you
haven
't already,
and then run the install script. If run as root, it will install MSE to
and then run the install script. If run as root, it will install MSE to
/usr/share/local/magicseteditor, if not, to ~/.magicseteditor.
/usr/local/share/magicseteditor, if not, to ~/.magicseteditor. Fonts will be
installed to /usr/local/share/fonts or to ~/.fonts.
MSE will also place a symlink in either /usr/local/bin or ~/bin. They can be
MSE will also place a symlink in either /usr/local/bin or ~/bin. They can be
removed without affecting the install, and removing the installation directory
removed without affecting the install, and removing the installation directory
will completely purge the system of MSE, except that some users'
configuration
will completely purge the system of MSE, except that some users'
configuration
files
will
still
remain
in
~/.
magicseteditor
for
each
user
.
files
will
still
remain
in
~/.
magicseteditor
for
each
user
.
Fonts are not included with MSE currently, you will have to seek those ou
t
You
can
override
the
installation
,
font
,
or
symlink
targets
with
the
environmen
t
yourself
.
variables
MSE_INSTALL_DIR
,
MSE_FONTS_DIR
,
and
MSE_EXEC_SYMLINK
respectively
.
\ No newline at end of file
tools/linux-installer/install
View file @
71c7ea93
...
@@ -11,15 +11,27 @@
...
@@ -11,15 +11,27 @@
case
$UID
in
case
$UID
in
0
)
0
)
INSTALL_DIR
=
'/usr/local/share/magicseteditor/'
;
INSTALL_DIR
=
'/usr/local/share/magicseteditor/'
;
EXEC_SYMLINK
=
'/usr/local/bin/magicseteditor'
;;
EXEC_SYMLINK
=
'/usr/local/bin/magicseteditor'
;
FONTS_DIR
=
'/usr/local/share/fonts/'
;;
*
)
*
)
INSTALL_DIR
=
'$HOME/.magicseteditor/'
;
INSTALL_DIR
=
'$HOME/.magicseteditor/'
;
EXEC_SYMLINK
=
'$HOME/bin/magicseteditor'
;
EXEC_SYMLINK
=
'$HOME/bin/magicseteditor'
;
esac
;
FONTS_DIR
=
'$HOME/.fonts/'
;;
esac
if
[
"
$MSE_INSTALL_DIR
"
!=
""
]
;
then
INSTALL_DIR
=
$MSE_INSTALL_DIR
fi
if
[
"
$MSE_EXEC_SYMLINK
"
!=
""
]
;
then
EXEC_SYMLINK
=
$MSE_EXEC_SYMLINK
fi
if
[
"
$MSE_FONTS_DIR
"
!=
""
]
;
then
FONTS_DIR
=
$MSE_FONTS_DIR
fi
echo
"Magic Set Editor version
$VERSION
Installer Script.
echo
"Magic Set Editor version
$VERSION
Installer Script.
Magic Set Editor will be installed to
$INSTALL_DIR
.
Magic Set Editor will be installed to
$INSTALL_DIR
.
Fonts will be installed to
$FONTS_DIR
.
A symbolic link to the executable will be put at
$EXEC_SYMLINK
.
A symbolic link to the executable will be put at
$EXEC_SYMLINK
.
Is this correct [y/N]? "
;
Is this correct [y/N]? "
;
...
@@ -37,5 +49,5 @@ echo "Installing...";
...
@@ -37,5 +49,5 @@ echo "Installing...";
mkdir
"
$INSTALL_DIR
"
;
mkdir
"
$INSTALL_DIR
"
;
cp
-r
program/
*
"
$INSTALL_DIR
"
;
cp
-r
program/
*
"
$INSTALL_DIR
"
;
cp
fonts/
*
"
$FONTS_DIR
"
;
ln
-s
"
$INSTALL_DIR
/magicseteditor"
"
$EXEC_SYMLINK
"
ln
-s
"
$INSTALL_DIR
/magicseteditor"
"
$EXEC_SYMLINK
"
tools/linux-installer/tarball
View file @
71c7ea93
...
@@ -3,9 +3,12 @@
...
@@ -3,9 +3,12 @@
mkdir
magicseteditor
mkdir
magicseteditor
mkdir
magicseteditor/program
mkdir
magicseteditor/program
mkdir
magicseteditor/fonts
cp
-rP
../../data ~/.magicseteditor/resource ../../magicseteditor magicseteditor/program
;
cp
-rP
../../data ~/.magicseteditor/resource ../../magicseteditor magicseteditor/program
;
cp install
README magicseteditor
;
cp install
README magicseteditor
;
cp
limited-fonts/
*
magicseteditor/fonts
;
cp
all-fonts/
*
magicseteditor/fonts
;
tar
-cfz
magicseteditor.tar.gz
--owner
root
--exclude
=
.
*
--exclude
=
*
~
--exclude
=
.svn magicseteditor
;
tar
-cfz
magicseteditor.tar.gz
--owner
root
--exclude
=
.
*
--exclude
=
*
~
--exclude
=
.svn magicseteditor
;
...
...
tools/linux-installer/tarball-limited
View file @
71c7ea93
...
@@ -5,7 +5,9 @@ rm -rf magicseteditor
...
@@ -5,7 +5,9 @@ rm -rf magicseteditor
mkdir
magicseteditor
mkdir
magicseteditor
mkdir
magicseteditor/program
mkdir
magicseteditor/program
mkdir
magicseteditor/program/data
mkdir
magicseteditor/program/data
mkdir
magicseteditor/fonts
#TODO: parse the msw-installer to determine this.
PACKAGES
=
"magic.mse-game
PACKAGES
=
"magic.mse-game
magic-blends.mse-include
magic-blends.mse-include
magic-default-image.mse-include
magic-default-image.mse-include
...
@@ -37,6 +39,7 @@ done;
...
@@ -37,6 +39,7 @@ done;
cp
-rP
~/.magicseteditor/resource ../../magicseteditor magicseteditor/program
;
cp
-rP
~/.magicseteditor/resource ../../magicseteditor magicseteditor/program
;
cp install
README magicseteditor
;
cp install
README magicseteditor
;
cp
limited-fonts/
*
magicseteditor/fonts
;
tar
-cfz
magicseteditor-limited.tar.gz
--owner
root
--exclude
=
.
*
--exclude
=
*
~
--exclude
=
.svn magicseteditor
;
tar
-cfz
magicseteditor-limited.tar.gz
--owner
root
--exclude
=
.
*
--exclude
=
*
~
--exclude
=
.svn magicseteditor
;
...
...
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