Description of the issue (screenshots if relevant):
Relevant informations (hardware involved, software version, logs or output…):
Does openMandrive support cairo lua in conky?
I mean, are there packages for this somewhere in other repositories, maybe some dev branch or something?
Because I didn’t find anything in the default ones.
Is there a possibility to port packages from test, dev branch if they exist.
I was asking for a friend who creates email notifier for Thunderbird on lua conky phyton and bash. So I asked in his name.
His install script as well as gui installer works on few distros he just made attempt to make it work on open mandriva.
And fails, so here Im with a question
Hi. I’m not an expert on conky. @mandian and @vuatech have been working on this package recently. However, from what I can see, Cairo and Lua are active in conky.
The macro %bcond_without lua_cairo indicates that something is active. %bcond_with does the opposite. from this it follows that lua cairo is on.
It would be easier to have him ask the questions here so there isn’t any miscommunications. I can say that Lua is version specific. So, if the script was written in a version lower than what we ship, it may not work.
That’s what I thought. %bcond_without meant you had to explicitly set a compiler flag to disable it and that if you did so it would still build (albeit without that particular feature)
Where does one find the build logs? Over in the abf?
I know that the sheer number of issues I’ve resolved just by looking at the rpm spec has me wondering why I never did something like it before my switch to OpenMandriva.
Actually I know why…hanging out in the chat is why I started looking there for info. So thanks again. You’ve made me a better engineer just by my following the discussions.
Unless you are building them locally, then yes. Each ID has a set of logs for the build, script, and tests. Any one of those can lead to packages not being published.
In this particular build, it failed to contact the file store. Probably because the tubes were clogged doing other build and store related tasks:
This had a test fail, because certain arch’s packages failed to build:
This one shows a failure in a check in CMake for a dependency (BuildRequires):
Probably not, rolling repos are copies of what was in Cooker at some point in time, rock repos are copies of what was in ROME(rolling) at some point. That reflects workflow.
Yes we do support cairo in conky as you can see from the conky -v output which tells you everything it has enabled:
$ conky -v
conky 1.22.1 compiled for Linux x86_64
Compiled in features:
System config file: /etc/conky/conky.conf
Package library path: lib64/conky
General:
* math
* hddtemp
* IPv6
* Curl
* RSS
* support for IBM/Lenovo notebooks
* old configuration syntax
* OSS mixer support
* apcupsd
* iostats
* ncurses
* Internationalization support
* PulseAudio
Lua bindings:
* Cairo
* RSVG
X11:
* Xdamage extension
* Xinerama extension (virtual display)
* Xshape extension (click through)
* XDBE (double buffer extension)
* Xft
* ARGB visual
* Own window
* Mouse events
Wayland:
* ARGB visual
* Mouse events
Music detection:
* CMUS
* MPD
Default values:
* Netdevice: eno1
* Local configfile: $HOME/.conkyrc
* Localedir: /usr/share/locale
* Maximum netdevices: 256
* Maximum text size: 16384
* Size text buffer: 256
I also took a look at it and while I could get lua code to work and display properly I could not get images loading, so I delved a little deeper on that.
I updated the imlib2 library that conky uses and added a bunch more image formats to it thinking maybe we had missed something that was stopping images from loading but no success other than updating the library with more image formats, which isn’t a bad thing.
Next step was updating conky itself which went smoothy but still no Lua image tags were working and conky -v was not showing it as being enabled either, so I went back to its spec file and after some head scratching spotted a single digit typo in a macro that was preventing conky from pulling in imlib2 at all and that was the fix to get images working in conky .
You can see the output from the updated conky -v showing that it now has imlib2 enabled below:
$ conky -v
conky 1.22.2 compiled for Linux x86_64
Compiled in features:
System config file: /etc/conky/conky.conf
Package library path: lib64/conky
General:
* math
* hddtemp
* IPv6
* Curl
* RSS
* support for IBM/Lenovo notebooks
* old configuration syntax
* Imlib2
* OSS mixer support
* apcupsd
* iostats
* ncurses
* Internationalization support
* PulseAudio
Lua bindings:
* Cairo
* Imlib2
* RSVG
X11:
* Xdamage extension
* Xinerama extension (virtual display)
* Xshape extension (click through)
* XDBE (double buffer extension)
* Xft
* ARGB visual
* Own window
* Mouse events
Wayland:
* ARGB visual
* Mouse events
Music detection:
* CMUS
* MPD
Default values:
* Netdevice: eno1
* Local configfile: $HOME/.conkyrc
* Localedir: /usr/share/locale
* Maximum netdevices: 256
* Maximum text size: 16384
* Size text buffer: 256
Both updated imlib2 and corky v1.22.2 packages are available in cooker and should make it down to rolling/ROME soon
Here is a screenshot of it working in a cooker VM with the OpenMandriva Lx logo loading successfully and it is all written in lua:
I will send the whole thread to my friend. I have no way to be a valuable source of information for you guys about his problems with conky and lua in his project. Hopefully he will contact you, and describe his issues far more better then I ever would