{"id":522,"date":"2023-07-13T18:06:39","date_gmt":"2023-07-13T18:06:39","guid":{"rendered":"https:\/\/blogs.gentoo.org\/gsoc\/?p=522"},"modified":"2023-07-13T18:10:39","modified_gmt":"2023-07-13T18:10:39","slug":"week-5-report-on-porting-gentoo-packages-to-modern-c","status":"publish","type":"post","link":"https:\/\/blogs.gentoo.org\/gsoc\/2023\/07\/13\/week-5-report-on-porting-gentoo-packages-to-modern-c\/","title":{"rendered":"Week 5 report on porting Gentoo packages to modern C"},"content":{"rendered":"<p>I&#8217;m writing this report on 13th July, almost two week late. See week 6 report for that, I had fallen a bit sick.<\/p>\n<p>Hello all, this is my week 5&#8217;s report for my project &#8220;Porting Gentoo&#8217;s<br \/>\npackages to Modern C&#8221;.<\/p>\n<p>First things first, we now have MATE desktop and related packages<br \/>\nported. Not only just in Modern C, but it&#8217;s now compatible with<br \/>\ngettext-0.22, too [1]. So if you are using llvm-musl or the llvm profile<br \/>\nyou can use MATE desktop.<\/p>\n<p>While fixing MATE settings-daemon I&#8217;ve learned two very valuable<br \/>\nlesson (thanks to my Sam),<br \/>\n&#8211; Getting feedback from upstream devs is important<br \/>\n&#8211; Casting variables in incompatible function pointer type of errors is<br \/>\nnot always correct, it might only temporarily fix the problem\/silence<br \/>\nthe warning.<br \/>\nI&#8217;m going to keep this two points in mind for the next and upcoming<br \/>\nweeks.<\/p>\n<p>Apart from the MATE work, I mostly adhered to my proposal timeline and<br \/>\nfixed more -Wimplicit-function-declaration bug, [2][3] and more.<\/p>\n<p>While strictly according to my proposal, coming two weeks (week 6 and 7)<br \/>\nare to be focused on -Wdeprecated-non-prototype. But in my experience<br \/>\ntill now there are not many bugs of this type. I&#8217;ll obviously keep an<br \/>\neye out for this bug types but I&#8217;ll most likely be solving more of<br \/>\n-Wimplicit-function-declaration or -Wincompatible-function-pointer-types<br \/>\ntype of bugs, as they seem to dominate the bug list\/tracker.<\/p>\n<p>Our midterm evaluation is also coming up, opens 10th this month, hence<br \/>\nworking towards that (mainly communicating with my mentors on any things<br \/>\nthey expect of me or would like to see\/get done before the evaluation).<br \/>\nNeedless to say super excited about that.<\/p>\n<p>Till then, see ya!<\/p>\n<p>[1]: <a href=\"https:\/\/github.com\/mate-desktop\/mate-panel\/pull\/1375\" target=\"_blank\" rel=\"noopener noreferrer\" data-saferedirecturl=\"https:\/\/www.google.com\/url?q=https:\/\/github.com\/mate-desktop\/mate-panel\/pull\/1375&amp;source=gmail&amp;ust=1689357738159000&amp;usg=AOvVaw2YBAAYmafnU35E0O6immn2\">https:\/\/github.com\/mate-desktop\/mate-panel\/pull\/1375<\/a><br \/>\n[2]: <a href=\"https:\/\/github.com\/gentoo\/gentoo\/pull\/31671\" target=\"_blank\" rel=\"noopener noreferrer\" data-saferedirecturl=\"https:\/\/www.google.com\/url?q=https:\/\/github.com\/gentoo\/gentoo\/pull\/31671&amp;source=gmail&amp;ust=1689357738159000&amp;usg=AOvVaw3qcSs4HqbSnxz-WxAJAqwI\">https:\/\/github.com\/gentoo\/gentoo\/pull\/31671<\/a><br \/>\n[3]: <a href=\"https:\/\/github.com\/gentoo\/gentoo\/pull\/31670\" target=\"_blank\" rel=\"noopener noreferrer\" data-saferedirecturl=\"https:\/\/www.google.com\/url?q=https:\/\/github.com\/gentoo\/gentoo\/pull\/31670&amp;source=gmail&amp;ust=1689357738159000&amp;usg=AOvVaw3C08vyfCB1XxV3R19s8LJV\">https:\/\/github.com\/gentoo\/gentoo\/pull\/31670<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;m writing this report on 13th July, almost two week late. See week 6 report for that, I had fallen a bit sick. Hello all, this is my week 5&#8217;s report for my project &#8220;Porting Gentoo&#8217;s packages to Modern C&#8221;. &hellip; <a href=\"https:\/\/blogs.gentoo.org\/gsoc\/2023\/07\/13\/week-5-report-on-porting-gentoo-packages-to-modern-c\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":176,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[16,20],"tags":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/blogs.gentoo.org\/gsoc\/wp-json\/wp\/v2\/posts\/522"}],"collection":[{"href":"https:\/\/blogs.gentoo.org\/gsoc\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.gentoo.org\/gsoc\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.gentoo.org\/gsoc\/wp-json\/wp\/v2\/users\/176"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.gentoo.org\/gsoc\/wp-json\/wp\/v2\/comments?post=522"}],"version-history":[{"count":2,"href":"https:\/\/blogs.gentoo.org\/gsoc\/wp-json\/wp\/v2\/posts\/522\/revisions"}],"predecessor-version":[{"id":527,"href":"https:\/\/blogs.gentoo.org\/gsoc\/wp-json\/wp\/v2\/posts\/522\/revisions\/527"}],"wp:attachment":[{"href":"https:\/\/blogs.gentoo.org\/gsoc\/wp-json\/wp\/v2\/media?parent=522"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.gentoo.org\/gsoc\/wp-json\/wp\/v2\/categories?post=522"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.gentoo.org\/gsoc\/wp-json\/wp\/v2\/tags?post=522"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}