How to use the latest version of Choqok in ArchLinux

As many know, Twitter changed its API and many applications were affected by it. The ones we use GNU / Linux, and above all KDE, we know that the best Microblog client out there is called choqok, for many reasons that are not relevant now, but this application also suffered the misfortune of the change in the API.

The problem

Not a long time ago I commented to them that for very little choqok It was going to run out of support, but thanks to the OpenSource philosophy, someone else adopted the project and it won't die, at least not now.

The latest version of choqok that works with Twitter, is not yet in the repositories of ArchLinux, so we have to download it from its GIT repository and compile it. To do this we doing the next:

We open a terminal (we have to have git installed in Arch or git-core in Debian) and we put:

git clone git://anongit.kde.org/choqok

Or what is the same:

git clone http://anongit.kde.org/choqok

We wait for you to finish downloading the necessary files, including a README that tells us the steps to follow, which are the following:

$ cd choqok / $ mkdir build $ cd build / $ cmake -DCMAKE_INSTALL_PREFIX = `kde4-config --prefix` ..

Normally, having the necessary dependencies this would be enough, but it threw me this error:

CMake Error at CMakeLists.txt:1 (include):
  include could not find load file:

    DBusMacros

CMake Error at config/behavior/CMakeLists.txt:17 (kde4_add_ui_files):
  Unknown CMake command "kde4_add_ui_files".

CMake Warning (dev) in CMakeLists.txt:
  No cmake_minimum_required command is present.  A line of code such as

    cmake_minimum_required(VERSION 2.8)

should be added at the top of the file.  The version specified may be lower
if you wish to support older CMake versions for this project.  For more
information run "cmake --help-policy CMP0000".
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring incomplete, errors occurred!

I almost threw in the towel but on the Arch forums I was recommended to use the PKGBUILD, a descriptive build file of a package for this distribution.

The solution

So what I did was access https://aur.archlinux.org/packages/choqok-git/ and download a tarball with the necessary files. This tarball has two files inside: PKGBuild y choqok-git.install, which are used with makepkg to package an application and can be easily installed with Pacman.

Well, we unzip the tarball and through the terminal we access the folder where these two files are. All we have to do is run:

$ makepkg

And the magic is done. After several minutes (depending on the power of our hardware), the file will have been created choqok-git-20130619-1-x86_64.pkg.tar.xz, which we can install by typing:

$ sudo pacman -U choqok-git-20130619-1-x86_64.pkg.tar.xz

And that's it guys. We can now enjoy again Twitter through choqok.

Updated: As the compa Gregorio Espadas tells me, if we have installed Yogurt we just have to run:

yaourt -S choqok-git

For Debian and derivative users don't worry, KZKG ^ Gaara will show you how to do it in this distribution soon.

13 comments, leave yours

Leave a Comment

Your email address will not be published. Required fields are marked with *

*

*

  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   Gregory Swords said

    yaourt -S choqok-git

    and ready! 😉

    1.    Lolo said

      Greetings Gespadas.

      What happened to your blog? You haven't published anything in it for a long time.

      Did you dedicate yourself to another project?

  2.   Yoyo said

    I'm waiting for my dear Turpial in its new version 1.0 with support for the new tweet api… ..

    It shouldn't take long since libturpial 1.0 is ready.

    1.    Gregory Swords said

      Everyone is waiting for him 🙂

    2.    elav said

      When I leave Choqok, I go to Hotot, but to Turpial? Never again U_U

  3.   Yoyo said

    The 1.0 of Turpial is going to be the repanocha !!! 😛

    1.    elav said

      If you say so ... Do you have a multi-account? Do you have a version for Qt?

  4.   TUDz said

    In Ubuntu 12.04 I keep getting an error when trying to send a tweet xD Not even my mention trays are updated, Home and so on.

  5.   Emilio said

    Without yaourt, you can use the command 'makepkg -si' where you can download the dependencies and install the package

  6.   Max J.R.B. said

    I use Polly and it works very well, very light and without problems. They find it in AUR.

  7.   cronos said

    What great news, happily someone was able to adopt the project, I'm still waiting for Hotot and / or Turpial.

    PS take out the psychedelic heretic 😛

  8.   Squawk said

    They should check Birdie: 3

  9.   eliotime3000 said

    I hope Hotot Stable comes out too. I'm sick of not accessing either Twitter or Identi.ca (because they switched to pump.io and I still can't see their API).