mailru / icqdesktop.deprecated

Other
463 stars 100 forks source link

Please release RPM package, sample included. #60

Open ykne opened 6 years ago

ykne commented 6 years ago

I tried to eliminate external libraries as much as possible but many still left. There should be no need as all are available in modern linuxes. Please help simplifying. Resulting executable file is relatively large because of many static libraries in it.

Instructions for building fedora rpm in mock:

  1. Create temporary folder anywhere, for example: mkdir temp
  2. Download master.zip and external.tar.xz into it.
  3. Download icq.tar.gz and extract contents into the folder.
  4. create src.rpm, for example: rpmbuild -bs --define '_sourcedir temp' --define '_specdir temp' --define '_srcrpmdir temp' temp/icq.spec
  5. update /etc/mock/fedora-27-x86_64.cfg, add
    [rpmfusion-free-updates]
    name=rpmfusion-free-updates
    #baseurl=http://download1.rpmfusion.org/free/fedora/updates/$releasever/$basearch/
    metalink=https://mirrors.rpmfusion.org/metalink?repo=free-fedora-updates-released-$releasever&arch=$basearch
    enabled=1
    type=rpm-md
    gpgcheck=1
    repo_gpgcheck=0
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-$releasever

    before last line: """

  6. run mock --rebuild $PWD/temp/icq-1-2.fc27.src.rpm it takes about 10-20 minutes to compile after all necessary packages are downloaded and installed.
  7. add rpmfusion repository following instructions on https://rpmfusion.org/Configuration if not already.
  8. install the package dnf install /var/lib/mock/fedora-27-x86_64/result/icq-1-2.fc27.x86_64.rpm launch from Applications->Internet menu.