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
96b355d9
Commit
96b355d9
authored
Apr 03, 2024
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
commit packed 3.61.4
parent
54e64c44
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
9 deletions
+20
-9
epm.sh
packed/epm.sh
+19
-8
serv.sh
packed/serv.sh
+1
-1
No files found.
packed/epm.sh
View file @
96b355d9
...
...
@@ -34,7 +34,7 @@ SHAREDIR=$PROGDIR
# will replaced with /etc/eepm during install
CONFIGDIR
=
$PROGDIR
/../etc
EPMVERSION
=
"3.61.
3
"
EPMVERSION
=
"3.61.
4
"
# package, single (file), pipe, git
EPMMODE
=
"package"
...
...
@@ -7102,6 +7102,14 @@ epm_programs()
esac
[
-d
"
$DESKTOPDIR
"
]
||
fatal
"There is no
$DESKTOPDIR
dir on the system."
if
[
-n
"
$short
"
]
;
then
cd
$DESKTOPDIR
||
fatal
showcmd
ls
-1
*
.desktop
ls
-1
*
.desktop
exit
fi
#find /usr/share/applications -type f -name "*.desktop" | while read f; do pkg_files="$f" quiet=1 short=1 epm_query_file ; done | sort -u
showcmd
"find
$DESKTOPDIR
-type f -print0 -name "
*
.desktop
" | xargs -0
$0
-qf --quiet --short | sort -u"
find
$DESKTOPDIR
-type
f
-print0
-name
"*.desktop"
|
\
...
...
@@ -9597,12 +9605,6 @@ __epm_repack_to_rpm()
# run generic scripts and repack script for the pkg
cd
$buildroot
||
fatal
if
[
-n
"
$EEPM_INTERNAL_PKGNAME
"
]
;
then
if
!
estrlist contains
"
$pkgname
"
"
$EEPM_INTERNAL_PKGNAME
"
;
then
fatal
"Some bug: the name of the repacking package (
$pkgname
) differs with the package name (
$EEPM_INTERNAL_PKGNAME
) from play.d script."
fi
fi
__fix_spec
$pkgname
$buildroot
$spec
__apply_fix_code
"generic"
$buildroot
$spec
$pkgname
$abspkg
$SUBGENERIC
__apply_fix_code
"generic-
$SUBGENERIC
"
$buildroot
$spec
$pkgname
$abspkg
...
...
@@ -9613,6 +9615,15 @@ __epm_repack_to_rpm()
__fix_spec
$pkgname
$buildroot
$spec
cd
-
>
/dev/null
# reassign package name (could be renamed in fix scripts)
pkgname
=
"
$(
grep
"^Name: "
$spec
|
sed
-e
"s|Name: ||g"
|
head
-n1
)
"
if
[
-n
"
$EEPM_INTERNAL_PKGNAME
"
]
;
then
if
!
estrlist contains
"
$pkgname
"
"
$EEPM_INTERNAL_PKGNAME
"
;
then
fatal
"Some bug: the name of the repacking package (
$pkgname
) differs with the package name (
$EEPM_INTERNAL_PKGNAME
) from play.d script."
fi
fi
TARGETARCH
=
$(
epm print info
-a
|
sed
-e
's|^x86$|i586|'
)
showcmd
$RPMBUILD
--buildroot
$buildroot
--target
$TARGETARCH
-bb
$spec
...
...
@@ -17381,7 +17392,7 @@ check_command()
epm_cmd
=
list_available
direct_args
=
1
;;
programs
)
# HELPCMD: print list of installed GUI program(s) (they have .desktop files)
programs
)
# HELPCMD: print list of installed
packages with
GUI program(s) (they have .desktop files)
epm_cmd
=
programs
direct_args
=
1
;;
...
...
packed/serv.sh
View file @
96b355d9
...
...
@@ -33,7 +33,7 @@ SHAREDIR=$PROGDIR
# will replaced with /etc/eepm during install
CONFIGDIR
=
$PROGDIR
/../etc
EPMVERSION
=
"3.61.
3
"
EPMVERSION
=
"3.61.
4
"
# package, single (file), pipe, git
EPMMODE
=
"package"
...
...
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