LightDM is a display manager that:
* Is cross-desktop - supports different desktops
* Supports different display technologies
* Is lightweight - low memory usage and fast performance
* Has a comprehensive test suite
===> The following configuration options are available for lightdm-1.33.1:
DOCS=on: Build and/or install documentation
NLS=on: Native Language Support
VAPI=on: Build VALA API files
====> Qt toolkit support: you can only select none or one of them
QT5=off: Qt 5 toolkit support
QT6=off: Qt 6 toolkit support
===> Use 'make config' to modify these settings
For LightDM to function, it requires one of the available greeters to be
installed, for instance x11/lightdm-gtk-greeter or x11/slick-greeter .
If you enable the lock-memory option in lightdm.conf (e.g. due to security
concerns), you will also need to increase the maximum amount of memory FreeBSD
will allow a daemon to lock into main memory using mlock(2).
To increase this limit, run the following commands:
# sed -i '' -e 's/memorylocked=128M/memorylocked=256M/' /etc/login.conf
# cap_mkdb /etc/login.conf
x11/lightdm: Update to 1.33.0
- Download distribution using GITHUB
- Stop limiting portscout to even versions
- Add QT6 support option, alternative to QT5
- Remove upstreamed patches
- Fix vt multiseat support [1]
Many thanks to tijl for help and testing and finding solution for
[1], which was causing regressions with polkit integration.
Reviewed by: tijl
Tested by: tijl
x11/lightdm: Fix packaging with non default options
When VAPI is on and DOCS is off the port fails to package. Correct
in plist. [1]
While here also implement an NLS option.
PR: 277022 [1]
MFH: 2024Q1
x11/lightdm: Fix login.conf issues, import various improvements
- Add patch to use setusercontext(3) to setup user environment, so it respects
login.conf among other things [1]
- Use autoreconf, since patch requires regenerating configure script to check
for setusercontext(3) [2]
- Explicitly disable libaudit support, not supported in FreeBSD [3]
- Add QT5 options, disabled by default, to control linking against qt5 [4]
- Import patch adding option to enable alternative location for .xsession-errors
file [5]
- Correctly define runtime dependencies
- Forcibly disable installation of apparmor files
- Install PAM configuration files as samples, so in the future they are not
overwritten if customized
- Pet portclippy/portfmt
- Regenerate patches
Upstreaming:
(Only the first 15 lines of the commit message are shown above )
x11/lightdm: improve description of necessary greeters
There are fewer LightDM greeters in the ports tree than
the pkg-message suggests. List them both. Do not bump
PORTREVISION because this isn't worth making people
rebuild things.
PR: 271628
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
x11: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* Adam Weinberger <adam@vectors.cx>
* Adam Weinberger <adamw@FreeBSD.org>
* Alex Dupre <ale@FreeBSD.org>
* Alexander Matey <matey@cis.ohio-state.edu>
* Alexander Nedotsukov <bland@FreeBSD.org>
* Alexey Dokuchaev <danfe@FreeBSD.org>
* Alexey Dokuchaev <danfe@regency.nsu.ru>
* Alexey Mikhailov <karma@ez.pereslavl.ru>
* Andrew Pantyukhin <infofarmer@FreeBSD.org>
* Anton Berezin <tobez@FreeBSD.org>
* Anton Toernqvist <antont@inbox.lv>
(Only the first 15 lines of the commit message are shown above )
x11/lightdm: Update pkg-descr
- Correct name of project rendering
- Add an empty line before feature list for readability
- Update project home page
PR: 258991
Reported by: Graham Perrin <grahamperrin@gmail.com>
x11/{lightdm,sddm}: add CONFLICTS
Both lightdm and sddm install the DBus file for DisplayManager,
etc/dbus-1/system.d/org.freedesktop.DisplayManager.conf
It doesn't really make sense to install multiple DMs on one
machine, but for completeness in the ports framework, mark
them as conflicting.
PR: 256688256687
Reported by: Graham Perrin
*/*: Fix ENOTIME: return my ports to the pool
Reset maintainership of my ports to ports@FreeBSD.org so others can
step in to help where I haven't been able to find the time.
Add USES=xorg USES=gl, ports categories x
Add USES=xorg and USES=gl to ports in categories starting with 'x'
While here, try to sprinkle other USES (mostly gnome and sdl) as needed.
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.
PR: 238330
x11/lightdm: Update to 1.30.0, fix crash and change default config
This update addresses a crash in lightdm, related to the way the
user environment for the lightdm process is setup in src/process.c.
The configuration option in lightdm.conf for locked memory is now
honoured - the default configuration has been updated to disable this,
and pkg-message has been updated to reflect this change.
Changes this release:
https://github.com/CanonicalLtd/lightdm/releases/tag/1.30.0
PR: 238083
Submitted by: madpilot
Reported by: David.Boyd49@twc.com
Differential Revision: https://reviews.freebsd.org/D20541
Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.
PR: 231590
Bump PORTREVISION for ports depending on the canonical version of GCC
in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which
has now moved from GCC 6 to GCC 7 by default.
This includes ports
- featuring USE_GCC=yes or USE_GCC=any,
- featuring USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and those
- with USES=compiler specifying one of openmp, nestedfct, c11, c++0x,
c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib.
PR: 222542
Bump PORTREVISION for ports depending on the canonical version of GCC
(via Mk/bsd.default-versions.mk and lang/gcc) which has moved from
GCC 5.4 to GCC 6.4 under most circumstances.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c++11-lib, c++11-lang,
c++14-lang, c++0x, c11, or gcc-c++11-lib.
PR: 219275
Update consolekit to 1.2.0.
* Rename consolekit to consolekit2 to reflect that consolekit2 is a new
project, even if it the continuation of the old consolekit project.
* Expand pkg-descr with some background info.
* Add license
* ConsoleKit2 has been ported to GDbus, so dbus-glib is not anymore required
* Add GObject introspection support for desktops environment such Pantheon or
Deepin.
* Thanks to Jesper Schmitz Mouridsen, Ben Woods and Olivier Duchateau for
assisting with there versions of the port, suggesting changes and testing.
PR: 202269
x11/lightdm: Update to 1.22.0
- Update PAM file to include system defaults
- Set PATH to default from /etc/login.conf
- Don't pass-through empty PATH from lightdm to X11 (breaks runtime)
x11/lightdm: Fix locale selection
- Allow locale selection on login screen. First, lightdm must be patched
to correctly detect utf8 locales, which have a UTF-8 suffix on FreeBSD
instead of utf8 like on Linux systems. Secondly, we have to use locale
codes in the language menuitem as FreeBSD doesn't have support for
locale naming (missing _NL_IDENTIFICATION_LANGUAGE implementation).
- Use @sample for lightdm-gtk-greeter config file to prevent it from
being overwritten when the package is reinstalled / upgraded.
PR: 220614
Submitted by: pawel
MFH: 2017Q3
x11/lightdm: Use correct replacement for clearenv()
The previous patch to replace the Linux clearenv(3) function did not
actually clear the environment, but instead created a new environment
variable named environ with the value "NULL".
PR: 218564
Reported by: jbeich
Obtained from: FreeBSD env(1) command
MFH: 2017Q2
x11/lightdm: Improve rc script to use daemon(8)
This fixes an issue noticed when sysutils/bsdstats was installed and
enabled at runtime in /etc/rc.conf, but for whatever reason was failing
to send the updated statistics. Upon failing, the lightdm process would
receive a SIGHUP, causing it to stop seconds after the login screen was
displayed (before the user even had a chance to login).
x11/lightdm: Make Xsession check for more system-wide config files
Xresources, Xkbmap and Xmodmap will now be read if they are found in
%%LOCALBASE%%/etc/X11/ or %%LOCALBASE%%/etc/X11/xinit/
with or without a "." prefix.
User-specific versions are still also found in $HOME/ with a "." prefix.
Add x11/lightdm and x11/lightdm-gtk-greeter.
Lightdm is a display manager that:
* Is cross-desktop - supports different desktops
* Supports different display technologies
* Is lightweight - low memory usage and fast performance
* Has a comprehensive test suite
WWW: https://www.freedesktop.org/wiki/Software/LightDM/
lightdm-gtk-greeter is the reference GTK+ greeter for LightDM.
WWW: https://launchpad.net/lightdm-gtk-greeter
Approved by: adamw (mentor, implicit)