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
85eae62d
Commit
85eae62d
authored
Mar 11, 2024
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm repack librewolf: fix repacking
parent
585cc474
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
14 deletions
+5
-14
epm-addrepo
bin/epm-addrepo
+1
-0
epm-pack
bin/epm-pack
+1
-1
yandex-music.sh
play.d/yandex-music.sh
+1
-1
generic.sh
repack.d/generic.sh
+1
-1
librewolf.sh
repack.d/librewolf.sh
+1
-11
No files found.
bin/epm-addrepo
View file @
85eae62d
...
@@ -156,6 +156,7 @@ __epm_addrepo_altlinux_url()
...
@@ -156,6 +156,7 @@ __epm_addrepo_altlinux_url()
local
res
=
''
local
res
=
''
for
arch
in
$(
get_archlist
)
;
do
for
arch
in
$(
get_archlist
)
;
do
local
rd
=
"
$(
eget
--list
$url
/
$arch
/RPMS.
*)
"
local
rd
=
"
$(
eget
--list
$url
/
$arch
/RPMS.
*)
"
# TODO: fix URL support!
[
-d
"
$rd
"
]
||
continue
[
-d
"
$rd
"
]
||
continue
local
REPO_NAME
=
"
$(
echo
"
$rd
"
|
sed
-e
's|.*\.||'
)
"
local
REPO_NAME
=
"
$(
echo
"
$rd
"
|
sed
-e
's|.*\.||'
)
"
docmd epm repo add
"rpm
$url
$arch
$REPO_NAME
"
docmd epm repo add
"rpm
$url
$arch
$REPO_NAME
"
...
...
bin/epm-pack
View file @
85eae62d
...
@@ -109,7 +109,7 @@ __epm_pack()
...
@@ -109,7 +109,7 @@ __epm_pack()
mv
-v
$pkgnames
$EPMCURDIR
||
fatal
mv
-v
$pkgnames
$EPMCURDIR
||
fatal
local
i
local
i
for
i
in
$pkgnames
;
do
for
i
in
"
$returntarname
"
;
do
[
-r
"
$i
.eepm.yaml"
]
&&
mv
-v
"
$i
.eepm.yaml"
$EPMCURDIR
[
-r
"
$i
.eepm.yaml"
]
&&
mv
-v
"
$i
.eepm.yaml"
$EPMCURDIR
done
done
...
...
play.d/yandex-music.sh
View file @
85eae62d
...
@@ -26,4 +26,4 @@ esac
...
@@ -26,4 +26,4 @@ esac
PKGURL
=
$(
epm tool eget
--list
--latest
https://github.com/cucumber-sp/yandex-music-linux/releases
"yandex-music_
${
VERSION
}
_
${
arch
}
.deb"
)
PKGURL
=
$(
epm tool eget
--list
--latest
https://github.com/cucumber-sp/yandex-music-linux/releases
"yandex-music_
${
VERSION
}
_
${
arch
}
.deb"
)
epm
install
--repack
$PKGURL
epm
install
$PKGURL
repack.d/generic.sh
View file @
85eae62d
...
@@ -83,7 +83,7 @@ subst "s|^\(Version: .*\)~.*|\1|" $SPEC
...
@@ -83,7 +83,7 @@ subst "s|^\(Version: .*\)~.*|\1|" $SPEC
subst
"s|^Release: |Release: epm1.repacked.|"
$SPEC
subst
"s|^Release: |Release: epm1.repacked.|"
$SPEC
set_rpm_field
"Distribution"
"EEPM"
set_rpm_field
"Distribution"
"EEPM"
# TODO: check the yaml file!!!
if
[
-r
"
$PKG
.eepm.yaml"
]
;
then
if
[
-r
"
$PKG
.eepm.yaml"
]
;
then
eval
$(
epm tool yaml
$PKG
.eepm.yaml |
grep
-E
'(summary|description|upstream_file|upstream_url|url|appname|arches|group|license|version)='
)
#'
eval
$(
epm tool yaml
$PKG
.eepm.yaml |
grep
-E
'(summary|description|upstream_file|upstream_url|url|appname|arches|group|license|version)='
)
#'
# for tarballs fix permissions
# for tarballs fix permissions
...
...
repack.d/librewolf.sh
View file @
85eae62d
...
@@ -12,15 +12,5 @@ fix_desktop_file "/usr/share/$PRODUCT/$PRODUCT"
...
@@ -12,15 +12,5 @@ fix_desktop_file "/usr/share/$PRODUCT/$PRODUCT"
add_libs_requires
add_libs_requires
rm
-f
$BUILDROOT
/
usr/bin/librewolf
rm
usr/bin/librewolf
add_bin_link_command
add_bin_link_command
if
epm assure patchelf
;
then
for
i
in
$BUILDROOT
/
$PRODUCTDIR
/
{
lib
*
.so,plugin-container
}
;
do
a
=
patchelf
--set-rpath
'$ORIGIN/'
$i
||
continue
done
for
i
in
$BUILDROOT
/
$PRODUCTDIR
/gmp-clearkey/0.1/lib
*
.so
;
do
a
=
patchelf
--set-rpath
'$ORIGIN/../../'
$i
||
continue
done
fi
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