circa icon indicating copy to clipboard operation
circa copied to clipboard

Now on Arch Linux

Open xyproto opened this issue 12 years ago • 2 comments

Hi,

I just packaged Circa for the Arch User Submitted package repository (AUR):

https://aur.archlinux.org/packages/circa-git

If people have yaourt installed, they can install circa git with this command:

yaourt -S circa-git

If you were to make a release tarball of circa, for instance something like: circa-0.1.tar.bz2

It would be possible to also make a release version on AUR.

If that package in turn would get moderately popular (above 10 votes or so), it would be possible to move it to the official package repository, to make it an official Arch Linux package.

The main modifications I had to do to make circa compile, was to add "-ldl" before "-lcirca" in both src/unit_tests.make and src/command_line.make.

Best regards, Alexander Rødseth Arch Linux Trusted User (TU)

xyproto avatar Dec 01 '12 23:12 xyproto

Hi Alex, thanks for doing this work! I'll look in to making that makefile change permanent. The makefiles are generated by premake4 so I'll need to convince it to rearrange the flags.

paulhodge avatar Dec 04 '12 20:12 paulhodge

I'm not sure if the order of the flags matter, but these are the two commands I used to make it compile:

sed -i 's/-lcirca/-ldl -lcirca/g' src/unit_tests.make src/command_line.make LDFLAGS='-ldl' make config=release PREFIX=/usr

(PREFIX=/usr is normal when using make in PKGBUILD files, but LDFLAGS='-ldl' and config=release is not normally needed). Here's the complete PKGBUILD, if you should be interested: https://aur.archlinux.org/packages/ci/circa-git/PKGBUILD

Circa looks really interesting, btw! :+1:

xyproto avatar Dec 07 '12 11:12 xyproto