SDDM user's home directory have been moved to /var/lib/sddm. It is advised to run
following commands as root:
# pw usermod -n sddm -d /var/lib/sddm
# pwd_mkdb /etc/master.passwd
# mv /usr/local/etc/sddm/home/state.conf /var/lib/sddm/state.conf
# rm -rf /usr/local/etc/sddm/home
For install:
SDDM lists a "user session" which needs either an .xinitrc in the user's
home directory, or as a fallback, xterm. In order to use the "user session"
feature, a ~/.xinitrc is recommended.
Reason:
The keyboard layouts used by SDDM are now derived from the sddm_lang rc
variable. Setting it for example to "fr_FR" will result in "fr,us" value
for the '-layout' argument of the setxkbmap call.
If a more complex layout configuration is required, it is possible to set
it directly with
sysrc sddm_xkb_layout="us,de,fr,it,ru"
x11/sddm: Update to latest commit
It's be almost exactly a year since last release and I'm kind of getting
itchy. Deal with all that has transpired since last release.
Switch to Qt6 and pet portclippy(1).
x11/sddm: Update to 0.21.0
Sticking with Qt5 for now. The Qt6 version basically works, i.e., it
starts up and one can effectively log in, but it doesn't seem to respect
the user-selected theme. More investigation is required to this point.
The requirement of ECM has thankfully been dropped.
Disable the qtvirtualkeyboard InputMethod by default as it doesn't seem
to work properly under Qt5 for any included theme, even in the previous
version, displaying only a black box covering half of the screen where
the virtual keyboard should be. The breeze theme (installed by
x11/plasma(5|6)-plasma-workspace) supresses this behavior, and is IMHO
the most intuitive theme to use, but when the 'virtual keyboard' button
is clicked, a black box still appears. This change removes that button,
(Only the first 15 lines of the commit message are shown above )
Mk/Uses: always use colon for build/run suffix
Most USES use a colon for build/run(/test) suffixes. Change kde.mk,
qt.mk and pyqt.mk to do the same, and update all ports using that.
Document in CHANGES.
PR: 266034
Exp-run by: antoine
Approved by: tcberner (mentor)
Differential Revision: https://reviews.freebsd.org/D36349
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/sddm: make "user session" more resilient
It's possible to install SDDM with very little other X11 baggage,
like xterm. In such a minimal install situation, SDDM will still
come up and offer "User Session" -- and that session will fail,
because there's nothing to run.
Depend on xmessage, and then fall back to xinit's default script
and if **that** isn't there, show the user a message instead of
just sitting there with a black screen and an X cursor.
PR: 256648
Reported by: Graham Perrin
net-im/libquotient,x11/sddm: fix build-deps
These both needed Qt testlib, which was previously implicitly
dragged in as a (lib-)dep by something else. The cleanup of
dependencies makes it now necessary to state it explicitly.
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
x11/sddm: Switch SDDM user's HOME directory from /usr/local/etc/sddm/home to
/var/lib/sddm, as sddm(5) man page requests.
PR: 244756
Reviewed by: tcberner, adridg
x11/sddm: Enhance Backend.cpp patch to take into account not only
/etc/login.conf
but also ~/.login_conf file.
PR: 241519
Submitted by: Martin Birgmeier <d8zNeCFG@aon.at>
x11/sddm: Update to 0.18.1.
Upstream does not provide a config file anymore. SDDM still reads
/usr/local/etc/sddm.conf if it is present, but the intended way to configure
it now is using /usr/local/etc/sddm.conf.d/ directory. See man sddm.conf(5) for
details.
Also include a patch to make SDDM take /etc/login.conf into account.
PR: 241519
Submitted by: Martin Birgmeier <d8zNeCFG@aon.at> (login.conf patch)
Differential Revision: https://reviews.freebsd.org/D23579
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
Fix Qt5 symbol version scripts to put the catch-all clause first. When
a symbol matches multiple clauses the last one takes precedence. If the
catch-all is last it captures everything. In the case of Qt5 libraries
this caused all symbols to have a Qt_5 label while some should have
Qt_5_PRIVATE_API. This only affects lld because GNU ld always gives the
catch-all lowest priority.
Older versions of Qt5Webengine exported some memory allocation symbols from
the bundled Chromium. Version 5.9 stopped exporting these [1] but the
symbols were kept as weak wrappers for the standard allocation functions to
maintain binary compatibility. [2][3] The problem is that the call to the
standard function in these weak wrappers is only resolved to the standard
function if there's a call to this standard function in other parts of
Qt5Webengine, because only then is there a non-weak symbol that takes
precedence over the weak one. If there's no such non-weak symbol the call
(Only the first 15 lines of the commit message are shown above )
Change cmake default behaviour to outsource.
Ports that build out of source now simply can use "USES=cmake"
instead of "USES=cmake:outsource". Ports that fail to build
out of source now need to specify "USES=cmake:insource".
I tried to only set insource where explictely needed.
PR: 232038
Exp-run by: antoine
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
Merge lang/qt5-qml and x11-toolkits/qt5-quick into x11-toolkits/qt5-declarative
- There was no obvious reason to split these ports, and it makes
porting simpler; the set of ports using either mostly coincided.
Exp-run by: antoine
PR: 223687
PR: 232751
x11/ssddm: remove unnedeeded Qt dependencies
* while here, move USE_GITHUB to the other USE_FOOs
Submitted by: Alexandre C. Guimaraes <lebarondemerde@privacychain.ch>
Backport security fixes for x11/sddm
The 0.18 release of x11/sddm contains a fix for a security error
that probably doesn't affect us: session-reuse. In any case our
default configuration is not vulnerable. This doesn't update to
0.18 because there's a bunch of other changes that would need to
be chased, further delaying this update.
While here, pet portlint and Tijl, who asked for a pkg-message.
PR: 230029
Reported by: doctorwhoguy@gmail.com
Security: f00acdec-b59f-11e8-805d-001e2a3f778d
Update x11/sddm to 0.17.
This is still one minor release behind, but a big update relative to
the previous version. Thanks to tijl@ for the patches, dbn@ for
initial testing.
PR: 228116
Submitted by: tijl
Reduce rc warnings from x11/sddm by setting default value for sddm_enable
(Not bumping PORTREVISION because there are more updates to follow shortly)
PR: 230708
Submitted by: cpercival
Replace bsd.qt.mk by Uses/qt.mk and Uses/qt-dist.mk
From now on, ports that depend on Qt4 will have to set
USES= qt:4
USE_QT= foo bar
ports depending on Qt5 will use
USES= qt:5
USE_QT= foo bar
PR: 229225
Exp-run by: antoine
Reviewed by: mat
Approved by: portmgr (antoine)
Differential Revision: -https://reviews.freebsd.org/D15540