From 6a88c00aa7aea54fc662489b6ef3bfc3b26b5045 Mon Sep 17 00:00:00 2001 From: Lukas Elsner Date: Thu, 6 Nov 2014 14:58:21 +1000 Subject: idea fixed --- dev-util/idea-community/Manifest | 4 +- .../idea-community/files/config-idea-community-14 | 4 ++ .../files/idea-community-14.sh.patch | 11 +++ .../idea-community-14.0.0.139.224.1.ebuild | 82 +++++++++++++++++++++ .../idea-community-14.0.139.224.ebuild | 82 --------------------- dev-util/idea-ultimate/Manifest | 4 +- .../idea-ultimate/files/config-idea-ultimate-14 | 4 ++ .../idea-ultimate/files/idea-ultimate-14.sh.patch | 11 +++ .../idea-ultimate-14.0.0.139.224.1.ebuild | 82 +++++++++++++++++++++ .../idea-ultimate-14.0.139.224.ebuild | 83 ---------------------- 10 files changed, 200 insertions(+), 167 deletions(-) create mode 100644 dev-util/idea-community/files/config-idea-community-14 create mode 100644 dev-util/idea-community/files/idea-community-14.sh.patch create mode 100644 dev-util/idea-community/idea-community-14.0.0.139.224.1.ebuild delete mode 100644 dev-util/idea-community/idea-community-14.0.139.224.ebuild create mode 100644 dev-util/idea-ultimate/files/config-idea-ultimate-14 create mode 100644 dev-util/idea-ultimate/files/idea-ultimate-14.sh.patch create mode 100644 dev-util/idea-ultimate/idea-ultimate-14.0.0.139.224.1.ebuild delete mode 100644 dev-util/idea-ultimate/idea-ultimate-14.0.139.224.ebuild diff --git a/dev-util/idea-community/Manifest b/dev-util/idea-community/Manifest index aaf35b8..92475a5 100644 --- a/dev-util/idea-community/Manifest +++ b/dev-util/idea-community/Manifest @@ -1,10 +1,12 @@ AUX config-idea-community-13 297 SHA256 0fa026884b5a534c73c1a9134eddd48f458adb333607d5f0d1b91234f3ebbcfd SHA512 433711c93a4f74c43ee687d9be51309d000195002783a027720b35edbbe4e86e27ab622c21472db77bd71d585cb00f99523fed8d620ab1e9249dce8aa7c6cd78 WHIRLPOOL 210e7f67cb7aec11fdac5f22437ed4473c1bddd258c7a4be10f53ac25f1955dc7087dc0d57c950f3f2b6da2f5b7d360fe2ffafba1eb84bfeddc73d514b639007 +AUX config-idea-community-14 297 SHA256 c956de02dcbef206bf82247c4addea9217e50349c22fe8f4bf73f174a2474645 SHA512 1b6392551aafa4fc3172d09cef394a02ee4f93fee4b21d66ad4926bf87c7d936bca90304ca6833767934ec59b4a36bdedcb2bf16e19c5ff91eb4ece0123a23e0 WHIRLPOOL c4b5584a0e1ea3585c6a58342e1bfc3d795f4f34a982bf1a7a728a2865d987ff31e2c09f85700e727fdf9272041e47ca1b8cae6b0229aae085351b4c2845f9db AUX config-idea-community-eap 299 SHA256 243623b5dfaa1c9fe88286a2f36d615331ae99c15e74f916966a5064b44b24aa SHA512 90f48a0c2e4205ec728d37f364a3ca71f8daec3d053cb38264490a0289c5298164637cbe3d8ec0bf913ee5f1b0877f07eab19469ace324cea4f61dfc6d04618c WHIRLPOOL f9af9fff8fb6aa196608d4e4821537a1187570ab68e39a9418347f204a5087b94805ad60e2479e78c80ef5782553be99bf557f6ac781f0d3fda9da4b43e3ba1a AUX idea-community-13.sh.patch 279 SHA256 30991ce711c222aff04cee7f38b9ee2800b4ea7dd492bad2433da5f8b3eee201 SHA512 eb36ecd84ce61c38a9a9055e932c20527ec63ec45240833e95c1a29a92c7a3d88b3e5a2c3a730eb6942e83b358f573c5b0ddb51455c31dfc04300c45798d147a WHIRLPOOL 947ccc8fc802d342165e019582064ae9cad7e11c7dba04720216b8a2f5ca7305a94c2bbc402017a3736989817814f51c47c2b1be6c4010b6f811797449906d19 +AUX idea-community-14.sh.patch 279 SHA256 e6be4829f22fb1413493502715880ba94e17555473ac2475ac27aeefcac4199a SHA512 f72afbc287e8e26ec2eab871515c1dfcc2e5a2d434a5e6d18cc1cea968a6438d30fc8121756c91cdfd6a31eba082bbb963351e051dd78979342d3d4eff54b90a WHIRLPOOL 65e30b611adb316c5a3792d27a7d2e902b89d901f095d443e1d2c73a0555ef3a0405bb3ec761e1670c963237068bb8f02acd54e6e6d5a9bbef97c68532683075 AUX idea-community-eap.sh.patch 280 SHA256 03b569c010bba2ee593775b53b29c6eca3bae2bbc9a635339889430bbef04f52 SHA512 02ab5b92089e5f038f1dff49b7e7ed24ac089335d30e11a9cb923a771401fae9554d6ec7be8dcd75f922061d4e6f784fd0b05f6bd3f40342a34ea82781a601fc WHIRLPOOL d67a11198c79da9b4661b950ab26480816063f0576968545b2e437564d3765b497ba1dfda6d469e075b4991f6f65ea301029c66edc84abdb13470526d70eeb82 DIST ideaIC-13.1.5.tar.gz 172480977 SHA256 e08b9adad0ed9aa62a43f3026a1b499d1663710314d00a3bec2e171a6c375f09 SHA512 7d0f1e7708b1a75e02b3ca1b2799de9998702cc764e0504b55450f36f74d345c59a4dbbc9a4c3f913447f0bf96c6dd5b9988b9cdd073d3f50565f5919564aeb7 WHIRLPOOL fc1c93bc7514ca841e12ecb2e1d4bd9554a20bf1f562331fad7c2b2de1facaeb851a15c2765ffe2ed4233afba8dee2057f3a27f2b6f7e86786782daf73934166 DIST ideaIC-14-PublicPreview.tar.gz 173567680 SHA256 a154635a026a2938cfd5b5790691e3742518e4e6ae4d116e26302acddf83a2e4 SHA512 3cc3e9e8bd4177100a61631a113587b11d5b73d637cebdee1007a62e8bf57b3c8a6d0a371bc0a805f27c14f0352b0e831f4af4af1c8f66824d012e90395049e3 WHIRLPOOL ca7a36341bc9629218a7583d48f67b207ad63504ae9966ee975ea90f4c2bbe6c8e8a398d05092bf867eee5a900f8e2115860934b4ab72348894a37f3da3effec DIST ideaIC-14.tar.gz 176745724 SHA256 72e1e7659aa90c0b520eed8190fa96899e26bde7448a9fe4ed43929ef25c508a SHA512 3847ecec58dd6d40983a063163ff511c916150eb3c731b157444555b4b1763dbea7dbc7929ee63bbca0c75df882dcdcfd6212b5956e9128babc8c1f08a6d5b8a WHIRLPOOL 855937f3f6ed785d6b2ab448941826e29155c743598c4ba005c705118a622941d6a75b7f0210d8ca7bdb716c2ed07cc37026b8374d2ba5f0b530a6025822a713 EBUILD idea-community-13.1.5.135.1289.ebuild 2397 SHA256 41d1b7d5309e806404e101dfc152ffb2822dc93ed072ab0104357f3497379e06 SHA512 efcaba87918d3819b05be35b8276766a5f83ef015524ab1d5a5258c3c8954929af02201b27fff7cc5ac166eb4301a6ede84a2f59ef79becac5350fab2c7b756d WHIRLPOOL ef30e814e0d26d78923b37fee193f9fec138b42d35e251aa48f505676aca9060b4448b8f3b8acf76e95bb22e403ed653901b4928612db9716243882015216cc9 EBUILD idea-community-14.0.0.138.2458.8_pre1.ebuild 2499 SHA256 9141338ca44fe8c75c4ab6ca2a06452eb5de14e007ecbdab95b0a527d15d3b5a SHA512 8648ba4def347ece0e7a69a0ccb0bd89de47ed515bef93f3d7bf736fca239ab349fedec9c78811aba3738488a5a0f89b132bf6e1f97a404461b94c2cb31e2e29 WHIRLPOOL a20ab1501517ea6cf191e0658a87c64aaf29062ca63898971194b111ed477d9efc6e3dcde789d47cdeed41b7279b5fb6763dd12e8df93e9e0bf141df8612ee4a -EBUILD idea-community-14.0.139.224.ebuild 2397 SHA256 9527986fcd8bcc3758abc57ce8e54aed51defe586c23e3c7724d03011112dd9d SHA512 02b379cb7601a9f0eae3ab14bcbb0ff7cdd8915134b1e2e4ee25b79b7c873d2ccdd8ada0f8489b41ab7524f7f2e55950c2739d5bc38b17922945eede57cf801c WHIRLPOOL 7ae9f53a6443f9ede3d4e1d33d42e4588ed3a2ec3362f98efdeea9745ef77ef612bb071d97387f743c9d33985f119f50c37d406cac703a7375522eef6410af1f +EBUILD idea-community-14.0.0.139.224.1.ebuild 2397 SHA256 6ddf77ff72459ff6d9d1fac7c2483ecf4c4424cbab0d3fdb2a3770958f4d0ca5 SHA512 348510ede83ac53a7355465dc0185eeb0768790ae73e1df8d23d4a777ff6b22aaf08bdcdbcfdb1ff0dcc25be1641e93adcfb3bd92b7d60c7bf6fa4673ec1312e WHIRLPOOL 14cab11f318196ef51f0e9e9ef0bc5c2dccbe5009b5bf9ca05b4477dac12cb7d88496796432b35e596c047ce2b8eb74e70f0fb6e82f98139ce3d02e601625a3d diff --git a/dev-util/idea-community/files/config-idea-community-14 b/dev-util/idea-community/files/config-idea-community-14 new file mode 100644 index 0000000..90d1ac3 --- /dev/null +++ b/dev-util/idea-community/files/config-idea-community-14 @@ -0,0 +1,4 @@ +#_JAVA_OPTIONS="-Dawt.useSystemAAFontSettings=on -Dswing.aatext=true -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel" +#IDEA_JDK="$(java-config --select-vm=icedtea-7 -O)" +IDEA_VM_OPTIONS="/etc/idea/idea-community-14.vmoptions" +IDEA_PROPERTIES="/etc/idea/idea-community-14.properties" diff --git a/dev-util/idea-community/files/idea-community-14.sh.patch b/dev-util/idea-community/files/idea-community-14.sh.patch new file mode 100644 index 0000000..ac42d3a --- /dev/null +++ b/dev-util/idea-community/files/idea-community-14.sh.patch @@ -0,0 +1,11 @@ +--- bin/idea.sh.orig 2013-12-04 21:22:26.168958134 +0700 ++++ bin/idea.sh 2013-12-04 21:25:11.628945405 +0700 +@@ -38,6 +38,8 @@ + exit 1 + fi + ++. /etc/conf.d/idea-community-14 ++ + OS_TYPE=`"$UNAME" -s` + + # --------------------------------------------------------------------- diff --git a/dev-util/idea-community/idea-community-14.0.0.139.224.1.ebuild b/dev-util/idea-community/idea-community-14.0.0.139.224.1.ebuild new file mode 100644 index 0000000..be3e57b --- /dev/null +++ b/dev-util/idea-community/idea-community-14.0.0.139.224.1.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 +inherit eutils versionator + +SLOT="$(get_major_version)" +RDEPEND=">=virtual/jdk-1.6" + +PN1=${PN%-*} +PN2=${PN#*-} +PNS=${PN1:0:1}${PN2:0:1} + +MY_PV="$(get_version_component_range 4-6)" +MY_PRE="$(get_version_component_range 7-7)" +MY_PRE=${MY_PRE/pre/} + +RESTRICT="strip mirror" +QA_TEXTRELS="opt/${P}/bin/libbreakgen.so" + +DESCRIPTION="IntelliJ IDEA is an intelligent Java IDE" +HOMEPAGE="http://jetbrains.com/idea/" + +if [ -z $MY_PRE ]; then + VER=($(get_all_version_components)) + if [[ "${VER[2]}" == "0" ]]; then + if [[ "${VER[4]}" == "0" ]]; then + SRC_URI="http://download.jetbrains.com/${PN1}/${PN1}${PNS^^}-$(get_version_component_range 1-1).tar.gz" + else + SRC_URI="http://download.jetbrains.com/${PN1}/${PN1}${PNS^^}-$(get_version_component_range 1-2).tar.gz" + fi + else + SRC_URI="http://download.jetbrains.com/${PN1}/${PN1}${PNS^^}-$(get_version_component_range 1-3).tar.gz" + fi +else + SRC_URI="http://download.jetbrains.com/${PN1}/${PN1}${PNS^^}-${MY_PV}.tar.gz" +fi + +LICENSE="IntelliJ-IDEA" +IUSE="" +KEYWORDS="~x86 ~amd64" +S="${WORKDIR}/${PN1}-${PNS^^}-${MY_PV}" + +src_prepare() { + epatch ${FILESDIR}/${PN}-${SLOT}.sh.patch || die +} + +src_install() { + local dir="/opt/${P}" + local exe="${PN}-${SLOT}" + newconfd "${FILESDIR}/config-${PN}-${SLOT}" ${PN}-${SLOT} + # config files + insinto "/etc/idea" + mv bin/idea.properties bin/${PN}-${SLOT}.properties + doins bin/${PN}-${SLOT}.properties + rm bin/${PN}-${SLOT}.properties + case $ARCH in + amd64|ppc64) + cat bin/idea64.vmoptions > bin/idea.vmoptions + rm bin/idea64.vmoptions + ;; + esac + mv bin/idea.vmoptions bin/${PN}-${SLOT}.vmoptions + doins bin/${PN}-${SLOT}.vmoptions + rm bin/${PN}-${SLOT}.vmoptions + ln -s /etc/idea/${PN}-${SLOT}.properties bin/idea.properties + ln -s /etc/idea/${PN}-${SLOT}.vmoptions bin/idea.vmoptions + # idea itself + insinto "${dir}" + doins -r * + fperms 755 "${dir}/bin/${PN1}.sh" + fperms 755 "${dir}/bin/fsnotifier" + fperms 755 "${dir}/bin/fsnotifier64" + newicon "bin/${PN1}.png" "${exe}.png" + make_wrapper "${exe}" "/opt/${P}/bin/${PN1}.sh" + make_desktop_entry ${exe} "IntelliJ IDEA ${PV}" "${exe}" "Development;IDE" + # Protect idea conf on upgrade + env_file="${T}/25${PN}-${SLOT}" + echo "CONFIG_PROTECT=\"\${CONFIG_PROTECT} /etc/idea/conf\"" > "${env_file}" || die + doenvd "${env_file}" +} diff --git a/dev-util/idea-community/idea-community-14.0.139.224.ebuild b/dev-util/idea-community/idea-community-14.0.139.224.ebuild deleted file mode 100644 index 85c9794..0000000 --- a/dev-util/idea-community/idea-community-14.0.139.224.ebuild +++ /dev/null @@ -1,82 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=4 -inherit eutils versionator - -SLOT="$(get_major_version)" -RDEPEND=">=virtual/jdk-1.6" - -PN1=${PN%-*} -PN2=${PN#*-} -PNS=${PN1:0:1}${PN2:0:1} - -MY_PV="$(get_version_component_range 4-5)" -MY_PRE="$(get_version_component_range 6-6)" -MY_PRE=${MY_PRE/pre/} - -RESTRICT="strip mirror" -QA_TEXTRELS="opt/${P}/bin/libbreakgen.so" - -DESCRIPTION="IntelliJ IDEA is an intelligent Java IDE" -HOMEPAGE="http://jetbrains.com/idea/" - -if [ -z $MY_PRE ]; then - VER=($(get_all_version_components)) - if [[ "${VER[2]}" == "0" ]]; then - if [[ "${VER[2]}" == "0" ]]; then - SRC_URI="http://download.jetbrains.com/${PN1}/${PN1}${PNS^^}-$(get_version_component_range 1-1).tar.gz" - else - SRC_URI="http://download.jetbrains.com/${PN1}/${PN1}${PNS^^}-$(get_version_component_range 1-2).tar.gz" - fi - else - SRC_URI="http://download.jetbrains.com/${PN1}/${PN1}${PNS^^}-$(get_version_component_range 1-3).tar.gz" - fi -else - SRC_URI="http://download.jetbrains.com/${PN1}/${PN1}${PNS^^}-${MY_PV}.tar.gz" -fi - -LICENSE="IntelliJ-IDEA" -IUSE="" -KEYWORDS="~x86 ~amd64" -S="${WORKDIR}/${PN1}-${PNS^^}-${MY_PV}" - -src_prepare() { - epatch ${FILESDIR}/${PN}-${SLOT}.sh.patch || die -} - -src_install() { - local dir="/opt/${P}" - local exe="${PN}-${SLOT}" - newconfd "${FILESDIR}/config-${PN}-${SLOT}" ${PN}-${SLOT} - # config files - insinto "/etc/idea" - mv bin/idea.properties bin/${PN}-${SLOT}.properties - doins bin/${PN}-${SLOT}.properties - rm bin/${PN}-${SLOT}.properties - case $ARCH in - amd64|ppc64) - cat bin/idea64.vmoptions > bin/idea.vmoptions - rm bin/idea64.vmoptions - ;; - esac - mv bin/idea.vmoptions bin/${PN}-${SLOT}.vmoptions - doins bin/${PN}-${SLOT}.vmoptions - rm bin/${PN}-${SLOT}.vmoptions - ln -s /etc/idea/${PN}-${SLOT}.properties bin/idea.properties - ln -s /etc/idea/${PN}-${SLOT}.vmoptions bin/idea.vmoptions - # idea itself - insinto "${dir}" - doins -r * - fperms 755 "${dir}/bin/${PN1}.sh" - fperms 755 "${dir}/bin/fsnotifier" - fperms 755 "${dir}/bin/fsnotifier64" - newicon "bin/${PN1}.png" "${exe}.png" - make_wrapper "${exe}" "/opt/${P}/bin/${PN1}.sh" - make_desktop_entry ${exe} "IntelliJ IDEA ${PV}" "${exe}" "Development;IDE" - # Protect idea conf on upgrade - env_file="${T}/25${PN}-${SLOT}" - echo "CONFIG_PROTECT=\"\${CONFIG_PROTECT} /etc/idea/conf\"" > "${env_file}" || die - doenvd "${env_file}" -} diff --git a/dev-util/idea-ultimate/Manifest b/dev-util/idea-ultimate/Manifest index 8be034f..76bc47f 100644 --- a/dev-util/idea-ultimate/Manifest +++ b/dev-util/idea-ultimate/Manifest @@ -1,10 +1,12 @@ AUX config-idea-ultimate-13 295 SHA256 6326ebafc691696ca5f10e9bd938fa8c8aea7fcd9ee3393fa7f4fdcc6d389735 SHA512 a74c6e225c01ecc3d36c5a2a3b58155b27434c38bb5aaec840c36a5fbfc631dadf606b054f0e354517e1a43cadda6b48e4dd5fbaf95f43dc597d3d93a4cf3bf4 WHIRLPOOL 89a9f5aba7abd375df8c858861e9a50a3897685f429e59f848f2d31574b314d99eaebd5f6545852c624f10a34da959b25d84506d5ce955cf44986f672bc62ddb +AUX config-idea-ultimate-14 295 SHA256 ab36ac489240175e242844fa787102373ebb961d2d411252a887e60891a8a1a2 SHA512 ff45415d1d28d3ae91d9671bde77d9f7028d5ed005f434f56a3487049c2eb6559db2d3891791a6721d12e8fa282b013922ffc7f9f64e20bdc9eb1e20f0ab046f WHIRLPOOL ff33c5ba59e90c61ab6ce37830cf1b421f9c8ba268a9ded646e660275e4e24ebbdc76adeb522094daafd9d9a63bfcc8db25456f10b5b38e56e1773e8bfc637fd AUX config-idea-ultimate-eap 297 SHA256 07bc311f3e6784cacae66c50fe18a1a57bb9c11b8067d318a09b6cac3ae87ed0 SHA512 be2280c830856651deab0171d0e90961d7606bdad3e22ee45f732e12500053172456c142ffd20214f09ff69e1ef6a540be3d0da9b79ed42db4d351b76b70d0f4 WHIRLPOOL 9ce7bc2044730fda9411c1343420a6c229cacece61bd3c74fdce6e91c8d1f72379290c93ba0f94f2dbea96c0d9a69a1d9dee6ffdc118cead1be18b52208a8031 AUX idea-ultimate-13.sh.patch 278 SHA256 4fe375e9ef2d3cca17ebd8945429711ab10197057fb5603d8812debdf24b5cf3 SHA512 b76e1b23a00d725246a02ea7fac7ebdfa3b3d5660506072bb704b28ff6b6936c0b02444eaed0d925080f9fe352e23804e885dedb62da084f2705d0725fc7c4ef WHIRLPOOL 867dab73748604f2abdb90f499ba48ab148728ed1a1cd0e5a6dd5fc3c0b12a0e19c45f8ede7f3b2009ead66e89e1bee5f4a9fe0cb883062db97669d9bc42adad +AUX idea-ultimate-14.sh.patch 278 SHA256 a8f6cb7c7957eea70f97461abaaaec271f5530f671ea57d18054bfd6f7885b57 SHA512 b6f7ccdeb65ef8d43e4d9a79057f075efd0833625c87c48a58beed34373eb60fa78ca16eae8c3ccc950281798b75f1bce4a2d278edbc91cf9c34a0b9a3458f05 WHIRLPOOL b93c679ca9667295c63bb798542d999159cdd57f2d055a3634a61feae84a9f8e78a8f689a0b9a3bb235e62d2044f139ed8dd5d910cdd22b6ff8d4bb8b9c3cdcf AUX idea-ultimate-eap.sh.patch 279 SHA256 9392e8ffba3b41dc4d76188922ffa6d34cac5e06ab96efa7550e8d1d30b0edc3 SHA512 2430d197ca3cb35e2fe25b0d7dec13be8fe093ee7cdbb044effd40d574a537eb3b3ab988a285be62af9713f38383205174e87da90b67015eb1a9583f4984b021 WHIRLPOOL abf5a543036fca9b9cc5c8acc15c88051a096a0bcc9688851a021354052b56864f92ab61a01e1345df099fc190a2d59ae85058ed63436e33fa532731ba4eebeb DIST ideaIU-13.1.5.tar.gz 283593776 SHA256 0800b1ffc135f884e46f1004289fb75850148d705afc447d3374cfd281c231a2 SHA512 57b1b3acca7d776f059369016a0e1ce68c0e0cfe1160d0fad055b9fd299626567050bd9938c4d1a04e3dafcc1b0935f8f97dc00f1fba0cd66755e6d1d5eda3d2 WHIRLPOOL 7490f504c6f8788d10061bebf86f8cb16847415959173bdcd612c92edd4be7fd1f9d2bdd0333fa98821355e5521f0060ee304084763fa88de04fad7267a6ac76 DIST ideaIU-14-PublicPreview.tar.gz 283716662 SHA256 b93d6659cefe25a0e0ed4fa0592944ba867c36de3a090126b8deffbc7860ca26 SHA512 2b56edbcae3dd7c5f7539349fb67fbf78f3cfad9fc277206bb76d4a00c9f7b0cc33aaf46c560e3182b1081946af5a5058bb7496c889349015795228e4011f066 WHIRLPOOL b0a7e0eb61802d1cd9647453b24e2eb2231d4c7d15e4a2ed372ea805ab474a104edb58ad3d6e76f23e291ccffa5fa4a0d1d074e7d056cd41d8f719cf31ffa5de DIST ideaIU-14.tar.gz 287708668 SHA256 e1c86f0b39e74b3468f7512d299ad9e0ca0c492316e996e65089368aff5446c6 SHA512 9409b5730524bfd2932412a6004429ede9709f3c78e0a278d412e1070993277f93446d0afc8cb36523b32f6a658608071edcea0a72613f70530064b0f59381ba WHIRLPOOL 834a70ab938d6a17eae0f8ccc05da877d69c9fdd6e7103e45e8530eb3e61782f46d405c8257111ac9ccbf17d028f7c1bd2347c896412d7c9c0dcac9a56906511 EBUILD idea-ultimate-13.1.5.135.1289.ebuild 2397 SHA256 41d1b7d5309e806404e101dfc152ffb2822dc93ed072ab0104357f3497379e06 SHA512 efcaba87918d3819b05be35b8276766a5f83ef015524ab1d5a5258c3c8954929af02201b27fff7cc5ac166eb4301a6ede84a2f59ef79becac5350fab2c7b756d WHIRLPOOL ef30e814e0d26d78923b37fee193f9fec138b42d35e251aa48f505676aca9060b4448b8f3b8acf76e95bb22e403ed653901b4928612db9716243882015216cc9 EBUILD idea-ultimate-14.0.0.138.2458.8_pre1.ebuild 2500 SHA256 9c707844000038ec2a172f43aea7652fd773541c1a297a5539cd7551d83b3988 SHA512 b90c9863dcc933a5d074347934ae743a108932dfef96d19a0fc5aa9f3d2e0d4b8a5f0963bc47defea888ecda8c7d2220e37f52673f5e501f4322c82362facddf WHIRLPOOL fee1a5e28f01df8743f02ea614520895a67009bbcecd57c6928419b1d8e29e0de07f88fe6e81c2e2e31c69a6affe7e37726a754a8c0f07cb0558bfe8971241e9 -EBUILD idea-ultimate-14.0.139.224.ebuild 2460 SHA256 de56f94c07e1d5c1a12e1cebbb22e60cc8edbd921a13a8b5d33e3046f56ed73e SHA512 9d3602892945b62968416ab12fda1a104893c4e5a7a35c72d104ee7ddf1a290a63e81e6f06ecda56c25b0b79a259328a6e4695b01ccc5aa970c6648baabb4b47 WHIRLPOOL 879f2199ed8d072b2c3e0eb2ffec7e53a98276c2ba7e67a73ce9ef96fd58600ae603c9f528138334460e655d45e514e113cb3aa3bf758a1aed0c46c930ce7b56 +EBUILD idea-ultimate-14.0.0.139.224.1.ebuild 2397 SHA256 6ddf77ff72459ff6d9d1fac7c2483ecf4c4424cbab0d3fdb2a3770958f4d0ca5 SHA512 348510ede83ac53a7355465dc0185eeb0768790ae73e1df8d23d4a777ff6b22aaf08bdcdbcfdb1ff0dcc25be1641e93adcfb3bd92b7d60c7bf6fa4673ec1312e WHIRLPOOL 14cab11f318196ef51f0e9e9ef0bc5c2dccbe5009b5bf9ca05b4477dac12cb7d88496796432b35e596c047ce2b8eb74e70f0fb6e82f98139ce3d02e601625a3d diff --git a/dev-util/idea-ultimate/files/config-idea-ultimate-14 b/dev-util/idea-ultimate/files/config-idea-ultimate-14 new file mode 100644 index 0000000..6b7315e --- /dev/null +++ b/dev-util/idea-ultimate/files/config-idea-ultimate-14 @@ -0,0 +1,4 @@ +#_JAVA_OPTIONS="-Dawt.useSystemAAFontSettings=on -Dswing.aatext=true -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel" +#IDEA_JDK="$(java-config --select-vm=icedtea-7 -O)" +IDEA_VM_OPTIONS="/etc/idea/idea-ultimate-14.vmoptions" +IDEA_PROPERTIES="/etc/idea/idea-ultimate-14.properties" diff --git a/dev-util/idea-ultimate/files/idea-ultimate-14.sh.patch b/dev-util/idea-ultimate/files/idea-ultimate-14.sh.patch new file mode 100644 index 0000000..f29cb21 --- /dev/null +++ b/dev-util/idea-ultimate/files/idea-ultimate-14.sh.patch @@ -0,0 +1,11 @@ +--- bin/idea.sh.orig 2013-12-04 21:22:26.168958134 +0700 ++++ bin/idea.sh 2013-12-04 21:25:11.628945405 +0700 +@@ -38,6 +38,8 @@ + exit 1 + fi + ++. /etc/conf.d/idea-ultimate-14 ++ + OS_TYPE=`"$UNAME" -s` + + # --------------------------------------------------------------------- diff --git a/dev-util/idea-ultimate/idea-ultimate-14.0.0.139.224.1.ebuild b/dev-util/idea-ultimate/idea-ultimate-14.0.0.139.224.1.ebuild new file mode 100644 index 0000000..be3e57b --- /dev/null +++ b/dev-util/idea-ultimate/idea-ultimate-14.0.0.139.224.1.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 +inherit eutils versionator + +SLOT="$(get_major_version)" +RDEPEND=">=virtual/jdk-1.6" + +PN1=${PN%-*} +PN2=${PN#*-} +PNS=${PN1:0:1}${PN2:0:1} + +MY_PV="$(get_version_component_range 4-6)" +MY_PRE="$(get_version_component_range 7-7)" +MY_PRE=${MY_PRE/pre/} + +RESTRICT="strip mirror" +QA_TEXTRELS="opt/${P}/bin/libbreakgen.so" + +DESCRIPTION="IntelliJ IDEA is an intelligent Java IDE" +HOMEPAGE="http://jetbrains.com/idea/" + +if [ -z $MY_PRE ]; then + VER=($(get_all_version_components)) + if [[ "${VER[2]}" == "0" ]]; then + if [[ "${VER[4]}" == "0" ]]; then + SRC_URI="http://download.jetbrains.com/${PN1}/${PN1}${PNS^^}-$(get_version_component_range 1-1).tar.gz" + else + SRC_URI="http://download.jetbrains.com/${PN1}/${PN1}${PNS^^}-$(get_version_component_range 1-2).tar.gz" + fi + else + SRC_URI="http://download.jetbrains.com/${PN1}/${PN1}${PNS^^}-$(get_version_component_range 1-3).tar.gz" + fi +else + SRC_URI="http://download.jetbrains.com/${PN1}/${PN1}${PNS^^}-${MY_PV}.tar.gz" +fi + +LICENSE="IntelliJ-IDEA" +IUSE="" +KEYWORDS="~x86 ~amd64" +S="${WORKDIR}/${PN1}-${PNS^^}-${MY_PV}" + +src_prepare() { + epatch ${FILESDIR}/${PN}-${SLOT}.sh.patch || die +} + +src_install() { + local dir="/opt/${P}" + local exe="${PN}-${SLOT}" + newconfd "${FILESDIR}/config-${PN}-${SLOT}" ${PN}-${SLOT} + # config files + insinto "/etc/idea" + mv bin/idea.properties bin/${PN}-${SLOT}.properties + doins bin/${PN}-${SLOT}.properties + rm bin/${PN}-${SLOT}.properties + case $ARCH in + amd64|ppc64) + cat bin/idea64.vmoptions > bin/idea.vmoptions + rm bin/idea64.vmoptions + ;; + esac + mv bin/idea.vmoptions bin/${PN}-${SLOT}.vmoptions + doins bin/${PN}-${SLOT}.vmoptions + rm bin/${PN}-${SLOT}.vmoptions + ln -s /etc/idea/${PN}-${SLOT}.properties bin/idea.properties + ln -s /etc/idea/${PN}-${SLOT}.vmoptions bin/idea.vmoptions + # idea itself + insinto "${dir}" + doins -r * + fperms 755 "${dir}/bin/${PN1}.sh" + fperms 755 "${dir}/bin/fsnotifier" + fperms 755 "${dir}/bin/fsnotifier64" + newicon "bin/${PN1}.png" "${exe}.png" + make_wrapper "${exe}" "/opt/${P}/bin/${PN1}.sh" + make_desktop_entry ${exe} "IntelliJ IDEA ${PV}" "${exe}" "Development;IDE" + # Protect idea conf on upgrade + env_file="${T}/25${PN}-${SLOT}" + echo "CONFIG_PROTECT=\"\${CONFIG_PROTECT} /etc/idea/conf\"" > "${env_file}" || die + doenvd "${env_file}" +} diff --git a/dev-util/idea-ultimate/idea-ultimate-14.0.139.224.ebuild b/dev-util/idea-ultimate/idea-ultimate-14.0.139.224.ebuild deleted file mode 100644 index 0f614fd..0000000 --- a/dev-util/idea-ultimate/idea-ultimate-14.0.139.224.ebuild +++ /dev/null @@ -1,83 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=4 -inherit eutils versionator - -SLOT="$(get_major_version)" -RDEPEND=">=virtual/jdk-1.6" - -PN1=${PN%-*} -PN2=${PN#*-} -PNS=${PN1:0:1}${PN2:0:1} - -MY_PV="$(get_version_component_range 4-5)" -MY_PRE="$(get_version_component_range 6-6)" -MY_PRE=${MY_PRE/pre/} - -RESTRICT="strip mirror" -QA_TEXTRELS="opt/${P}/bin/libbreakgen.so" - -DESCRIPTION="IntelliJ IDEA is an intelligent Java IDE" -HOMEPAGE="http://jetbrains.com/idea/" - -if [ -z $MY_PRE ]; then - VER=($(get_all_version_components)) - #todo: totally messed and uncommented if stucture: CLEAN UP!! - if [[ "${VER[2]}" == "0" ]]; then - if [[ "${VER[2]}" == "0" ]]; then - SRC_URI="http://download.jetbrains.com/${PN1}/${PN1}${PNS^^}-$(get_version_component_range 1-1).tar.gz" - else - SRC_URI="http://download.jetbrains.com/${PN1}/${PN1}${PNS^^}-$(get_version_component_range 1-2).tar.gz" - fi - else - SRC_URI="http://download.jetbrains.com/${PN1}/${PN1}${PNS^^}-$(get_version_component_range 1-3).tar.gz" - fi -else - SRC_URI="http://download.jetbrains.com/${PN1}/${PN1}${PNS^^}-${MY_PV}.tar.gz" -fi - -LICENSE="IntelliJ-IDEA" -IUSE="" -KEYWORDS="~x86 ~amd64" -S="${WORKDIR}/${PN1}-${PNS^^}-${MY_PV}" - -src_prepare() { - epatch ${FILESDIR}/${PN}-${SLOT}.sh.patch || die -} - -src_install() { - local dir="/opt/${P}" - local exe="${PN}-${SLOT}" - newconfd "${FILESDIR}/config-${PN}-${SLOT}" ${PN}-${SLOT} - # config files - insinto "/etc/idea" - mv bin/idea.properties bin/${PN}-${SLOT}.properties - doins bin/${PN}-${SLOT}.properties - rm bin/${PN}-${SLOT}.properties - case $ARCH in - amd64|ppc64) - cat bin/idea64.vmoptions > bin/idea.vmoptions - rm bin/idea64.vmoptions - ;; - esac - mv bin/idea.vmoptions bin/${PN}-${SLOT}.vmoptions - doins bin/${PN}-${SLOT}.vmoptions - rm bin/${PN}-${SLOT}.vmoptions - ln -s /etc/idea/${PN}-${SLOT}.properties bin/idea.properties - ln -s /etc/idea/${PN}-${SLOT}.vmoptions bin/idea.vmoptions - # idea itself - insinto "${dir}" - doins -r * - fperms 755 "${dir}/bin/${PN1}.sh" - fperms 755 "${dir}/bin/fsnotifier" - fperms 755 "${dir}/bin/fsnotifier64" - newicon "bin/${PN1}.png" "${exe}.png" - make_wrapper "${exe}" "/opt/${P}/bin/${PN1}.sh" - make_desktop_entry ${exe} "IntelliJ IDEA ${PV}" "${exe}" "Development;IDE" - # Protect idea conf on upgrade - env_file="${T}/25${PN}-${SLOT}" - echo "CONFIG_PROTECT=\"\${CONFIG_PROTECT} /etc/idea/conf\"" > "${env_file}" || die - doenvd "${env_file}" -} -- cgit v1.2.3-65-gdbad