Package Details: libstrangle-git 0.1.1.r139.038b434-2

Git Clone URL: https://aur.archlinux.org/libstrangle-git.git (read-only, click to copy)
Package Base: libstrangle-git
Description: Simple FPS Limiter
Upstream URL: https://gitlab.com/torkel104/libstrangle
Licenses: GPL3
Conflicts: libstrangle
Provides: libstrangle
Submitter: pyamsoft
Maintainer: qbvt (Infernio)
Last Packager: qbvt
Votes: 25
Popularity: 0.24
First Submitted: 2016-05-24 03:52 (UTC)
Last Updated: 2024-02-25 19:04 (UTC)

Pinned Comments

qbvt commented on 2023-08-19 17:21 (UTC) (edited on 2023-08-19 17:24 (UTC) by qbvt)

Hi, here is an update on the libstrangle and libstrangle-git packages:

Context:
- Updates to GCC 13 and GLIBC 2.38 broke libstrangle,
- There are pending merge requests to the original upstream repo[1] to bring the package back to functional state,
- However, the upstream repo appears not to be maintained anymore and the MRs have been pending for a year,

Our AUR packages:
- libstrangle will remain based on the original upstream repo, but I updated the PKGBUILD to include all necessary changes as .patch files,
- libstrangle-git will switch to @Infernio's fork[2] of the original upstream repo,
- This brings back both packages to functional state, and give users flexibility depending on whether the origin upstream repo comes back to life, or whether @Infernio's fork is more reliable,

Finally, sorry for the long resolution delay. Since @Infernio volunteered, I added him as co-maintainer of both packages.

@Infernio, I now have more time for this maintainance work, so I should be able to contribute more reliably. But if you prefer to completely take over, let me know and I will set you as primary maintainer.


[1] https://gitlab.com/torkel104/libstrangle
[2] https://gitlab.com/Infernio/libstrangle

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

FosRex commented on 2022-10-25 05:46 (UTC)

Sorry for the late reply qbvt. Yes, the update fixed my issue. Thank you.

Freso commented on 2022-10-24 08:44 (UTC)

Definitely an improvement. Thank you. :)

You might still want to consider using the git describe method over fprint since that will automatically keep up with the latest upstream version without having to manually update the PKGBUILD every release, but you may just as well just make that change whenever 0.1.2 (or 0.2.0) is released and you’ll need to update the PKGBUILD anyway (because of how it’s currently set up).

qbvt commented on 2022-10-23 15:48 (UTC) (edited on 2022-10-23 18:30 (UTC) by qbvt)

Hi,

Sorry for the delay. I updated the PKGBUILD. Unfortunately, I don't/won't have access to an arch machine for at least a few days more.

Let me know if this update fixes your issue. If not, I will rollback the package.

Battle420 commented on 2022-10-21 10:58 (UTC)

I have the same exact error as FosRex.

FosRex commented on 2022-10-19 05:43 (UTC) (edited on 2022-10-19 05:44 (UTC) by FosRex)

I am getting an error during the Cleaning up process due to the recursive functions:

==> Cleaning up...
-> the PKGDEST for libstrangle-git is listed by makepkg but does not exist: /home/anshu/.cache/yay/libstrangle-git/libstrangle-git-0.1.1.r135.0273e31.r135.0273e31-1-x86_64.pkg.tar.zst

Freso commented on 2022-10-19 03:02 (UTC) (edited on 2022-10-19 03:02 (UTC) by Freso)

Using $pkgver in pkgver() makes the function recursive, meaning that you’ll grow the $pkgver every time it’s run, eventually leading to "fun" $pkgver strings like "0.1.1.r135.0273e31.r135.0273e31.r135.0273e31.r135.0273e31.r135.0273e31.r135.0273e31.r135.0273e31.r135.0273e31.r135.0273e31.r135.0273e31.r135.0273e31.r135.0273e31.r135.0273e31.r135.0273e31".

Using git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' (based on examples from the wiki) will right now result in "0.1.1.r22.g0273e31" on the current master, which seems like a better version string than the current situation. :)

qbvt commented on 2022-10-16 16:12 (UTC)

Dependencies updated, thanks!

Tobiwan823 commented on 2022-10-01 16:09 (UTC) (edited on 2022-10-01 16:10 (UTC) by Tobiwan823)

You also need these dependencies: linux-api-headers libx11 xorgproto

jonathon commented on 2020-11-05 17:30 (UTC) (edited on 2020-11-05 17:34 (UTC) by jonathon)

Looks like this needs a few tweaks to build in a clean chroot:

diff --git a/PKGBUILD b/PKGBUILD
index b23bcee..85f9ec2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,11 +6,12 @@
 _pkgname=libstrangle
 pkgname=${_pkgname}-git
 pkgdesc="Simple FPS Limiter"
-pkgver=r68.a5aa280
-pkgrel=4
+pkgver=r31.36122df
+pkgrel=1
 url='https://gitlab.com/torkel104/libstrangle'
 arch=('x86_64')
-makedepends=('git' 'gcc-multilib')
+depends=('lib32-gcc-libs' 'lib32-glibc' 'libgl')
+makedepends=('git')
 provides=('libstrangle')
 conflicts=('libstrangle')
 license=('GPL3')
@@ -19,20 +20,22 @@ sha256sums=('SKIP')

 pkgver() {
     cd $_pkgname
-
     printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
 }

 prepare() {
     cd $_pkgname
-
     sed -i -e '/ldconfig/d' makefile
 }

-package() {
+build() {
     cd $_pkgname
+    make prefix=/usr
+}

-    make prefix=/usr DESTDIR="$pkgdir" install
+package() {
+    cd $_pkgname
+    make prefix=/usr DESTDIR="$pkgdir" install-common install-32 install-64 install-ld

     # Install the README.md locally
     install -d "$pkgdir/usr/share/doc/$_pkgname"

Freso commented on 2020-02-09 14:18 (UTC)

Any chance you could install the README.md locally too in the PKGBUILD? See https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=isrcsubmit-git for an example of additional documentation being installed from git repository.