New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linking liboobs #495

Closed
temudschin opened this Issue Feb 11, 2015 · 21 comments

Comments

10 participants
@temudschin
Copy link

temudschin commented Feb 11, 2015

I think, the linking of liboobs library is missing the OOBS_LIBRARY_DIRS variable in:

lxqt-admin/lxqt-admin-time/CMakeLists.txt

and

lxqt-admin/lxqt-admin-user/CMakeLists.txt

resulting in a linker error, if liboobs is not installed in a standard lib path.

I would propose to add:

link_directories( ${OOBS_LIBRARY_DIRS} )
in both CMakeLists.txt files.

@jleclanche

This comment has been minimized.

Copy link
Contributor

jleclanche commented Feb 11, 2015

FWIW Im not a fan of using liboobs at all. It's not in the main repos of several distros (including arch), and it's perl scripts for god sake.

@PCMan

This comment has been minimized.

Copy link
Member

PCMan commented Feb 12, 2015

At some time we have to develop a replacement for it.
Liboobs can still be retained to support other OSes, such as BSDs.
For Linux, we can develop our own code and some stuff can be supported using systemd.
The date/time tool only needs to call timedatectl.
AccountService might handle user management but I believe that it will be dropped since few people are using it and it's not quite active. Alternatively, @jleclanche you can develop some python scripts.

@PCMan

This comment has been minimized.

Copy link
Member

PCMan commented Feb 12, 2015

The real problem is, how to use polkit properly since we don't want to run all admin apps with root.
I don't know how to do polkit programming in python so @jleclanche maybe you can do it.

@jleclanche

This comment has been minimized.

Copy link
Contributor

jleclanche commented Feb 12, 2015

We could simply not have bsd support in lxqt-admin. It's a fairly minor component...

@heliocastro

This comment has been minimized.

Copy link

heliocastro commented Feb 12, 2015

We don't have liboobs since Fedora 20, so this is a reason we do not have
the package yet on our distro.

On Thu, Feb 12, 2015 at 8:04 AM, Jerome Leclanche notifications@github.com
wrote:

We could simply not have bsd suppot in lxqt-admin. It's a fairly minor
component...


Reply to this email directly or view it on GitHub
#495 (comment).

@City-busz

This comment has been minimized.

Copy link

City-busz commented Jul 5, 2015

I recommend to use systemd-timedated and AccountsService D-Bus interfaces as backend. Then you don't need to care about polkit, everything is handled by these services.

@PCMan

This comment has been minimized.

Copy link
Member

PCMan commented Jul 6, 2015

Yes, that's indeed a good idea and I intended to do that previously.
However, I'm not sure how good AccountService is.
Does anyone has experience on that? Or @City-busz are you willing to provide patches?

@Vladimir-csp

This comment has been minimized.

Copy link

Vladimir-csp commented Jul 6, 2015

The way I see it, AccountService is a service primarily used in GNOME. Somebody dragged it into lightdm just because it was used in GDM. There are a couple of hanging bugs here and there in which 'non-DE' users, myself included, asked for lightdm to be usable without GNOME dependencies such as AccountService. They are partially solved, partially hanging (lightdm has some issues). So, from user/admin perspective (at least from mine and those who supported AccountService independence in lightdm), AccountService is something that solves nothing while it runs a redundant system-level daemon which task can be accomplished by simple static config files or their cache.

@City-busz

This comment has been minimized.

Copy link

City-busz commented Jul 7, 2015

@PCMan sorry, but I don't have any experience with Qt programming.

@agaida

This comment has been minimized.

Copy link
Member

agaida commented Apr 21, 2016

Hi, i need to bump this issue a little bit, reason: there are plans to remove liboobs from debian https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=821864

@jleclanche

This comment has been minimized.

Copy link
Contributor

jleclanche commented Apr 21, 2016

@agaida It seems unlikely we would manage to get this done by next release. My suggestion is dropping lxqt-admin from debian.

@agaida

This comment has been minimized.

Copy link
Member

agaida commented Apr 23, 2016

we will do so in the worst case - but we all know, that debian is "very fast" in removals - i think i should ask maintainers for a time frame

@LStranger

This comment has been minimized.

Copy link

LStranger commented Apr 23, 2016

Hi, i need to bump this issue a little bit, reason: there are plans to remove liboobs from debian https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=821864

You may relax - as long as I am a maintainer of liboobs in Debian, I will
keep it there, it's not a decision of Michael Biebl or GNOME maintainters
team. It was wrong from my side to leave them in Uploaders list, I will
fix that very soon and liboobs will stay as long as it works, and I would
keep it working since it is only way to get some functionality if you are
not in KDE nor in GNOME.

@agaida

This comment has been minimized.

Copy link
Member

agaida commented Apr 24, 2016

@LStranger - good to know, i'm relaxed now :D

@szlin

This comment has been minimized.

Copy link

szlin commented Apr 29, 2016

It seems like liboobs will keep in Debian archive; therefore, my assumption is that #821864 should be closed without any action.

@agaida

This comment has been minimized.

Copy link
Member

agaida commented Apr 29, 2016

@szlin: as you see, liboobs is not in Fedora anymore and we really are no liboobs fans - so if you like to work on this nobody would hinder you i guess. :)

@PCMan

This comment has been minimized.

Copy link
Member

PCMan commented Apr 30, 2016

Well, please take a look at the "systemd" branch.
Date time management is now handled with systemd. This part is already finished and needs some testing. There is also a "user" branch, which is going to use AccountService for user management, but it's still a work in progress. With these two changes, we no longer require liboobs.
I'm working on my master thesis now so don't have time for LXQt this month. Later I'll finish this part.

@jleclanche

This comment has been minimized.

Copy link
Contributor

jleclanche commented Apr 30, 2016

@PCMan We should do a delayed release of lxqt-admin then. We don't release it alongside 0.11; we wait until the systemd branch is merged.

@agaida

This comment has been minimized.

Copy link
Member

agaida commented Apr 30, 2016

+1

@palinek

This comment has been minimized.

Copy link
Contributor

palinek commented Jun 3, 2016

Well, please take a look at the "systemd" branch.

@PCMan Are you using the systemd's CLI (and not the DBus interface) because of access ritghts?

@palinek

This comment has been minimized.

Copy link
Contributor

palinek commented Sep 16, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment