Commit Graph

3351 Commits

Author SHA1 Message Date
Nedko Arnaudov b5d21e1829 ladish_control: fix py3 exception handling 2023-04-19 13:43:08 +03:00
Nedko Arnaudov f10cf15983 Revert "Development cycle for version 2" (1-stable branch)
This reverts commit 7f05684806.
2023-01-29 15:09:04 +02:00
Nedko Arnaudov 655a9dc2c7 wscript: new configure option, --enable-gladish 2023-01-28 02:55:37 +02:00
Nedko Arnaudov 13fa61455c Make siginfo.c build optional and disabled by default
siginfo is now disabled by default so building on new CPU
architectures does not require adjusting of siginfo.c anymore.

When needed, --siginfo can be used as option to ./waf configure
to enable the functionality
2021-12-24 13:54:04 +02:00
Nedko Arnaudov 4be0b87b4c Merge laditools name changes 2021-02-27 06:55:49 +02:00
Nedko Arnaudov 9adeffb011 wscript: add --docdir option and change the default
The new default is PREFIX/share/doc/ladish/
Previous value was PREFIX/share/ladish/

This matches what linux distros use
2021-02-22 02:55:03 +02:00
Nedko Arnaudov d577c94fce update unpack_waf.sh for py3; .gitignore extracted waflib 2021-02-22 02:11:39 +02:00
Nedko Arnaudov 3f24a3fb96 gladish.desktop: use Engeneering category
good suggestion by Dominique Michel
2021-02-22 01:10:59 +02:00
Max Audron a19489541c meson: include build directory no matter it's name
when updating the ebuild i noticed that the include for the config.h and
version.h files relied on the build directory being name "build". This
is fixed now by using the last segment of the meson.build_root() output
which is the correct build dir.

also delete no longer needed manual creation of version.h and config.h
2021-02-21 21:01:32 +02:00
Nedko Arnaudov 709a032a93 Remove sumodules
jack2, laditools and a2jmidid are now upstream enough.
flowcanvas is abandoned by its upstream in favour of ganv
and its source is already available in gui/flowcanvas/
2021-02-15 23:17:12 +02:00
Nedko Arnaudov 177158912c Merge "Fix GetAllPorts D-Bus method declaration" by Markus Kitsinger (SwooshyCueb) <root@swooshalicio.us> 2021-02-15 00:48:28 +02:00
Nedko Arnaudov 10203604f1 Merge meson.build files by Max Audron <audron@cocaine.farm> 2021-02-15 00:01:30 +02:00
Nedko Arnaudov bcdf41c845 Update README 2021-02-14 21:31:31 +02:00
Nedko Arnaudov 46d0f6ac9e wscript: Disable -Werror
This causes problems for packagers that attempt to build with newer compilers,
or libraries (for deprecated symbols in them cause warnings).
2021-02-14 21:12:12 +02:00
Nedko Arnaudov dccd4f86c7 Merge branch 'waf-upgrade'
This brings waf to latest and allows building with python3
Tested versions of python: 2.7.18, 3.8.7, 3.9.1
2021-02-14 21:08:57 +02:00
Nedko Arnaudov 7f88b1609b wscript: Fix boost detection and thus re-enable gladish build 2021-02-14 21:07:44 +02:00
Nedko Arnaudov 60b6a8eab9 Fix build from source tree that got broken during waf upgrade 2021-02-14 21:06:03 +02:00
Nedko Arnaudov f15b80e639 Upgrade waf to 2.0.22 , enable waf boost tool
./waf-light --tools=compat1.5,boost
2021-02-14 21:03:38 +02:00
Simon Lees 11ab9f5e6b Apply patch from openSUSE for python3 compatibility
https://build.opensuse.org/package/view_file/openSUSE:Factory/ladish/ladish-python3.patch?expand=1&rev=38daa94b75ee746e0fcf3541d25f4841
2021-02-14 20:07:38 +02:00
Nedko Arnaudov 297d1df722 Revert "Attempt to fix wscript for waf-2.0.20"
This reverts commit 55ed1b5e6f.

ladish-python3.patch from openSUSE is to be applied
2021-02-14 20:05:24 +02:00
Nedko Arnaudov e715e1449a Merge commit '27e38d3f' into waf-upgrade
This one is currently used by openSUSE
and ladish-python3.patch is about to be applied
2021-02-14 20:03:25 +02:00
Max Audron a594323102 add gladish to meson build 2021-02-14 14:25:57 +01:00
Max Audron 3c0c2f62d9 add optional compile of pylash and liblash to meson 2021-02-14 14:25:16 +01:00
Max Audron 1e69f48936 add meson build files
build common, cdbus, alsapid, and proxies as static libraries.
daemon aka ladishd links to them at build time.
2021-02-14 14:22:47 +01:00
Nedko Arnaudov 9d7e38b3b0 gladish: Fix load project dialog
Before this fix, the dialog was not allowing directory browsing.

In previous versions of GTK, the dialog used to work.
Why it stopped working is not known.
2021-02-09 07:04:39 +02:00
Nedko Arnaudov 27e38d3f4b Fix -Werror=restrict
While one could be safe to assume that first input is read,
then symlink target is copied to user-mode, it causes compiler
warning.

So, don't reuse the symlink filename buffer for storing symlink
target.

../daemon/procfs.c:155:28: error: passing argument 2 to restrict-qualified parameter aliases with argument 1 [-Werror=restrict]
  155 |   ret = readlink(g_buffer, g_buffer, sizeof(g_buffer));
      |                  ~~~~~~~~  ^~~~~~~~

sys-libs/glibc-2.30-r8 (armv7a, but ISA probably does not matter)
gcc (Gentoo 9.3.0 p2) 9.3.0
2020-05-07 23:38:18 +03:00
Nedko Arnaudov 16e6233620 Fix implicit fallthrough warning with gcc 9.3.0
../daemon/escape.c: In function ‘escape’:
../daemon/escape.c:49:10: error: this statement may fall through [-Werror=implicit-fallthrough=]
   49 |       if ((flags & LADISH_ESCAPE_FLAG_OTHER) == 0)
      |          ^
../daemon/escape.c:53:5: note: here
   53 |     case '<':               /* invalid attribute value char (XML spec) */
      |     ^~~~

gcc (Gentoo 9.3.0 p2) 9.3.0
2020-05-07 23:32:36 +03:00
Nedko Arnaudov 55ed1b5e6f Attempt to fix wscript for waf-2.0.20 2020-04-22 20:01:15 +03:00
Nedko Arnaudov 7345625738 upgrade waf to version 2.0.20. not working yet 2020-04-22 20:01:06 +03:00
Nedko Arnaudov c76a72c6e4 ladish_control: py3 compatibility 2020-04-22 19:55:14 +03:00
Markus Kitsinger (SwooshyCueb) e84e9bbbd7 Fix GetAllPorts D-Bus method declaration 2016-07-28 11:32:50 -05:00
Nedko Arnaudov 5fe205f2dc gladish: don't crash when unable connect to dbus 2014-09-11 18:37:54 +03:00
Nedko Arnaudov eaf678ec8f Minor formatting fix in coding_style.txt 2013-07-21 01:06:37 +03:00
Nedko Arnaudov 96491b7e57 Merge pull request #2 from mekanix/master
Add --libdir option
2013-02-22 02:54:26 -08:00
Goran Mekić 8e38b76f1d Add --libdir option. 2013-02-21 14:57:53 +01:00
Nedko Arnaudov fcb16ae71e minor coding style fix 2013-02-10 16:26:21 +02:00
Nedko Arnaudov 74fbf510b9 Fix doxygen warnings 2013-02-10 16:21:40 +02:00
Nedko Arnaudov 41c7c2d825 Incorporate siginfo-1 2013-01-13 02:05:15 +02:00
Nedko Arnaudov 01298d0915 Install lash include files into dedicated dir
This matches the lash-0.5.4 and lash-0.6.0~rc2 behaviour
2013-01-13 00:15:32 +02:00
Nedko Arnaudov e8f6f15762 gladish: quit on ctrl-q 2012-12-31 17:49:11 +02:00
Nedko Arnaudov f44ef3ff31 Update INSTALL 2012-12-29 15:48:02 +02:00
Nedko Arnaudov 62230f606b Fix warning (try again) 2012-12-22 22:03:57 +02:00
Nedko Arnaudov d562213ddd (Hopeuflly) fix comilation warning/error
../daemon/sigsegv.c: В функции ‘signal_segv’:
../daemon/sigsegv.c:114:9: ошибка: формат ‘%02d’ предполагает тип ‘int’, но аргумент 6 имеет тип ‘size_t’
2012-12-22 21:53:38 +02:00
Nedko Arnaudov 441128e025 Fix unresolved external liblash
The bug was recently introduced by commit 73acf78b8d
2012-12-22 10:56:54 +02:00
Nedko Arnaudov 0120d3162b Fix room creation that got broken two commits ago
ebce813997 broke it.
2012-12-03 00:28:03 +02:00
Nedko Arnaudov e5efbfc472 Add missing header text 2012-12-02 23:52:43 +02:00
Nedko Arnaudov ebce813997 Fix unused-parameter warnings in plain C code 2012-12-02 23:50:05 +02:00
Nedko Arnaudov abf820278b extra compiler warnings 2012-12-02 21:39:51 +02:00
Nedko Arnaudov 73acf78b8d Improve logging
* Take advantage of gcc printf format checks
 * Move code dependent on log level to log.c
   This is a basis for runtime logging tweaks.
 * Remove the now useless LADISH_DEBUG defines
2012-12-02 20:24:22 +02:00
Nedko Arnaudov 9bbfff1608 Fix log calls
* Remove useless ifdefs for LADISH_DEBUG
 * Fix formatting errors
2012-12-02 20:24:22 +02:00