taw00 / element-rpm

Providing the Element messaging desktop client packaged for the Fedora, Red Hat(IBM), and OpenSUSE families of linux desktop operating systems.
Apache License 2.0
100 stars 17 forks source link

Install it on OpenSUSE #2

Closed tareefdev closed 6 years ago

tareefdev commented 7 years ago

How i can add the repo into my OpenSUES (tumbleweed)?

taw00 commented 7 years ago

Not really sure, to be honest.

akontsevich commented 6 years ago

I was able to add https://copr-be.cloud.fedoraproject.org/results/taw/Riot/fedora-27-x86_64/ repo to openSUSE Tumbleweed in Yast, only get warning during packages upgrade about repo is not signed.

P.S. Then I've imported https://copr-be.cloud.fedoraproject.org/results/taw/Riot/pubkey.gpg

taw00 commented 6 years ago

And it "just worked"?

If so, I will add a blurb about using it as such in the README or somewhere.

akontsevich commented 6 years ago

@taw00, yes works fine. Yes, You can add this to readme, however I've added repo and the key through Yast GUI, not sure how to add it through command line... Let me check....

This how to add through

zypper ar -f https://copr-be.cloud.fedoraproject.org/results/taw/Riot/fedora-27-x86_64/ Riot rpm --import pubkey.gpg

akontsevich commented 6 years ago

Hmm... still get an error about https://copr-be.cloud.fedoraproject.org/results/taw/Riot/fedora-27-x86_64/repodata/repomd.xml file is not signed, so automatic updates do not work. Think need to sign it somehow.

And another error on package install/upgrade:

Error: INVALID:riot-0.13.3-1.taw.fc27.x86_64 (Riot): Signature verification failed [2-Signature not verified]
    Header V3 RSA/SHA1 Signature, key ID 4f38bde2: OK
    Header SHA1 digest: OK (57526432f4df0157114121bdb5fdf03425c59ad7)
    Verify signature: BAD PARAMETERS (273 0x92297a9 1 (nil) (nil))
    V3 RSA/SHA1 Signature, key ID 4f38bde2: OK
    MD5 digest: OK (077d5b6ed04f0820c8004a3588adc2ef)
akontsevich commented 6 years ago

Have problem updating on openSUSE now: it requires GConf2, we have gconf2. @taw00, could You fix it somehow please? Thanks!

taw00 commented 6 years ago

Just to put the signing thing to bed (if that is still a thing)...

sudo rpm --import https://copr-be.cloud.fedoraproject.org/results/taw/Riot/pubkey.gpg

As for requirements... this is is what I get when I look at the requirements (note, there are a few explicit requirements that I put in, but the rest... rpm figured out on its own...

[todd@...]$ rpm -qRp ./riot-0.14.2-2.fc27.taw0.x86_64.rpm 
/bin/sh
/bin/sh
/bin/sh
/usr/bin/env
ld-linux-x86-64.so.2()(64bit)
ld-linux-x86-64.so.2(GLIBC_2.2.5)(64bit)
ld-linux-x86-64.so.2(GLIBC_2.3)(64bit)
libX11-xcb.so.1()(64bit)
libX11.so.6()(64bit)
libXcomposite.so.1()(64bit)
libXcursor.so.1()(64bit)
libXdamage.so.1()(64bit)
libXext.so.6()(64bit)
libXfixes.so.3()(64bit)
libXi.so.6()(64bit)
libXrandr.so.2()(64bit)
libXrender.so.1()(64bit)
libXss.so.1()(64bit)
libXtst.so.6()(64bit)
libasound.so.2()(64bit)
libasound.so.2(ALSA_0.9)(64bit)
libatk-1.0.so.0()(64bit)
libc.so.6()(64bit)
libc.so.6(GLIBC_2.11)(64bit)
libc.so.6(GLIBC_2.14)(64bit)
libc.so.6(GLIBC_2.15)(64bit)
libc.so.6(GLIBC_2.2.5)(64bit)
libc.so.6(GLIBC_2.3)(64bit)
libc.so.6(GLIBC_2.3.2)(64bit)
libc.so.6(GLIBC_2.3.4)(64bit)
libc.so.6(GLIBC_2.4)(64bit)
libc.so.6(GLIBC_2.6)(64bit)
libc.so.6(GLIBC_2.7)(64bit)
libc.so.6(GLIBC_2.9)(64bit)
libcairo.so.2()(64bit)
libcups.so.2()(64bit)
libdbus-1.so.3()(64bit)
libdl.so.2()(64bit)
libdl.so.2(GLIBC_2.2.5)(64bit)
libexpat.so.1()(64bit)
libffmpeg.so()(64bit)
libfontconfig.so.1()(64bit)
libfreetype.so.6()(64bit)
libgcc_s.so.1()(64bit)
libgcc_s.so.1(GCC_3.0)(64bit)
libgcc_s.so.1(GCC_4.0.0)(64bit)
libgconf-2.so.4()(64bit)
libgdk-x11-2.0.so.0()(64bit)
libgdk_pixbuf-2.0.so.0()(64bit)
libgio-2.0.so.0()(64bit)
libglib-2.0.so.0()(64bit)
libgmodule-2.0.so.0()(64bit)
libgobject-2.0.so.0()(64bit)
libgtk-x11-2.0.so.0()(64bit)
libm.so.6()(64bit)
libm.so.6(GLIBC_2.2.5)(64bit)
libnode.so()(64bit)
libnspr4.so()(64bit)
libnss3.so()(64bit)
libnss3.so(NSS_3.10)(64bit)
libnss3.so(NSS_3.11.1)(64bit)
libnss3.so(NSS_3.12)(64bit)
libnss3.so(NSS_3.12.1)(64bit)
libnss3.so(NSS_3.12.3)(64bit)
libnss3.so(NSS_3.12.4)(64bit)
libnss3.so(NSS_3.2)(64bit)
libnss3.so(NSS_3.3)(64bit)
libnss3.so(NSS_3.4)(64bit)
libnss3.so(NSS_3.5)(64bit)
libnss3.so(NSS_3.7)(64bit)
libnss3.so(NSS_3.8)(64bit)
libnss3.so(NSS_3.9)(64bit)
libnss3.so(NSS_3.9.2)(64bit)
libnssutil3.so()(64bit)
libnssutil3.so(NSSUTIL_3.12)(64bit)
libnssutil3.so(NSSUTIL_3.12.3)(64bit)
libpango-1.0.so.0()(64bit)
libpangocairo-1.0.so.0()(64bit)
libpthread.so.0()(64bit)
libpthread.so.0(GLIBC_2.2.5)(64bit)
libpthread.so.0(GLIBC_2.3.2)(64bit)
libpthread.so.0(GLIBC_2.3.3)(64bit)
librt.so.1()(64bit)
librt.so.1(GLIBC_2.2.5)(64bit)
libsmime3.so()(64bit)
libsmime3.so(NSS_3.10)(64bit)
libsmime3.so(NSS_3.2)(64bit)
libstdc++.so.6()(64bit)
libstdc++.so.6(CXXABI_1.3)(64bit)
libstdc++.so.6(CXXABI_1.3.5)(64bit)
libstdc++.so.6(GLIBCXX_3.4)(64bit)
libstdc++.so.6(GLIBCXX_3.4.11)(64bit)
libstdc++.so.6(GLIBCXX_3.4.14)(64bit)
libstdc++.so.6(GLIBCXX_3.4.15)(64bit)
libstdc++.so.6(GLIBCXX_3.4.18)(64bit)
libstdc++.so.6(GLIBCXX_3.4.19)(64bit)
libstdc++.so.6(GLIBCXX_3.4.9)(64bit)
libxcb.so.1()(64bit)
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1
rtld(GNU_HASH)
taw00 commented 6 years ago

And for 15.3 (I see the Gconf2)...

/bin/sh
/bin/sh
GConf2
alsa-lib
atk
bash
cairo
cups-libs
dbus-libs
expat
fontconfig
freetype
gdk-pixbuf2
glib2
glibc
gtk2
libX11
libX11-xcb
libXScrnSaver
libXcomposite
libXcursor
libXdamage
libXext
libXfixes
libXi
libXrandr
libXrender
libXtst
libgcc
libstdc++
libxcb
nodejs
nspr
nss
nss-util
pango
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1

It's probably because I am building the desktop bits correctly finally with .desktop and .appdata.xml...

taw00 commented 6 years ago

Built for OpenSuse Leap and Tumbleweed ... see issue https://github.com/taw00/riot-rpm/issues/15