{"id":239,"date":"2011-04-21T13:17:22","date_gmt":"2011-04-21T12:17:22","guid":{"rendered":"http:\/\/blog.ludovicfavre.ch\/?p=239"},"modified":"2011-04-23T20:30:45","modified_gmt":"2011-04-23T19:30:45","slug":"ebuild-pour-jd-gui","status":"publish","type":"post","link":"https:\/\/www.ludovicfavre.ch\/blog\/2011\/04\/ebuild-pour-jd-gui\/","title":{"rendered":"Ebuild pour JD-GUI"},"content":{"rendered":"<p><a href=\"http:\/\/blog.ludovicfavre.ch\/?attachment_id=244\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-244\" title=\"Capture d'\u00e9cran de JD-GUI\" src=\"http:\/\/blog.ludovicfavre.ch\/wp-content\/uploads\/2011\/04\/jdgui-300x240.png\" alt=\"Capture d'\u00e9cran de JD-GUI\" width=\"300\" height=\"240\" srcset=\"https:\/\/www.ludovicfavre.ch\/blog\/wp-content\/uploads\/2011\/04\/jdgui-300x240.png 300w, https:\/\/www.ludovicfavre.ch\/blog\/wp-content\/uploads\/2011\/04\/jdgui.png 726w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p><a title=\"http:\/\/java.decompiler.free.fr\/?q=jdgui\" href=\"http:\/\/java.decompiler.free.fr\/?q=jdgui\" target=\"_blank\">JD-GUI<\/a> est un utilitaire permettant d&rsquo;afficher le code source des fichiers \u00ab\u00a0.class\u00a0\u00bb Java.<br \/>\nCet utilitaire est gratuit pour une utilisation non-commerciale et afin de pouvoir l&rsquo;installer en tant que paquet sous Gentoo, j&rsquo;ai cr\u00e9\u00e9 un ebuild permettant son installation.<\/p>\n<p>Cet ebuild est loin d&rsquo;\u00eatre parfait (n&rsquo;h\u00e9sitez pas \u00e0 me faire vos remarques), mais remplit son r\u00f4le.<\/p>\n<p><strong>jd-gui-0.3.3.ebuild <\/strong>(\u00e0 placer dans <em>dev-util\/jd-gui )<\/em><\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n# Copyright 1999-2007 Gentoo Foundation\r\n# Distributed under the terms of the GNU General Public License v2\r\n# $Header: $\r\n\r\ninherit eutils multilib\r\n\r\nDESCRIPTION=&quot;A standalone graphical utility that displays Java source codes of \u201c.class\u201d file&quot;\r\nHOMEPAGE=&quot;http:\/\/java.decompiler.free.fr\/?q=jdgui&quot;\r\nSRC_URI=&quot;http:\/\/java.decompiler.free.fr\/jd-gui\/downloads\/${PF}.linux.i686.tar.gz&quot;\r\nLICENSE=&quot;Unknown&quot;\r\nSLOT=&quot;0&quot;\r\nKEYWORDS=&quot;~x86 ~x86-64&quot;\r\nIUSE=&quot;&quot;\r\nRESTRICT=&quot;strip mirror fetch&quot;\r\n\r\nDEPEND=&quot;&quot;\r\nRDEPEND=&quot;${DEPEND}&quot;\r\n\r\n\r\n\r\n\r\nsrc_unpack() {\r\n    unpack ${A}\r\n    #remove gnome related stuff (nautilus)\r\n    rm -rf contrib \r\n    \r\n    rm readme.txt\r\n}\r\n\r\n\r\nsrc_install() {\r\n\texeinto &quot;\/usr\/bin&quot;\r\n\tdoexe &quot;${WORKDIR}\/jd-gui&quot;\r\n}\r\n\r\npkg_postinst() {\r\n\t\teinfo &quot;JD-GUI is free for non-commercial use.&quot;\r\n\t\teinfo &quot;This means that JD-GUI shall not be included or embedded into commercial software products. &quot;\r\n\t\teinfo &quot;Nevertheless, JD-GUI may be freely used for personal needs in a commercial or non-commercial environments.&quot;\r\n\t\tewarn &quot;JD-GUI creates a jd-gui.cfg file in the current working directory.&quot;\r\n\t\tewarn &quot;Make sure you run it in a directory you can remove afterwards&quot;\r\n}\r\n<\/pre>\n<p>Plus d&rsquo;informations sur JD-GUI sur \u00a0<a href=\"http:\/\/java.decompiler.free.fr\/?q=jdgui\">http:\/\/java.decompiler.free.fr\/?q=jdgui<\/a><\/p>\n<p>&nbsp;<\/p>\n<p>Le code de l&rsquo;ebuild est accessible sur <a title=\"JD-GUI github\" href=\"https:\/\/github.com\/fludo\/bluespear-overlay\/tree\/master\/dev-util\/jd-gui\" target=\"_blank\">mon d\u00e9p\u00f4t github<\/a><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>JD-GUI est un utilitaire permettant d&rsquo;afficher le code source des fichiers \u00ab\u00a0.class\u00a0\u00bb Java. Cet utilitaire est gratuit pour une utilisation non-commerciale et afin de pouvoir l&rsquo;installer en tant que paquet sous Gentoo, j&rsquo;ai cr\u00e9\u00e9 un ebuild permettant son installation. Cet &hellip; <a href=\"https:\/\/www.ludovicfavre.ch\/blog\/2011\/04\/ebuild-pour-jd-gui\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[34,68],"tags":[69,7,35],"class_list":["post-239","post","type-post","status-publish","format-standard","hentry","category-ebuild","category-gentoo","tag-ebuild","tag-gentoo","tag-java"],"_links":{"self":[{"href":"https:\/\/www.ludovicfavre.ch\/blog\/wp-json\/wp\/v2\/posts\/239","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ludovicfavre.ch\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ludovicfavre.ch\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ludovicfavre.ch\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ludovicfavre.ch\/blog\/wp-json\/wp\/v2\/comments?post=239"}],"version-history":[{"count":10,"href":"https:\/\/www.ludovicfavre.ch\/blog\/wp-json\/wp\/v2\/posts\/239\/revisions"}],"predecessor-version":[{"id":245,"href":"https:\/\/www.ludovicfavre.ch\/blog\/wp-json\/wp\/v2\/posts\/239\/revisions\/245"}],"wp:attachment":[{"href":"https:\/\/www.ludovicfavre.ch\/blog\/wp-json\/wp\/v2\/media?parent=239"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ludovicfavre.ch\/blog\/wp-json\/wp\/v2\/categories?post=239"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ludovicfavre.ch\/blog\/wp-json\/wp\/v2\/tags?post=239"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}