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
b9ee1528
Commit
b9ee1528
authored
Mar 23, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm repack: implement add_requires and use it
parent
b755b780
Hide whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
35 additions
and
23 deletions
+35
-23
aimp.sh
repack.d/aimp.sh
+2
-2
common.sh
repack.d/common.sh
+5
-0
duplicati.sh
repack.d/duplicati.sh
+3
-2
gitlab-runner.sh
repack.d/gitlab-runner.sh
+1
-1
kyodialog.sh
repack.d/kyodialog.sh
+1
-1
minecraft-launcher.sh
repack.d/minecraft-launcher.sh
+3
-1
onlyoffice-desktopeditors.sh
repack.d/onlyoffice-desktopeditors.sh
+1
-2
portproton-remastered.sh
repack.d/portproton-remastered.sh
+1
-1
portproton.sh
repack.d/portproton.sh
+1
-1
spnxclient.sh
repack.d/spnxclient.sh
+1
-1
spotify-client.sh
repack.d/spotify-client.sh
+0
-2
teamviewer.sh
repack.d/teamviewer.sh
+2
-3
vivaldi-snapshot-codecs-ffmpeg-extra.sh
repack.d/vivaldi-snapshot-codecs-ffmpeg-extra.sh
+3
-1
vivaldi-stable-codecs-ffmpeg-extra.sh
repack.d/vivaldi-stable-codecs-ffmpeg-extra.sh
+3
-1
yandex-browser-beta-codecs-ffmpeg-extra.sh
repack.d/yandex-browser-beta-codecs-ffmpeg-extra.sh
+3
-1
yandex-browser-beta.sh
repack.d/yandex-browser-beta.sh
+1
-1
yandex-browser-stable-codecs-ffmpeg-extra.sh
repack.d/yandex-browser-stable-codecs-ffmpeg-extra.sh
+3
-1
yandex-browser-stable.sh
repack.d/yandex-browser-stable.sh
+1
-1
No files found.
repack.d/aimp.sh
View file @
b9ee1528
...
...
@@ -12,8 +12,8 @@ PRODUCTDIR=/opt/$PRODUCT
subst
'1iAutoReq:no'
$SPEC
subst
'1iAutoProv:no'
$SPEC
subst
'1iRequires:/usr/bin/wine'
$SPEC
subst
'1iRequires:/bin/sh'
$SPEC
add_requires
'/usr/bin/wine'
add_requires
'/bin/sh'
add_bin_link_command
$PRODUCT
$PRODUCTDIR
/aimp.bash
...
...
repack.d/common.sh
View file @
b9ee1528
...
...
@@ -231,6 +231,11 @@ fix_chrome_sandbox()
chmod
-v
4711
"
$BUILDROOT$sandbox
"
}
add_requires
()
{
subst
"1iRequires:
$*
"
$SPEC
}
filter_from_requires
()
{
local
i
...
...
repack.d/duplicati.sh
View file @
b9ee1528
...
...
@@ -4,8 +4,9 @@
BUILDROOT
=
"
$1
"
SPEC
=
"
$2
"
REQUIRES
=
"mono-full,libgtk-sharp2"
subst
"s|^
\(
Name: .*
\)
$|
# Converted from original package requires
\n
Requires:
$REQUIRES
\n\1
|g"
$SPEC
.
$(
dirname
$0
)
/common.sh
add_requires mono-full libgtk-sharp2
subst
'1iBuildRequires: rpm-build-python3'
$SPEC
subst
'1i%add_python3_path /usr/lib/duplicati'
$SPEC
...
...
repack.d/gitlab-runner.sh
View file @
b9ee1528
...
...
@@ -21,4 +21,4 @@ PRODUCT=gitlab-runner
subst
'1iAutoReq:no'
$SPEC
subst
'1iAutoProv:no'
$SPEC
subst
'1iRequires:curl git tar'
$SPEC
add_requires curl git
tar
repack.d/kyodialog.sh
View file @
b9ee1528
...
...
@@ -6,7 +6,7 @@ SPEC="$2"
.
$(
dirname
$0
)
/common.sh
subst
'1iRequires: python3-module-PyPDF3'
$SPEC
add_requires python3-module-PyPDF3
subst
'1iAutoProv: no'
$SPEC
...
...
repack.d/minecraft-launcher.sh
View file @
b9ee1528
...
...
@@ -5,4 +5,6 @@ SPEC="$2"
PRODUCT
=
minecraft-launcher
subst
'1iRequires: java-openjdk at-spi2-atk file GConf glib2 grep libatk libat-spi2-core libalsa libcairo libcups libdbus libdrm libexpat libgbm libgdk-pixbuf libgio libgtk+3 libnspr libnss libpango libX11 libxcb libXcomposite libXcursor libXdamage libXext libXfixes libXi libXrandr libXrender libXtst sed which xdg-utils xprop libsecret'
$SPEC
.
$(
dirname
$0
)
/common.sh
add_requires java-openjdk at-spi2-atk file GConf glib2
grep
libatk libat-spi2-core libalsa libcairo libcups libdbus libdrm libexpat libgbm libgdk-pixbuf libgio libgtk+3 libnspr libnss libpango libX11 libxcb libXcomposite libXcursor libXdamage libXext libXfixes libXi libXrandr libXrender libXtst
sed
which xdg-utils xprop libsecret
repack.d/onlyoffice-desktopeditors.sh
View file @
b9ee1528
...
...
@@ -12,8 +12,7 @@ PRODUCTDIR=/opt/onlyoffice
# $ rpm -qf /usr/lib64/LibreOffice/share/fonts/truetype/opens___.ttf
#LibreOffice-common-7.0.1.2-alt1.0.p9.x86_64
REQUIRES
=
"fonts-ttf-liberation, fonts-ttf-dejavu"
subst
"s|^
\(
Name: .*
\)
$|
# Converted from original package requires
\n
Requires:
$REQUIRES
\n\1
|g"
$SPEC
add_requires fonts-ttf-liberation fonts-ttf-dejavu
# ignore embedded libs
for
i
in
$BUILDROOT
/opt/onlyoffice/desktopeditors/lib
*
;
do
...
...
repack.d/portproton-remastered.sh
View file @
b9ee1528
...
...
@@ -36,7 +36,7 @@ pack_file /usr/share/applications/$PRODUCT.desktop
# https://github.com/Castro-Fidel/PortWINE/pull/36
subst
's|elif|else|'
$BUILDROOT$PRODUCTDIR
/data_from_portwine/scripts/portwine_db/WorldOfTanksEnCoreLauncher
subst
'1iRequires:bubblewrap cabextract curl gamemode icoutils libvulkan1 vulkan-tools wget zenity zstd libd3d libMesaOpenCL'
$SPEC
add_requires bubblewrap cabextract curl gamemode icoutils libvulkan1 vulkan-tools wget zenity zstd libd3d libMesaOpenCL
epm
install
-skip-installed
vulkan-tools
filter_from_requires xneur
...
...
repack.d/portproton.sh
View file @
b9ee1528
...
...
@@ -8,6 +8,6 @@ PRODUCTDIR=/opt/PortProton
.
$(
dirname
$0
)
/common.sh
subst
'1iRequires:bubblewrap cabextract curl gamemode icoutils libvulkan1 vulkan-tools wget zenity zstd libd3d libMesaOpenCL'
$SPEC
add_requires bubblewrap cabextract curl gamemode icoutils libvulkan1 vulkan-tools wget zenity zstd libd3d libMesaOpenCL
filter_from_requires xneur
repack.d/spnxclient.sh
View file @
b9ee1528
...
...
@@ -8,7 +8,7 @@ SPEC="$2"
subst
'1iAutoProv:no'
$SPEC
subst
'1iRequires: libpcsclite libudev0'
$SPEC
add_requires libpcsclite libudev0
if
[
"
$(
epm print info
-a
)
"
=
"x86_64"
]
;
then
remove_file /usr/share/sphinx/gui/spnxreader/libspnxreader_i386.so
...
...
repack.d/spotify-client.sh
View file @
b9ee1528
...
...
@@ -26,6 +26,4 @@ for i in 16 22 24 32 48 64 128 256 ; do
cp
$BUILDROOT
/
$LIBDIR
/
$PRODUCT
/icons/spotify-linux-
$i
.png
$BUILDROOT
/usr/share/icons/hicolor/
${
i
}
x
${
i
}
/apps/spotify-client.png
done
#subst "s|^\(Name: .*\)$|# Converted from original package requires\nRequires:$REQUIRES\n\1|g" $SPEC
epm
install
--skip-installed
libcurl4-gnutls
repack.d/teamviewer.sh
View file @
b9ee1528
...
...
@@ -14,9 +14,8 @@ if [ "$(epm print info -a)" = "x86_64" ] ; then
subst
"s|.*script/libdepend.*||"
$SPEC
fi
# comment out libexo (we have libexo-gtk3 only now)
REQUIRES
=
"xdg-utils,libdbus,libqt5-core,libqt5-dbus,libqt5-gui,libqt5-network,libqt5-qml,libqt5-quick,libqt5-webkit,libqt5-webkitwidgets,libqt5-widgets,libqt5-x11extras,libminizip"
subst
"s|^
\(
Name: .*
\)
$|
# Converted from original package requires
\n
Requires:
$REQUIRES
\n\1
|g"
$SPEC
# commented out libexo (we have libexo-gtk3 only now)
add_requires xdg-utils libdbus libqt5-core libqt5-dbus libqt5-gui libqt5-network libqt5-qml libqt5-quick libqt5-webkit libqt5-webkitwidgets libqt5-widgets libqt5-x11extras libminizip
# TODO: check if we missed something from it
rm
-rf
$BUILDROOT
/opt/teamviewer/tv_bin/script/teamviewer_setup
...
...
repack.d/vivaldi-snapshot-codecs-ffmpeg-extra.sh
View file @
b9ee1528
...
...
@@ -6,4 +6,6 @@ SPEC="$2"
PRODUCT
=
vivaldi-snapshot-codecs-ffmpeg-extra
subst
'1iRequires:vivaldi-snapshot'
$SPEC
.
$(
dirname
$0
)
/common.sh
add_requires vivaldi-snapshot
repack.d/vivaldi-stable-codecs-ffmpeg-extra.sh
View file @
b9ee1528
...
...
@@ -6,4 +6,6 @@ SPEC="$2"
PRODUCT
=
vivaldi-stable-codecs-ffmpeg-extra
subst
'1iRequires:vivaldi-stable'
$SPEC
.
$(
dirname
$0
)
/common.sh
add_requires vivaldi-stable
repack.d/yandex-browser-beta-codecs-ffmpeg-extra.sh
View file @
b9ee1528
...
...
@@ -6,4 +6,6 @@ SPEC="$2"
PRODUCT
=
yandex-browser-stable-codecs-ffmpeg-extra
subst
'1iRequires:yandex-browser-beta'
$SPEC
.
$(
dirname
$0
)
/common.sh
add_requires yandex-browser-beta
repack.d/yandex-browser-beta.sh
View file @
b9ee1528
...
...
@@ -13,7 +13,7 @@ PRODUCTDIR=/opt/yandex/browser-beta
subst
'1iConflicts: yandex-browser-stable'
$SPEC
subst
'10iProvides: yandex-browser = %{version}'
$SPEC
subst
'1iRequires:fonts-ttf-google-noto-emoji-color'
$SPEC
add_requires fonts-ttf-google-noto-emoji-color
set_alt_alternatives 65
...
...
repack.d/yandex-browser-stable-codecs-ffmpeg-extra.sh
View file @
b9ee1528
...
...
@@ -6,4 +6,6 @@ SPEC="$2"
PRODUCT
=
yandex-browser-stable-codecs-ffmpeg-extra
subst
'1iRequires:yandex-browser-stable'
$SPEC
.
$(
dirname
$0
)
/common.sh
add_requires yandex-browser-stable
repack.d/yandex-browser-stable.sh
View file @
b9ee1528
...
...
@@ -13,7 +13,7 @@ PRODUCTDIR=/opt/yandex/browser
subst
'1iConflicts: yandex-browser-beta'
$SPEC
subst
'10iProvides: yandex-browser = %version'
$SPEC
subst
'1iRequires:fonts-ttf-google-noto-emoji-color'
$SPEC
add_requires fonts-ttf-google-noto-emoji-color
set_alt_alternatives 65
...
...
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