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
1ec54e88
Commit
1ec54e88
authored
May 05, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play: add commfort-client (wine)
parent
20c9e990
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
79 additions
and
0 deletions
+79
-0
commfort-client.sh
pack.d/commfort-client.sh
+30
-0
commfort-client.sh
play.d/commfort-client.sh
+15
-0
commfort-client.sh
repack.d/commfort-client.sh
+34
-0
No files found.
pack.d/commfort-client.sh
0 → 100755
View file @
1ec54e88
#!/bin/sh
TAR
=
"
$1
"
RETURNTARNAME
=
"
$2
"
VERSION
=
"
$3
"
.
$(
dirname
$0
)
/common.sh
PKGNAME
=
$PRODUCT
-
$VERSION
.tar
mkdir
-p
opt/eepm-wine/
$PRODUCT
/
cat
<<
EOF
>opt/eepm-wine/
$PRODUCT
/run.sh
#!/bin/sh
INSTALLER="/opt/eepm-wine/
$PRODUCT
/
$(
basename
$TAR
)
"
# TODO: duplicate menu entries, drop original entries
# FIXME: use could select other path
RUNFILE='C:\Program Files (x86)\CommFort\CommFort.exe'
URUNFILE="\
$(
winepath
-u
"
\$
RUNFILE"
)
"
if [ ! -f "\
$URUNFILE
" ] ; then
exec wine "\
$INSTALLER
"
fi
exec wine "\
$RUNFILE
" "\
$@
"
EOF
chmod
755 opt/eepm-wine/
$PRODUCT
/run.sh
cp
$TAR
opt/eepm-wine/
$PRODUCT
/
erc pack
$PKGNAME
opt/eepm-wine
return_tar
$PKGNAME
play.d/commfort-client.sh
0 → 100755
View file @
1ec54e88
#!/bin/sh
PKGNAME
=
commfort-client
SUPPORTEDARCHES
=
"x86_64 x86"
# just a concept
DESCRIPTION
=
''
#"CommFort WINE Edition from the official site"
URL
=
"https://www.commfort.com/ru/article-commfort-linux.shtml"
.
$(
dirname
$0
)
/common.sh
VERSION
=
"5.96d"
# TODO: check: https://www.commfort.com/download/commfort_client.msi
INSTALLURL
=
"https://www.commfort.com/download/commfort_client_wine.exe"
epm pack
--install
$PKGNAME
$INSTALLURL
$VERSION
repack.d/commfort-client.sh
0 → 100755
View file @
1ec54e88
#!/bin/sh -x
# It will run with two args: buildroot spec
BUILDROOT
=
"
$1
"
SPEC
=
"
$2
"
PRODUCT
=
commfort-client
PRODUCTDIR
=
/opt/eepm-wine/
$PRODUCT
.
$(
dirname
$0
)
/common.sh
subst
'1iAutoReq:no'
$SPEC
subst
'1iAutoProv:no'
$SPEC
add_requires
'/usr/bin/wine'
add_bin_link_command
$PRODUCT
$PRODUCTDIR
/run.sh
mkdir
-p
usr/share/applications
cat
<<
EOF
>usr/share/applications/
$PRODUCT
.desktop
[Desktop Entry]
Name=CommFort
Exec=
$PRODUCT
%F
Type=Application
StartupNotify=true
Icon=
$PRODUCT
StartupWMClass=commfort.exe
Categories=Wine;Chat;Network;InstantMessaging;
EOF
pack_file /usr/share/applications/
$PRODUCT
.desktop
# copied from ~/.local/share/icons/hicolor/256x256/apps/2887_CommFort.0.png
i
=
256
install_file ipfs://QmaiWKRyPPSV4QeurB2sZabAv4RYuC5xsYqkBgPERNjZjJ /usr/share/icons/hicolor/
${
i
}
x
${
i
}
/apps/
$PRODUCT
.png
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