Created attachment 457396 [details] x11-wm/awesome-4.0 ebuild and related patches Awesome WM 4.0 was released, and I have created an ebuild for it by modifying the current newest ebuild. I have ported over any patches incompatible with the new release, and marked patches merged upstream as so, in a similar way to other merged patches at the time of creating the new ebuild. Attached are the new ebuild and all modified patches, in a .tar.gz archive. I have successfully built this on my machine, but I have a mix of stable and unstable packages. I would like someone to test build this, since I do not have a machine with all stable packages at the time.
Created attachment 457398 [details] x11-wm/awesome-4.0 ebuild and related patches Sorry, the previous ebuild failed to install because of misconfiguration in the DOCS variable. Attaching an archive with an updated ebuild.
Thank you very much for your contribution. Please add the files directly as attachment, not as .zip/.tar.gz... I suggest to * remove the empty elog lines in the ebuild * bump to EAPI=6 If you prefer git for your future contributions with several files, have a look at https://wiki.gentoo.org/wiki/Gentoo_Github
I have updated the ebuild to EAPI 6, and removed empty elog lines. I will add one ebuild file and two renewed patches as attachments.
Created attachment 457470 [details] x11-wm/awesome-4.0 ebuild
Created attachment 457472 [details, diff] awesome-4.0-cflag-cleanup.patch
Created attachment 457474 [details, diff] awesome-4.0-convert-path.patch
Hello, I tried to build latest ebuild, and noticed that it misses dependency on x11-libs/xcb-util-xrm (which is ~arch masked). Another thing - it doesn't build with 'doc' USE flag set - missing ldoc tool. It isn't in portage tree, but can be installed with luarocks. It builds fine without 'doc' flag though. Hope this helps.
(In reply to Alex from comment #7) > Hello, I tried to build latest ebuild, and noticed that it misses dependency > on x11-libs/xcb-util-xrm (which is ~arch masked). > > Another thing - it doesn't build with 'doc' USE flag set - missing ldoc > tool. > It isn't in portage tree, but can be installed with luarocks. > > It builds fine without 'doc' flag though. > > Hope this helps. Thank you for testing. I must have missed xcb-util-xrm, assuming the depenencies were the same as 3.5.9. As for ldoc, I believe the course of action which is to be taken is to get it in portage, and then have that as a conditional dependency. Am I correct?
Created attachment 457816 [details] x11-wm/awesome-4.0.ebuild I went ahead and had a ldoc package added, and I have added that as a dependency to this ebuild. I also cleaned up some unneeded dependencies.
All my packages are stable, I have tested the ebuild and the 4.0 patches and awesome installs correctly.
(In reply to Alexandru Elisei from comment #10) > All my packages are stable, I have tested the ebuild and the 4.0 patches and > awesome installs correctly. And awesome works as expected, obviously. I have used it for a short time.
Created attachment 458012 [details] x11-wm/awesome-4.0.ebuild Updated ebuild: - include pax-mark m on awesome binary. otherwise it gets killed on hardened. not sure why yet. - stop einstalldocs from compressing svg files resulting in broken links - cleanup empty functions.
(In reply to Alex from comment #12) > Created attachment 458012 [details] > x11-wm/awesome-4.0.ebuild > > Updated ebuild: > > - include pax-mark m on awesome binary. otherwise it gets killed on > hardened. not sure why yet. > - stop einstalldocs from compressing svg files resulting in broken links > - cleanup empty functions. -- No package 'xcb-xrm' found CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:415 (message): A required package was not found Call Stack (most recent call first): /usr/share/cmake/Modules/FindPkgConfig.cmake:588 (_pkg_check_modules_internal) awesomeConfig.cmake:153 (pkg_check_modules) CMakeLists.txt:17 (include)
missing pedency: xcb-util-xrm
Created attachment 458640 [details] x11-wm/awesome-4.0.ebuild To Alex's ebuild, - Add x11-libs/xcb-util-keysyms as dep - Add x11-libs/xcb-util-wm as dep - Add x11-libs/xcb-util-xrm as dep
(In reply to tman from comment #14) > missing pedency: xcb-util-xrm My bad. I did a sloppy job at determining dependencies, partially because I incorrectly thought that xcb-util pulled in the other xcb-util-* packages.
(In reply to Tomoya Tabuchi from comment #16) > (In reply to tman from comment #14) > > missing pedency: xcb-util-xrm > > My bad. I did a sloppy job at determining dependencies, partially because I > incorrectly thought that xcb-util pulled in the other xcb-util-* packages. Calculating dependencies... done! [ebuild R ] x11-wm/awesome-3.5.9::lokal USE="dbus -doc -gnome" 0 KiB Total: 1 package (1 reinstall), Size of downloads: 0 KiB !!! The following update has been skipped due to unsatisfied dependencies: x11-wm/awesome:0 emerge: there are no ebuilds to satisfy ">=x11-libs/xcb_util-wm-0.3.8". (dependency required by "x11-wm/awesome-4.0::lokal" [ebuild]) well a mistake again? :))
Created attachment 458700 [details] x11-wm/awesome-4.0.ebuild
(In reply to tman from comment #17) > (In reply to Tomoya Tabuchi from comment #16) > > (In reply to tman from comment #14) > > > missing pedency: xcb-util-xrm > > > > My bad. I did a sloppy job at determining dependencies, partially because I > > incorrectly thought that xcb-util pulled in the other xcb-util-* packages. > > Calculating dependencies... done! > [ebuild R ] x11-wm/awesome-3.5.9::lokal USE="dbus -doc -gnome" 0 KiB > > Total: 1 package (1 reinstall), Size of downloads: 0 KiB > > !!! The following update has been skipped due to unsatisfied dependencies: > > x11-wm/awesome:0 > > emerge: there are no ebuilds to satisfy ">=x11-libs/xcb_util-wm-0.3.8". > (dependency required by "x11-wm/awesome-4.0::lokal" [ebuild]) > > > well a mistake again? :)) Oops... Please excuse me. I have fixed the typo.
(In reply to Tomoya Tabuchi from comment #19) > (In reply to tman from comment #17) > > (In reply to Tomoya Tabuchi from comment #16) > > > (In reply to tman from comment #14) > > > > missing pedency: xcb-util-xrm > > > > > > My bad. I did a sloppy job at determining dependencies, partially because I > > > incorrectly thought that xcb-util pulled in the other xcb-util-* packages. > > > > Calculating dependencies... done! > > [ebuild R ] x11-wm/awesome-3.5.9::lokal USE="dbus -doc -gnome" 0 KiB > > > > Total: 1 package (1 reinstall), Size of downloads: 0 KiB > > > > !!! The following update has been skipped due to unsatisfied dependencies: > > > > x11-wm/awesome:0 > > > > emerge: there are no ebuilds to satisfy ">=x11-libs/xcb_util-wm-0.3.8". > > (dependency required by "x11-wm/awesome-4.0::lokal" [ebuild]) > > > > > > well a mistake again? :)) > > Oops... > Please excuse me. I have fixed the typo. now it works fine thanks... i have a request if it would not to complicate for u: can u modify the build somehow to let it works with this awesome fork: https://github.com/Elv13/awesome-1/tree/upstream_shape_api_p4_unmerged it has some nice stuff in, its from core awesome programmer of awesome wm, but its only for testing, because it has some special improvements. he want to merge step by step in to upcoming awesome wm. but i want to test a bit :) thanks for your quick solutions
(In reply to Tomoya Tabuchi from comment #19) > (In reply to tman from comment #17) > > (In reply to Tomoya Tabuchi from comment #16) > > > (In reply to tman from comment #14) > > > > missing pedency: xcb-util-xrm > > > > > > My bad. I did a sloppy job at determining dependencies, partially because I > > > incorrectly thought that xcb-util pulled in the other xcb-util-* packages. > > > > Calculating dependencies... done! > > [ebuild R ] x11-wm/awesome-3.5.9::lokal USE="dbus -doc -gnome" 0 KiB > > > > Total: 1 package (1 reinstall), Size of downloads: 0 KiB > > > > !!! The following update has been skipped due to unsatisfied dependencies: > > > > x11-wm/awesome:0 > > > > emerge: there are no ebuilds to satisfy ">=x11-libs/xcb_util-wm-0.3.8". > > (dependency required by "x11-wm/awesome-4.0::lokal" [ebuild]) > > > > > > well a mistake again? :)) > > Oops... > Please excuse me. I have fixed the typo. there must be something wrong again : Would you like to merge these packages? [Yes/No] >>> Verifying ebuild manifests >>> Emerging (1 of 1) x11-wm/awesome-4.0::lokal >>> Downloading 'http://distfiles.gentoo.org/distfiles/awesome-4.0.tar.xz' --2017-01-04 12:09:27-- http://distfiles.gentoo.org/distfiles/awesome-4.0.tar.xz Resolving distfiles.gentoo.org... 137.226.34.46, 140.211.166.134, 156.56.247.195, ... Connecting to distfiles.gentoo.org|137.226.34.46|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2017-01-04 12:09:27 ERROR 404: Not Found. >>> Downloading 'https://github.com/awesomeWM/awesome-releases/raw/master/awesome-4.0.tar.xz' --2017-01-04 12:09:27-- https://github.com/awesomeWM/awesome-releases/raw/master/awesome-4.0.tar.xz Resolving github.com... 192.30.253.112, 192.30.253.113 Connecting to github.com|192.30.253.112|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://raw.githubusercontent.com/awesomeWM/awesome-releases/master/awesome-4.0.tar.xz [following] --2017-01-04 12:09:27-- https://raw.githubusercontent.com/awesomeWM/awesome-releases/master/awesome-4.0.tar.xz Resolving raw.githubusercontent.com... 151.101.12.133 Connecting to raw.githubusercontent.com|151.101.12.133|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 930664 (909K) [application/octet-stream] Saving to: '/mnt/portage/distfiles/awesome-4.0.tar.xz' /mnt/portage/distfi 100%[===================>] 908.85K 4.16MB/s in 0.2s 2017-01-04 12:09:28 (4.16 MB/s) - '/mnt/portage/distfiles/awesome-4.0.tar.xz' saved [930664/930664] !!! Fetched file: awesome-4.0.tar.xz VERIFY FAILED! !!! Reason: Filesize does not match recorded size !!! Got: 930664 !!! Expected: 1408070 Refetching... File renamed to '/mnt/portage/distfiles/awesome-4.0.tar.xz._checksum_failure_.sou83i9y' !!! Couldn't download 'awesome-4.0.tar.xz'. Aborting. * Fetch failed for 'x11-wm/awesome-4.0', Log file: * '/mnt/portage/logs/x11-wm:awesome-4.0:20170104-110927.log' >>> Failed to emerge x11-wm/awesome-4.0, Log file: >>> '/mnt/portage/logs/x11-wm:awesome-4.0:20170104-110927.log'
(In reply to tman from comment #21) > (In reply to Tomoya Tabuchi from comment #19) > > (In reply to tman from comment #17) > > > (In reply to Tomoya Tabuchi from comment #16) > > > > (In reply to tman from comment #14) > > > > > missing pedency: xcb-util-xrm > > > > > > > > My bad. I did a sloppy job at determining dependencies, partially because I > > > > incorrectly thought that xcb-util pulled in the other xcb-util-* packages. > > > > > > Calculating dependencies... done! > > > [ebuild R ] x11-wm/awesome-3.5.9::lokal USE="dbus -doc -gnome" 0 KiB > > > > > > Total: 1 package (1 reinstall), Size of downloads: 0 KiB > > > > > > !!! The following update has been skipped due to unsatisfied dependencies: > > > > > > x11-wm/awesome:0 > > > > > > emerge: there are no ebuilds to satisfy ">=x11-libs/xcb_util-wm-0.3.8". > > > (dependency required by "x11-wm/awesome-4.0::lokal" [ebuild]) > > > > > > > > > well a mistake again? :)) > > > > Oops... > > Please excuse me. I have fixed the typo. > > there must be something wrong again : > > > Would you like to merge these packages? [Yes/No] > > >>> Verifying ebuild manifests > > >>> Emerging (1 of 1) x11-wm/awesome-4.0::lokal > >>> Downloading 'http://distfiles.gentoo.org/distfiles/awesome-4.0.tar.xz' > --2017-01-04 12:09:27-- > http://distfiles.gentoo.org/distfiles/awesome-4.0.tar.xz > Resolving distfiles.gentoo.org... 137.226.34.46, 140.211.166.134, > 156.56.247.195, ... > Connecting to distfiles.gentoo.org|137.226.34.46|:80... connected. > HTTP request sent, awaiting response... 404 Not Found > 2017-01-04 12:09:27 ERROR 404: Not Found. > > >>> Downloading 'https://github.com/awesomeWM/awesome-releases/raw/master/awesome-4.0.tar.xz' > --2017-01-04 12:09:27-- > https://github.com/awesomeWM/awesome-releases/raw/master/awesome-4.0.tar.xz > Resolving github.com... 192.30.253.112, 192.30.253.113 > Connecting to github.com|192.30.253.112|:443... connected. > HTTP request sent, awaiting response... 302 Found > Location: > https://raw.githubusercontent.com/awesomeWM/awesome-releases/master/awesome- > 4.0.tar.xz [following] > --2017-01-04 12:09:27-- > https://raw.githubusercontent.com/awesomeWM/awesome-releases/master/awesome- > 4.0.tar.xz > Resolving raw.githubusercontent.com... 151.101.12.133 > Connecting to raw.githubusercontent.com|151.101.12.133|:443... connected. > HTTP request sent, awaiting response... 200 OK > Length: 930664 (909K) [application/octet-stream] > Saving to: '/mnt/portage/distfiles/awesome-4.0.tar.xz' > > /mnt/portage/distfi 100%[===================>] 908.85K 4.16MB/s in 0.2s > > > 2017-01-04 12:09:28 (4.16 MB/s) - > '/mnt/portage/distfiles/awesome-4.0.tar.xz' saved [930664/930664] > > !!! Fetched file: awesome-4.0.tar.xz VERIFY FAILED! > !!! Reason: Filesize does not match recorded size > !!! Got: 930664 > !!! Expected: 1408070 > Refetching... File renamed to > '/mnt/portage/distfiles/awesome-4.0.tar.xz._checksum_failure_.sou83i9y' > > !!! Couldn't download 'awesome-4.0.tar.xz'. Aborting. > * Fetch failed for 'x11-wm/awesome-4.0', Log file: > * '/mnt/portage/logs/x11-wm:awesome-4.0:20170104-110927.log' > > >>> Failed to emerge x11-wm/awesome-4.0, Log file: > > >>> '/mnt/portage/logs/x11-wm:awesome-4.0:20170104-110927.log' Strange. Works on my end. Do you perhaps need to do a ebuild digest?
(In reply to tman from comment #20) > (In reply to Tomoya Tabuchi from comment #19) > > (In reply to tman from comment #17) > > > (In reply to Tomoya Tabuchi from comment #16) > > > > (In reply to tman from comment #14) > > > > > missing pedency: xcb-util-xrm > > > > > > > > My bad. I did a sloppy job at determining dependencies, partially because I > > > > incorrectly thought that xcb-util pulled in the other xcb-util-* packages. > > > > > > Calculating dependencies... done! > > > [ebuild R ] x11-wm/awesome-3.5.9::lokal USE="dbus -doc -gnome" 0 KiB > > > > > > Total: 1 package (1 reinstall), Size of downloads: 0 KiB > > > > > > !!! The following update has been skipped due to unsatisfied dependencies: > > > > > > x11-wm/awesome:0 > > > > > > emerge: there are no ebuilds to satisfy ">=x11-libs/xcb_util-wm-0.3.8". > > > (dependency required by "x11-wm/awesome-4.0::lokal" [ebuild]) > > > > > > > > > well a mistake again? :)) > > > > Oops... > > Please excuse me. I have fixed the typo. > > now it works fine thanks... > > i have a request if it would not to complicate for u: can u modify the > build somehow to let it works with this awesome fork: > > https://github.com/Elv13/awesome-1/tree/upstream_shape_api_p4_unmerged > > it has some nice stuff in, its from core awesome programmer of awesome wm, > but its only for testing, because it has some special improvements. he want > to merge step by step in to upcoming awesome wm. but i want to test a bit :) > > thanks for your quick solutions I personally think it should be another package, but I think I'm not the one who decides. Anyone have an opinion?
> > Strange. Works on my end. > Do you perhaps need to do a ebuild digest? well the manifest file was the culprit, i have delete it and remake ebuild digest. so it got solved.
here are the listing of dependencies for awesome https://github.com/Elv13/awesome-1/tree/upstream_shape_api_p4_unmerged i am still needing a live ebuild for this fork in the same link. it would be nice if some can modidy ebuild to it. thanks
(In reply to tman from comment #25) > here are the listing of dependencies for awesome > > https://github.com/Elv13/awesome-1/tree/upstream_shape_api_p4_unmerged > > i am still needing a live ebuild for this fork in the same link. > > it would be nice if some can modidy ebuild to it. > > thanks I can understand the need for a live ebuild for upstream awesome, since they encourage the use of the master branch [1], but I can't justify creating a flag for individual forks. Even if it is one of a core dev. Should be a seperate package, at the least. Yet, I am not the one to make this call. Can't we wait until the branch gets merged to master?
(In reply to Tomoya Tabuchi from comment #26) > (In reply to tman from comment #25) > > here are the listing of dependencies for awesome > > > > https://github.com/Elv13/awesome-1/tree/upstream_shape_api_p4_unmerged > > > > i am still needing a live ebuild for this fork in the same link. > > > > it would be nice if some can modidy ebuild to it. > > > > thanks > > > I can understand the need for a live ebuild for upstream awesome, since they > encourage the use of the master branch [1], but I can't justify creating a > flag for individual forks. Even if it is one of a core dev. Should be a > seperate package, at the least. > > Yet, I am not the one to make this call. Can't we wait until the branch gets > merged to master? [1] https://github.com/awesomeWM/awesome/issues/1266
I don't want my fork to have a live ebuild. This is a bad idea. Otherwise, can someone please merge 4.0 and 9999, we get requests on IRC. Debian, Arch, Ubuntu and others already upgraded.
I would like to make that request as well. For future reference, what is the procedure for when a package maintainer doesn't respond for a long time?
Forgot to mention, I've opened a PR on github a while back. https://github.com/gentoo/gentoo/pull/3559
any reason why the ebuild, which works and has been around for more than a month, still hasn't made it's way into the tree?
(In reply to Tomoya Tabuchi from comment #30) > Forgot to mention, I've opened a PR on github a while back. > https://github.com/gentoo/gentoo/pull/3559 See my review.
(In reply to David Seifert from comment #32) > (In reply to Tomoya Tabuchi from comment #30) > > Forgot to mention, I've opened a PR on github a while back. > > https://github.com/gentoo/gentoo/pull/3559 > > See my review. I have made the changes you requested. Thank you for the review
With the version of the ebuild that made it to portage tree, I see an error with the pax marking. I am using ~amd64, and not hardened: PT_PAX marking -m /var/tmp/portage/x11-wm/awesome-4.0/image/usr/bin/awesome with paxctl PT_PAX marking -m /var/tmp/portage/x11-wm/awesome-4.0/image/usr/bin/awesome with scanelf XATTR_PAX marking -me /var/tmp/portage/x11-wm/awesome-4.0/image/usr/bin/awesome with setfattr Failed to set XATTR_PAX markings -me /var/tmp/portage/x11-wm/awesome-4.0/image/usr/bin/awesome. ERROR: x11-wm/awesome-4.0::gentoo failed (install phase): (no error message) Call stack: ebuild.sh, line 115: Called src_install environment, line 3274: Called die The specific snippet of code: pax-mark m "${ED%/}"/usr/bin/awesome || die;
Created attachment 463300 [details] emerge --info for ~amd64 system with failing pax marking
Created attachment 463302 [details] build.log for ~amd64 system with failing pax marking
commit 15b82804fc49896e5d3a671684dcc85e34e8db19 Author: David Seifert <soap@gentoo.org> Date: Sat Feb 11 22:32:05 2017 +0100 x11-wm/awesome: Make pax-mark failing non-fatal Bug: https://bugs.gentoo.org/show_bug.cgi?id=603734