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
90dc7c9f
Commit
90dc7c9f
authored
Aug 07, 2022
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm repack.d: use filter_from_requires
parent
0fbb7078
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
24 additions
and
26 deletions
+24
-26
XenDesktopVDA.sh
repack.d/XenDesktopVDA.sh
+3
-3
anydesk.sh
repack.d/anydesk.sh
+1
-3
dialog-ee-x.sh
repack.d/dialog-ee-x.sh
+3
-1
onlyoffice-desktopeditors.sh
repack.d/onlyoffice-desktopeditors.sh
+3
-2
sublime-text.sh
repack.d/sublime-text.sh
+1
-2
teamviewer.sh
repack.d/teamviewer.sh
+4
-4
vivaldi-snapshot.sh
repack.d/vivaldi-snapshot.sh
+1
-1
vivaldi-stable.sh
repack.d/vivaldi-stable.sh
+1
-1
webex.sh
repack.d/webex.sh
+3
-1
xnview.sh
repack.d/xnview.sh
+4
-8
No files found.
repack.d/XenDesktopVDA.sh
View file @
90dc7c9f
...
@@ -4,12 +4,12 @@
...
@@ -4,12 +4,12 @@
BUILDROOT
=
"
$1
"
BUILDROOT
=
"
$1
"
SPEC
=
"
$2
"
SPEC
=
"
$2
"
.
$(
dirname
$0
)
/common.sh
if
[
"
$(
$DISTRVENDOR
-a
)
"
=
"x86_64"
]
;
then
if
[
"
$(
$DISTRVENDOR
-a
)
"
=
"x86_64"
]
;
then
# 32 bit
# 32 bit
rm
-rfv
$BUILDROOT
/opt/Citrix/VDA/lib32
rm
-rfv
$BUILDROOT
/opt/Citrix/VDA/lib32
subst
"s|.*/libctxXrandrhook.so.||"
$SPEC
subst
"s|.*/libctxXrandrhook.so.||"
$SPEC
fi
fi
#REQUIRES=""
filter_from_requires AuthManagerDaemon
subst
"s|^
\(
Name: .*
\)
$|
%filter_from_requires /AuthManagerDaemon/d
\n\1
|g"
$SPEC
repack.d/anydesk.sh
View file @
90dc7c9f
...
@@ -50,7 +50,5 @@ for i in $BUILDROOT/usr/libexec/anydesk ; do
...
@@ -50,7 +50,5 @@ for i in $BUILDROOT/usr/libexec/anydesk ; do
done
done
# preloaded from /usr/lib64/anydesk/, drop external requires
# preloaded from /usr/lib64/anydesk/, drop external requires
subst
'1i%filter_from_requires /^libpangox-1.0.so.0.*/d'
$SPEC
filter_from_requires libpangox-1.0.so.0 libgdkglext-x11-1.0.so.0 libgtkglext-x11-1.0.so.0
subst
'1i%filter_from_requires /^libgdkglext-x11-1.0.so.0.*/d'
$SPEC
subst
'1i%filter_from_requires /^libgtkglext-x11-1.0.so.0.*/d'
$SPEC
repack.d/dialog-ee-x.sh
View file @
90dc7c9f
...
@@ -4,5 +4,7 @@
...
@@ -4,5 +4,7 @@
BUILDROOT
=
"
$1
"
BUILDROOT
=
"
$1
"
SPEC
=
"
$2
"
SPEC
=
"
$2
"
.
$(
dirname
$0
)
/common.sh
# https://bugzilla.altlinux.org/show_bug.cgi?id=39099
# https://bugzilla.altlinux.org/show_bug.cgi?id=39099
subst
'1i%filter_from_requires /^.opt.Dialog$/d'
$SPEC
filter_from_requires
"
\\
/opt
\\
/Dialog"
repack.d/onlyoffice-desktopeditors.sh
View file @
90dc7c9f
...
@@ -4,6 +4,8 @@
...
@@ -4,6 +4,8 @@
BUILDROOT
=
"
$1
"
BUILDROOT
=
"
$1
"
SPEC
=
"
$2
"
SPEC
=
"
$2
"
.
$(
dirname
$0
)
/common.sh
# TODO: required libreoffice-opensymbol-fonts
# TODO: required libreoffice-opensymbol-fonts
# $ rpm -qf /usr/lib64/LibreOffice/share/fonts/truetype/opens___.ttf
# $ rpm -qf /usr/lib64/LibreOffice/share/fonts/truetype/opens___.ttf
#LibreOffice-common-7.0.1.2-alt1.0.p9.x86_64
#LibreOffice-common-7.0.1.2-alt1.0.p9.x86_64
...
@@ -14,8 +16,7 @@ subst "s|^\(Name: .*\)$|# Converted from original package requires\nRequires:$RE
...
@@ -14,8 +16,7 @@ subst "s|^\(Name: .*\)$|# Converted from original package requires\nRequires:$RE
# ignore embedded libs
# ignore embedded libs
for
i
in
$BUILDROOT
/opt/onlyoffice/desktopeditors/lib
*
;
do
for
i
in
$BUILDROOT
/opt/onlyoffice/desktopeditors/lib
*
;
do
di
=
$(
basename
$i
)
di
=
$(
basename
$i
)
echo
"Filter out
$di
..."
filter_from_requires
$di
subst
"1i%filter_from_requires /^
$di
.*/d"
$SPEC
done
done
epm assure patchelf
||
exit
epm assure patchelf
||
exit
...
...
repack.d/sublime-text.sh
View file @
90dc7c9f
...
@@ -15,8 +15,7 @@ subst "s|^URL:.*|URL: https://www.sublimetext.com|" $SPEC
...
@@ -15,8 +15,7 @@ subst "s|^URL:.*|URL: https://www.sublimetext.com|" $SPEC
subst
"s|^Summary:.*|Summary: Sophisticated text editor for code, html and prose|"
$SPEC
subst
"s|^Summary:.*|Summary: Sophisticated text editor for code, html and prose|"
$SPEC
subst
"s|^License: unknown
$|
License: Proprietary|"
$SPEC
subst
"s|^License: unknown
$|
License: Proprietary|"
$SPEC
subst
"1i%filter_from_requires /^python3(sublime_api)/d"
$SPEC
filter_from_requires
"python3(sublime_api)"
# move package to /opt
# move package to /opt
ROOTDIR
=
sublime_text
ROOTDIR
=
sublime_text
...
...
repack.d/teamviewer.sh
View file @
90dc7c9f
...
@@ -6,6 +6,8 @@ SPEC="$2"
...
@@ -6,6 +6,8 @@ SPEC="$2"
PRODUCTDIR
=
/opt/teamviewer
PRODUCTDIR
=
/opt/teamviewer
.
$(
dirname
$0
)
/common.sh
if
[
"
$(
$DISTRVENDOR
-a
)
"
=
"x86_64"
]
;
then
if
[
"
$(
$DISTRVENDOR
-a
)
"
=
"x86_64"
]
;
then
# 32 bit
# 32 bit
rm
-fv
$BUILDROOT
/opt/teamviewer/tv_bin/script/libdepend
rm
-fv
$BUILDROOT
/opt/teamviewer/tv_bin/script/libdepend
...
@@ -52,12 +54,10 @@ rm -rfv $BUILDROOT/opt/teamviewer/tv_bin/script/teamviewerd.sysv
...
@@ -52,12 +54,10 @@ rm -rfv $BUILDROOT/opt/teamviewer/tv_bin/script/teamviewerd.sysv
subst
"s|.*/opt/teamviewer/tv_bin/script/teamviewerd.sysv.*||"
$SPEC
subst
"s|.*/opt/teamviewer/tv_bin/script/teamviewerd.sysv.*||"
$SPEC
# see https://bugzilla.altlinux.org/show_bug.cgi?id=39891
# see https://bugzilla.altlinux.org/show_bug.cgi?id=39891
subst
'1i%filter_from_requires /^\\/bin\\/ip/d'
$SPEC
filter_from_requires
"
\\
/bin
\\
/ip"
# ignore embedded libs
# ignore embedded libs
for
i
in
libQt5
;
do
filter_from_requires libQt5
subst
"1i%filter_from_requires /^
$i
.*/d"
$SPEC
done
epm assure patchelf
||
exit
epm assure patchelf
||
exit
for
i
in
$BUILDROOT$PRODUCTDIR
/tv_bin/RTlib/
{
libicui18n.so.
*
,libicuuc.so.
*
}
;
do
for
i
in
$BUILDROOT$PRODUCTDIR
/tv_bin/RTlib/
{
libicui18n.so.
*
,libicuuc.so.
*
}
;
do
...
...
repack.d/vivaldi-snapshot.sh
View file @
90dc7c9f
...
@@ -23,6 +23,6 @@ use_system_xdg
...
@@ -23,6 +23,6 @@ use_system_xdg
install_deps
install_deps
subst
"1i%filter_from_requires /.opt.google.chrome.WidevineCdm/d"
$SPEC
filter_from_requires
"
\\
/opt
\\
/google
\\
/chrome
\\
/WidevineCdm"
echo
"You also can install chrome via epm play chrome to use WidevineCdm"
echo
"You also can install chrome via epm play chrome to use WidevineCdm"
repack.d/vivaldi-stable.sh
View file @
90dc7c9f
...
@@ -23,6 +23,6 @@ use_system_xdg
...
@@ -23,6 +23,6 @@ use_system_xdg
install_deps
install_deps
subst
"1i%filter_from_requires /.opt.google.chrome.WidevineCdm/d"
$SPEC
filter_from_requires
"
\\
/opt
\\
/google
\\
/chrome
\\
/WidevineCdm"
echo
"You also can install chrome via epm play chrome to use WidevineCdm"
echo
"You also can install chrome via epm play chrome to use WidevineCdm"
repack.d/webex.sh
View file @
90dc7c9f
...
@@ -6,5 +6,7 @@ SPEC="$2"
...
@@ -6,5 +6,7 @@ SPEC="$2"
PRODUCT
=
webex
PRODUCT
=
webex
.
$(
dirname
$0
)
/common.sh
# drop external requires
# drop external requires
subst
'1i%filter_from_requires /^libutil.so.*/d'
$SPEC
filter_from_requires libutil.so
repack.d/xnview.sh
View file @
90dc7c9f
#!/bin/sh -x
#!/bin/sh -x
# It will run with two args: buildroot spec
# It will run with two args: buildroot spec
BUILDROOT
=
"
$1
"
BUILDROOT
=
"
$1
"
SPEC
=
"
$2
"
SPEC
=
"
$2
"
ln
-s
/lib64/libbz2.so.1
$BUILDROOT
/opt/XnView/lib/libbz2.so.1.0
.
$(
dirname
$0
)
/common.sh
ln
-s
/lib64/libbz2.so.1
$BUILDROOT
/opt/XnView/lib/libbz2.so.1.0
subst
"s|%files|%files
\n
/opt/XnView/lib/libbz2.so.1.0|"
$SPEC
subst
"s|%files|%files
\n
/opt/XnView/lib/libbz2.so.1.0|"
$SPEC
#subst '1Requires:bzlib' $SPEC
#subst '1Requires:bzlib' $SPEC
...
@@ -13,14 +13,10 @@ subst '1iAutoReq:yes,noperl' $SPEC
...
@@ -13,14 +13,10 @@ subst '1iAutoReq:yes,noperl' $SPEC
subst
'1iAutoProv:no'
$SPEC
subst
'1iAutoProv:no'
$SPEC
# ignore embedded libs
# ignore embedded libs
for
i
in
libQt5 libav libcrypto.so libdbus-1.so libicu liblibraw.so libssl.so libswresample libswscale libva libvdpau
;
do
filter_from_requires libQt5 libav libcrypto.so libdbus-1.so libicu liblibraw.so libssl.so libswresample libswscale libva libvdpau
subst
"1i%filter_from_requires /^
$i
.*/d"
$SPEC
done
# ignore embedded libs for Plugins
# ignore embedded libs for Plugins
for
i
in
libHalf.so libIex libIlmThread libwebp
;
do
filter_from_requires libHalf.so libIex libIlmThread libwebp
subst
"1i%filter_from_requires /^
$i
.*/d"
$SPEC
done
epm
install
--skip-installed
bzlib fontconfig libalsa libcairo libcups libdrm libfreetype /usr/bin/perl zlib libXv glib2 libatk libcairo-gobject libEGL libgdk-pixbuf libgio libGL libgst-plugins1.0 libgstreamer1.0 libgtk+2 libgtk+3 libpango libpulseaudio libsqlite3 libX11 libxcb libxcb-render-util libXcomposite libXext libXfixes libxkbcommon libxkbcommon-x11 libXrender
epm
install
--skip-installed
bzlib fontconfig libalsa libcairo libcups libdrm libfreetype /usr/bin/perl zlib libXv glib2 libatk libcairo-gobject libEGL libgdk-pixbuf libgio libGL libgst-plugins1.0 libgstreamer1.0 libgtk+2 libgtk+3 libpango libpulseaudio libsqlite3 libX11 libxcb libxcb-render-util libXcomposite libXext libXfixes libxkbcommon libxkbcommon-x11 libXrender
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