SHA256
1
0
forked from pool/xinit

75 Commits

Author SHA256 Message Date
5b57007e6f Accepting request 1251581 from X11:XOrg
- Update to version 1.4.4
  This release fixes regresssions introduced by the shell script modernization
  in the 1.4.3 release, primarily seen on systems without the "mcookie" helper
  program to make xauth cookies, and thus using openssl or /dev/urandom to
  make cookies instead.  Thanks to Peter Tribble of the Tribblix illumos distro
  for reporting the issue and testing the fixes.
- adjusted xinit-suse.patch, xinit-tolerant-hostname-changes.patch

OBS-URL: https://build.opensuse.org/request/show/1251581
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xinit?expand=0&rev=34
2025-03-11 19:42:39 +00:00
15f27176ad - Update to version 1.4.4
This release fixes regresssions introduced by the shell script modernization
  in the 1.4.3 release, primarily seen on systems without the "mcookie" helper
  program to make xauth cookies, and thus using openssl or /dev/urandom to
  make cookies instead.  Thanks to Peter Tribble of the Tribblix illumos distro
  for reporting the issue and testing the fixes.
- adjusted xinit-suse.patch, xinit-tolerant-hostname-changes.patch

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xinit?expand=0&rev=75
2025-03-09 22:51:29 +00:00
9da6cee488 Accepting request 1249409 from X11:XOrg
OBS-URL: https://build.opensuse.org/request/show/1249409
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xinit?expand=0&rev=33
2025-03-02 11:17:20 +00:00
32e9d3dd09 - Make build recipe compatible with POSIX sh
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xinit?expand=0&rev=73
2025-03-01 17:44:20 +00:00
a3b14a19da Accepting request 1235079 from X11:XOrg
- Update to version 1.4.3
  * Reindent startx after !6
  * Remove Xdmx from suggested Xserver list
  * Mark global variables as static since there's only one source file
  * Clear -Wunused-parameter warnings from clang
  * Use ptrdiff_t to store results of pointer subtraction
  * Use asprintf() if available
  * Don't exit with failure on SIGTERM regardless.
  * darwin: Remove bashism from 10-tmpdirs script
  * Modernized shell scripts
  * startx: Assign XSERVERRC to correct userserverrc
  * add closing quote to /dev/random mcookie hex
- adjusted xinit-suse.patch
- refreshed xinit-client-session.patch
- refreshed xinit-tolerant-hostname-changes.patch

- Properly comment %patch 5 out: '#' still expands the macro, which
  makes build fail with rpm 4.20. Use %dnl instead.

OBS-URL: https://build.opensuse.org/request/show/1235079
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xinit?expand=0&rev=32
2025-01-06 15:04:41 +00:00
64801441cd - Update to version 1.4.3
* Reindent startx after !6
  * Remove Xdmx from suggested Xserver list
  * Mark global variables as static since there's only one source file
  * Clear -Wunused-parameter warnings from clang
  * Use ptrdiff_t to store results of pointer subtraction
  * Use asprintf() if available
  * Don't exit with failure on SIGTERM regardless.
  * darwin: Remove bashism from 10-tmpdirs script
  * Modernized shell scripts
  * startx: Assign XSERVERRC to correct userserverrc
  * add closing quote to /dev/random mcookie hex
- adjusted xinit-suse.patch
- refreshed xinit-client-session.patch
- refreshed xinit-tolerant-hostname-changes.patch

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xinit?expand=0&rev=71
2025-01-05 22:16:51 +00:00
20e7a1ab7d - Properly comment %patch 5 out: '#' still expands the macro, which
makes build fail with rpm 4.20. Use %dnl instead.

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xinit?expand=0&rev=70
2025-01-04 11:20:26 +00:00
027849d963 Accepting request 1185381 from X11:XOrg
- xinitrc.common: no longer start nvidia-settings in background in
  order to avoid a zombie process under certain circumstances 
  (boo#1227313)

OBS-URL: https://build.opensuse.org/request/show/1185381
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xinit?expand=0&rev=31
2024-07-05 17:45:07 +00:00
a680b49aa8 Accepting request 1151682 from X11:XOrg
OBS-URL: https://build.opensuse.org/request/show/1151682
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xinit?expand=0&rev=30
2024-02-27 21:44:48 +00:00
ac9295485f Accepting request 1151311 from home:dimstar:rpm4.20:x
Prepare for RPM 4.20

OBS-URL: https://build.opensuse.org/request/show/1151311
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xinit?expand=0&rev=66
2024-02-26 13:55:31 +00:00
2320424d78 - revert previous change; cpp is not needed for xinit, but only for
xdm package

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xinit?expand=0&rev=65
2023-05-11 12:25:13 +00:00
f83e411bfb - since xrdb no longer requires cpp, it needs to be reqired here now
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xinit?expand=0&rev=64
2023-05-11 12:17:36 +00:00
50ae674105 Accepting request 1040091 from X11:XOrg
- Update to version 1.4.2
  * Fix spelling/wording issues
  * gitlab CI: add a basic build test
  * gitlab CI: stop requiring Signed-off-by in commits
  * man page: Update remote display example from rsh to ssh
  * Remove non-portable grep usage from startx
  * Don't wait for X to finish starting if it has died
  * stop unsetting DBUS_SESSION_BUS_ADDRESS variable
  * darwin: Drop support for macOS 10.7 and earlier
  * darwin: Ensure we launch the user startx from $HOME
  * darwin: Specify +extension GLX when the user requests IGLX support
  * darwin: Wait for font_cache to complete to avoid a race with `xset fb=`
  * man: Restore non-SCO UNIX bits of the man page
  * startx: use uname -n instead of hostname
  * startx: Source XINITRC and XSERVERRC variables
  * startx: don't attempt to catch SIGKILL
- supersedes xinit-nolonger-unset-dbus-session.patch
- refreshed xinit-suse.patch

OBS-URL: https://build.opensuse.org/request/show/1040091
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xinit?expand=0&rev=29
2022-12-07 16:33:15 +00:00
5ea6ed0941 - Update to version 1.4.2
* Fix spelling/wording issues
  * gitlab CI: add a basic build test
  * gitlab CI: stop requiring Signed-off-by in commits
  * man page: Update remote display example from rsh to ssh
  * Remove non-portable grep usage from startx
  * Don't wait for X to finish starting if it has died
  * stop unsetting DBUS_SESSION_BUS_ADDRESS variable
  * darwin: Drop support for macOS 10.7 and earlier
  * darwin: Ensure we launch the user startx from $HOME
  * darwin: Specify +extension GLX when the user requests IGLX support
  * darwin: Wait for font_cache to complete to avoid a race with `xset fb=`
  * man: Restore non-SCO UNIX bits of the man page
  * startx: use uname -n instead of hostname
  * startx: Source XINITRC and XSERVERRC variables
  * startx: don't attempt to catch SIGKILL
- supersedes xinit-nolonger-unset-dbus-session.patch
- refreshed xinit-suse.patch

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xinit?expand=0&rev=62
2022-12-04 22:20:35 +00:00
6c87a656e4 Accepting request 887248 from X11:XOrg
OBS-URL: https://build.opensuse.org/request/show/887248
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xinit?expand=0&rev=28
2021-04-26 14:38:25 +00:00
157ed1a310 Accepting request 887240 from home:dirkmueller:Factory
- modernize spec file (move license to licensedir, use https)

OBS-URL: https://build.opensuse.org/request/show/887240
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xinit?expand=0&rev=60
2021-04-21 09:28:58 +00:00
1c06c1fbbb Accepting request 839756 from X11:XOrg
OBS-URL: https://build.opensuse.org/request/show/839756
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xinit?expand=0&rev=27
2020-10-07 12:16:25 +00:00
1b63841b6e Accepting request 839677 from home:Vogtinator:branches:X11:XOrg
Was lost after superseding the multi-action sr with just xdm

- Properly track the compatibility symlink

OBS-URL: https://build.opensuse.org/request/show/839677
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xinit?expand=0&rev=58
2020-10-06 09:28:49 +00:00
8125fb4431 - simplified UsrEtcMove enable/disable logic in specfile
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xinit?expand=0&rev=57
2020-09-08 23:24:28 +00:00
45db300bef - xinit-tarball.patch/xinit.spec
* reenabled move to /usr/etc/X11/xinit
  * fixed remaining issues mentioned in boo#1173052, comment#6
    and boo#1176212, comment#7
- fixed wrong bug number in changelog

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xinit?expand=0&rev=56
2020-09-08 11:43:12 +00:00
7ac81f565f - reverted move to /usr/etc/X11/xinit for now (boo#1175123, comment#6)
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xinit?expand=0&rev=55
2020-09-08 09:48:23 +00:00
379530dc81 fixed typo in changelog
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xinit?expand=0&rev=54
2020-09-05 09:06:36 +00:00
b860384b90 - xdm-tarball.patch
* adjust tarball contenct to /usr/etc move (boo#1173052)

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xinit?expand=0&rev=53
2020-09-05 08:53:11 +00:00
dfc068a2bb improved comment for patch5
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xinit?expand=0&rev=52
2020-09-05 02:55:31 +00:00
6c6a9c2a69 patch5 comment
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xinit?expand=0&rev=51
2020-09-05 02:53:53 +00:00
5a284e2987 - moved xinit files to /usr/etc/X11/xinit and removed xinitrc
skeleton (boo#1173052)

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xinit?expand=0&rev=50
2020-09-05 02:52:20 +00:00
1c0cabec23 Accepting request 828808 from X11:XOrg
- xinitrc: SuSE --> SUSE (boo#1175123)

OBS-URL: https://build.opensuse.org/request/show/828808
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xinit?expand=0&rev=26
2020-08-28 19:17:15 +00:00
fe11dfec2f - xinitrc: SuSE --> SUSE (boo#1175123)
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xinit?expand=0&rev=48
2020-08-23 15:38:58 +00:00
1c6e3604a9 Accepting request 787767 from X11:XOrg
- /etc/X11/xinit/xinitrc.common  
  * prevent gnome-session from failing by setting 
    XDG_SESSION_TYPE to 'x11' (boo#1163262)

OBS-URL: https://build.opensuse.org/request/show/787767
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xinit?expand=0&rev=25
2020-03-25 22:43:18 +00:00
f9c7698acd - /etc/X11/xinit/xinitrc.common
* prevent gnome-session from failing by setting 
    XDG_SESSION_TYPE to 'x11' (boo#1163262)

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xinit?expand=0&rev=46
2020-03-24 11:42:57 +00:00
59c6bd2223 Accepting request 681296 from X11:XOrg
- Update to version 1.4.1
  * This release fixes a bug when too many arguments are supplied
    to the program and improves the man pages.

OBS-URL: https://build.opensuse.org/request/show/681296
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xinit?expand=0&rev=24
2019-03-08 10:59:39 +00:00
f63720d403 - Update to version 1.4.1
* This release fixes a bug when too many arguments are supplied
    to the program and improves the man pages.

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xinit?expand=0&rev=44
2019-03-04 10:51:10 +00:00
8897aa36a9 Accepting request 635868 from X11:XOrg
- xinit-nolonger-unset-dbus-session.patch
  * no longer unset DBUS_SESSION_BUS_ADDRESS variable to prevent
    gnome-session (and probably other DEs or programs, except of
    Plasma) from launching a new D-Bus session, while systemd has
    already launched its own. Unsetting it broke user systemd
    services that use D-Bus (e.g. PulseAudio), because X uses
    another D-Bus session (boo#1108549)

OBS-URL: https://build.opensuse.org/request/show/635868
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xinit?expand=0&rev=23
2018-09-20 09:37:34 +00:00
1c1d7f40a1 - xinit-nolonger-unset-dbus-session.patch
* no longer unset DBUS_SESSION_BUS_ADDRESS variable to prevent
    gnome-session (and probably other DEs or programs, except of
    Plasma) from launching a new D-Bus session, while systemd has
    already launched its own. Unsetting it broke user systemd
    services that use D-Bus (e.g. PulseAudio), because X uses
    another D-Bus session (boo#1108549)

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xinit?expand=0&rev=42
2018-09-15 13:47:21 +00:00
9d1b4089c8 Accepting request 622070 from X11:XOrg
OBS-URL: https://build.opensuse.org/request/show/622070
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xinit?expand=0&rev=22
2018-07-18 20:35:10 +00:00
7433d6f4be Accepting request 622069 from home:fcrozat:branches:X11:XOrg
- Do not check /var/lib/X11/X anymore, it is obsolete
  (FATE#325524).

(maybe DISPLAYMANAGER_XSERVER should be completely killed in /etc/sysconfig/displaymanager ? )

OBS-URL: https://build.opensuse.org/request/show/622069
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xinit?expand=0&rev=40
2018-07-11 11:35:39 +00:00
702bc5bb55 Accepting request 593569 from X11:XOrg
- Update to version 1.4.0
  * autogen.sh: use quoted string variables
  * Remove SCO support for SHELL_CMD and startx man page.
  * Remove support for ancient A/UX 3.0 support
  * Remove left over $(launchagents_DATA) in CLEANFILES
  * startx: Pass -keeptty when telling the server to start on the current tty
  * startx: Fix startx picking an already used display number when -nolock is used
  * remove bogus \/ escapes
  * launchd: Install binaries into libexecdir
  * startx: Add -listen tcp if nolisten_tcp is disabled for XQuartz
  * startx: Add support for enabling IGLX for XQuartz
  * startx: Don't use GNU expr extensions
  * autogen: add default patch prefix
  * startx: fix comment typo
  * startx: don't init defaultdisplay to :0
  * autogen.sh: use exec instead of waiting for configure to finish
  * xinit: check for correct fork error code

OBS-URL: https://build.opensuse.org/request/show/593569
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xinit?expand=0&rev=21
2018-04-20 15:24:23 +00:00
0be8d38e75 - Update to version 1.4.0
* autogen.sh: use quoted string variables
  * Remove SCO support for SHELL_CMD and startx man page.
  * Remove support for ancient A/UX 3.0 support
  * Remove left over $(launchagents_DATA) in CLEANFILES
  * startx: Pass -keeptty when telling the server to start on the current tty
  * startx: Fix startx picking an already used display number when -nolock is used
  * remove bogus \/ escapes
  * launchd: Install binaries into libexecdir
  * startx: Add -listen tcp if nolisten_tcp is disabled for XQuartz
  * startx: Add support for enabling IGLX for XQuartz
  * startx: Don't use GNU expr extensions
  * autogen: add default patch prefix
  * startx: fix comment typo
  * startx: don't init defaultdisplay to :0
  * autogen.sh: use exec instead of waiting for configure to finish
  * xinit: check for correct fork error code

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xinit?expand=0&rev=38
2018-04-04 14:40:10 +00:00
2c527a56d4 Accepting request 399478 from X11:XOrg
- xinitrc.common: Add plasma* in list of fallback WMs

- xinitrc.common: Add comments, make error messages clearer.
  Don't filter out twm, as it's only installed on request.
  Don't expand fallback WINDOWMANAGER.

- xinit.tar.bz2: skip twm and xsession desktops 

- xinit.tar.bz2:
  simplify bash code of /etc/X11/xinit/xinitrc.common to avoid that
  already set WINDOWMANAGER variable becomes stripped (bsc#981437)

OBS-URL: https://build.opensuse.org/request/show/399478
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xinit?expand=0&rev=20
2016-06-05 12:19:50 +00:00
Max Staudt
a972900fbb - xinitrc.common: Add plasma* in list of fallback WMs
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xinit?expand=0&rev=36
2016-06-01 12:37:42 +00:00
Max Staudt
f327220789 Accepting request 399458 from home:mstaudt:branches:X11:XOrg
- xinitrc.common: Add comments, make error messages clearer.
  Don't filter out twm, as it's only installed on request.
  Don't expand fallback WINDOWMANAGER.

OBS-URL: https://build.opensuse.org/request/show/399458
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xinit?expand=0&rev=35
2016-06-01 10:49:30 +00:00
Max Staudt
d6438a475b Accepting request 399333 from home:WernerFink:branches:X11:XOrg
- xinit.tar.bz2: skip twm and xsession desktops 

- xinit.tar.bz2:
  simplify bash code of /etc/X11/xinit/xinitrc.common to avoid that
  already set WINDOWMANAGER variable becomes stripped (bsc#981437)

OBS-URL: https://build.opensuse.org/request/show/399333
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xinit?expand=0&rev=34
2016-06-01 10:38:32 +00:00
6353aba897 Accepting request 384396 from X11:XOrg
- xinit.tar.bz2:
  update /etc/X11/xinit/xinitrc.common to make sure numbered scripts
  are run sequentially. All non-numbered scripts will still be run in
  background to avoid stalling on non-daemonizing 'services' (boo#973559).

OBS-URL: https://build.opensuse.org/request/show/384396
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xinit?expand=0&rev=19
2016-04-06 09:51:21 +00:00
3d4f4bf49b - Fix bug: cut off path from variable to ensure proper matching.
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xinit?expand=0&rev=32
2016-04-05 08:02:26 +00:00
cb72defca9 - xinit.tar.bz2:
update /etc/X11/xinit/xinitrc.common to make sure numbered scripts
  are run sequentially. All non-numbered scripts will still be run in
  background to avoid stalling on non-daemonizing 'services' (boo#973559).

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xinit?expand=0&rev=31
2016-04-01 08:43:37 +00:00
Stephan Kulow
452ca0ab80 Accepting request 306176 from X11:XOrg
1

OBS-URL: https://build.opensuse.org/request/show/306176
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xinit?expand=0&rev=18
2015-05-15 05:42:38 +00:00
d7e6048d71 Accepting request 306145 from home:Ledest:bashisms
fix bashism in startx script

OBS-URL: https://build.opensuse.org/request/show/306145
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xinit?expand=0&rev=29
2015-05-10 08:55:39 +00:00
349182809f Accepting request 291279 from X11:XOrg
- fixed bugnumer reference in previous changelog entry

OBS-URL: https://build.opensuse.org/request/show/291279
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xinit?expand=0&rev=17
2015-03-19 20:07:57 +00:00
64fe952912 - fixed bugnumer reference in previous changelog entry
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xinit?expand=0&rev=27
2015-03-18 11:48:24 +00:00
855332d290 Accepting request 290453 from X11:XOrg
1

OBS-URL: https://build.opensuse.org/request/show/290453
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xinit?expand=0&rev=16
2015-03-16 08:37:32 +00:00
aeafd420da Accepting request 290411 from home:WernerFink:branches:X11:XOrg
- Allow WINDOWMANAGER to be a command line string (bsc#920368)

OBS-URL: https://build.opensuse.org/request/show/290411
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xinit?expand=0&rev=25
2015-03-12 16:08:45 +00:00
83c752d410 Accepting request 283082 from X11:XOrg
- startx.cpp:
  * /usr/X11R6/bin/X --> /usr/bin/X
  * /var/X11R6/bin/X --> /var/lib/X11/X
- refreshed patches

OBS-URL: https://build.opensuse.org/request/show/283082
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xinit?expand=0&rev=15
2015-01-30 05:11:13 +00:00
69bbebc9b2 - startx.cpp:
* /usr/X11R6/bin/X --> /usr/bin/X
  * /var/X11R6/bin/X --> /var/lib/X11/X
- refreshed patches

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xinit?expand=0&rev=23
2015-01-28 09:39:14 +00:00
49a29e644a Accepting request 282581 from X11:XOrg
- apparently with release 1.3.4 xinit needs cc1plus; otherwise
  generation of startx fails and results in a file with a size
  of 0 bytes

OBS-URL: https://build.opensuse.org/request/show/282581
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xinit?expand=0&rev=14
2015-01-24 21:20:07 +00:00
f4f0e0ba89 - apparently with release 1.3.4 xinit needs cc1plus; otherwise
generation of startx fails and results in a file with a size
  of 0 bytes

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xinit?expand=0&rev=21
2015-01-23 17:10:02 +00:00
Stephan Kulow
cc1cfc1d9e Accepting request 282195 from X11:XOrg
- Fixed some more spacing and minor issues in adapted patches 

- Fixed some spacing and single quote vs backtick issues
  in patches 

- Corrections to variable names in xinit-suse.patch and
  xinit-tolerant-hostname-changes.patch 

- Update to version 1.3.4:
  + Changes from 1.3.3
    - Fix warnings about parameters to startServer & startClient
      shadowing globals
    - Pass files to cpp via CLI arg instead of stdin to workaround
      gcc 4.8 change (fdo#69439) 
    - Remove unixware / sco support
    - Bump required util-macros version to 1.19
    - Replace $RAWCPPFLAGS with $TRADITIONALCPPFLAGS when processing
      cpp files
    - Under Linux start X on the current VT (rh#806491)
    - startx; Pass vtX as long as the user did not specify one
    - configure: Drop AM_MAINTAINER_MODE
    - autogen.sh: Honor NOCONFIGURE=1
    - startx: Make the bugzilla reference in a comment survive cpp
      processing (fdo#83019)
    - Remove hardcoded path to OpenSSL for OpenBSD
  + Patches refactored/renamed for version change
  + Added:
    - xinit-client-session.patch
    - xinit-tolerant-hostname-changes.patch
    - xinit-suse.patch
    - xinit-1.3.4.tar.bz2
  + Modified:
    - xinit-client-session.patch
  + Dropped:
    - xinit-tolerant-hostname-changes.diff
    - xinit-suse.diff
    - xinit-1.3.3.tar.bz2

OBS-URL: https://build.opensuse.org/request/show/282195
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xinit?expand=0&rev=13
2015-01-21 20:54:27 +00:00
3bb28eaf77 - Fixed some more spacing and minor issues in adapted patches
- Fixed some spacing and single quote vs backtick issues
  in patches 

- Corrections to variable names in xinit-suse.patch and
  xinit-tolerant-hostname-changes.patch 

- Update to version 1.3.4:
  + Changes from 1.3.3
    - Fix warnings about parameters to startServer & startClient
      shadowing globals
    - Pass files to cpp via CLI arg instead of stdin to workaround
      gcc 4.8 change (fdo#69439) 
    - Remove unixware / sco support
    - Bump required util-macros version to 1.19
    - Replace $RAWCPPFLAGS with $TRADITIONALCPPFLAGS when processing
      cpp files
    - Under Linux start X on the current VT (rh#806491)
    - startx; Pass vtX as long as the user did not specify one
    - configure: Drop AM_MAINTAINER_MODE
    - autogen.sh: Honor NOCONFIGURE=1
    - startx: Make the bugzilla reference in a comment survive cpp
      processing (fdo#83019)
    - Remove hardcoded path to OpenSSL for OpenBSD
  + Patches refactored/renamed for version change
  + Added:
    - xinit-client-session.patch
    - xinit-tolerant-hostname-changes.patch
    - xinit-suse.patch
    - xinit-1.3.4.tar.bz2
  + Modified:
    - xinit-client-session.patch
  + Dropped:
    - xinit-tolerant-hostname-changes.diff
    - xinit-suse.diff
    - xinit-1.3.3.tar.bz2

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xinit?expand=0&rev=19
2015-01-21 09:42:12 +00:00
60187355da Accepting request 265709 from X11:XOrg
1

OBS-URL: https://build.opensuse.org/request/show/265709
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xinit?expand=0&rev=12
2014-12-22 11:54:07 +00:00
f1cbba5d31 Accepting request 265622 from home:dimstar:xterm
OBS-URL: https://build.opensuse.org/request/show/265622
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xinit?expand=0&rev=17
2014-12-18 10:40:53 +00:00
Stephan Kulow
861be889a3 Accepting request 248116 from X11:XOrg
- add info to run chkstat after modifying /etc/permissions.local
  in order to run startx (bnc#895647)

OBS-URL: https://build.opensuse.org/request/show/248116
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xinit?expand=0&rev=11
2014-09-10 15:01:18 +00:00
b6fd2aabd8 - add info to run chkstat after modifying /etc/permissions.local
in order to run startx (bnc#895647)

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xinit?expand=0&rev=15
2014-09-09 07:55:13 +00:00
Stephan Kulow
819dd691ad Accepting request 213190 from X11:XOrg
- don't call the obsolete wmlist. Read /usr/share/xsessions instead. (forwarded request 213186 from lnussel)

OBS-URL: https://build.opensuse.org/request/show/213190
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xinit?expand=0&rev=9
2014-01-08 19:10:10 +00:00
b9429b2ed7 Accepting request 213186 from home:lnussel:branches:X11:XOrg
- don't call the obsolete wmlist. Read /usr/share/xsessions instead.

OBS-URL: https://build.opensuse.org/request/show/213186
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xinit?expand=0&rev=13
2014-01-08 15:08:11 +00:00
Stephan Kulow
48a8ceaf61 Accepting request 199271 from X11:XOrg
- fixed loading of .xkb files (bnc#840408)

OBS-URL: https://build.opensuse.org/request/show/199271
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xinit?expand=0&rev=7
2013-09-17 13:05:52 +00:00
ea78505bcb - fixed loading of .xkb files (bnc#840408)
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xinit?expand=0&rev=11
2013-09-16 15:10:40 +00:00
Tomáš Chvátal
539f60e560 Accepting request 198900 from X11:XOrg
Update to ver 1.3.3 (forwarded request 198769 from Zaitor)

OBS-URL: https://build.opensuse.org/request/show/198900
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xinit?expand=0&rev=6
2013-09-13 12:47:18 +00:00
0e78868b84 Accepting request 198769 from home:Zaitor:branches:X11:XOrg
Update to ver 1.3.3

OBS-URL: https://build.opensuse.org/request/show/198769
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xinit?expand=0&rev=9
2013-09-13 10:23:02 +00:00
Ismail Dönmez
b1a5fddb9d Accepting request 144531 from X11:XOrg
- Move xinitrc.d sourcing part to xinit.common to make it work
  even with xdm session scripts
- Detect other running X server in xserverrc (forwarded request 144277 from WernerFink)

OBS-URL: https://build.opensuse.org/request/show/144531
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xinit?expand=0&rev=4
2012-12-07 13:52:51 +00:00
ea456e9021 Accepting request 144277 from home:WernerFink:branches:X11:XOrg
- Move xinitrc.d sourcing part to xinit.common to make it work
  even with xdm session scripts
- Detect other running X server in xserverrc

OBS-URL: https://build.opensuse.org/request/show/144277
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xinit?expand=0&rev=7
2012-12-07 11:14:08 +00:00
Stephan Kulow
e7a7359581 Accepting request 126885 from X11:XOrg
- Allow xinitrc scripts to be sourced (bnc#750980) (forwarded request 126878 from WernerFink)

OBS-URL: https://build.opensuse.org/request/show/126885
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xinit?expand=0&rev=3
2012-07-02 19:40:41 +00:00
f989ad06d1 Accepting request 126878 from home:WernerFink:branches:X11:XOrg
- Allow xinitrc scripts to be sourced (bnc#750980)

OBS-URL: https://build.opensuse.org/request/show/126878
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xinit?expand=0&rev=5
2012-07-02 10:21:14 +00:00
Stephan Kulow
b4c5586061 Accepting request 115459 from X11:XOrg
Pushing X11:XOrg

OBS-URL: https://build.opensuse.org/request/show/115459
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xinit?expand=0&rev=1
2012-05-08 10:04:43 +00:00
812f40a58a Accepting request 113694 from home:vuntz:branches:X11:XOrg
Move /etc/X11/Xresources from xorg-x11 to this package

OBS-URL: https://build.opensuse.org/request/show/113694
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xinit?expand=0&rev=3
2012-04-15 17:49:48 +00:00
356b9b4f67 Accepting request 113636 from home:dimstar:branches:X11:XOrg
Update to 1.3.2

OBS-URL: https://build.opensuse.org/request/show/113636
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xinit?expand=0&rev=2
2012-04-15 10:52:00 +00:00
4d0de5b109 Accepting request 113512 from home:vuntz:branches:X11:XOrg
Split xinit out of xorg-x11; no change to the content

OBS-URL: https://build.opensuse.org/request/show/113512
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xinit?expand=0&rev=1
2012-04-14 09:34:16 +00:00
7 changed files with 124 additions and 96 deletions

BIN
xinit-1.4.2.tar.xz (Stored with Git LFS)

Binary file not shown.

3
xinit-1.4.4.tar.xz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:40a47c7a164c7f981ce3787b4b37f7e411fb43231dcde543d70094075dacfef9
size 162496

View File

@@ -1,8 +1,8 @@
Index: xinit-1.3.4/xinit.c
Index: xinit-1.4.3/xinit.c
===================================================================
--- xinit-1.3.4.orig/xinit.c
+++ xinit-1.3.4/xinit.c
@@ -89,6 +89,7 @@ char xserverrcbuf[256];
--- xinit-1.4.3.orig/xinit.c
+++ xinit-1.4.3/xinit.c
@@ -90,6 +90,7 @@ static char xserverrcbuf[256];
#define TRUE 1
#define FALSE 0
@@ -10,7 +10,7 @@ Index: xinit-1.3.4/xinit.c
static char *default_server = "X";
static char *default_display = ":0"; /* choose most efficient */
@@ -560,6 +561,8 @@ startClient(char *client_argv[])
@@ -570,6 +571,8 @@ startClient(char *client_argv[])
{
clientpid = fork();
if (clientpid == 0) {
@@ -19,7 +19,7 @@ Index: xinit-1.3.4/xinit.c
set_environment();
setWindowPath();
@@ -567,7 +570,17 @@ startClient(char *client_argv[])
@@ -577,7 +580,17 @@ startClient(char *client_argv[])
Error("cannot change uid");
_exit(EXIT_FAILURE);
}

View File

@@ -1,16 +1,12 @@
Index: xinit-1.4.0/startx.cpp
===================================================================
--- xinit-1.4.0.orig/startx.cpp 2018-03-10 02:46:03.000000000 +0100
+++ xinit-1.4.0/startx.cpp 2018-07-11 13:16:21.864694488 +0200
@@ -50,11 +50,103 @@
--- xinit-1.4.4/startx.before_patch2 2025-03-09 23:08:33.597781034 +0100
+++ xinit-1.4.4/startx 2025-03-09 23:27:30.128779830 +0100
@@ -61,6 +61,93 @@
[ -f "${XINITRC}" ] && userclientrc="${XINITRC}"
sysclientrc=XINITDIR/xinitrc
sysclientrc="/usr/libexec/xinit/xinitrc"
+XCOMM
+XCOMM check for installed servers
+XCOMM
+
+#ifdef linux
+#
+# check for installed servers
+#
+
+INSTALLED_SERVERS=`ls -1 /usr/bin/Xorg /usr/X11R6/bin/XFree86 /usr/X11R6/bin/Xorg* 2>/dev/null`
+
@@ -25,28 +21,28 @@ Index: xinit-1.4.0/startx.cpp
+fi
+
+
+XCOMM
+XCOMM perhaps a windowmanager is specified?
+XCOMM
+XCOMM
+XCOMM find wmlist utility, else take twm as default (always there :-))
+XCOMM
+#
+# perhaps a windowmanager is specified?
+#
+#
+# find wmlist utility, else take twm as default (always there :-))
+#
+type wmlist >/dev/null 2>&1 && WMLIST="`for i in $(wmlist); do echo $i; done | sort`"
+test -z "$WMLIST" && WMLIST="twm"
+
+test "$1" = "--" || { test -n "$1" && WANTEDWM=`basename "$1"` ; }
+
+XCOMM
+XCOMM User could have set a list of window manager in WINDOWMANAGERLIST.
+XCOMM go through wms and check if user specified a reachable one.
+XCOMM
+#
+# User could have set a list of window manager in WINDOWMANAGERLIST.
+# go through wms and check if user specified a reachable one.
+#
+
+for WM in $WMLIST $WINDOWMANAGERLIST
+do
+ test "$WM" = "$WANTEDWM" && {
+XCOMM
+XCOMM is it reachable via $PATH?
+XCOMM
+#
+# is it reachable via $PATH?
+#
+ type $WM >/dev/null 2>&1 || {
+
+ echo "`basename $0`: error: the requested window manager '$1' could not be found!"
@@ -54,9 +50,9 @@ Index: xinit-1.4.0/startx.cpp
+ for i in $WMLIST; do echo $i; done
+ exit 1
+ }
+XCOMM
+XCOMM OK, we got it, this will be the override for WINDOWMANAGER
+XCOMM
+#
+# OK, we got it, this will be the override for WINDOWMANAGER
+#
+ export WINDOWMANAGER=$WM
+ shift 1
+ break
@@ -65,9 +61,9 @@ Index: xinit-1.4.0/startx.cpp
+
+unset WINDOWMANAGERLIST WMLIST WANTEDWM WM
+
+XCOMM
+XCOMM check symlink
+XCOMM
+#
+# check symlink
+#
+
+if [ ! -L /usr/bin/X ]; then
+
@@ -78,9 +74,9 @@ Index: xinit-1.4.0/startx.cpp
+ exit 1
+fi
+
+XCOMM
+XCOMM check if the Xorg file is an executable or an accidentally copied script or similar things
+XCOMM
+#
+# check if the Xorg file is an executable or an accidentally copied script or similar things
+#
+
+if [ ! -x /usr/bin/X ]; then
+
@@ -91,33 +87,26 @@ Index: xinit-1.4.0/startx.cpp
+ exit 1
+fi
+
+#endif /* linux */
+
+XCOMM set $DISPLAYMANAGER_XSERVER $DISPLAYMANAGER_XSERVER_TCP_PORT_6000_OPEN
+# set $DISPLAYMANAGER_XSERVER $DISPLAYMANAGER_XSERVER_TCP_PORT_6000_OPEN
+. /etc/sysconfig/displaymanager
+
userserverrc=$HOME/.xserverrc
[ -f "${XSERVERRC}" ] && userclientrc="${XSERVERRC}"
sysserverrc=XINITDIR/xserverrc
defaultclient=XTERM
+XCOMM set X Server accordingly (Xorg/Xgl)
defaultserver=XSERVER
+test -n "$DISPLAYMANAGER_XSERVER" && defaultserver=/usr/bin/$DISPLAYMANAGER_XSERVER
defaultclientargs=""
defaultserverargs=""
defaultdisplay=""
@@ -312,6 +404,9 @@
fi
+
userserverrc="$HOME/.xserverrc"
[ -f "${XSERVERRC}" ] && userserverrc="${XSERVERRC}"
sysserverrc="$xinitdir/xserverrc"
@@ -319,6 +406,10 @@
done
fi
+XCOMM handle TCP port 6000
+# handle TCP port 6000
+test "$DISPLAYMANAGER_XSERVER_TCP_PORT_6000_OPEN" != "yes" && \
+ serverargs="$serverargs -nolisten tcp"
#if defined(__APPLE__) || defined(__CYGWIN__)
eval XINIT \"$client\" $clientargs -- \"$server\" $display $serverargs
@@ -320,6 +415,12 @@
#endif
+
case "$(uname -s)" in
CYGWIN_NT*|Darwin)
eval "$xinit" \"$client\" $clientargs -- \"$server\" $display $serverargs
@@ -329,6 +420,12 @@
esac
retval=$?
+if [ "$retval" != 0 -a ! -u "/usr/bin/Xorg" ]; then
@@ -126,23 +115,20 @@ Index: xinit-1.4.0/startx.cpp
+ echo "If so either use a display manager (strongly recommended) or adjust /etc/permissions.local and run \"chkstat --system --set\" afterwards"
+fi
+
if [ x"$enable_xauth" = x1 ] ; then
if [ x"$removelist" != x ]; then
XAUTH remove $removelist
Index: xinit-1.4.0/xinitrc.cpp
===================================================================
--- xinit-1.4.0.orig/xinitrc.cpp 2018-03-10 02:46:03.000000000 +0100
+++ xinit-1.4.0/xinitrc.cpp 2018-07-11 13:13:23.808686361 +0200
@@ -48,8 +48,10 @@
unset f
if [ "$enable_xauth" = 1 ] ; then
if [ "$removelist" != "" ]; then
"$xauth" remove $removelist
--- xinit-1.4.4/xinitrc.before_patch2 2025-03-09 23:08:33.601781115 +0100
+++ xinit-1.4.4/xinitrc 2025-03-09 23:31:04.025108190 +0100
@@ -50,7 +50,10 @@
fi
-TWM &
"$twm" &
+if [ -x /usr/X11R6/bin/fvwm -o -x /usr/bin/fvwm]; then
+ exec fvwm
+fi
XCLOCK -geometry 50x50-1+1 &
XTERM -geometry 80x50+494+51 &
XTERM -geometry 80x20+494-0 &
-exec XTERM -geometry 80x66+0+0 -name login
+exec TWM
"$xclock" -geometry 50x50-1+1 &
"$xterm" -geometry 80x50+494+51 &
"$xterm" -geometry 80x20+494-0 &
-exec "$xterm" -geometry 80x66+0+0 -name login
+exec $twm

View File

@@ -1,12 +1,12 @@
Index: xinit-1.3.4/startx.cpp
Index: xinit-1.4.3/startx
===================================================================
--- xinit-1.3.4.orig/startx.cpp
+++ xinit-1.3.4/startx.cpp
@@ -407,6 +407,7 @@ fi
--- xinit-1.4.3.orig/startx
+++ xinit-1.4.3/startx
@@ -412,6 +412,7 @@ fi
XCOMM handle TCP port 6000
test "$DISPLAYMANAGER_XSERVER_TCP_PORT_6000_OPEN" != "yes" && \
serverargs="$serverargs -nolisten tcp"
+export XAUTHLOCALHOSTNAME=`hostname`
#if defined(__APPLE__) || defined(__CYGWIN__)
eval XINIT \"$client\" $clientargs -- \"$server\" $display $serverargs
case "$(uname -s)" in
CYGWIN_NT*|Darwin)

View File

@@ -1,3 +1,44 @@
-------------------------------------------------------------------
Sun Mar 9 21:35:21 UTC 2025 - Stefan Dirsch <sndirsch@suse.com>
- Update to version 1.4.4
This release fixes regresssions introduced by the shell script modernization
in the 1.4.3 release, primarily seen on systems without the "mcookie" helper
program to make xauth cookies, and thus using openssl or /dev/urandom to
make cookies instead. Thanks to Peter Tribble of the Tribblix illumos distro
for reporting the issue and testing the fixes.
- adjusted xinit-suse.patch, xinit-tolerant-hostname-changes.patch
-------------------------------------------------------------------
Sat Mar 1 09:57:47 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Make build recipe compatible with POSIX sh
-------------------------------------------------------------------
Sun Jan 5 21:33:42 UTC 2025 - Stefan Dirsch <sndirsch@suse.com>
- Update to version 1.4.3
* Reindent startx after !6
* Remove Xdmx from suggested Xserver list
* Mark global variables as static since there's only one source file
* Clear -Wunused-parameter warnings from clang
* Use ptrdiff_t to store results of pointer subtraction
* Use asprintf() if available
* Don't exit with failure on SIGTERM regardless.
* darwin: Remove bashism from 10-tmpdirs script
* Modernized shell scripts
* startx: Assign XSERVERRC to correct userserverrc
* add closing quote to /dev/random mcookie hex
- adjusted xinit-suse.patch
- refreshed xinit-client-session.patch
- refreshed xinit-tolerant-hostname-changes.patch
-------------------------------------------------------------------
Mon Dec 23 16:55:44 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Properly comment %patch 5 out: '#' still expands the macro, which
makes build fail with rpm 4.20. Use %dnl instead.
-------------------------------------------------------------------
Thu Jul 4 12:02:51 UTC 2024 - Stefan Dirsch <sndirsch@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package xinit
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -20,7 +20,7 @@
%define UsrEtcMove 1
%endif
Name: xinit
Version: 1.4.2
Version: 1.4.4
Release: 0
Summary: X Window System initializer
License: MIT
@@ -69,10 +69,10 @@ sed -i 's+%{_sysconfdir}/X11+%{_libexecdir}+' %{PATCH0}
%endif
%patch -P 0
%patch -P 1 -p1
%patch -P 2 -p1
%patch -P 3 -p1
### patch is applied later in %install section
#%patch -P 5 -p0
### patches are applied later in %install section
#patch -P 2 -p1
#patch -P 3 -p1
#patch -P 5 -p0
# needed for patch0
autoreconf -fi
@@ -86,11 +86,13 @@ autoreconf -fi
gcc %{optflags} -o keygen %{SOURCE2}
%install
patch -p1 < %{PATCH2}
patch -p1 < %{PATCH3}
%make_install
install -m 0644 %{SOURCE3} %{buildroot}%{_mandir}/man1
install -m 0711 keygen %{buildroot}%{_bindir}/keygen
pushd %{buildroot}
tar xf %{SOURCE1}
cd %{buildroot}
tar -xf %{SOURCE1}
%if 0%{?UsrEtcMove}
patch -p0 < %{PATCH5}
mkdir -p %{buildroot}%{_libexecdir}/xinit
@@ -102,7 +104,6 @@ mv etc/X11/xinit/xinitrc.common usr%{_sysconfdir}/X11/xinit
ln -s %{_prefix}%{_sysconfdir}/X11/xinit/xinitrc.common etc/X11/xinit/xinitrc.common
rmdir etc/X11/xinit/xinitrc.d
%endif
popd
%files
%license COPYING