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
Vladislav
eepm
Commits
24db5f23
Commit
24db5f23
authored
Jul 27, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm repack: rewrite with UNIREQUIRES and predefined lists
parent
911f45ea
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
49 additions
and
60 deletions
+49
-60
ClipGrab.sh
repack.d/ClipGrab.sh
+2
-4
epsonscan2.sh
repack.d/epsonscan2.sh
+6
-0
ipera-client.sh
repack.d/ipera-client.sh
+8
-21
ipera-mediaserver.sh
repack.d/ipera-mediaserver.sh
+9
-6
master-pdf-editor.sh
repack.d/master-pdf-editor.sh
+2
-3
teamviewer.sh
repack.d/teamviewer.sh
+6
-2
xnview.sh
repack.d/xnview.sh
+16
-24
No files found.
repack.d/ClipGrab.sh
View file @
24db5f23
...
@@ -3,8 +3,6 @@
...
@@ -3,8 +3,6 @@
BUILDROOT
=
"
$1
"
BUILDROOT
=
"
$1
"
SPEC
=
"
$2
"
SPEC
=
"
$2
"
.
$(
dirname
$0
)
/common.sh
UNIREQUIRES
=
"yt-dlp"
add_requires yt-dlp
set_autoreq
'yes'
.
$(
dirname
$0
)
/common.sh
repack.d/epsonscan2.sh
View file @
24db5f23
...
@@ -3,8 +3,14 @@
...
@@ -3,8 +3,14 @@
BUILDROOT
=
"
$1
"
BUILDROOT
=
"
$1
"
SPEC
=
"
$2
"
SPEC
=
"
$2
"
UNIREQUIRES
=
"udev libusb-1.0.so.0"
.
$(
dirname
$0
)
/common.sh
.
$(
dirname
$0
)
/common.sh
add_qt5_deps
exit
if
epm assure patchelf
;
then
if
epm assure patchelf
;
then
for
i
in
usr/lib64/epsonscan2/lib
*
.so
;
do
for
i
in
usr/lib64/epsonscan2/lib
*
.so
;
do
a
=
patchelf
--set-rpath
'$ORIGIN/'
$i
||
continue
a
=
patchelf
--set-rpath
'$ORIGIN/'
$i
||
continue
...
...
repack.d/ipera-client.sh
View file @
24db5f23
...
@@ -5,27 +5,14 @@ SPEC="$2"
...
@@ -5,27 +5,14 @@ SPEC="$2"
PRODUCT
=
ipera-client
PRODUCT
=
ipera-client
PRODUCTDIR
=
/opt/ipera
PRODUCTDIR
=
/opt/ipera
PREINSTALL_PACKAGES
=
"libQt5Pdf.so.5()(64bit)"
UNIREQUIRES
=
"binutils coreutils
libXcomposite.so.1 libXdamage.so.1 libXext.so.6 libXfixes.so.3 libXrandr.so.2 libXrender.so.1 libXtst.so.6
libasound.so.2 libdrm.so.2 libexpat.so.1 libglib-2.0.so.0 libgmodule-2.0.so.0 libgthread-2.0.so.0
libnspr4.so libnss3.so libnssutil3.so libopenal.so.1 liborc-0.4.so.0 libplc4.so libplds4.so libpulse-mainloop-glib.so.0
libpulse.so.0 libresolv.so.2 libsmime3.so
libudev.so.1
libxkbcommon-x11.so.0 libxkbcommon.so.0
libxml2.so.2 libxslt.so.1 libz.so.1"
.
$(
dirname
$0
)
/common.sh
.
$(
dirname
$0
)
/common.sh
LIBDIR
=
$(
echo
$BUILDROOT
/opt/ipera/client/
*
/lib
)
[
-d
"
$LIBDIR
"
]
||
exit
if
epm assure patchelf
;
then
cd
$LIBDIR
for
i
in
lib
*
.so.
*
gstreamer-0.10/lib
*
.so.
*
;
do
a
=
patchelf
--set-rpath
'$ORIGIN'
$i
done
fi
#for i in ../bin/qml/QtQuick/Particles.2/libparticlesplugin.so ; do
# a= patchelf --set-rpath "$LIBDIR" $i
#done
filter_from_requires
"libldap_r-2.4.so.2(OPENLDAP_2.*)(64bit)"
"liblber-2.4.so.2(OPENLDAP_2.*)(64bit)"
"ld-linux-.*(GLIBC_PRIVATE)"
# ignore embedded libs
filter_from_requires libQt5 libav libcrypto.so libdbus-1.so libicu liblibraw.so libssl.so libswresample libswscale libva libvdpau
filter_from_requires libgst libuv
set_autoreq
'yes'
repack.d/ipera-mediaserver.sh
View file @
24db5f23
...
@@ -9,6 +9,15 @@ PRODUCTDIR=/opt/ipera/mediaserver
...
@@ -9,6 +9,15 @@ PRODUCTDIR=/opt/ipera/mediaserver
remove_dir /etc/init
remove_dir /etc/init
add_libs_requires
mkdir
-p
var/lib/ipera
pack_dir /var/lib/ipera
ln
-s
/var/lib/ipera .
$PRODUCTDIR
/var
pack_file
$PRODUCTDIR
/var
exit
if
epm assure patchelf
;
then
if
epm assure patchelf
;
then
cd
$BUILDROOT$PRODUCTDIR
||
exit
cd
$BUILDROOT$PRODUCTDIR
||
exit
for
i
in
lib/lib
*
.so.
*
;
do
for
i
in
lib/lib
*
.so.
*
;
do
...
@@ -23,10 +32,4 @@ fi
...
@@ -23,10 +32,4 @@ fi
filter_from_requires
"libldap_r-2.4.so.2(OPENLDAP_2.*)(64bit)"
"liblber-2.4.so.2(OPENLDAP_2.*)(64bit)"
"ld-linux-.*(GLIBC_PRIVATE)"
filter_from_requires
"libldap_r-2.4.so.2(OPENLDAP_2.*)(64bit)"
"liblber-2.4.so.2(OPENLDAP_2.*)(64bit)"
"ld-linux-.*(GLIBC_PRIVATE)"
filter_from_requires libQt5 libGL libicu
filter_from_requires libQt5 libGL libicu
cd
$BUILDROOT
||
exit
mkdir
-p
var/lib/ipera
pack_dir /var/lib/ipera
ln
-s
/var/lib/ipera .
$PRODUCTDIR
/var
pack_file
$PRODUCTDIR
/var
set_autoreq
'yes'
set_autoreq
'yes'
repack.d/master-pdf-editor.sh
View file @
24db5f23
...
@@ -7,7 +7,7 @@ PRODUCT=masterpdfeditor5
...
@@ -7,7 +7,7 @@ PRODUCT=masterpdfeditor5
PRODUCTCUR
=
master-pdf-editor
PRODUCTCUR
=
master-pdf-editor
PRODUCTDIR
=
/opt/master-pdf-editor-5
PRODUCTDIR
=
/opt/master-pdf-editor-5
PREINSTALL_PACKAGES
=
"libGL libqt5-core libqt5-gui libqt5-network libqt5-printsupport libqt5-qml libqt5-svg libqt5-widgets libsane zlib
"
UNIREQUIRES
=
"libsane.so.1 libz.so.1
"
.
$(
dirname
$0
)
/common.sh
.
$(
dirname
$0
)
/common.sh
...
@@ -16,5 +16,4 @@ add_bin_link_command $PRODUCTCUR $PRODUCT
...
@@ -16,5 +16,4 @@ add_bin_link_command $PRODUCTCUR $PRODUCT
fix_desktop_file
fix_desktop_file
set_autoreq
'yes'
add_qt5_deps
repack.d/teamviewer.sh
View file @
24db5f23
...
@@ -6,8 +6,12 @@ SPEC="$2"
...
@@ -6,8 +6,12 @@ SPEC="$2"
PRODUCTDIR
=
/opt/teamviewer
PRODUCTDIR
=
/opt/teamviewer
UNIREQUIRES
=
"xdg-utils"
UNIREQUIRES
=
"xdg-utils
# libdbus libqt5-core libqt5-dbus libqt5-gui libqt5-network libqt5-qml libqt5-quick libqt5-webkit libqt5-webkitwidgets libqt5-widgets libqt5-x11extras libminizip
libEGL.so.1 libGL.so.1 libICE.so.6 libSM.so.6 libX11-xcb.so.1 libX11.so.6 libXext.so.6 libc.so.6 libdbus-1.so.3 libdl.so.2
libfontconfig.so.1 libfreetype.so.6
libglib-2.0.so.0 libgthread-2.0.so.0 libm.so.6
libminizip.so.1 libnspr4.so libnss3.so libnssutil3.so libplc4.so libplds4.so libpthread.so.0 libresolv.so.2 librt.so.1
libsmime3.so libsoftokn3.so libuuid.so.1 libxcb-glx.so.0 libxcb-render.so.0 libxcb-shape.so.0 libxcb-shm.so.0 libxcb-sync.so.1 libxcb-xfixes.so.0 libxcb.so.1 libz.so.1"
.
$(
dirname
$0
)
/common.sh
.
$(
dirname
$0
)
/common.sh
...
...
repack.d/xnview.sh
View file @
24db5f23
...
@@ -3,29 +3,21 @@
...
@@ -3,29 +3,21 @@
BUILDROOT
=
"
$1
"
BUILDROOT
=
"
$1
"
SPEC
=
"
$2
"
SPEC
=
"
$2
"
# FIXME: missed in the package
UNIREQUIRES
=
"libEGL.so.1 libGL.so.1
#filter_from_requires libQt5MultimediaGstTools libQt5WaylandClient
libQt5MultimediaGstTools.so.5 libQt5WaylandClient.so.5
PREINSTALL_PACKAGES
=
"libqt5-multimedia libqt5-waylandclient fontconfig glib2 libalsa libatk libcairo libcairo-gobject libcups libdbus libdrm libEGL libexpat libfreetype libgbm libgdk-pixbuf libgio libGL libgst-plugins1.0 libgstreamer1.0 libgtk+2 libgtk+3 libkrb5 liblzma libnspr libnss libpango libpulseaudio libwayland-client libwayland-cursor libwayland-egl libX11 libxcb libxcb-render-util libxcbutil-icccm libxcbutil-image libxcbutil-keysyms libXcomposite libXdamage libXext libXfixes libxkbcommon libxkbcommon-x11 libXrandr libXrender libXtst perl-base zlib"
libX11-xcb.so.1 libX11.so.6 libXcomposite.so.1 libXext.so.6
libasound.so.2 libatk-1.0.so.0 libcairo-gobject.so.2 libcairo.so.2 libcups.so.2 libdbus-1.so.3 libdrm.so.2
libfontconfig.so.1 libfreetype.so.6 libgbm.so.1 libgcc_s.so.1 libgdk-3.so.0 libgdk-x11-2.0.so.0 libgdk_pixbuf-2.0.so.0
libgio-2.0.so.0 libglib-2.0.so.0 libgobject-2.0.so.0
libgssapi_krb5.so.2 libgstallocators-1.0.so.0 libgstapp-1.0.so.0 libgstaudio-1.0.so.0 libgstbase-1.0.so.0 libgstpbutils-1.0.so.0 libgstreamer-1.0.so.0 libgstvideo-1.0.so.0
libgthread-2.0.so.0 libgtk-3.so.0 libgtk-x11-2.0.so.0
libc.so.6 libm.so.6 librt.so.1 libdl.so.2 libstdc++.so.6
libpango-1.0.so.0 libpangocairo-1.0.so.0
libpthread.so.0 libpulse-mainloop-glib.so.0 libpulse.so.0
libwayland-client.so.0 libwayland-cursor.so.0 libwayland-egl.so.1
libxcb-glx.so.0 libxcb-icccm.so.4 libxcb-image.so.0 libxcb-keysyms.so.1 libxcb-randr.so.0 libxcb-render-util.so.0 libxcb-render.so.0 libxcb-shape.so.0 libxcb-shm.so.0 libxcb-sync.so.1 libxcb-xfixes.so.0
libxcb-xinerama.so.0 libxcb-xkb.so.1libxcb.so.1
libxkbcommon-x11.so.0 libxkbcommon.so.0
libz.so.1"
.
$(
dirname
$0
)
/common.sh
.
$(
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 '1iRequires:bzlib' $SPEC
set_autoreq
"yes,noperl"
if
epm assure patchelf
;
then
for
i
in
$BUILDROOT
/opt/XnView/lib/
{
*
.so.
*
,
*
.so
}
;
do
a
=
patchelf
--set-rpath
'$ORIGIN/'
$i
||
continue
done
for
i
in
$BUILDROOT
/opt/XnView/Plugins/
{
*
.so,
*
.so.
*
}
;
do
a
=
patchelf
--set-rpath
'$ORIGIN/:$ORIGIN/../lib/'
$i
||
continue
done
for
i
in
$BUILDROOT
/opt/XnView/lib/
*
/
*
.so
;
do
a
=
patchelf
--set-rpath
'$ORIGIN/../'
$i
||
continue
done
for
i
in
$BUILDROOT
/opt/XnView/XnView
;
do
a
=
patchelf
--set-rpath
'$ORIGIN/lib/'
$i
||
continue
done
fi
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