Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm
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
etersoft
eepm
Commits
d4e6832f
Commit
d4e6832f
authored
Apr 24, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm repack microsoft-edge: use one file, add conflicts
parent
fa041b13
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
69 deletions
+13
-69
microsoft-edge-beta.sh
repack.d/microsoft-edge-beta.sh
+0
-33
microsoft-edge-beta.sh
repack.d/microsoft-edge-beta.sh
+2
-0
microsoft-edge-dev.sh
repack.d/microsoft-edge-dev.sh
+0
-34
microsoft-edge-dev.sh
repack.d/microsoft-edge-dev.sh
+2
-0
microsoft-edge-stable.sh
repack.d/microsoft-edge-stable.sh
+9
-2
No files found.
repack.d/microsoft-edge-beta.sh
deleted
100755 → 0
View file @
fa041b13
#!/bin/sh -x
# It will run with two args: buildroot spec
BUILDROOT
=
"
$1
"
SPEC
=
"
$2
"
PRODUCT
=
microsoft-edge
PRODUCTCUR
=
microsoft-edge-beta
PRODUCTDIR
=
/opt/microsoft/msedge-beta
.
$(
dirname
$0
)
/common-chromium-browser.sh
set_alt_alternatives 65
copy_icons_to_share
cleanup
add_bin_commands
use_system_xdg
install_deps
#if ! grep -q '^"/usr/bin/microsoft-edge"' $SPEC ; then
# subst 's|\(.*/usr/bin/microsoft-edge-beta.*\)|"/usr/bin/microsoft-edge"\n\1|' $SPEC
#fi
# fix wrong interpreter
epm assure patchelf
||
exit
for
i
in
$BUILDROOT$PRODUCTDIR
/libmip_
*
.so
;
do
[
"
$(
a
=
patchelf
--print-interpreter
$i
)
"
=
"/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2"
]
&&
a
=
patchelf
--set-interpreter
/lib64/ld-linux-x86-64.so.2
$i
done
repack.d/microsoft-edge-beta.sh
0 → 120000
View file @
d4e6832f
microsoft-edge-stable.sh
\ No newline at end of file
repack.d/microsoft-edge-dev.sh
deleted
100755 → 0
View file @
fa041b13
#!/bin/sh -x
# It will run with two args: buildroot spec
BUILDROOT
=
"
$1
"
SPEC
=
"
$2
"
PRODUCT
=
microsoft-edge
PRODUCTCUR
=
microsoft-edge-dev
PRODUCTDIR
=
/opt/microsoft/msedge-dev
.
$(
dirname
$0
)
/common-chromium-browser.sh
set_alt_alternatives 65
copy_icons_to_share
cleanup
add_bin_commands
use_system_xdg
install_deps
#if ! grep -q '^"/usr/bin/microsoft-edge"' $SPEC ; then
# subst 's|\(.*/usr/bin/microsoft-edge-dev.*\)|"/usr/bin/microsoft-edge"\n\1|' $SPEC
#fi
# fix wrong interpreter
epm assure patchelf
||
exit
for
i
in
$BUILDROOT$PRODUCTDIR
/libmip_
*
.so
;
do
[
"
$(
a
=
patchelf
--print-interpreter
$i
)
"
=
"/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2"
]
&&
a
=
patchelf
--set-interpreter
/lib64/ld-linux-x86-64.so.2
$i
done
repack.d/microsoft-edge-dev.sh
0 → 120000
View file @
d4e6832f
microsoft-edge-stable.sh
\ No newline at end of file
repack.d/microsoft-edge-stable.sh
View file @
d4e6832f
...
...
@@ -4,12 +4,19 @@ BUILDROOT="$1"
SPEC
=
"
$2
"
PRODUCT
=
microsoft-edge
PRODUCTCUR
=
microsoft-edge-stable
PRODUCTCUR
=
$(
basename
$0
.sh
)
PRODUCTDIR
=
/opt/microsoft/msedge
[
"
$PRODUCTCUR
"
=
"microsoft-edge-beta"
]
&&
PRODUCTDIR
=
/opt/microsoft/msedge-beta
[
"
$PRODUCTCUR
"
=
"microsoft-edge-dev"
]
&&
PRODUCTDIR
=
/opt/microsoft/msedge-dev
.
$(
dirname
$0
)
/common-chromium-browser.sh
for
i
in
microsoft-edge-stable microsoft-edge-beta microsoft-edge-dev
;
do
[
"
$i
"
=
"
$PRODUCTCUR
"
]
&&
continue
subst
"1iConflicts:
$i
"
$SPEC
done
set_alt_alternatives 65
copy_icons_to_share
...
...
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