summaryrefslogtreecommitdiff
path: root/x11-misc/slim
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-05-29 09:16:49 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-05-29 09:16:49 +0100
commitb2d3769042cfd3d8ceadaa52f6a5aafabb0d4114 (patch)
tree4fcc91b967ba153d4030d61e10f1b07b53755488 /x11-misc/slim
parent2d3042634af4767714cb90eff3f773ef54afb5ed (diff)
gentoo auto-resync : 29:05:2023 - 09:16:49
Diffstat (limited to 'x11-misc/slim')
-rw-r--r--x11-misc/slim/Manifest24
-rw-r--r--x11-misc/slim/files/slim-1.3.5-arm.patch11
-rw-r--r--x11-misc/slim/files/slim-1.3.5-disable-ck-for-systemd.patch122
-rw-r--r--x11-misc/slim/files/slim-1.3.6-add-missing-libgen_h.patch11
-rw-r--r--x11-misc/slim/files/slim-1.3.6-config.diff77
-rw-r--r--x11-misc/slim/files/slim-1.3.6-drop-zlib.patch10
-rw-r--r--x11-misc/slim/files/slim-1.3.6-envcpy-bad-pointer-arithmetic.patch15
-rw-r--r--x11-misc/slim/files/slim-1.3.6-fix-slimlock-nopam-v2.patch26
-rw-r--r--x11-misc/slim/files/slim-1.3.6-freetype.patch12
-rw-r--r--x11-misc/slim/files/slim-1.3.6-gcc11.patch12
-rw-r--r--x11-misc/slim/files/slim-1.3.6-honour-cflags.patch14
-rw-r--r--x11-misc/slim/files/slim-1.3.6-libslim-cmake-fixes.patch33
-rw-r--r--x11-misc/slim/files/slim-1.3.6-session-chooser.patch115
-rw-r--r--x11-misc/slim/files/slim-1.3.6-strip-systemd-unit-install.patch13
-rw-r--r--x11-misc/slim/files/slim-1.3.6-systemd-session.patch29
-rw-r--r--x11-misc/slim/files/slim-1.3.9-config.diff49
-rw-r--r--x11-misc/slim/files/slim-1.3.9-greeter-session.diff12
-rw-r--r--x11-misc/slim/slim-1.3.6-r5.ebuild133
-rw-r--r--x11-misc/slim/slim-1.3.9.ebuild98
-rw-r--r--x11-misc/slim/slim-1.4.0.ebuild3
-rw-r--r--x11-misc/slim/slim-9999.ebuild1
21 files changed, 5 insertions, 815 deletions
diff --git a/x11-misc/slim/Manifest b/x11-misc/slim/Manifest
index e3a75c7cee62..4d9f3448bfe1 100644
--- a/x11-misc/slim/Manifest
+++ b/x11-misc/slim/Manifest
@@ -1,27 +1,7 @@
AUX Xsession-r3 4045 BLAKE2B 9c63f8a4641cf25dafb5fdfac5e6daaa596ded8a29ffd48ded57d3932b4213b0446296d67d5b87c0f0e32c104748007d1d5da483afda746fbb30ae3dd568607b SHA512 6c0bfba4c3f00b75d6b5fb0e0e8a492fa262b2d0f3c6382861d7f3a8c657e803151a2060e181439952649fd2acf6fa71b75811565f1156018027ec14a761f7d0
-AUX slim-1.3.5-arm.patch 289 BLAKE2B 039bde606b8ef06f007b87d622fa7f082c37c40b6a964684b1c79910bd1ad0487e43898f6b2f77642adadd65594a149463686d4abc448a8424536394e8fdafd0 SHA512 1d3a3a387433c8bfc9bff6ac3779e70e0e0ca5f65e6120dd83fb51d59dfa47facc6d31c6e955b737e41ebf760416015f7f12dc749e710957cbef274aa5d1d308
-AUX slim-1.3.5-disable-ck-for-systemd.patch 3303 BLAKE2B a0710043c99a7deed5c82b04eb96f9d96c060dc767805e3b3cd1cb6f6744fce069b1eee051ee4cf5f00f03740a6bf4db9b668b93b198dd70a79e7176bbf3cadd SHA512 64205963f8f56f012dd16c2aea18e2e4f4e155093d44222a512b242061b334b7faa9c3abdd1acc011213f0fed9007cf232da8c61e6cedc30c710b149fa841f04
-AUX slim-1.3.6-add-missing-libgen_h.patch 323 BLAKE2B db5b6304a8c0b406bf315787d0d7629162d370d9342450358f8e5199c3289937f0fd19267239f2eed8278e4d2160ae613f025389c97f4550f26050e7b72766ac SHA512 c69937c42abf0c5959af7f0291af1608aa4a39a107f1a11e36f262b79e72537ca8aa69af03f3b637b6e6e2c440887990b5c5065863a7357f27009fc6e82a851e
-AUX slim-1.3.6-config.diff 2938 BLAKE2B c1c71c5b2d9ebe3b0496324fae6f0f0de65cdf4f456a2f9611cd90450161e46f0fd86141107e503c66dded5908a93b036fdaff83c947a4df5f530192fefd7700 SHA512 92e1b710828b07b85e2fb150fc1fbe2c10ac8bddbf824016783510f990fcebf3157fdcc0f5c959785929a83b30a2edab66f443b8b1f71437857069a3177bc7cb
-AUX slim-1.3.6-drop-zlib.patch 309 BLAKE2B de904731cb6455aed2afaff288ff80d4f22565f64979001fa703488d92bcc4808597c1ea7771b690b80307ff32b33d0fe702fb441f55ecc46336c3a031562da7 SHA512 2aa62e5b7ad67df47009e4cff0b34b8ff6116e9d3d23194c8199ec06356fbf0660df6b807e530075d3dc5aa8e04dda29e7a6e1337212b58e3bae09e9543c0c22
-AUX slim-1.3.6-envcpy-bad-pointer-arithmetic.patch 583 BLAKE2B 2b73d2cd1cf0dcc703e21f72e73f2e66441455822b198709bd4b4ac89fa2c34e6d836893e2f9db2fba293225936c39df742dda65024dc8506a5e4afead0f11b3 SHA512 cec2a82cc57a3dc3eb67a40becb9ef562d1fc0c2e962cb0cdddf978d776c8139f616647e3ab25255a616d3b17ff3f67ecaf4d7d92fa6af8aaec3ccf30efdde9c
-AUX slim-1.3.6-fix-slimlock-nopam-v2.patch 839 BLAKE2B 49ff5a7d45a8684265ea46844e3a4d1fd88c9ed54ab5d7104976d8428825ed31a1326275ae2ab7bb1a58611de03478e91121f3e4e2a0e45367a3f724ab0195c6 SHA512 2251cd96801e593b387037d79014ea86fdec223d8910628fbfd0e9c5eafbe79c27ffb7f08123c89b635d33dc2bf9cf76e2964f5293352784c1e08c7b1c7427c0
-AUX slim-1.3.6-freetype.patch 426 BLAKE2B 32a5308e26686687e08ffb98981d6438b4d94ad8643d05efdfe693b7a94b4f67b931a5803edb910715bd9a4744bee8bd99d8568a55f4febb460e87d9fe00cda8 SHA512 4df9b3dbada712f380efcdf5cb929a14f3f80c4149919df1a2ecdc3aad67d079fe120ff7cd03c0ebc962654b5b1de4c4212e939a63ec1a76b85098ce9e98129b
-AUX slim-1.3.6-gcc11.patch 310 BLAKE2B 2e859b020b8a1fb10be2279ee5c02690191a88347a2d8cf4249218bb7f40963737d55aff05408245958a8892fc61c4711f57a9f6749335d9a829da98b9f226d7 SHA512 6c25d2cc9a51fdad50637b37244db97bc3d4a2fde1909b9a38b38b4a90844174a29f85d74ed4c99364961407aea7b9e2bf34337cc3b3e485bf10e3510de097e3
-AUX slim-1.3.6-honour-cflags.patch 503 BLAKE2B 26c5c6221380705512b8a3f9dce5a1ce38e250fde0747d80a556bbeef0dee5564913a48119afb19bae3d0cb0e681a0c5635536461b1c9d823aca9bc8c807f655 SHA512 088df919ea8952e2e544f9546ae97c3d012fbb454491118f48301010337a46882ceac3ff6afeb0a13c8615e0ff7d0394671ef62fb42bd78792855b1c17007ef7
-AUX slim-1.3.6-libslim-cmake-fixes.patch 852 BLAKE2B d4879e855e0cb0e1b2409890ed4d373bbd65a54347d8d8a5c67287d6a88d39e572af21d92008e629a3f674b99c0ecf2cb8ab2f2e42631a9d0b9fdfe1c9a9b10e SHA512 457e23e193c6b9ecb5335accad444470ffb2e0109550d041385bba2b6036fdfac8d48e031574e4229d8b8768a7a86f6d6c191b214540f1156a2a13e5a9f3451f
-AUX slim-1.3.6-session-chooser.patch 3994 BLAKE2B 48990db75196e9da4022af1ecf8ae509453d2e001d44327eb89fbb4513d661ac3b3bbbdbe8e85ca34dabbf179d84076b584401cb777c28beef1860f28425f0c8 SHA512 7227fa0210d7870971870409da2d86d9f239ae285dde116e2b2d817318339fb51324bd11d04dc4c26a2ca3c1e5a0f0686987eab7042265389fb2f60cc7d37a45
-AUX slim-1.3.6-strip-systemd-unit-install.patch 474 BLAKE2B 77f06c1f31801a56289b699f4e801ee169543c0407a79c6d7d73aa83053fdb70f74dbd962654b93081c6af680d800c9ede45cbf7116bc66ef540f216154a3f06 SHA512 990723e37a3adcec5a43a6b9bf5196d580121f8af9a6db533a3eb1c4d38269150fb01f0efd8d8e57c85b4662a573195347bdd95259059052b70f22c4b3164f9f
-AUX slim-1.3.6-systemd-session.patch 820 BLAKE2B 39345e96a1dc2cfc7a94b874d5be4bc099377aada324056bb8be073bb1c5245bbdd8b265b37b286a0fd1863fbc1de1ffd37b1001f468a1df3d49ac33c0f544de SHA512 df653a31bd2b0d3bb5b09d700d89d6b4c444b3ef49dc6d5a0646cab5480841a76ecb1c3bcd45b602eb0d2000971a5ef576eac63de67907769ea23b6925329635
-AUX slim-1.3.9-config.diff 1728 BLAKE2B 6fcf8821bc57e3600596cd2a7d0db18c06f691db8a708ffed7e59bedaa974550dcf337cb19193e991e3d4473a3c65028a9f71aad95b02b41f83f5dd95a0265e0 SHA512 815ef6979c19d08d593903d8accd3a7d97c78e0651eb5b7f183a9b88cd43f68f0a4e1c17a3fe0c28550de60e94024e5d1144df01a340d6be1cea6b7de7fe6375
-AUX slim-1.3.9-greeter-session.diff 430 BLAKE2B 43f2875f45f97a2c71203ce7ad1e3b571e4a73ac5c67a2aa910398133f520d2b74ed2ec2f41b7829549ad56436d1a93199ddf2a7a9fe1e6cfb8d88818351305a SHA512 dba4f83e7771877cd5f116ea348f6ab9f3933a772da96ac7861ac55727d1e5a3017c0e039830dacc52eee191047e6403776ef450555cb614c3c1d902efd82d21
AUX slim-1.4.0-config.diff 1843 BLAKE2B 6b942f49ccdac70a60b5f7111ca41fda4df48f29916fa54aa55cb0b5cdd20fcd98156986786338a12462c7f3c91fa042ba0659af646aba3f4b33011e0c34cc39 SHA512 e8ce676df78341ba8b14236ceeb4982449377bbaec14dd8125431f891ba7bf662389f1606e1debb26d001b6d17d6a4099058d4ed0bcf8ec90a635d4f00e14ba4
AUX slim.logrotate 102 BLAKE2B 8b41d56746b9889ee7f13f3cef08f80532c0c58505061ce09262aa629af5ec77dc35278ce979c717cd53f6ba586c529201e0dca47a28044231bf2d0b9cd8f317 SHA512 b49ce2dc1a1943c5f8eea8e6394cc27b014832e2d9908220f32ffd21fbe69442ec45b18f6e435430c6cbed074e5983e2136ebade10218bb073bb13106716f5b2
-DIST slim-1.3.6.tar.gz 232547 BLAKE2B 3df58fa128cdf2b2ab005e8f41fccc076cfcf8adf7767075539f2b8edf51a92660b031837b3cdaccb261f1c1eb24104100317fd4e68ad0298242502d4e6bb506 SHA512 345b1dee5d6f0c3716dfa7c5c16274adbf18586bdaaa6af4f310e24c5a61f79a297ffac921a5ba545523317e9fe120916df226c36b9c9b49c2ac9c1ca21dee0c
-DIST slim-1.3.9.tar.gz 239609 BLAKE2B 41eec388b0d63bc720cb51f93707f69c4765800f4e69654fe5ebdcb280eb25775c7ed951163943b6f58884b0a9fb628e049d68a2faa7516b1f884adb080953c6 SHA512 607366a402479381858f8193db9b4da0a40eda15f4868cad9e7313b4a084390cf3cee80958f58a56d3e4383cf2fa9069960d1b20861068f921bd9ba89da7aec1
DIST slim-1.4.0.tar.gz 530318 BLAKE2B 507f22d09a3449b870bb5fd5a5f0ab1002ceee5372c82f702582809a5fc442088c17d79fedff6712e198cee672696388479604a194e5729c7bc12139770c833d SHA512 2ef38d39e2d5186f9342161d99740b0c8cd87f234deaf550ca1528c9a61c052d26123c7da26f4a0a5e658d01cb200b115cf7879d349ed51a6e8c729ee3fdf77f
-EBUILD slim-1.3.6-r5.ebuild 3739 BLAKE2B 4a1023452cf9aa2a3153c2200410ff92f13406901b31ef79a16ff3dd82175b4d7923dc1cfb9f846e51b9491b809d8b1dcf5fcf29f6f950e90506483c24120dbb SHA512 a9efc164ce7eae9650d7e9e68295735a261e2939f630d2bfbd12da809047aff13fd0efb8524832bba0ee53c8680f30e8abde4fe9170aa17adba15ca186daa186
-EBUILD slim-1.3.9.ebuild 2151 BLAKE2B 688bf4bf867538b546d3b1184b9470b374c65c9c99767b54e52108bc53f9874636160b685ecce9ee9d796f9d3fda8793cefec151de4b5941dba6685646327b48 SHA512 7973d0662790cb436a60092886d5a6c6ee35a839296541617c359c9b5aed6bf729cdd686df20209aed117988b44db349ded9f691fab819f5f3b0fbc24626cb14
-EBUILD slim-1.4.0.ebuild 2270 BLAKE2B b5f9ca7c132fe72352bd9f93264757d975a579061276ec5aec6b64d8ee5d4e80a4271fb1660f3ca3998198d310d8cb4ecb6bf7c56350e1148c994730f9b67102 SHA512 65100517c1b93c3adfb9961c0acfdc97ade246d612bc565b46ad1c155b16f56b481fb503086935c0f305f4f6d6279e20a0d010b522273fd6dc666298469cff93
-EBUILD slim-9999.ebuild 2275 BLAKE2B 1f5d8c3376d3a880c5e40dad90bc09e03b9696b7a94f91f9df99417abe0ee1233a731a7ad6a731fcf0cc051fe731337429f635f664749a39ba7e1755d262e995 SHA512 0f454ae2c86badeb4226112b35fd7886cd7428531368ae2cd4690a1296a9597394608ce6e570229112f513ec5fdd6090b1224a56fec571c4354497d76e6b4184
+EBUILD slim-1.4.0.ebuild 2289 BLAKE2B 647201615964692109705646a409f8ebdd684577deb999e746da347a8a0e67a929faddb637570ebf06b19202a8b2bc7d627efb7bda56cb6f22a06df090a30340 SHA512 d6572fea21fe346dcdf1223e6f6a6d2a26239b2add3386ff0cfe32bd01636703a4cfa6fecd01ae324b9f6fc736848e89fe2a89ab57006d8bfc6fef0ac59a757c
+EBUILD slim-9999.ebuild 2295 BLAKE2B 4a90eada084b9295f77aa12e35607af3587669a7a72fd02134bd93cf0da0826b8a96ef71db9a7e04be0302dae7a8953d9041ad5272e5e33c71662cb37b1fc68a SHA512 2f6aaa89459e4c3c592a72afbb70cdc0bb158b74582a71fa0d1fb3687eca160ae9b13178e0094592023d5d6aefb19cf5161af71f1ebf85438f323237efb1e259
MISC metadata.xml 484 BLAKE2B 6a3b8faccbbc036860cb1edde84558decd7fa4ec73410ce02f0376b039211b275ff073788801ae08e34a8235477b5c70ec409e3d2ded25154154ac3d35c4722d SHA512 1185115679245eab9f80d76c4700580e52b5a1d2c68f56d6704bfd908664991fb9f82c0098020dcc2a7ac75bd0d52f2afe3b393a731832d37947d4416899b119
diff --git a/x11-misc/slim/files/slim-1.3.5-arm.patch b/x11-misc/slim/files/slim-1.3.5-arm.patch
deleted file mode 100644
index 9438ce4a1caf..000000000000
--- a/x11-misc/slim/files/slim-1.3.5-arm.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/Ck.cpp 2012-06-26 04:20:14.000000000 -0400
-+++ b/Ck.cpp 2012-10-05 13:25:29.000000000 -0400
-@@ -91,7 +91,7 @@
-
- vt = *((long *)return_value);
-
-- std::snprintf(device, 32, "/dev/tty%ld", vt);
-+ std::sprintf(device, "/dev/tty%ld", vt);
-
- if(return_value)
- XFree(return_value);
diff --git a/x11-misc/slim/files/slim-1.3.5-disable-ck-for-systemd.patch b/x11-misc/slim/files/slim-1.3.5-disable-ck-for-systemd.patch
deleted file mode 100644
index f7e361767615..000000000000
--- a/x11-misc/slim/files/slim-1.3.5-disable-ck-for-systemd.patch
+++ /dev/null
@@ -1,122 +0,0 @@
-diff -Naur slim-1.3.5/app.cpp slim-1.3.5.new/app.cpp
---- slim-1.3.5/app.cpp 2012-12-31 08:03:42.000000000 -0500
-+++ slim-1.3.5.new/app.cpp 2013-08-22 14:16:37.994854259 -0400
-@@ -138,11 +138,14 @@
- daemonmode = false;
- force_nodaemon = false;
- firstlogin = true;
-+#ifdef USE_CONSOLEKIT
-+ consolekit_support_enabled = true;
-+#endif
- Dpy = NULL;
-
- /* Parse command line
- Note: we force a option for nodaemon switch to handle "-nodaemon" */
-- while((tmp = getopt(argc, argv, "vhp:n:d?")) != EOF) {
-+ while((tmp = getopt(argc, argv, "vhsp:n:d?")) != EOF) {
- switch (tmp) {
- case 'p': /* Test theme */
- testtheme = optarg;
-@@ -163,6 +166,11 @@
- std::cout << APPNAME << " version " << VERSION << endl;
- exit(OK_EXIT);
- break;
-+#ifdef USE_CONSOLEKIT
-+ case 's': /* Disable consolekit support */
-+ consolekit_support_enabled = false;
-+ break;
-+#endif
- case '?': /* Illegal */
- logStream << endl;
- case 'h': /* Help */
-@@ -171,6 +179,9 @@
- << " -d: daemon mode" << endl
- << " -nodaemon: no-daemon mode" << endl
- << " -v: show version" << endl
-+#ifdef USE_CONSOLEKIT
-+ << " -s: start for systemd, disable consolekit support" << endl
-+#endif
- << " -p /path/to/theme/dir: preview theme" << endl;
- exit(OK_EXIT);
- break;
-@@ -559,6 +570,7 @@
- #endif
-
- #ifdef USE_CONSOLEKIT
-+ if (consolekit_support_enabled) {
- /* Setup the ConsoleKit session */
- try {
- ck.open_session(DisplayName, pw->pw_uid);
-@@ -567,6 +579,7 @@
- logStream << APPNAME << ": " << e << endl;
- exit(ERR_EXIT);
- }
-+ }
- #endif
-
- /* Create new process */
-@@ -578,6 +591,7 @@
- char** child_env = pam.getenvlist();
-
- # ifdef USE_CONSOLEKIT
-+ if (consolekit_support_enabled) {
- char** old_env = child_env;
-
- /* Grow the copy of the environment for the session cookie */
-@@ -590,6 +604,7 @@
- memcpy(child_env, old_env, sizeof(char*)*n+1);
- child_env[n - 1] = StrConcat("XDG_SESSION_COOKIE=", ck.get_xdg_session_cookie());
- child_env[n] = NULL;
-+ }
- # endif /* USE_CONSOLEKIT */
- #else
-
-@@ -611,6 +626,7 @@
- child_env[n++]=StrConcat("MAIL=", maildir.c_str());
- child_env[n++]=StrConcat("XAUTHORITY=", xauthority.c_str());
- # ifdef USE_CONSOLEKIT
-+ if (consolekit_support_enabled)
- child_env[n++]=StrConcat("XDG_SESSION_COOKIE=", ck.get_xdg_session_cookie());
- # endif /* USE_CONSOLEKIT */
- child_env[n++]=0;
-@@ -656,12 +672,14 @@
- }
-
- #ifdef USE_CONSOLEKIT
-+ if (consolekit_support_enabled) {
- try {
- ck.close_session();
- }
- catch(Ck::Exception &e) {
- logStream << APPNAME << ": " << e << endl;
- };
-+ }
- #endif
-
- #ifdef USE_PAM
-diff -Naur slim-1.3.5/app.h slim-1.3.5.new/app.h
---- slim-1.3.5/app.h 2012-12-31 08:03:42.000000000 -0500
-+++ slim-1.3.5.new/app.h 2013-08-22 14:12:45.536850016 -0400
-@@ -108,6 +108,10 @@
- char *testtheme;
- bool testing;
-
-+#ifdef USE_CONSOLEKIT
-+ bool consolekit_support_enabled;
-+#endif
-+
- std::string themeName;
- std::string mcookie;
-
-diff -Naur slim-1.3.5/slim.service slim-1.3.5.new/slim.service
---- slim-1.3.5/slim.service 2012-12-31 08:03:42.000000000 -0500
-+++ slim-1.3.5.new/slim.service 2013-08-22 14:15:39.186853186 -0400
-@@ -3,7 +3,7 @@
- After=systemd-user-sessions.service
-
- [Service]
--ExecStart=/usr/bin/slim -nodaemon
-+ExecStart=/usr/bin/slim -nodaemon -s
-
- [Install]
- Alias=display-manager.service
diff --git a/x11-misc/slim/files/slim-1.3.6-add-missing-libgen_h.patch b/x11-misc/slim/files/slim-1.3.6-add-missing-libgen_h.patch
deleted file mode 100644
index f137d94e8367..000000000000
--- a/x11-misc/slim/files/slim-1.3.6-add-missing-libgen_h.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -Naur slim-1.3.6.orig/panel.cpp slim-1.3.6/panel.cpp
---- slim-1.3.6.orig/panel.cpp 2014-06-18 11:04:57.958630814 -0400
-+++ slim-1.3.6/panel.cpp 2014-06-18 11:05:10.675631393 -0400
-@@ -11,6 +11,7 @@
-
- #include <sstream>
- #include <poll.h>
-+#include <libgen.h>
- #include <X11/extensions/Xrandr.h>
- #include "panel.h"
-
diff --git a/x11-misc/slim/files/slim-1.3.6-config.diff b/x11-misc/slim/files/slim-1.3.6-config.diff
deleted file mode 100644
index 561e6a99273c..000000000000
--- a/x11-misc/slim/files/slim-1.3.6-config.diff
+++ /dev/null
@@ -1,77 +0,0 @@
---- a/slim.conf.orig 2010-08-25 11:52:23.000000000 -0400
-+++ b/slim.conf 2010-08-25 11:58:58.000000000 -0400
-@@ -2,7 +2,7 @@
- # Note: -xauth $authfile is automatically appended
- default_path /bin:/usr/bin:/usr/local/bin
- default_xserver /usr/bin/X
--#xserver_arguments -dpi 75
-+xserver_arguments -nolisten tcp -br -deferglyphs 16 vt07
-
- # Commands for halt, login, etc.
- halt_cmd /sbin/shutdown -h now
-@@ -18,7 +18,7 @@
-
-
- # Activate numlock when slim starts. Valid values: on|off
--# numlock on
-+numlock on
-
- # Hide the mouse cursor (note: does not work with some WMs).
- # Valid values: true|false
-@@ -33,7 +33,8 @@
- # to adjust the command according to your preferred shell,
- # i.e. for freebsd use:
- # login_cmd exec /bin/sh - ~/.xinitrc %session
--login_cmd exec /bin/bash -login ~/.xinitrc %session
-+# login_cmd exec /bin/bash -login ~/.xinitrc %session
-+login_cmd exec /bin/bash -login /usr/share/slim/Xsession %session
-
- # Commands executed when starting and exiting a session.
- # They can be used for registering a X11 session with
-@@ -41,20 +42,30 @@
- #
- # sessionstart_cmd some command
- # sessionstop_cmd some command
-+sessionstart_cmd /usr/bin/sessreg -a -l :0.0 %user
-+sessionstop_cmd /usr/bin/sessreg -d -l :0.0 %user
-
- # Start in daemon mode. Valid values: yes | no
- # Note that this can be overriden by the command line
- # options "-d" and "-nodaemon"
--# daemon yes
-+daemon yes
-
--# Available sessions (first one is the default).
--# The current chosen session name is replaced in the login_cmd
-+# Available sessions:
-+# The current chosen session name replaces %session in the login_cmd
- # above, so your login command can handle different sessions.
-+# If no session is chosen (via F1), %session will be an empty string.
- # see the xinitrc.sample file shipped with slim sources
--sessions xfce4,icewm-session,wmaker,blackbox
-+#sessions xfce4,icewm-session,wmaker,blackbox
-+# Alternatively, read available sessions from a directory of scripts:
-+#sessiondir /etc/X11/Sessions
-+# Or, read available sessions from the xsessions desktop files --
-+# note that this may provide a full path to the session executable!
-+sessiondir /usr/share/xsessions
-
--# Executed when pressing F11 (requires imagemagick)
-+# Executed when pressing F11 (requires media-gfx/imagemagick for import)
-+# Alternative is media-gfx/scrot. See Gentoo bug 252241 for more info.
- screenshot_cmd import -window root /slim.png
-+#screenshot_cmd scrot /root/slim.png
-
- # welcome message. Available variables: %host, %domain
- welcome_msg Welcome to %host
-@@ -83,8 +91,8 @@
- # randomly choose from
- current_theme default
-
--# Lock file
--lockfile /var/run/slim.lock
-+# Lock file, /etc/init.d/xdm expects slim.pid
-+lockfile /run/slim.pid
-
- # Log file
- logfile /var/log/slim.log
diff --git a/x11-misc/slim/files/slim-1.3.6-drop-zlib.patch b/x11-misc/slim/files/slim-1.3.6-drop-zlib.patch
deleted file mode 100644
index cf2106a8a8eb..000000000000
--- a/x11-misc/slim/files/slim-1.3.6-drop-zlib.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- a/CMakeLists.txt 2014-02-28 10:38:48.655262163 -0500
-+++ b/CMakeLists.txt 2014-02-28 10:47:01.671271162 -0500
-@@ -96,7 +96,6 @@
- find_package(Freetype REQUIRED)
- find_package(JPEG REQUIRED)
- find_package(PNG REQUIRED)
--find_package(ZLIB REQUIRED)
-
- # Fontconfig
- set(FONTCONFIG_DIR ${CMAKE_MODULE_PATH})
diff --git a/x11-misc/slim/files/slim-1.3.6-envcpy-bad-pointer-arithmetic.patch b/x11-misc/slim/files/slim-1.3.6-envcpy-bad-pointer-arithmetic.patch
deleted file mode 100644
index b3787dd58459..000000000000
--- a/x11-misc/slim/files/slim-1.3.6-envcpy-bad-pointer-arithmetic.patch
+++ /dev/null
@@ -1,15 +0,0 @@
---- a/app.cpp 2015-09-14 12:00:00.460481656 -0400
-+++ b/app.cpp 2015-09-14 14:41:10.970536588 -0400
-@@ -606,9 +606,9 @@
-
- n++;
-
-- child_env = static_cast<char**>(malloc(sizeof(char*)*n));
-- memcpy(child_env, old_env, sizeof(char*)*n+1);
-- child_env[n - 1] = StrConcat("XDG_SESSION_COOKIE=", ck.get_xdg_session_cookie());
-+ child_env = static_cast<char**>(malloc(sizeof(char*)*(n+1)));
-+ memcpy(child_env, old_env, sizeof(char*)*n);
-+ child_env[n-1] = StrConcat("XDG_SESSION_COOKIE=", ck.get_xdg_session_cookie());
- child_env[n] = NULL;
- }
- # endif /* USE_CONSOLEKIT */
diff --git a/x11-misc/slim/files/slim-1.3.6-fix-slimlock-nopam-v2.patch b/x11-misc/slim/files/slim-1.3.6-fix-slimlock-nopam-v2.patch
deleted file mode 100644
index d5fc4db4838d..000000000000
--- a/x11-misc/slim/files/slim-1.3.6-fix-slimlock-nopam-v2.patch
+++ /dev/null
@@ -1,26 +0,0 @@
---- a/CMakeLists.txt 2013-10-27 21:24:21.193802669 -0400
-+++ b/CMakeLists.txt 2013-10-27 21:26:54.127806951 -0400
-@@ -220,7 +220,6 @@
- ####### install
- # slim
- install(TARGETS slim RUNTIME DESTINATION bin)
--install(TARGETS slimlock RUNTIME DESTINATION bin)
-
- if (BUILD_SHARED_LIBS)
- set_target_properties(libslim PROPERTIES
-@@ -235,8 +234,14 @@
-
- # man file
- install(FILES slim.1 DESTINATION ${MANDIR}/man1/)
--install(FILES slimlock.1 DESTINATION ${MANDIR}/man1/)
- # configure
- install(FILES slim.conf DESTINATION ${SYSCONFDIR})
-+
-+#slimlock
-+if(BUILD_SLIMLOCK)
-+install(TARGETS slimlock RUNTIME DESTINATION bin PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE SETUID)
-+install(FILES slimlock.1 DESTINATION ${MANDIR}/man1/)
-+endif(BUILD_SLIMLOCK)
-+
- # themes directory
- subdirs(themes)
diff --git a/x11-misc/slim/files/slim-1.3.6-freetype.patch b/x11-misc/slim/files/slim-1.3.6-freetype.patch
deleted file mode 100644
index fe2aa60ad1b6..000000000000
--- a/x11-misc/slim/files/slim-1.3.6-freetype.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -up ./CMakeLists.txt.orig ./CMakeLists.txt
---- a/CMakeLists.txt.orig 2014-11-11 20:38:40.706121207 +0100
-+++ b/CMakeLists.txt 2014-11-11 20:39:34.206120264 +0100
-@@ -165,7 +165,7 @@ include_directories(
- ${X11_Xft_INCLUDE_PATH}
- ${X11_Xrender_INCLUDE_PATH}
- ${X11_Xrandr_INCLUDE_PATH}
-- ${FREETYPE_INCLUDE_DIR_freetype2}
-+ ${FREETYPE_INCLUDE_DIRS}
- ${X11_Xmu_INCLUDE_PATH}
- ${ZLIB_INCLUDE_DIR}
- ${JPEG_INCLUDE_DIR}
diff --git a/x11-misc/slim/files/slim-1.3.6-gcc11.patch b/x11-misc/slim/files/slim-1.3.6-gcc11.patch
deleted file mode 100644
index a6b07c637780..000000000000
--- a/x11-misc/slim/files/slim-1.3.6-gcc11.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-https://bugs.gentoo.org/786498
---- a/panel.cpp
-+++ b/panel.cpp
-@@ -48,7 +48,7 @@
- gcm = GCGraphicsExposures;
- gcv.graphics_exposures = False;
- WinGC = XCreateGC(Dpy, Win, gcm, &gcv);
-- if (WinGC < 0) {
-+ if (WinGC == 0) {
- cerr << APPNAME
- << ": failed to create pixmap\n.";
- exit(ERR_EXIT);
diff --git a/x11-misc/slim/files/slim-1.3.6-honour-cflags.patch b/x11-misc/slim/files/slim-1.3.6-honour-cflags.patch
deleted file mode 100644
index 2a43be75fb02..000000000000
--- a/x11-misc/slim/files/slim-1.3.6-honour-cflags.patch
+++ /dev/null
@@ -1,14 +0,0 @@
---- a/CMakeLists.txt 2013-10-01 18:38:05.000000000 -0400
-+++ b/CMakeLists.txt.new 2013-10-15 11:33:18.975741094 -0400
-@@ -42,11 +42,6 @@
- set(SLIM_DEFINITIONS ${SLIM_DEFINITIONS} "-DPKGDATADIR=\"${PKGDATADIR}\"")
- set(SLIM_DEFINITIONS ${SLIM_DEFINITIONS} "-DSYSCONFDIR=\"${SYSCONFDIR}\"")
-
--# Flags
--set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -g -O2")
--set(CMAKE_CPP_FLAGS "${CMAKE_CPP_FLAGS} -Wall -g -O2")
--set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -g -O2")
--
- # source
- set(slim_srcs
- main.cpp
diff --git a/x11-misc/slim/files/slim-1.3.6-libslim-cmake-fixes.patch b/x11-misc/slim/files/slim-1.3.6-libslim-cmake-fixes.patch
deleted file mode 100644
index 11e39dc97628..000000000000
--- a/x11-misc/slim/files/slim-1.3.6-libslim-cmake-fixes.patch
+++ /dev/null
@@ -1,33 +0,0 @@
---- a/CMakeLists.txt 2013-10-15 11:35:16.688739802 -0400
-+++ b/CMakeLists.txt 2013-10-15 11:53:46.185727620 -0400
-@@ -115,6 +115,7 @@
- message("\tPAM Found")
- set(SLIM_DEFINITIONS ${SLIM_DEFINITIONS} "-DUSE_PAM")
- target_link_libraries(${PROJECT_NAME} ${PAM_LIBRARY})
-+ target_link_libraries(libslim ${PAM_LIBRARY})
- target_link_libraries(slimlock ${PAM_LIBRARY})
- include_directories(${PAM_INCLUDE_DIR})
- else(PAM_FOUND)
-@@ -173,7 +174,10 @@
- )
-
- target_link_libraries(libslim
-- ${JPEG_LIBRARIES}
-+ ${RT_LIB}
-+ ${X11_Xft_LIB}
-+ ${X11_Xrandr_LIB}
-+ ${JPEG_LIBRARIES}
- ${PNG_LIBRARIES}
- )
-
-@@ -228,8 +228,8 @@
- SOVERSION ${SLIM_VERSION})
-
- install(TARGETS libslim
-- LIBRARY DESTINATION lib
-- ARCHIVE DESTINATION lib
-+ LIBRARY DESTINATION lib${LIB_SUFFIX}
-+ ARCHIVE DESTINATION lib${LIB_SIFFUX}
- )
- endif (BUILD_SHARED_LIBS)
-
diff --git a/x11-misc/slim/files/slim-1.3.6-session-chooser.patch b/x11-misc/slim/files/slim-1.3.6-session-chooser.patch
deleted file mode 100644
index b43c9a307605..000000000000
--- a/x11-misc/slim/files/slim-1.3.6-session-chooser.patch
+++ /dev/null
@@ -1,115 +0,0 @@
---- a/cfg.cpp 2013-10-01 18:38:05.000000000 -0400
-+++ b/cfg.cpp 2013-10-24 12:12:20.584103253 -0400
-@@ -274,14 +274,14 @@
- while (true) {
- string::const_iterator begin = s;
- while (*s != c && s != str.end()) { ++s; }
-- tmp = string(begin, s);
-- if (useEmpty || tmp.size() > 0)
-+ tmp = string(begin, s);
-+ if (useEmpty || tmp.size() > 0)
- v.push_back(tmp);
- if (s == str.end()) {
- break;
- }
- if (++s == str.end()) {
-- if (useEmpty)
-+ if (useEmpty)
- v.push_back("");
- break;
- }
-@@ -289,6 +289,7 @@
- }
-
- void Cfg::fillSessionList(){
-+ string strSessionList = getOption("sessions");
- string strSessionDir = getOption("sessiondir");
-
- sessions.clear();
-@@ -307,29 +308,29 @@
- struct stat oFileStat;
-
- if (stat(strFile.c_str(), &oFileStat) == 0) {
-- if (S_ISREG(oFileStat.st_mode) &&
-- access(strFile.c_str(), R_OK) == 0){
-- ifstream desktop_file( strFile.c_str() );
-- if (desktop_file){
-- string line, session_name = "", session_exec = "";
-- while (getline( desktop_file, line )) {
-- if (line.substr(0, 5) == "Name=") {
-- session_name = line.substr(5);
-- if (!session_exec.empty())
-- break;
-- } else
-- if (line.substr(0, 5) == "Exec=") {
-- session_exec = line.substr(5);
-- if (!session_name.empty())
-- break;
-- }
-- }
-- desktop_file.close();
-- pair<string,string> session(session_name,session_exec);
-- sessions.push_back(session);
-- cout << session_exec << " - " << session_name << endl;
-- }
--
-+ if (S_ISREG(oFileStat.st_mode) &&
-+ access(strFile.c_str(), R_OK) == 0){
-+ ifstream desktop_file( strFile.c_str() );
-+ if (desktop_file){
-+ string line, session_name = "", session_exec = "";
-+ while (getline( desktop_file, line )) {
-+ if (line.substr(0, 5) == "Name=") {
-+ session_name = line.substr(5);
-+ if (!session_exec.empty()) break;
-+ } else if (line.substr(0, 5) == "Exec=") {
-+ session_exec = line.substr(5);
-+ if (!session_name.empty()) break;
-+ }
-+ }
-+ desktop_file.close();
-+ if (!session_name.empty() && !session_exec.empty()) {
-+ pair<string,string> session(session_name,session_exec);
-+ sessions.push_back(session);
-+ } else if (access(strFile.c_str(), X_OK) == 0) {
-+ pair<string,string> session(string(pDirent->d_name),strFile);
-+ sessions.push_back(session);
-+ }
-+ }
- }
- }
- }
-@@ -338,8 +339,18 @@
- }
-
- if (sessions.empty()){
-- pair<string,string> session("","");
-- sessions.push_back(session);
-+ if (strSessionList.empty()) {
-+ pair<string,string> session("","");
-+ sessions.push_back(session);
-+ } else {
-+ // iterate through the split of the session list
-+ vector<string> sessit;
-+ split(sessit,strSessionList,',',false);
-+ for (vector<string>::iterator it = sessit.begin(); it != sessit.end(); ++it) {
-+ pair<string,string> session(*it,*it);
-+ sessions.push_back(session);
-+ }
-+ }
- }
- }
-
---- a/app.cpp 2013-10-24 12:16:59.870111072 -0400
-+++ b/app.cpp 2013-10-24 12:29:59.899132910 -0400
-@@ -377,10 +377,6 @@
- LoginPanel->SetName(cfg->getOption("default_user") );
- }
-
-- if (firstloop) {
-- LoginPanel->SwitchSession();
-- }
--
- if (!AuthenticateUser(focuspass && firstloop)){
- panelclosed = 0;
- firstloop = false;
diff --git a/x11-misc/slim/files/slim-1.3.6-strip-systemd-unit-install.patch b/x11-misc/slim/files/slim-1.3.6-strip-systemd-unit-install.patch
deleted file mode 100644
index 9ffa19ce0537..000000000000
--- a/x11-misc/slim/files/slim-1.3.6-strip-systemd-unit-install.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- a/CMakeLists.txt 2013-10-15 12:02:13.463722050 -0400
-+++ b/CMakeLists.txt 2013-10-17 09:41:41.602917345 -0400
-@@ -238,10 +238,6 @@
- install(FILES slimlock.1 DESTINATION ${MANDIR}/man1/)
- # configure
- install(FILES slim.conf DESTINATION ${SYSCONFDIR})
--# systemd service file
--if (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
-- install(FILES slim.service DESTINATION ${LIBDIR}/systemd/system)
--endif (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
- # themes directory
- subdirs(themes)
-
diff --git a/x11-misc/slim/files/slim-1.3.6-systemd-session.patch b/x11-misc/slim/files/slim-1.3.6-systemd-session.patch
deleted file mode 100644
index 0639aeb5f185..000000000000
--- a/x11-misc/slim/files/slim-1.3.6-systemd-session.patch
+++ /dev/null
@@ -1,29 +0,0 @@
---- a/app.cpp 2013-10-23 16:19:57.074100282 -0400
-+++ b/app.cpp 2013-10-23 16:33:13.302122574 -0400
-@@ -829,8 +829,13 @@
-
- StopServer();
- RemoveLock();
-- while (waitpid(-1, NULL, WNOHANG) > 0); /* Collects all dead childrens */
-- Run();
-+ if (force_nodaemon) {
-+ delete LoginPanel;
-+ exit(ERR_EXIT); /* use ERR_EXIT so that systemd's RESTART=on-failure works */
-+ } else {
-+ while (waitpid(-1, NULL, WNOHANG) > 0); /* Collects all dead childrens */
-+ Run();
-+ }
- }
-
- void App::KillAllClients(Bool top) {
---- a/slim.service 2013-10-23 16:19:57.074100282 -0400
-+++ b/slim.service 2013-10-23 16:45:14.901142776 -0400
-@@ -4,6 +4,7 @@
-
- [Service]
- ExecStart=/usr/bin/slim -nodaemon -s
-+Restart=on-failure
-
- [Install]
- Alias=display-manager.service
-Common subdirectories: slim-1.3.6/themes and slim-1.3.6.new/themes
diff --git a/x11-misc/slim/files/slim-1.3.9-config.diff b/x11-misc/slim/files/slim-1.3.9-config.diff
deleted file mode 100644
index da7e69f2eccd..000000000000
--- a/x11-misc/slim/files/slim-1.3.9-config.diff
+++ /dev/null
@@ -1,49 +0,0 @@
-Customize the configuration file to suit Gentoo practice
-===================================================================
---- a/slim.conf
-+++ b/slim.conf
-@@ -21,7 +21,7 @@
-
- # Activate numlock when slim starts. Valid values: on|off
- # Default is to not change it
--# numlock on
-+numlock on
-
- # Hide the mouse cursor (note: does not work with some WMs).
- # Valid values: true|false
-@@ -36,7 +36,8 @@
- # to adjust the command according to your preferred shell,
- # i.e. for freebsd use:
- # login_cmd exec /bin/sh - ~/.xinitrc %session
--login_cmd exec /bin/bash -login ~/.xinitrc %session
-+# login_cmd exec /bin/bash -login ~/.xinitrc %session
-+login_cmd exec /bin/bash -login /usr/share/slim/Xsession %session
-
- # Commands executed when starting and exiting a session.
- # They can be used for registering a X11 session with
-@@ -66,12 +67,12 @@
- # %session is the Exec= value -- note that this may provide a full
- # path to the session executable!
--#sessiondir /usr/share/xsessions
-+sessiondir /usr/share/xsessions
-
-
--# Executed when pressing F11 (requires imagemagick)
-+# Executed when pressing F11 (requires media-gfx/imagemagick for import)
- screenshot_cmd import -window root /slim.png
--# Alternative using scrot.
-+# Alternative is media-gfx/scrot. See Gentoo bug 252241 for more info.
- #screenshot_cmd scrot /root/slim.png
-
- # welcome message. Available variables: %host, %domain
- welcome_msg Welcome to %host
-@@ -111,8 +111,8 @@
- # randomly choose from
- current_theme default
-
--# Lock file
-+# Lock file, /etc/init.d/xdm expects slim.pid
- lockfile /run/slim.pid
-
- # Log file
- logfile /var/log/slim.log
diff --git a/x11-misc/slim/files/slim-1.3.9-greeter-session.diff b/x11-misc/slim/files/slim-1.3.9-greeter-session.diff
deleted file mode 100644
index c9e5e256850a..000000000000
--- a/x11-misc/slim/files/slim-1.3.9-greeter-session.diff
+++ /dev/null
@@ -1,12 +0,0 @@
-Fix bug #727544 by telling elogind that we're a greeter
-===================================================================
---- a/app.cpp
-+++ b/app.cpp
-@@ -290,6 +290,7 @@
- pam.start("slim");
- pam.set_item(PAM::Authenticator::TTY, DisplayName);
- pam.set_item(PAM::Authenticator::Requestor, "root");
-+ pam.setenv("XDG_SESSION_CLASS", "greeter");
- }
- catch(PAM::Exception& e){
- logStream << APPNAME << ": " << e << endl;
diff --git a/x11-misc/slim/slim-1.3.6-r5.ebuild b/x11-misc/slim/slim-1.3.6-r5.ebuild
deleted file mode 100644
index 7cad37d07bb7..000000000000
--- a/x11-misc/slim/slim-1.3.6-r5.ebuild
+++ /dev/null
@@ -1,133 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake pam systemd
-
-DESCRIPTION="Simple Login Manager"
-HOMEPAGE="https://sourceforge.net/projects/slim.berlios/"
-SRC_URI="mirror://sourceforge/project/${PN}.berlios/${P}.tar.gz"
-KEYWORDS="amd64 arm ~arm64 ~mips ppc ppc64 ~riscv sparc x86"
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="branding pam"
-
-RDEPEND="x11-libs/libXmu
- x11-libs/libX11
- x11-libs/libXpm
- x11-libs/libXft
- x11-libs/libXrandr
- media-libs/libpng:0=
- virtual/jpeg:=
- x11-apps/sessreg
- pam? ( sys-libs/pam )"
-DEPEND="${RDEPEND}
- x11-base/xorg-proto"
-BDEPEND="virtual/pkgconfig"
-PDEPEND="branding? ( >=x11-themes/slim-themes-1.2.3a-r3 )"
-
-PATCHES=(
- # Our Gentoo-specific config changes
- "${FILESDIR}"/${P}-config.diff
- "${FILESDIR}"/${PN}-1.3.5-arm.patch
- "${FILESDIR}"/${P}-honour-cflags.patch
- "${FILESDIR}"/${P}-libslim-cmake-fixes.patch
- "${FILESDIR}"/${PN}-1.3.5-disable-ck-for-systemd.patch
- "${FILESDIR}"/${P}-strip-systemd-unit-install.patch
- "${FILESDIR}"/${P}-systemd-session.patch
- "${FILESDIR}"/${P}-session-chooser.patch
- "${FILESDIR}"/${P}-fix-slimlock-nopam-v2.patch
- "${FILESDIR}"/${P}-drop-zlib.patch
- "${FILESDIR}"/${P}-freetype.patch
- "${FILESDIR}"/${P}-envcpy-bad-pointer-arithmetic.patch
- "${FILESDIR}"/${PN}-1.3.6-add-missing-libgen_h.patch
- "${FILESDIR}"/${PN}-1.3.6-gcc11.patch
-)
-
-src_prepare() {
- cmake_src_prepare
-
- if use branding; then
- sed -i -e 's/ default/ slim-gentoo-simple/' slim.conf || die
- fi
-}
-
-src_configure() {
- local mycmakeargs=(
- -DUSE_PAM=$(usex pam)
- -DUSE_CONSOLEKIT=OFF
- )
-
- cmake_src_configure
-}
-
-src_install() {
- cmake_src_install
-
- if use pam ; then
- pamd_mimic system-local-login slim auth account session
- pamd_mimic system-local-login slimlock auth
- fi
-
- systemd_dounit slim.service
-
- insinto /usr/share/slim
- newins "${FILESDIR}/Xsession-r3" Xsession
-
- insinto /etc/logrotate.d
- newins "${FILESDIR}/slim.logrotate" slim
-
- dodoc xinitrc.sample ChangeLog README TODO THEMES
-}
-
-pkg_postinst() {
- # massage ${REPLACING_VERSIONS} to come up with whether or not it's a new install
- # or if it's older than 1.3.2-r7
- # Note - there should only ever be zero or one version as this package isn't slotted,
- # so the logic doesn't worry about what happens if there's two, due to the case where
- # a previous emerge attempt failed in the middle of qmerge.
- local rv=none
- for rv in ${REPLACING_VERSIONS} ; do
- if ver_test "1.3.2-r7" -le "${rv}" ; then
- rv=newer
- break;
- fi
-
- if ver_test "1.0" -le "${rv}" ; then
- rv=older
- break;
- fi
- done
-
- if [[ ${rv} == none ]]; then
- elog
- elog "The configuration file is located at /etc/slim.conf."
- elog
- elog "If you wish ${PN} to start automatically, set DISPLAYMANAGER=\"${PN}\" "
- elog "in /etc/conf.d/xdm and run \"rc-update add xdm default\"."
- fi
- if [[ ${rv} != newer ]]; then
- elog
- elog "By default, ${PN} is set up to do proper X session selection, including ~/.xsession"
- elog "support, as well as selection between sessions available in"
- elog "/etc/X11/Sessions/ at login by pressing [F1]."
- elog
- elog "The XSESSION environment variable is still supported as a default"
- elog "if no session has been specified by the user."
- elog
- elog "If you want to use .xinitrc in the user's home directory for session"
- elog "management instead, see README and xinitrc.sample in"
- elog "/usr/share/doc/${PF} and change your login_cmd in /etc/slim.conf"
- elog "accordingly."
- elog
- fi
-
- if ! use pam; then
- elog "You have merged ${PN} without USE=\"pam\", this will cause ${PN} to fall back to"
- elog "the console when restarting your window manager. If this is not desired, then"
- elog "please remerge ${PN} with USE=\"pam\""
- elog
- fi
-}
diff --git a/x11-misc/slim/slim-1.3.9.ebuild b/x11-misc/slim/slim-1.3.9.ebuild
deleted file mode 100644
index e4a798f76287..000000000000
--- a/x11-misc/slim/slim-1.3.9.ebuild
+++ /dev/null
@@ -1,98 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake pam readme.gentoo-r1 systemd
-
-DESCRIPTION="Simple Login Manager resurrected"
-HOMEPAGE="https://slim-fork.sourceforge.io/"
-SRC_URI="mirror://sourceforge/project/${PN}-fork/${P}.tar.gz"
-KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="branding pam"
-
-RDEPEND="media-libs/libjpeg-turbo:=
- media-libs/libpng:0=
- x11-apps/sessreg
- x11-libs/libX11
- x11-libs/libXft
- x11-libs/libXmu
- x11-libs/libXpm
- x11-libs/libXrandr
- pam? (
- sys-libs/pam
- x11-libs/libXext
- )"
-DEPEND="${RDEPEND}
- x11-base/xorg-proto"
-BDEPEND="virtual/pkgconfig"
-PDEPEND="branding? ( >=x11-themes/slim-themes-1.2.3a-r3 )"
-
-PATCHES=(
- # Our Gentoo-specific config changes
- "${FILESDIR}"/${P}-config.diff
- "${FILESDIR}"/${P}-greeter-session.diff
-)
-
-DISABLE_AUTOFORMATTING=1
-DOC_CONTENTS="
-The configuration file is located at /etc/slim.conf.
-
-If you wish ${PN} to start automatically, set DISPLAYMANAGER=\"${PN}\"
-in /etc/conf.d/display-manager and run
-
- # rc-update add display-manager default.
-
-See also https://wiki.gentoo.org/wiki/SLiM
-"
-
-src_prepare() {
- cmake_src_prepare
-
- if use branding; then
- sed -i -e '/current_theme/s/default/slim-gentoo-simple/' slim.conf || die
- fi
-}
-
-src_configure() {
- local mycmakeargs=(
- -DUSE_PAM=$(usex pam)
- -DUSE_CONSOLEKIT=OFF
- )
-
- cmake_src_configure
-}
-
-src_install() {
- cmake_src_install
-
- if use pam ; then
- pamd_mimic system-local-login slim auth account session
- pamd_mimic system-local-login slimlock auth
- fi
-
- systemd_dounit slim.service
-
- insinto /usr/share/slim
- newins "${FILESDIR}/Xsession-r3" Xsession
-
- insinto /etc/logrotate.d
- newins "${FILESDIR}/slim.logrotate" slim
-
- dodoc xinitrc.sample ChangeLog README TODO THEMES
- readme.gentoo_create_doc
-}
-
-pkg_postinst() {
- readme.gentoo_print_elog
-
- if ! use pam; then
- elog "You have merged ${PN} without USE=\"pam\", this will cause ${PN} to fall back to"
- elog "the console when restarting your window manager. If this is not desired, then"
- elog "please remerge ${PN} with USE=\"pam\""
- elog
- fi
-}
diff --git a/x11-misc/slim/slim-1.4.0.ebuild b/x11-misc/slim/slim-1.4.0.ebuild
index 2ba3179af013..f2e460cb29dd 100644
--- a/x11-misc/slim/slim-1.4.0.ebuild
+++ b/x11-misc/slim/slim-1.4.0.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == "9999" ]] ; then
inherit subversion
else
SRC_URI="mirror://sourceforge/project/${PN}-fork/${P}.tar.gz"
- KEYWORDS="amd64 arm ~arm64 ~mips ppc ppc64 ~riscv sparc ~x86"
+ KEYWORDS="amd64 arm ~arm64 ~mips ppc ppc64 ~riscv sparc x86"
fi
DESCRIPTION="Simple Login Manager resurrected"
@@ -22,6 +22,7 @@ IUSE="branding pam"
RDEPEND="media-libs/libjpeg-turbo:=
media-libs/libpng:0=
+ virtual/libcrypt:=
x11-apps/sessreg
x11-libs/libX11
x11-libs/libXft
diff --git a/x11-misc/slim/slim-9999.ebuild b/x11-misc/slim/slim-9999.ebuild
index a48f2bde4254..bf37ab145178 100644
--- a/x11-misc/slim/slim-9999.ebuild
+++ b/x11-misc/slim/slim-9999.ebuild
@@ -22,6 +22,7 @@ IUSE="branding pam"
RDEPEND="media-libs/libjpeg-turbo:=
media-libs/libpng:0=
+ virtual/libcrypt:=
x11-apps/sessreg
x11-libs/libX11
x11-libs/libXft