summaryrefslogtreecommitdiff
path: root/dev-util/codeblocks
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/codeblocks')
-rw-r--r--dev-util/codeblocks/Manifest14
-rw-r--r--dev-util/codeblocks/codeblocks-17.12-r303.ebuild86
-rw-r--r--dev-util/codeblocks/codeblocks-17.12-r304.ebuild83
-rw-r--r--dev-util/codeblocks/codeblocks-20.03-r1.ebuild76
-rw-r--r--dev-util/codeblocks/codeblocks-20.03-r2.ebuild77
-rw-r--r--dev-util/codeblocks/codeblocks-20.03-r3.ebuild76
-rw-r--r--dev-util/codeblocks/codeblocks-9999.ebuild11
-rw-r--r--dev-util/codeblocks/files/codeblocks-17.12-fix-crash-on-copypaste.patch20
-rw-r--r--dev-util/codeblocks/files/codeblocks-20.03_gcc11_compatibility.patch12
-rw-r--r--dev-util/codeblocks/files/codeblocks-9999-nodebug.diff (renamed from dev-util/codeblocks/files/codeblocks-17.12-nodebug.diff)4
10 files changed, 9 insertions, 450 deletions
diff --git a/dev-util/codeblocks/Manifest b/dev-util/codeblocks/Manifest
index 4a50353a4912..827f71d57d4a 100644
--- a/dev-util/codeblocks/Manifest
+++ b/dev-util/codeblocks/Manifest
@@ -1,20 +1,10 @@
-AUX codeblocks-17.12-fix-crash-on-copypaste.patch 675 BLAKE2B 0c388b674e86b74cbb934be4acc00109bca252d4a6705a5811fa91d6323d7a2c861b1f36354cc17d5a0dee79d2a99543f5b28b9525fc79da2a51873e1eed08c8 SHA512 89a464fa8f86d5c2900bffaee43812d475015813c8870f21b95465b1b91a05744a779187b4e46d61242f1d8ad13cd965b7bcd614b88f2072e0c3e43a819a5c61
-AUX codeblocks-17.12-nodebug.diff 611 BLAKE2B 03de6a604b0971e7b91702fd9a1f66aee6d87538177947762ce7b112bf6e81e75349c76415f1a18ac4ee0b41fa4f1257085af1031988c3346a45402b7bfebe73 SHA512 d5332803a0d9cbcbcafa5fa18d90bea07ff43d8ff93922d577b3b2dddc6349a7b01c9100f6198905d531e31edd0f5ba0b5a88db38df981c567644f8e7e11022a
AUX codeblocks-20.03-env.patch 1365 BLAKE2B 550b86319823c8453000d0a3a5e1c9a0845bbf08464d04b0055c98d72a055e966e0a30606e3496a00da829686129faf263f4f5edb36843dd5f1d882a4b87a2ce SHA512 c20b11f463517386b95ae1a2f1acc5fe75e15f1976ac004934d8b7a6441f40d5d58ba86292ff6713c0b71a6abe9c1d99554f8928b6aedc9c6452f0aa80ea894d
-AUX codeblocks-20.03_gcc11_compatibility.patch 797 BLAKE2B fae449efb5ea599e32fac23b67a11635a7c3ccab4d499676f922c95e25211093382b8cee0a7f78e90508613cd8b009350944df83188ac0b3bb106f86fe567298 SHA512 7d6c058212566e6a9bf329e585b29d261acdcb06061292ad900fe6c054b60ed1fb71168c092d62e15382dd582d0a3464ef44519ecbe708f5399aa91ef1d16d5c
-DIST codeblocks-17.12-fortran.tar.xz 3048 BLAKE2B 58fd3b95cea3303a41da31f5cffe08698fa51ff896c456224edd63d17ddfe8dd54b0c058bd2a68920cf15789bfe5e412054e4e603b1d644034d8cb43d3de3224 SHA512 78534706b6433ae93b680740b2e6c0b747119f6ac62477b901ceeb1900692465615e29f2837ceca48d127181fc6b653d6d49a85fdb8d2fb873ad5a915527936c
-DIST codeblocks-17.12_update_astyle_plugin_to_v3.1.patch.xz 3712 BLAKE2B 4a5f75c18b365030a08196dcb2808d8f42d8adf9442552d372cb3923629d9d5b74c98c77557f0af46965bb875543cc6f221a5197fa2b4dba12409225c6cc61d9 SHA512 b216f2659b8ce2a22fd2f9af456af71328b40428510b75f0bb36cec4695d28bbd3133b7385614a84862c2ab5c560d314cc8153ddab09019410e179f5d337669b
+AUX codeblocks-9999-nodebug.diff 539 BLAKE2B e205eb643be1e0a9103c77b632c10c36fd86a65866460583dbc8b4324fc5893f726b09b19ebdaea2cd38710148ec0815d8dd1d2055461421874256b5e8502e8f SHA512 f63c1d81b119d6278804b48240651e09d7d0595cf44fce6ae8a9bc4a4bbdddea7a9f4a7d7d000fb9c98aeec2c680d07bd9eb4694238fc10f5d38c8a807f8d9b2
DIST codeblocks-20.03-codecompletion-symbolbrowser-update.tar.xz 52572 BLAKE2B 4752a84f5471f68f2c1044df6c6c3c25dd61f03e916bfcff1d091fe66aec8911cd02c7d824431dd307267d00af209cfd0b614528fe091a2d3c4bccbc688e83ef SHA512 acd79ffeed03023ac5e33fd685942f5593d0f7bc488b1d53e6c502618b980d565b1f2bc479da4de869ad2e839e263ddbff2a8847ef39b822aab69b87d5cd01a8
DIST codeblocks-20.03-fortran-update-v1.7.tar.xz 12092 BLAKE2B df59ca9e00765f39f64d889ed22af61db8c2bb5f217dbda64d325327be8ef1ce318bc0b2538dd19ee911d84fccb6693f6e287f4d084e8243b34777f464ba5e61 SHA512 aec8062bbf0cd524b683ba9f2f6befec0bfb9f9b1f8ea61ffb679cf449f4ece20502f4fda101ab559151616fc7d7826e308a6468634502930f09ea3a8590c359
DIST codeblocks-20.03-fortran-update-v1.8.tar.xz 43672 BLAKE2B c30f64a7211debd72ee0274067f7443c71ce25e348bfb1474a6dbd1cb86b330537ceb56e96eebdd02f88a93dc0526fb7bced678be799bc8d2437c00f5effd1e8 SHA512 0651d1abb08bfd9eb42f9eca0b9b4c702180b31fac2c08240d2447940c9b21601c3baadc3933ac4080e49c834aaacad716375aa4a40c06d336f000e0d59f962a
DIST codeblocks-20.03-fortran.tar.xz 15828 BLAKE2B 3ad1be0ecdc61759edcbb12065a0d8065e5c4571bfdd99bcf6ad8cbda82f64def8ad7121770fe780c1837d06d58edb0209d2ab3b966ecd133c5d46f79c0cbb4e SHA512 06a9a87e560914ae49895843321c26581409e9213265d20476c9c4a8ad2dd9ff63cffdb416e7494bd74ce4a11578f11ef387dd851b1394a50baade8491caaa17
DIST codeblocks-20.03.tar.xz 11799264 BLAKE2B cdaca38e26e0f1bf12e774cf737e0b6647f070d07f0ca5bec97926528a3511ecb8b3306fb6af473729384a5fe22d4870db8ca988895d619a1e7e2a1d9de2a41f SHA512 f97c1a02d31f0be4dc08b1f19b57bd0d3cba375ab5f33ab91b2a2df7817018f5b3e3063ed07199a3970644f1caa7c7e511db2034c73264f5f4963046d65b0097
-DIST codeblocks_17.12.tar.xz 15725976 BLAKE2B 871427b5d8a2296e04d640c35d9129deebf1bb35cd1573652099c02ad4495c4c1369ed382ba714848d6bd75304195a25f6a91bece398bedaffbee8ae3547c46b SHA512 f90e756ca6f532656eeed34c6259c6a96ae85d172fc11e39f696ded9189cab7171d0cead18524fbab50dd782f21adbc7d52e2ea90535a3ed0aef5946b8a476e1
-EBUILD codeblocks-17.12-r303.ebuild 2375 BLAKE2B 5cfbe24e5b2514baa89cbac19771d7dfbd160c21bbd3c83cdedd05a8a680e7a5e2a4f20849d20aa906244cf3699f43bc6452edbf678623cc943b18fca0064b55 SHA512 62a241a4617cd8c1f5d1416807c859ae3684b34323f08147e68d21834e6b25c844b63ed1d67738b9923d5f217071d1ec91c6485f7b31115f84a5b5b9ef7e67b6
-EBUILD codeblocks-17.12-r304.ebuild 2294 BLAKE2B f6f79076b52eea3a1c1230e3fcee4220215b3c3b09f2c533e359d51cf52d6433851634a7e94a30d1b467904760bc085ef9bbb449e61a33b9a724814c6ea128ac SHA512 24f38636a6945a7fcdcecdaf5e25a72fa4a8d035d974ff90117ec39f866583ef493aaf359acee65b3b4f839fb121657cc73cfd9d3260dce8a8c2388aa832bf8c
-EBUILD codeblocks-20.03-r1.ebuild 1811 BLAKE2B 9a62643660fa3a3f365fb66cab17a0f9bed43aecf0472809bdc968c7d6950819020e1f21d1d4d377c1717c34c547814b941b19ab12f37138d17158ff4ad83b84 SHA512 adbf6c9798619695333751ce85e43affe2d74eb923728895ec58acdd268513d05db10a96718ed69af91ce1ab8318148cd717308776c307533fac02c3b740ddbf
-EBUILD codeblocks-20.03-r2.ebuild 1855 BLAKE2B d6c4104baa3bacde4ec517e18dc168d75c2a023b087e1496727501aa3bcecdb23f9e9168dff7a0f0662a32a58418454c5b836d24c80d6ae85713a557ca35d46c SHA512 da341a5f98a4d92016acb6ad996e894044926c2ec1eb77fd535b9463f823f99c3952798a0c8b4c59479efba4676fb51eeb364f76f02a31f54658355fa83eff6e
-EBUILD codeblocks-20.03-r3.ebuild 1819 BLAKE2B ac5eacadd466c160cc2fcbd82b8e95c1bbafd0f7b10477202506cc0e92b6e70fa4fa2028968ed6f05cc906c89c594d6c0bf98e49df6b9dd3a0e11c47c62ca609 SHA512 01e91fd11037868e1e60198f1979248099b02c16a58eb624dc09bf8ab4f3bf443a16aa9b4d96baf75b05964fb8b00ecdce5f6813de7b81a2b42067aae0cb0baf
EBUILD codeblocks-20.03-r4.ebuild 1886 BLAKE2B 494dabba78cc8fa158cf70f111c869ffd95eeccfb1b6d67948efea2a9b6709d19bbfe71d124220c34dc8de4e4c8768a03cd0bdef84cd4f80609c91eb27c87432 SHA512 e0497e4a4e9ac983035936a385e399f97afbf47a70275577977bbf643c98e5e9b5867c50e9a6515d4d7138a3b9188c0aa069f79b95ab1ab9069fb361e1ee069d
-EBUILD codeblocks-9999.ebuild 1459 BLAKE2B 3add391f132cde04b2e936cd9b014d7ee091f0ce6105356ae1716d1a2a026bbd689c3959e5925c5add922e4d22878bd921fa44688b7aeae7e589911edee482a7 SHA512 0e00e64f4d3c7045b21015970e0c30551865d34439129ddaa3c41221d1414e45e68626d9a686b5e36fe6f46df2483bcb978aaaecb49a64d38da5853cb0c70ed5
+EBUILD codeblocks-9999.ebuild 1413 BLAKE2B b0c2aa1d16b7e43f93c811280e80602801604ab32943a42f18024678c90009030b0cf659515b2ca5289b1f25bf2982fdebf3bee96000eb74b6813c4a2ec1407d SHA512 78460da740b74a040419bc02387528ae54905656779f1cf496af4d8dc22b562e48a9ff48431f4c193be0551fb406d46585986efdfd43c42865a55ec6b99e6b6d
MISC metadata.xml 845 BLAKE2B f7b882b01dd425c6eb56c164a95e7e635ba59591ec1839a9b925496e4c40bf03497ec4134eb38b47f9eb54b765773890896ba243b5936cf7bc3b71f7e7ce41d4 SHA512 ae0650c5218f8e18422926bb11daa9cc89804221b9958963da484464668e99f6049ef099fc6a63f3a0800fa15238ecf0607da0a495c42d5029a94ed15ef4c985
diff --git a/dev-util/codeblocks/codeblocks-17.12-r303.ebuild b/dev-util/codeblocks/codeblocks-17.12-r303.ebuild
deleted file mode 100644
index 6c32f926facd..000000000000
--- a/dev-util/codeblocks/codeblocks-17.12-r303.ebuild
+++ /dev/null
@@ -1,86 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-WX_GTK_VER="3.0-gtk3"
-
-inherit autotools wxwidgets xdg-utils
-
-DESCRIPTION="The open source, cross platform, free C, C++ and Fortran IDE"
-HOMEPAGE="https://codeblocks.org/"
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="amd64 ~ppc x86"
-SRC_URI="mirror://sourceforge/${PN}/${P/-/_}.tar.xz
-https://dev.gentoo.org/~leio/distfiles/${P}-fortran.tar.xz
-https://dev.gentoo.org/~leio/distfiles/${P}_update_astyle_plugin_to_v3.1.patch.xz"
-
-# USE="fortran" enables FortranProject plugin (v1.5)
-# that is delivered with Code::Blocks 17.12 source code.
-# https://sourceforge.net/projects/fortranproject
-# http://cbfortran.sourceforge.net
-
-IUSE="contrib debug fortran pch"
-
-BDEPEND="virtual/pkgconfig"
-
-RDEPEND="app-arch/zip
- >=dev-libs/tinyxml-2.6.2-r3
- >=dev-util/astyle-3.0.1-r1:0=
- x11-libs/wxGTK:${WX_GTK_VER}[X]
- contrib? (
- app-admin/gamin
- app-text/hunspell
- dev-libs/boost:=
- )"
-
-DEPEND="${RDEPEND}"
-
-PATCHES=(
- "${FILESDIR}"/${P}-fix-crash-on-copypaste.patch
- "${FILESDIR}"/${P}-nodebug.diff
- "${WORKDIR}"/patches/
- )
-
-src_prepare() {
- default
- if has_version ">=dev-util/astyle-3.1" ; then
- eapply "${WORKDIR}"/codeblocks-17.12_update_astyle_plugin_to_v3.1.patch
- fi
- sed -i "s:appdatadir = \$(datarootdir)/appdata:appdatadir = \$(datarootdir)/metainfo:" Makefile.am || die # bug 709450
- sed -i "s:appdatadir = \$(datarootdir)/appdata:appdatadir = \$(datarootdir)/metainfo:" src/plugins/contrib/appdata/Makefile.am || die # bug 709450
- eautoreconf
-}
-
-src_configure() {
- setup-wxwidgets
-
- # USE="contrib -fortran" setup:
- use fortran || CONF_WITH_LST=$(use_with contrib contrib-plugins all,-FortranProject)
- # USE="contrib fortran" setup:
- use fortran && CONF_WITH_LST=$(use_with contrib contrib-plugins all)
- # USE="-contrib fortran" setup:
- use contrib || CONF_WITH_LST=$(use_with fortran contrib-plugins FortranProject)
-
- econf \
- --disable-static \
- $(use_enable debug) \
- $(use_enable pch) \
- ${CONF_WITH_LST}
-}
-
-pkg_postinst() {
- elog "The Symbols Browser is disabled due to it causing crashes."
- elog "For more information see https://sourceforge.net/p/codeblocks/tickets/225/"
-
- xdg_desktop_database_update
- xdg_icon_cache_update
- xdg_mimeinfo_database_update
-}
-
-pkg_postrm() {
- xdg_desktop_database_update
- xdg_icon_cache_update
- xdg_mimeinfo_database_update
-}
diff --git a/dev-util/codeblocks/codeblocks-17.12-r304.ebuild b/dev-util/codeblocks/codeblocks-17.12-r304.ebuild
deleted file mode 100644
index 88841742c92f..000000000000
--- a/dev-util/codeblocks/codeblocks-17.12-r304.ebuild
+++ /dev/null
@@ -1,83 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-WX_GTK_VER="3.0-gtk3"
-
-inherit autotools wxwidgets xdg
-
-DESCRIPTION="The open source, cross platform, free C, C++ and Fortran IDE"
-HOMEPAGE="https://codeblocks.org/"
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-SRC_URI="mirror://sourceforge/${PN}/${P/-/_}.tar.xz
-https://dev.gentoo.org/~leio/distfiles/${P}-fortran.tar.xz
-https://dev.gentoo.org/~leio/distfiles/${P}_update_astyle_plugin_to_v3.1.patch.xz"
-
-# USE="fortran" enables FortranProject plugin (v1.5)
-# that is delivered with Code::Blocks 17.12 source code.
-# https://sourceforge.net/projects/fortranproject
-# https://cbfortran.sourceforge.io
-
-IUSE="contrib debug fortran pch"
-
-BDEPEND="virtual/pkgconfig"
-
-RDEPEND="app-arch/zip
- >=dev-libs/tinyxml-2.6.2-r3
- >=dev-util/astyle-3.0.1-r1:0=
- x11-libs/wxGTK:${WX_GTK_VER}[X]
- contrib? (
- app-admin/gamin
- app-text/hunspell
- dev-libs/boost:=
- )"
-
-DEPEND="${RDEPEND}"
-
-PATCHES=(
- "${FILESDIR}"/${P}-fix-crash-on-copypaste.patch
- "${FILESDIR}"/${P}-nodebug.diff
- "${FILESDIR}"/${PN}-20.03_gcc11_compatibility.patch
- "${WORKDIR}"/patches/
- )
-
-src_prepare() {
- default
- if has_version ">=dev-util/astyle-3.1" ; then
- eapply "${WORKDIR}"/codeblocks-17.12_update_astyle_plugin_to_v3.1.patch
- fi
- sed -i "s:appdatadir = \$(datarootdir)/appdata:appdatadir = \$(datarootdir)/metainfo:" Makefile.am || die # bug 709450
- sed -i "s:appdatadir = \$(datarootdir)/appdata:appdatadir = \$(datarootdir)/metainfo:" src/plugins/contrib/appdata/Makefile.am || die # bug 709450
- eautoreconf
-}
-
-src_configure() {
- setup-wxwidgets
-
- # USE="contrib -fortran" setup:
- use fortran || CONF_WITH_LST=$(use_with contrib contrib-plugins all,-FortranProject)
- # USE="contrib fortran" setup:
- use fortran && CONF_WITH_LST=$(use_with contrib contrib-plugins all)
- # USE="-contrib fortran" setup:
- use contrib || CONF_WITH_LST=$(use_with fortran contrib-plugins FortranProject)
-
- econf \
- --disable-static \
- $(use_enable debug) \
- $(use_enable pch) \
- ${CONF_WITH_LST}
-}
-
-pkg_postinst() {
- elog "The Symbols Browser is disabled due to it causing crashes."
- elog "For more information see https://sourceforge.net/p/codeblocks/tickets/225/"
-
- xdg_pkg_postinst
-}
-
-pkg_postrm() {
- xdg_pkg_postrm
-}
diff --git a/dev-util/codeblocks/codeblocks-20.03-r1.ebuild b/dev-util/codeblocks/codeblocks-20.03-r1.ebuild
deleted file mode 100644
index 37605d50b649..000000000000
--- a/dev-util/codeblocks/codeblocks-20.03-r1.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-WX_GTK_VER="3.0-gtk3"
-
-inherit autotools wxwidgets xdg
-
-DESCRIPTION="The open source, cross platform, free C, C++ and Fortran IDE"
-HOMEPAGE="https://codeblocks.org/"
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz
-https://dev.gentoo.org/~leio/distfiles/${P}-fortran.tar.xz
-https://dev.gentoo.org/~leio/distfiles/${P}-fortran-update-v1.7.tar.xz"
-
-# USE="fortran" enables FortranProject plugin (updated to v1.7 2020-06-07 [r298])
-# that is delivered with Code::Blocks 20.03 source code.
-# https://sourceforge.net/projects/fortranproject
-# http://cbfortran.sourceforge.net
-
-IUSE="contrib debug fortran pch"
-
-BDEPEND="virtual/pkgconfig"
-
-RDEPEND="app-arch/zip
- >=dev-libs/tinyxml-2.6.2-r3
- >=dev-util/astyle-3.1-r2:0/3.1
- x11-libs/wxGTK:${WX_GTK_VER}[X]
- contrib? (
- app-admin/gamin
- app-text/hunspell
- dev-libs/boost:=
- )"
-
-DEPEND="${RDEPEND}"
-
-PATCHES=(
- "${FILESDIR}"/${P}-env.patch
- "${WORKDIR}"/patches/
- )
-
-src_prepare() {
- default
- eautoreconf
-}
-
-src_configure() {
- setup-wxwidgets
-
- # USE="contrib -fortran" setup:
- use fortran || CONF_WITH_LST=$(use_with contrib contrib-plugins all,-FortranProject)
- # USE="contrib fortran" setup:
- use fortran && CONF_WITH_LST=$(use_with contrib contrib-plugins all)
- # USE="-contrib fortran" setup:
- use contrib || CONF_WITH_LST=$(use_with fortran contrib-plugins FortranProject)
-
- econf \
- --disable-static \
- $(use_enable debug) \
- $(use_enable pch) \
- ${CONF_WITH_LST}
-}
-
-pkg_postinst() {
- elog "The Symbols Browser is disabled due to it causing crashes."
- elog "For more information see https://sourceforge.net/p/codeblocks/tickets/225/"
-
- xdg_pkg_postinst
-}
-
-pkg_postrm() {
- xdg_pkg_postrm
-}
diff --git a/dev-util/codeblocks/codeblocks-20.03-r2.ebuild b/dev-util/codeblocks/codeblocks-20.03-r2.ebuild
deleted file mode 100644
index 9e4061b5925f..000000000000
--- a/dev-util/codeblocks/codeblocks-20.03-r2.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-WX_GTK_VER="3.0-gtk3"
-
-inherit autotools wxwidgets xdg
-
-DESCRIPTION="The open source, cross platform, free C, C++ and Fortran IDE"
-HOMEPAGE="https://codeblocks.org/"
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="amd64 ~ppc x86"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz
-https://dev.gentoo.org/~leio/distfiles/${P}-fortran.tar.xz
-https://dev.gentoo.org/~leio/distfiles/${P}-fortran-update-v1.7.tar.xz"
-
-# USE="fortran" enables FortranProject plugin (updated to v1.7 2020-06-07 [r298])
-# that is delivered with Code::Blocks 20.03 source code.
-# https://sourceforge.net/projects/fortranproject
-# https://cbfortran.sourceforge.io
-
-IUSE="contrib debug fortran pch"
-
-BDEPEND="virtual/pkgconfig"
-
-RDEPEND="app-arch/zip
- >=dev-libs/tinyxml-2.6.2-r3
- >=dev-util/astyle-3.1-r2:0/3.1
- x11-libs/wxGTK:${WX_GTK_VER}[X]
- contrib? (
- app-admin/gamin
- app-text/hunspell
- dev-libs/boost:=
- )"
-
-DEPEND="${RDEPEND}"
-
-PATCHES=(
- "${FILESDIR}"/${P}-env.patch
- "${FILESDIR}"/${P}_gcc11_compatibility.patch
- "${WORKDIR}"/patches/
- )
-
-src_prepare() {
- default
- eautoreconf
-}
-
-src_configure() {
- setup-wxwidgets
-
- # USE="contrib -fortran" setup:
- use fortran || CONF_WITH_LST=$(use_with contrib contrib-plugins all,-FortranProject)
- # USE="contrib fortran" setup:
- use fortran && CONF_WITH_LST=$(use_with contrib contrib-plugins all)
- # USE="-contrib fortran" setup:
- use contrib || CONF_WITH_LST=$(use_with fortran contrib-plugins FortranProject)
-
- econf \
- --disable-static \
- $(use_enable debug) \
- $(use_enable pch) \
- ${CONF_WITH_LST}
-}
-
-pkg_postinst() {
- elog "The Symbols Browser is disabled due to it causing crashes."
- elog "For more information see https://sourceforge.net/p/codeblocks/tickets/225/"
-
- xdg_pkg_postinst
-}
-
-pkg_postrm() {
- xdg_pkg_postrm
-}
diff --git a/dev-util/codeblocks/codeblocks-20.03-r3.ebuild b/dev-util/codeblocks/codeblocks-20.03-r3.ebuild
deleted file mode 100644
index cfdd776089d2..000000000000
--- a/dev-util/codeblocks/codeblocks-20.03-r3.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-WX_GTK_VER="3.0-gtk3"
-
-inherit autotools wxwidgets xdg
-
-DESCRIPTION="The open source, cross platform, free C, C++ and Fortran IDE"
-HOMEPAGE="https://codeblocks.org/"
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz
-https://dev.gentoo.org/~leio/distfiles/${P}-fortran.tar.xz
-https://dev.gentoo.org/~leio/distfiles/${P}-fortran-update-v1.7.tar.xz
-https://dev.gentoo.org/~leio/distfiles/${P}-fortran-update-v1.8.tar.xz
-https://dev.gentoo.org/~leio/distfiles/${P}-codecompletion-symbolbrowser-update.tar.xz
-"
-
-# USE="fortran" enables FortranProject plugin (updated to v1.8 2021-05-29 [r230])
-# that is delivered with Code::Blocks 20.03 source code.
-# https://sourceforge.net/projects/fortranproject
-# https://cbfortran.sourceforge.io
-
-IUSE="contrib debug fortran pch"
-
-BDEPEND="virtual/pkgconfig"
-
-RDEPEND="app-arch/zip
- >=dev-libs/tinyxml-2.6.2-r3
- >=dev-util/astyle-3.1-r2:0/3.1
- x11-libs/wxGTK:${WX_GTK_VER}[X]
- contrib? (
- app-admin/gamin
- app-text/hunspell
- dev-libs/boost:=
- )"
-
-DEPEND="${RDEPEND}"
-
-PATCHES=(
- "${FILESDIR}"/${P}-env.patch
- "${WORKDIR}"/patches/
- )
-
-src_prepare() {
- default
- eautoreconf
-}
-
-src_configure() {
- setup-wxwidgets
-
- # USE="contrib -fortran" setup:
- use fortran || CONF_WITH_LST=$(use_with contrib contrib-plugins all,-FortranProject)
- # USE="contrib fortran" setup:
- use fortran && CONF_WITH_LST=$(use_with contrib contrib-plugins all)
- # USE="-contrib fortran" setup:
- use contrib || CONF_WITH_LST=$(use_with fortran contrib-plugins FortranProject)
-
- econf \
- --disable-static \
- $(use_enable debug) \
- $(use_enable pch) \
- ${CONF_WITH_LST}
-}
-
-pkg_postinst() {
- xdg_pkg_postinst
-}
-
-pkg_postrm() {
- xdg_pkg_postrm
-}
diff --git a/dev-util/codeblocks/codeblocks-9999.ebuild b/dev-util/codeblocks/codeblocks-9999.ebuild
index 580a1b03b545..3ce6e1a69d71 100644
--- a/dev-util/codeblocks/codeblocks-9999.ebuild
+++ b/dev-util/codeblocks/codeblocks-9999.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
WX_GTK_VER="3.0-gtk3"
@@ -15,6 +15,7 @@ KEYWORDS=""
SRC_URI=""
ESVN_REPO_URI="svn://svn.code.sf.net/p/${PN}/code/trunk"
ESVN_FETCH_CMD="svn checkout --ignore-externals"
+ESVN_UPDATE_CMD="svn update --ignore-externals"
IUSE="contrib debug pch"
@@ -32,7 +33,7 @@ RDEPEND="app-arch/zip
DEPEND="${RDEPEND}"
-PATCHES=( "${FILESDIR}"/codeblocks-17.12-nodebug.diff )
+PATCHES=( "${FILESDIR}/${P}-nodebug.diff" )
src_prepare() {
default
@@ -49,15 +50,13 @@ src_configure() {
econf \
--disable-static \
+ $(use_with contrib boost-libdir "${ESYSROOT}/usr/$(get_libdir)") \
$(use_enable debug) \
$(use_enable pch) \
$(use_with contrib contrib-plugins all)
}
pkg_postinst() {
- elog "The Symbols Browser is disabled due to it causing crashes."
- elog "For more information see https://sourceforge.net/p/codeblocks/tickets/225/"
-
xdg_pkg_postinst
}
diff --git a/dev-util/codeblocks/files/codeblocks-17.12-fix-crash-on-copypaste.patch b/dev-util/codeblocks/files/codeblocks-17.12-fix-crash-on-copypaste.patch
deleted file mode 100644
index 9918c58d8e88..000000000000
--- a/dev-util/codeblocks/files/codeblocks-17.12-fix-crash-on-copypaste.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-# Fix crashing on paste of copied text from other applications
-# https://sourceforge.net/p/codeblocks/tickets/629/
-diff -Nuar a/main.cpp b/main.cpp
---- a/src/src/main.cpp 2017-11-01 02:32:38.000000000 +0300
-+++ b/src/src/main.cpp 2020-03-13 21:59:25.000000000 +0300
-@@ -4321,7 +4321,13 @@
- }
-
- if (Manager::Get()->GetEditorManager() && event.GetEditor() == Manager::Get()->GetEditorManager()->GetActiveEditor())
-- DoUpdateStatusBar();
-+ {
-+ #if wxCHECK_VERSION(3, 0, 0)
-+ CallAfter(&MainFrame::DoUpdateStatusBar);
-+ #else
-+ DoUpdateStatusBar();
-+ #endif // wxCHECK_VERSION(3, 0, 0)
-+ }
-
- event.Skip();
- }
diff --git a/dev-util/codeblocks/files/codeblocks-20.03_gcc11_compatibility.patch b/dev-util/codeblocks/files/codeblocks-20.03_gcc11_compatibility.patch
deleted file mode 100644
index 46c8643e9c94..000000000000
--- a/dev-util/codeblocks/files/codeblocks-20.03_gcc11_compatibility.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -Naur a/src/plugins/openfileslist/openfileslistplugin.h b/src/plugins/openfileslist/openfileslistplugin.h
---- a/src/plugins/openfileslist/openfileslistplugin.h 2020-10-13 20:35:57.000000000 +0300
-+++ b/src/plugins/openfileslist/openfileslistplugin.h 2020-10-13 20:37:37.000000000 +0300
-@@ -23,7 +23,7 @@
- // Functor for the std::set predicate to sort the opened editor files according to their tab order
- struct compareLess
- {
-- bool operator()(const ProjectFile* lhs, const ProjectFile* rhs) { return lhs->editorTabPos < rhs->editorTabPos; }
-+ bool operator()(const ProjectFile* lhs, const ProjectFile* rhs) const { return lhs->editorTabPos < rhs->editorTabPos; }
- };
- typedef std::set<ProjectFile*, compareLess> OpenFilesSet;
- ProjectFile* activeFile;
diff --git a/dev-util/codeblocks/files/codeblocks-17.12-nodebug.diff b/dev-util/codeblocks/files/codeblocks-9999-nodebug.diff
index 7cbb678dda6a..1187f53539fc 100644
--- a/dev-util/codeblocks/files/codeblocks-17.12-nodebug.diff
+++ b/dev-util/codeblocks/files/codeblocks-9999-nodebug.diff
@@ -1,7 +1,7 @@
# Remove adding of "-g" to CFLAGS and CXXFLAGS if "./configure --enable-debug"
diff -Naur old/m4/acinclude.m4 new/m4/acinclude.m4
---- old/m4/acinclude.m4 2017-11-01 02:32:37.000000000 +0300
-+++ new/m4/acinclude.m4 2018-05-04 11:08:33.000000000 +0300
+--- old/m4/acinclude.m4
++++ new/m4/acinclude.m4
@@ -91,8 +91,6 @@
AC_ARG_ENABLE(debug, [AC_HELP_STRING([--enable-debug], [turn on debugging (default is OFF)])],,
enable_debug=$debug_default)