Package Details: activate-linux-git r349.75d0063-1

Git Clone URL: https://aur.archlinux.org/activate-linux-git.git (read-only, click to copy)
Package Base: activate-linux-git
Description: The 'Activate Windows' watermark ported to Linux with Xlib and cairo in C
Upstream URL: https://github.com/MrGlockenspiel/activate-linux
Licenses: GPL3
Conflicts: activate-linux
Provides: activate-linux
Submitter: polix_minus
Maintainer: FabioLolix
Last Packager: FabioLolix
Votes: 16
Popularity: 0.59
First Submitted: 2022-04-04 09:31 (UTC)
Last Updated: 2024-10-20 13:23 (UTC)

Latest Comments

1 2 Next › Last »

Rubos commented on 2024-09-10 17:04 (UTC) (edited on 2024-09-10 17:04 (UTC) by Rubos)

The .desktop file breaks kbuildsycoca6:

> XDG_MENU_PREFIX=arch- kbuildsycoca6
kbuildsycoca6 running...
kf.config.core: KConfigIni: In file /usr/share/applications/activate-linux.desktop, line 5: Invalid escape sequence: «\"»
kf.config.core: KConfigIni: In file /usr/share/applications/activate-linux.desktop, line 5: Invalid escape sequence: «\"»

Can you remove the \ please?

gromit commented on 2023-06-06 11:15 (UTC) (edited on 2023-06-06 11:18 (UTC) by gromit)

This package fails to build, because xorg-xrandr is missing as dependency (dunno if it should be make or regular dep):

Package xrandr was not found in the pkg-config search path.
Perhaps you should add the directory containing `xrandr.pc'
to the PKG_CONFIG_PATH environment variable
Package 'xrandr', required by 'virtual:world', not found
  CC     activate_linux.c
Package xrandr was not found in the pkg-config search path.
Perhaps you should add the directory containing `xrandr.pc'
to the PKG_CONFIG_PATH environment variable
Package 'xrandr', required by 'virtual:world', not found
  CC     cairo_draw_text.c
In file included from src/cairo_draw_text.c:3:
src/cairo_draw_text.h:4:10: fatal error: cairo.h: No such file or directory
    4 | #include <cairo.h>
      |          ^~~~~~~~~
compilation terminated.
make: *** [Makefile:109: obj/cairo_draw_text.o] Error 1
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Build failed, check /var/lib/aurbuild/x86_64/chris/build

Also there are another few points:

jacekpoz commented on 2022-10-24 08:09 (UTC)

Please add libconfig to makedepends.

dr460nf1r3 commented on 2022-06-08 13:12 (UTC)

The package is missing libxfixes and libxinerama as makedep or dependencies, I'm not sure. They are at least needed for successful building in a clean chroot.

polix_minus commented on 2022-05-27 13:17 (UTC) (edited on 2022-05-27 13:18 (UTC) by polix_minus)

Sorry for not being active for a couple a weeks, I've been busy with exams. I fixed package() and added git and pkgconf to make depends. Thank you to everyone who commented, it should build fine now.

sicalxy commented on 2022-05-21 06:38 (UTC) (edited on 2022-05-21 06:40 (UTC) by sicalxy)

  1. remove bin/ in package()
    before: install -D bin/activate-linux "$pkgdir/usr/bin/activate-linux"
    after: install -D activate-linux "$pkgdir/usr/bin/activate-linux"
  2. add git and pkgconfig in makedepends
    before: makedepends=('make' 'clang')
    after: makedepends=('make' 'clang' 'git' 'pkgconf')

Ruby-Dragon commented on 2022-05-20 00:09 (UTC)

remove bin/ from install to make it work with new versions

matan-h commented on 2022-05-17 13:42 (UTC)

building no longer create bin folder (install: cannot stat '/bin/activate-linux': No such file or directory ). I fix it by changing the last line package() to: install -D activate-linux "$pkgdir/usr/bin/activate-linux"

just activate-linux instead of bin/activate-linux

and additional error : one line before last: the -Dm644 missing white-space: it need to be -Dm 644.

WithTheBraid commented on 2022-05-17 10:28 (UTC)

It seems like at the moment, the following patches are required:

diff --git a/.SRCINFO b/.SRCINFO
index 6acbe95..d9754ae 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
 pkgbase = activate-linux-git
        pkgdesc = The "Activate Windows" watermark ported to Linux with Xlib and cairo in C
-       pkgver = r70.d0d7e2c
+       pkgver = r90.7132160
        pkgrel = 1
        url = https://github.com/MrGlockenspiel/activate-linux
        arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 847de55..67ed5a0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
 # Maintainer: Polis Minus <polisminus2247@tuta.io>
 pkgname=activate-linux-git
 _pkgname=activate-linux
-pkgver=r70.d0d7e2c
+pkgver=r90.7132160
 pkgrel=1
 pkgdesc="The \"Activate Windows\" watermark ported to Linux with Xlib and cairo in C"
 arch=("x86_64")
@@ -28,5 +28,5 @@ package() {
   install -D activate-linux.desktop "$pkgdir/usr/share/applications/activate-linux.desktop"
   cd "$srcdir/$_pkgname"
   install -Dm644 LICENSE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-  install -D bin/activate-linux "$pkgdir/usr/bin/activate-linux"
+  install -D activate-linux "$pkgdir/usr/bin/activate-linux"
 }