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
Nurlan
eepm
Commits
c4f8a384
Commit
c4f8a384
authored
Dec 16, 2022
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm repack: fixes for ktalk (ALT bug 43486)
parent
e7966c3a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
4 deletions
+16
-4
epm-repack
bin/epm-repack
+13
-1
ktalk.sh
play.d/ktalk.sh
+1
-1
generic-appimage.sh
repack.d/generic-appimage.sh
+2
-2
No files found.
bin/epm-repack
View file @
c4f8a384
...
@@ -192,6 +192,7 @@ EOF
...
@@ -192,6 +192,7 @@ EOF
to_remove_pkg_files
=
"
$to_remove_pkg_files
$HOME
/.rpmmacros"
to_remove_pkg_files
=
"
$to_remove_pkg_files
$HOME
/.rpmmacros"
}
}
__set_version_pkgname
()
__set_version_pkgname
()
{
{
local
alpkg
=
"
$1
"
local
alpkg
=
"
$1
"
...
@@ -199,6 +200,17 @@ __set_version_pkgname()
...
@@ -199,6 +200,17 @@ __set_version_pkgname()
[
-n
"
$VERSION
"
]
&&
PKGNAME
=
"
$(
echo
"
$alpkg
"
|
sed
-e
"s|[-_.]
$VERSION
.*||"
)
"
[
-n
"
$VERSION
"
]
&&
PKGNAME
=
"
$(
echo
"
$alpkg
"
|
sed
-e
"s|[-_.]
$VERSION
.*||"
)
"
}
}
# AppImage version
# hack for ktalk2.4.2 -> ktalk 2.4.2
__set_version_apppkgname
()
{
local
alpkg
=
"
$1
"
VERSION
=
"
$(
echo
"
$alpkg
"
|
grep
-o
-P
"[-_.a-zA-Z]([0-9])([0-9])*(
\.
[0-9])*"
|
head
-n1
|
sed
-e
's|^[-_.a-zA-Z]||'
)
"
#"
[
-n
"
$VERSION
"
]
&&
PKGNAME
=
"
$(
echo
"
$alpkg
"
|
sed
-e
"s|
$VERSION
.*||"
)
"
}
# arg: <package file>
# arg: <package file>
# sets:
# sets:
# alpkg - package file name without path
# alpkg - package file name without path
...
@@ -226,7 +238,7 @@ __prepare_source_package()
...
@@ -226,7 +238,7 @@ __prepare_source_package()
fi
fi
if
rhas
"
$alpkg
"
"
\.
AppImage$"
;
then
if
rhas
"
$alpkg
"
"
\.
AppImage$"
;
then
__set_version_pkgname
$alpkg
__set_version_
app
pkgname
$alpkg
[
-n
"
$VERSION
"
]
||
fatal
"Can't get version from
$alpkg
."
[
-n
"
$VERSION
"
]
||
fatal
"Can't get version from
$alpkg
."
SUBGENERIC
=
'appimage'
SUBGENERIC
=
'appimage'
# TODO: move repack archive to erc?
# TODO: move repack archive to erc?
...
...
play.d/ktalk.sh
View file @
c4f8a384
#!/bin/sh
#!/bin/sh
PKGNAME
=
ktalk
2
PKGNAME
=
ktalk
SUPPORTEDARCHES
=
"x86_64"
SUPPORTEDARCHES
=
"x86_64"
DESCRIPTION
=
"Контур.Толк (ktalk) from the official site"
DESCRIPTION
=
"Контур.Толк (ktalk) from the official site"
...
...
repack.d/generic-appimage.sh
View file @
c4f8a384
...
@@ -34,8 +34,8 @@ remove_dir $(find $BUILDROOT -type d -name "*catalina*" | sed -e "s|$BUILDROOT||
...
@@ -34,8 +34,8 @@ remove_dir $(find $BUILDROOT -type d -name "*catalina*" | sed -e "s|$BUILDROOT||
cd
-
>
/dev/null
cd
-
>
/dev/null
add_bin_exec_command
$PRODUCT
$PRODUCTDIR
/AppRun
add_bin_exec_command
$PRODUCT
$PRODUCTDIR
/AppRun
# Strange AppRun script uses args as path, so override
ap
th detection
# Strange AppRun script uses args as path, so override
pa
th detection
subst
"
1
iexport APPDIR=
$PRODUCTDIR
"
$BUILDROOT
/usr/bin/
$PRODUCT
subst
"
2
iexport APPDIR=
$PRODUCTDIR
"
$BUILDROOT
/usr/bin/
$PRODUCT
subst
'1iAutoProv:no'
$SPEC
subst
'1iAutoProv:no'
$SPEC
subst
'1iAutoReq:yes,nopython,nomono,nomonolib'
$SPEC
subst
'1iAutoReq:yes,nopython,nomono,nomonolib'
$SPEC
...
...
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