Package Details: xsuspender-git 0.0.0-1

Git Clone URL: https://aur.archlinux.org/xsuspender-git.git (read-only, click to copy)
Package Base: xsuspender-git
Description: Automatically suspend inactive X11 applications
Upstream URL: https://github.com/kernc/xsuspender
Licenses: custom:WTFPL
Submitter: stewi
Maintainer: stewi
Last Packager: stewi
Votes: 3
Popularity: 0.000739
First Submitted: 2020-10-20 22:29 (UTC)
Last Updated: 2020-10-20 23:26 (UTC)

Dependencies (5)

Required by (0)

Sources (1)

Latest Comments

dreieck commented on 2023-10-22 10:27 (UTC)

Ahoj,

can you please add provides=("xsuspender=${pkgver}") and conflicts=('xsuspender')?

Regards and
thanks for maintaining.

stewi commented on 2022-08-22 10:59 (UTC) (edited on 2022-08-22 11:00 (UTC) by stewi)

@alien2003

I'm not able to reproduce the issue. Does the issue persist or is it resolved by pulling the latest commit?

If you remove 'make test' from the PKGBUILD does it work?

I might need someone's help with this issue if I cannot reproduce it...

alien2003 commented on 2022-04-22 21:28 (UTC)

CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- The C compiler identification is GNU 11.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.0")
-- Checking for module 'glib-2.0'
--   Found glib-2.0, version 2.72.1
-- Checking for module 'libwnck-3.0'
--   Found libwnck-3.0, version 40.1
-- Configuring done
-- Generating done
-- Build files have been written to: /home/alien/.cache/paru/clone/xsuspender-git/src/xsuspender-git
[ 14%] Building C object src/CMakeFiles/xsuspender.dir/config.c.o
[ 28%] Building C object src/CMakeFiles/xsuspender.dir/entry.c.o
/home/alien/.cache/paru/clone/xsuspender-git/src/xsuspender-git/src/entry.c: In function ‘xsus_window_entry_copy’:
/home/alien/.cache/paru/clone/xsuspender-git/src/xsuspender-git/src/entry.c:23:5: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations]
   23 |     WindowEntry *copy = g_memdup (entry, sizeof (WindowEntry));
      |     ^~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:82,
                 from /home/alien/.cache/paru/clone/xsuspender-git/src/xsuspender-git/src/entry.h:6,
                 from /home/alien/.cache/paru/clone/xsuspender-git/src/xsuspender-git/src/entry.c:1:
/usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here
  257 | gpointer              g_memdup         (gconstpointer mem,
      |                       ^~~~~~~~
[ 42%] Building C object src/CMakeFiles/xsuspender.dir/events.c.o
[ 57%] Building C object src/CMakeFiles/xsuspender.dir/exec.c.o
[ 71%] Building C object src/CMakeFiles/xsuspender.dir/rule.c.o
/home/alien/.cache/paru/clone/xsuspender-git/src/xsuspender-git/src/rule.c: In function ‘xsus_rule_copy’:
/home/alien/.cache/paru/clone/xsuspender-git/src/xsuspender-git/src/rule.c:11:5: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations]
   11 |     Rule *rule = g_memdup (orig, sizeof (Rule));
      |     ^~~~
In file included from /usr/include/glib-2.0/glib.h:82,
                 from /home/alien/.cache/paru/clone/xsuspender-git/src/xsuspender-git/src/rule.h:4,
                 from /home/alien/.cache/paru/clone/xsuspender-git/src/xsuspender-git/src/rule.c:1:
/usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here
  257 | gpointer              g_memdup         (gconstpointer mem,
      |                       ^~~~~~~~
[ 85%] Building C object src/CMakeFiles/xsuspender.dir/xsuspender.c.o
[100%] Linking C executable xsuspender
[100%] Built target xsuspender
==> Starting check()...
make: *** No rule to make target 'test'.  Stop.
==> ERROR: A failure occurred in check().
    Aborting...
error: failed to build 'xsuspender-git-0.0.0-1':
error: packages failed to build: xsuspender-git-0.0.0-1