diff options
author | dakkar <dakkar@thenautilus.net> | 2024-09-06 13:19:21 +0100 |
---|---|---|
committer | dakkar <dakkar@thenautilus.net> | 2024-09-06 13:19:21 +0100 |
commit | 909ef372f8a192d0f6581868c731cdadbdb92072 (patch) | |
tree | 142cb15d2630767ef0351aa61690e8bf5f7477ef | |
parent | remove fvwm tweaks, upstreamed (diff) | |
download | gentoo-overlay-909ef372f8a192d0f6581868c731cdadbdb92072.tar.gz gentoo-overlay-909ef372f8a192d0f6581868c731cdadbdb92072.tar.bz2 gentoo-overlay-909ef372f8a192d0f6581868c731cdadbdb92072.zip |
remove outdated ebuilds
-rw-r--r-- | mail-client/claws-mail/Manifest | 3 | ||||
-rw-r--r-- | mail-client/claws-mail/claws-mail-9999.ebuild | 211 | ||||
-rw-r--r-- | mail-client/claws-mail/files/claws-mail-3.17.4-libetpan_pkgconfig.patch | 97 | ||||
-rw-r--r-- | mail-client/claws-mail/files/claws-mail-3.17.5-enchant-2_default.patch | 46 | ||||
-rw-r--r-- | media-gfx/PrusaSlicer/Manifest | 5 | ||||
-rw-r--r-- | media-gfx/PrusaSlicer/PrusaSlicer-2.1.1.ebuild | 67 | ||||
-rw-r--r-- | media-gfx/PrusaSlicer/PrusaSlicer-2.2.0.ebuild | 75 | ||||
-rw-r--r-- | media-gfx/PrusaSlicer/files/PrusaSlicer-2.2.0-fix-get-height-crash.patch | 18 | ||||
-rw-r--r-- | x11-libs/wxGTK/Manifest | 6 | ||||
-rw-r--r-- | x11-libs/wxGTK/files/wxGTK-3.1.3-abi.patch | 31 | ||||
-rw-r--r-- | x11-libs/wxGTK/files/wxGTK-3.1.3-collision.patch | 74 | ||||
-rw-r--r-- | x11-libs/wxGTK/metadata.xml | 25 | ||||
-rw-r--r-- | x11-libs/wxGTK/wxGTK-3.1.3.ebuild | 180 |
13 files changed, 0 insertions, 838 deletions
diff --git a/mail-client/claws-mail/Manifest b/mail-client/claws-mail/Manifest deleted file mode 100644 index 2277712..0000000 --- a/mail-client/claws-mail/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -AUX claws-mail-3.17.4-libetpan_pkgconfig.patch 4483 BLAKE2B b28520c658214e9f6ad4bd0d48835e29f8b37aa7b3915add2d71b8ee7dc3366c38db1de9272dfe8e48588cebf748e6c844f04bc721fe577f66288b849e5c7054 SHA512 39e70ba2edfad857d4c042db0fa38ac806cf188d1cf7642b92d0115e162349919df7b98ade49da822fb1b299c5ef06d221b5c600e218ed33e0e8a48c3635d0a2 -AUX claws-mail-3.17.5-enchant-2_default.patch 1284 BLAKE2B 076c2aa8c121e656a0b15f341b6a4b13a114348faba4bb0f298306379b26374c45719702949a5e64f35f718bd656366838ea6b867c7b18fef588f37d7d99cd9f SHA512 ac7ae41be0bc8303974c9f675ab9a0d3e6b5fbae8d569d0b87dfe2e2f72c22f3cefb64796107e393a392b8be1aa7c8d93319cd06cf57ac7517067091ff69da05 -EBUILD claws-mail-9999.ebuild 5489 BLAKE2B 83c4c2181e3fe232ba776ff7de09296645ac1b3419c658e6a5d7ce19fe043019843400f644f1c56281664b9de426b721fa54407b4012800ee850c86b11b684ab SHA512 262e8368119d1e3a7676048e094f961b8efdfdfaafca7498da0ac4fad66223229b6234a484ad2920df8c826c88157d96db806d76bdf9994794a9f258eb0373b1 diff --git a/mail-client/claws-mail/claws-mail-9999.ebuild b/mail-client/claws-mail/claws-mail-9999.ebuild deleted file mode 100644 index e6e26d0..0000000 --- a/mail-client/claws-mail/claws-mail-9999.ebuild +++ /dev/null @@ -1,211 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools desktop xdg - -DESCRIPTION="An email client (and news reader) based on GTK+" -HOMEPAGE="https://www.claws-mail.org/" - -if [[ "${PV}" == *9999 ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://git.claws-mail.org/readonly/claws.git" -else - SRC_URI="https://www.claws-mail.org/download.php?file=releases/${P}.tar.xz" - KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86" -fi - -SLOT="0" -LICENSE="GPL-3" - -IUSE="+appindicator archive bogofilter calendar clamav dbus debug dillo doc gdata +gnutls +imap ipv6 ldap +libcanberra +libnotify litehtml networkmanager nls nntp +notification pdf perl +pgp rss session sieve smime spamassassin spam-report spell startup-notification svg valgrind webkit xface" -REQUIRED_USE=" - appindicator? ( notification ) - libcanberra? ( notification ) - libnotify? ( notification ) - networkmanager? ( dbus ) - smime? ( pgp ) -" - -COMMONDEPEND=" - dev-libs/nettle:= - net-mail/ytnef - sys-libs/zlib:= - x11-libs/cairo - x11-libs/gdk-pixbuf:2[jpeg] - x11-libs/libX11 - x11-libs/pango - archive? ( - app-arch/libarchive - >=net-misc/curl-7.9.7 - ) - bogofilter? ( mail-filter/bogofilter ) - calendar? ( - >=dev-libs/libical-2.0.0:= - >=net-misc/curl-7.9.7 - ) - dbus? ( - >=dev-libs/dbus-glib-0.60 - sys-apps/dbus - ) - gdata? ( >=dev-libs/libgdata-0.17.2 ) - dillo? ( www-client/dillo ) - gnutls? ( >=net-libs/gnutls-3.0 ) - x11-libs/gtk+:3 - imap? ( >=net-libs/libetpan-0.57 ) - ldap? ( >=net-nds/openldap-2.0.7 ) - litehtml? ( - >=dev-libs/glib-2.36:2 - >=dev-libs/gumbo-0.10 - net-misc/curl - media-libs/fontconfig - ) - nls? ( >=sys-devel/gettext-0.18 ) - nntp? ( >=net-libs/libetpan-0.57 ) - notification? ( - dev-libs/glib:2 - appindicator? ( dev-libs/libindicate:3[gtk] ) - libcanberra? ( media-libs/libcanberra[gtk3] ) - libnotify? ( x11-libs/libnotify ) - ) - pdf? ( app-text/poppler[cairo] ) - pgp? ( >=app-crypt/gpgme-1.0.0 ) - session? ( - x11-libs/libICE - x11-libs/libSM - ) - smime? ( >=app-crypt/gpgme-1.0.0 ) - spam-report? ( >=net-misc/curl-7.9.7 ) - spell? ( >=app-text/enchant-2.0.0:2= ) - startup-notification? ( x11-libs/startup-notification ) - svg? ( >=gnome-base/librsvg-2.40.5 ) - valgrind? ( dev-util/valgrind ) - webkit? ( >=net-libs/webkit-gtk-2.30.0:4 ) -" - -DEPEND="${COMMONDEPEND} - xface? ( >=media-libs/compface-1.4 ) -" -BDEPEND=" - app-arch/xz-utils - virtual/pkgconfig -" -RDEPEND="${COMMONDEPEND} - app-misc/mime-types - x11-misc/shared-mime-info - clamav? ( app-antivirus/clamav ) - networkmanager? ( net-misc/networkmanager ) - pdf? ( app-text/ghostscript-gpl ) - perl? ( dev-lang/perl:= ) - rss? ( - dev-libs/libxml2 - net-misc/curl - ) -" - -PATCHES=( - "${FILESDIR}/${PN}-3.17.5-enchant-2_default.patch" -) - -src_prepare() { - xdg_src_prepare - eautoreconf -} - -src_configure() { - # Don't use libsoup-gnome (bug #565924) - export HAVE_LIBSOUP_GNOME=no - - local myeconfargs=( - --disable-bsfilter-plugin - --disable-generic-umpc - --disable-jpilot #735118 - --enable-acpi_notifier-plugin - --enable-address_keeper-plugin - --enable-alternate-addressbook - --enable-att_remover-plugin - --enable-attachwarner-plugin - --enable-fetchinfo-plugin - --enable-mailmbox-plugin - --enable-newmail-plugin - --enable-tnef_parse-plugin - --with-password-encryption=$(usex gnutls gnutls old) - $(use_enable archive archive-plugin) - $(use_enable bogofilter bogofilter-plugin) - $(use_enable calendar vcalendar-plugin) - $(use_enable clamav clamd-plugin) - $(use_enable dbus) - $(use_enable debug crash-dialog) - $(use_enable dillo dillo-plugin) - $(use_enable doc manual) - $(use_enable gdata gdata-plugin) - $(use_enable gnutls) - $(use_enable ipv6) - $(use_enable ldap) - $(use_enable litehtml litehtml_viewer-plugin) - $(use_enable networkmanager) - $(use_enable nls) - $(use_enable notification notification-plugin) - $(use_enable pdf pdf_viewer-plugin) - $(use_enable perl perl-plugin) - $(use_enable pgp pgpcore-plugin) - $(use_enable pgp pgpinline-plugin) - $(use_enable pgp pgpmime-plugin) - --disable-python-plugin - $(use_enable rss rssyl-plugin) - $(use_enable session libsm) - $(use_enable sieve managesieve-plugin) - $(use_enable smime smime-plugin) - $(use_enable spam-report spam_report-plugin) - $(use_enable spamassassin spamassassin-plugin) - $(use_enable spell enchant) - $(use_enable startup-notification) - $(use_enable svg) - $(use_enable valgrind valgrind) - $(use_enable webkit fancy-plugin) - $(use_enable xface compface) - ) - - # libetpan is needed if user wants nntp or imap functionality - if use imap || use nntp ; then - myeconfargs+=( --enable-libetpan ) - else - myeconfargs+=( --disable-libetpan ) - fi - - ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" -} - -src_install() { - local DOCS=( AUTHORS ChangeLog* INSTALL* NEWS README* TODO* ) - default - - # Makefile install claws-mail.png in /usr/share/icons/hicolor/48x48/apps - # => also install it in /usr/share/pixmaps for other desktop envs - # => also install higher resolution icons in /usr/share/icons/hicolor/... - insinto /usr/share/pixmaps - doins ${PN}.png - local size - for size in 64 128 ; do - newicon -s ${size} ${PN}-${size}x${size}.png ${PN}.png - done - - docinto tools - dodoc tools/README* - - domenu ${PN}.desktop - - einfo "Installing extra tools" - cd "${S}"/tools || die - exeinto /usr/$(get_libdir)/${PN}/tools - doexe *.pl *.py *.conf *.sh - doexe tb2claws-mail update-po uudec uuooffice - - # kill useless files - rm -f "${ED}"/usr/lib*/claws-mail/plugins/*.{a,la} -} - -pkg_postinst() { - xdg_pkg_postinst -} diff --git a/mail-client/claws-mail/files/claws-mail-3.17.4-libetpan_pkgconfig.patch b/mail-client/claws-mail/files/claws-mail-3.17.4-libetpan_pkgconfig.patch deleted file mode 100644 index 572380d..0000000 --- a/mail-client/claws-mail/files/claws-mail-3.17.4-libetpan_pkgconfig.patch +++ /dev/null @@ -1,97 +0,0 @@ -diff --git a/configure.ac b/configure.ac -index 412a3f014..6a80c2a92 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -908,38 +908,62 @@ fi - dnl Libetpan - AC_MSG_CHECKING([whether to use libetpan]) - if test x"$enable_libetpan" = xyes; then -- AC_MSG_RESULT(yes) -- libetpan_result=no -- AC_PATH_PROG(libetpanconfig, [libetpan-config]) -- if test "x$libetpanconfig" != "x"; then -- CPPFLAGS="$CPPFLAGS `$libetpanconfig --cflags 2>/dev/null`" -- AC_CHECK_HEADER(libetpan/libetpan.h, [libetpan_result=yes]) -- if test "x$libetpan_result" = "xyes"; then -- AC_MSG_CHECKING([whether libetpan-config hints compiles and links fine]) -- LIBS="$LIBS `$libetpanconfig --libs 2>/dev/null`" -- AC_TRY_LINK([#include <libetpan/dbstorage.h>], [db_mailstorage_init(NULL, NULL);], [libetpan_result=yes], [libetpan_result=no]) -- AC_MSG_RESULT([$libetpan_result]) -- fi -- fi -- if test "x$libetpan_result" = "xyes"; then -- LIBETPAN_CPPFLAGS="`$libetpanconfig --cflags`" -- LIBETPAN_LIBS="`$libetpanconfig --libs`" -- LIBETPAN_VERSION=`$libetpanconfig --version | $AWK -F. '{printf "%d", ($1 * 100) + $2}'` -- if test "$LIBETPAN_VERSION" -lt "57"; then -- AC_MSG_RESULT([*** Claws Mail requires libetpan 0.57 or newer. See http://www.etpan.org/]) -- AC_MSG_RESULT([*** You can use --disable-libetpan if you don't need IMAP4 and/or NNTP support.]) -+ AC_MSG_RESULT(yes) -+ -+ libetpan_config=no -+ libetpan_result=no -+ libetpan_versiontype=0 -+ -+ # since 1.9.4, libetpan uses pkg-config -+ PKG_CHECK_MODULES([LIBETPAN], [libetpan >= 1.9.4], -+ [ -+ LIBETPAN_VERSION=`pkg-config --modversion | $AWK -F. '{printf "%d", ($1 * 10000) + ($2 * 100) + $3}'` -+ libetpan_config=yes -+ ], -+ [ -+ # before 1.9.4, libetpan uses its own libetpan-config script -+ AC_PATH_PROG(libetpanconfig, [libetpan-config]) -+ if test "x$libetpanconfig" != "x"; then -+ LIBETPAN_CPPFLAGS="`$libetpanconfig --cflags`" -+ LIBETPAN_LIBS="`$libetpanconfig --libs`" -+ # support libetpan version like x.x and x.x.x -+ libetpan_versiontype=`$libetpanconfig --version | tr -dc . | wc -c` -+ if test $libetpan_versiontype -eq 1; then -+ LIBETPAN_VERSION=`$libetpanconfig --version | $AWK -F. '{printf "%d", ($1 * 100) + $2}'` -+ else -+ LIBETPAN_VERSION=`$libetpanconfig --version | $AWK -F. '{printf "%d", ($1 * 10000) + ($2 * 100) + $3}'` -+ fi -+ libetpan_config=yes -+ fi -+ ]) -+ if test "x$libetpan_config" = "xyes"; then -+ CPPFLAGS="$CPPFLAGS $LIBETPAN_FLAGS" -+ AC_CHECK_HEADER(libetpan/libetpan.h, [libetpan_result=yes]) -+ if test "x$libetpan_result" = "xyes"; then -+ AC_MSG_CHECKING([whether libetpan-config hints compiles and links fine]) -+ LIBS="$LIBS $LIBETPAN_LIBS" -+ AC_TRY_LINK([#include <libetpan/dbstorage.h>], [db_mailstorage_init(NULL, NULL);], [libetpan_result=yes], [libetpan_result=no]) -+ AC_MSG_RESULT([$libetpan_result]) -+ fi -+ fi -+ if test "x$libetpan_result" = "xyes"; then -+ if test $libetpan_versiontype -eq 1; then -+ if test "$LIBETPAN_VERSION" -lt "57"; then -+ AC_MSG_RESULT([*** Claws Mail requires libetpan 0.57 or newer. See http://www.etpan.org/]) -+ AC_MSG_RESULT([*** You can use --disable-libetpan if you don't need IMAP4 and/or NNTP support.]) - AC_MSG_ERROR([libetpan 0.57 not found]) -- fi -- AC_SUBST(LIBETPAN_FLAGS) -- AC_SUBST(LIBETPAN_LIBS) -- AC_DEFINE(HAVE_LIBETPAN, 1, Define if you want IMAP and/or NNTP support.) -- else -- AC_MSG_RESULT([*** Claws Mail requires libetpan 0.57 or newer. See http://www.etpan.org/ ]) -- AC_MSG_RESULT([*** You can use --disable-libetpan if you don't need IMAP4 and/or NNTP support.]) -- AC_MSG_ERROR([libetpan 0.57 not found]) -- fi -+ fi -+ fi -+ AC_SUBST(LIBETPAN_FLAGS) -+ AC_SUBST(LIBETPAN_LIBS) -+ AC_DEFINE(HAVE_LIBETPAN, 1, Define if you want IMAP and/or NNit TP support.) -+ else -+ AC_MSG_RESULT([*** Claws Mail requires libetpan 0.57 or newer. See http://www.etpan.org/ ]) -+ AC_MSG_RESULT([*** You can use --disable-libetpan if you don't need IMAP4 and/or NNTP support.]) -+ AC_MSG_ERROR([libetpan 0.57 not found]) -+ fi - else -- AC_MSG_RESULT(no) -+ AC_MSG_RESULT(no) - fi - AM_CONDITIONAL(CLAWS_LIBETPAN, test "x$libetpan_result" = "xyes") - diff --git a/mail-client/claws-mail/files/claws-mail-3.17.5-enchant-2_default.patch b/mail-client/claws-mail/files/claws-mail-3.17.5-enchant-2_default.patch deleted file mode 100644 index c9c9bd4..0000000 --- a/mail-client/claws-mail/files/claws-mail-3.17.5-enchant-2_default.patch +++ /dev/null @@ -1,46 +0,0 @@ -From 826770e2dae8646a613dbe07685be68b4dc83b62 Mon Sep 17 00:00:00 2001 -From: Lars Wendler <polynomial-c@gentoo.org> -Date: Mon, 9 Mar 2020 15:21:55 +0100 -Subject: [PATCH] Only check for enchant-2 - -Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> ---- - configure.ac | 18 +++++------------- - 1 file changed, 5 insertions(+), 13 deletions(-) - -diff --git a/configure.ac b/configure.ac -index 8ab413657..e1159d45e 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -591,23 +591,15 @@ dnl enchant is used for spell checking - AC_MSG_CHECKING([whether to use enchant]) - AC_MSG_RESULT($enable_enchant) - if test $enable_enchant = yes; then -- PKG_CHECK_MODULES(ENCHANT, enchant >= 1.4.0, -+ PKG_CHECK_MODULES(ENCHANT, enchant-2 >= 2.0.0, - [ -- AC_DEFINE(USE_ENCHANT, 1, enchant) -- echo "Building with enchant" -+ AC_DEFINE(USE_ENCHANT, 1, enchant-2) -+ echo "Building with enchant-2" - enable_enchant=yes - ], - [ -- PKG_CHECK_MODULES(ENCHANT, enchant-2 >= 2.0.0, -- [ -- AC_DEFINE(USE_ENCHANT, 1, enchant-2) -- echo "Building with enchant-2" -- enable_enchant=yes -- ], -- [ -- echo "Building without enchant-notification" -- enable_enchant=no -- ]) -+ echo "Building without enchant-notification" -+ enable_enchant=no - ]) - AC_SUBST(ENCHANT_CFLAGS) - AC_SUBST(ENCHANT_LIBS) --- -2.25.1 - diff --git a/media-gfx/PrusaSlicer/Manifest b/media-gfx/PrusaSlicer/Manifest deleted file mode 100644 index 95ec5b9..0000000 --- a/media-gfx/PrusaSlicer/Manifest +++ /dev/null @@ -1,5 +0,0 @@ -AUX PrusaSlicer-2.2.0-fix-get-height-crash.patch 671 BLAKE2B 35157d2177a706e4d1736aaab8d1726615a8e49c8b567a762ad12da3a73de261b850e48d6e203122557c937478d0e619817d9c873a236ad9e5a916cded4d0e85 SHA512 de68e8d187fb272e5d2cd3117f2764015c46672823f4fff34f50bfef6f318703a0888d24fb083ac361ddaa8f6b588f0fa17edf4f29bb8bf9af9b6178a6386381 -DIST version_2.1.1.tar.gz 27551136 BLAKE2B 05948f7476cb41db83a4c70b6129df5b82c84d0e7de96c5d0a7dc0bad9442e4845a30e080f9ccd88caa09ec1f6c9daceb566a7cf8004e5d4d9a3f7026af1bc96 SHA512 30c00e6fc0dbd97ec2307d83a777f53039ed0eb8c4c26c9f4e581567025225ca1937032fe23fd09216d55b2703fa3c0d20a7f1efd713ba6c9ae5e32a6a088d6a -DIST version_2.2.0.tar.gz 30811929 BLAKE2B cde004add53ee025728d566cb7331cb7b1eac5412e9ad3bee037d13277c24dcdc6024c91f09bb9ef0653a12a3ee7c5cb5cec21e2a00825d185472ea7036e08f5 SHA512 5c8dc5b581e04208a1ae53771ef2607da189ee85aadf501ce1480008f5a6ddb10bb528ddc2608d3f04acd26c583ff895ad4148d6a1397f002292e20098971e1d -EBUILD PrusaSlicer-2.1.1.ebuild 1466 BLAKE2B 9308684396460af7b574bd11006abe13d5530cf4388311146a2d03207adac0b8a0f610a4882f64f041b73f79d9a2a21032abe037fe8609a62ba3debbf42f4157 SHA512 c87108d6fef72d36faa19a35b377b73c2e7ddbda59927dacace1c19d9c1f1bd45a39ead286004267ea4e19e8cba206d5170ba7e16fb5784c256824c274a19df3 -EBUILD PrusaSlicer-2.2.0.ebuild 1657 BLAKE2B 2ef99c92eb4a3eb946feeea1d36461da050ab4f249a6ae52c689d2ab5f1046b19df3f44ff4a9237e98711ff4c3ea3663e7d2de44f964d0f5f2d58216347fb29a SHA512 6d8157dfb47d5d693aec205334557b5e6e351a9d0bd683970cd660929949d112145923ba2216a9e57b049905f6d2dac595b3026deace6d25d9bbd1dd387b8cf6 diff --git a/media-gfx/PrusaSlicer/PrusaSlicer-2.1.1.ebuild b/media-gfx/PrusaSlicer/PrusaSlicer-2.1.1.ebuild deleted file mode 100644 index a29934e..0000000 --- a/media-gfx/PrusaSlicer/PrusaSlicer-2.1.1.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 -# originally from https://bitbucket.org/szymonsz/gen2-overlay/src/master/media-gfx/PrusaSlicer/ - -EAPI=6 - -inherit eutils cmake-utils - -DESCRIPTION="Prusa Edition of a mesh slicer to generate G-code for fused-filament-fabrication (3D printers)" -HOMEPAGE="https://github.com/prusa3d/PrusaSlicer" -SRC_URI="https://github.com/prusa3d/PrusaSlicer/archive/version_${PV}.tar.gz" - -LICENSE="AGPL-3" -SLOT="0" -KEYWORDS="~amd64" -IUSE="+gui test" - -# https://github.com/prusa3d/PrusaSlicer/issues/2150 -RDEPEND=">=dev-libs/boost-1.55[threads] - dev-libs/cereal - dev-cpp/tbb - sci-libs/nlopt[cxx] - net-misc/curl - dev-cpp/eigen - dev-libs/expat - media-libs/glew:0 - gui? ( >=media-libs/freeglut-3 - x11-libs/libXmu - x11-libs/wxGTK:3.0 - )" -DEPEND="${RDEPEND} - >=dev-cpp/gtest-1.7" - -S="${WORKDIR}/PrusaSlicer-version_${PV}" - -src_prepare() { - pushd "${WORKDIR}/PrusaSlicer-version_${PV}" || die - eapply_user - popd || die -} - -src_configure() { - CMAKE_BUILD_TYPE=Release - - local mycmakeargs=( - -DSLIC3R_WX_STABLE=1 - -DSLIC3R_FHS=1 - -DSLIC3R_BUILD_ID=PrusaSlicer-${PV} - ) - - sed -i "s|\+UNKNOWN||g" version.inc - - cmake-utils_src_configure -} - -src_test() { - cmake-utils_src_test -} - -src_install() { - cmake-utils_src_install - - make_desktop_entry prusa-slicer \ - "PrusaSlicer" \ - "/usr/share/${PN}/icons/PrusaSlicer_128px.png" \ - "Graphics;3DGraphics;Engineering;Development" -} diff --git a/media-gfx/PrusaSlicer/PrusaSlicer-2.2.0.ebuild b/media-gfx/PrusaSlicer/PrusaSlicer-2.2.0.ebuild deleted file mode 100644 index 5fbc755..0000000 --- a/media-gfx/PrusaSlicer/PrusaSlicer-2.2.0.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 -# originally from https://bitbucket.org/szymonsz/gen2-overlay/src/master/media-gfx/PrusaSlicer/ - -EAPI=6 - -inherit eutils cmake-utils - -DESCRIPTION="Prusa Edition of a mesh slicer to generate G-code for fused-filament-fabrication (3D printers)" -HOMEPAGE="https://github.com/prusa3d/PrusaSlicer" -SRC_URI="https://github.com/prusa3d/PrusaSlicer/archive/version_${PV}.tar.gz" - -LICENSE="AGPL-3" -SLOT="0" -KEYWORDS="~amd64" -IUSE="+gui test" - -# https://github.com/prusa3d/PrusaSlicer/issues/2150 -RDEPEND=">=dev-libs/boost-1.70[threads] - dev-libs/cereal - dev-cpp/tbb - sci-libs/nlopt[cxx] - net-misc/curl - dev-cpp/eigen - dev-libs/expat - media-libs/glew:0 - >=media-libs/qhull-2019.1 - >=dev-libs/c-blosc-1.17.0 - >=media-libs/openexr-2.4.0 - >=media-gfx/openvdb-6.2.1 - >=sci-mathematics/cgal-5.0.0 - gui? ( >=media-libs/freeglut-3 - x11-libs/libXmu - x11-libs/wxGTK:3.1 - )" - -DEPEND="${RDEPEND} - >=dev-cpp/gtest-1.7" - -S="${WORKDIR}/PrusaSlicer-version_${PV}" -PATCHES=( - "${FILESDIR}/PrusaSlicer-2.2.0-fix-get-height-crash.patch" -) - -src_prepare() { - pushd "${WORKDIR}/PrusaSlicer-version_${PV}" || die - default - popd || die -} - -src_configure() { - CMAKE_BUILD_TYPE=Release - - local mycmakeargs=( - -DSLIC3R_FHS=1 - -DSLIC3R_BUILD_ID=PrusaSlicer-${PV} - ) - - sed -i "s|\+UNKNOWN||g" version.inc - - cmake-utils_src_configure -} - -src_test() { - cmake-utils_src_test -} - -src_install() { - cmake-utils_src_install - - make_desktop_entry prusa-slicer \ - "PrusaSlicer" \ - "/usr/share/${PN}/icons/PrusaSlicer_128px.png" \ - "Graphics;3DGraphics;Engineering;Development" -} diff --git a/media-gfx/PrusaSlicer/files/PrusaSlicer-2.2.0-fix-get-height-crash.patch b/media-gfx/PrusaSlicer/files/PrusaSlicer-2.2.0-fix-get-height-crash.patch deleted file mode 100644 index 7c2b730..0000000 --- a/media-gfx/PrusaSlicer/files/PrusaSlicer-2.2.0-fix-get-height-crash.patch +++ /dev/null @@ -1,18 +0,0 @@ -diff --git i/src/slic3r/GUI/ObjectDataViewModel.cpp w/src/slic3r/GUI/ObjectDataViewModel.cpp -index 0905f4915..d9b9af016 100644 ---- i/src/slic3r/GUI/ObjectDataViewModel.cpp -+++ w/src/slic3r/GUI/ObjectDataViewModel.cpp -@@ -1710,10 +1710,11 @@ bool BitmapChoiceRenderer::Render(wxRect rect, wxDC* dc, int state) - { - dc->DrawBitmap(icon, rect.x, rect.y + (rect.height - icon.GetHeight()) / 2); - xoffset = icon.GetWidth() + 4; -+ -+ if (rect.height==0) -+ rect.height= icon.GetHeight(); - } - -- if (rect.height==0) -- rect.height= icon.GetHeight(); - RenderText(m_value.GetText(), xoffset, rect, dc, state); - - return true; diff --git a/x11-libs/wxGTK/Manifest b/x11-libs/wxGTK/Manifest deleted file mode 100644 index 7d0484d..0000000 --- a/x11-libs/wxGTK/Manifest +++ /dev/null @@ -1,6 +0,0 @@ -AUX wxGTK-3.1.3-abi.patch 1335 BLAKE2B b9b9c8aa25769427e5e76612d861e7d87381e9e10347900852c6d407d420fab1d6f324d6c05f140cffb608b7cf278339c7ad22554fe873f771d78375bab02ba4 SHA512 d590bfc4d66c2ccc6504f984c49189e2b068839b88c657b7db06e1a8ad804e031270f5b74bc06c2d5237e988c3e0d72de7acf6a043e06a1a1f54229c2518e14f -AUX wxGTK-3.1.3-collision.patch 6172 BLAKE2B cf7ba3fc7ed057f3435d9a1397af65bb2e86eb494d92f18ed165c8f8b9c73e18362edaa88af1435b381763b0875d5de94fd8d62a1a16d933e4863d1ca0c30303 SHA512 deda90d94009fc638bffcea1b3cb18c6a9bcbe30fa5911618312e14a3e92afb9f84ae61eea427fd295d032c631320e3cc4a8a324c381c3d941b2c6d29f33277a -DIST wxWidgets-3.1.3-docs-html.tar.bz2 25068930 BLAKE2B f4b81ddbd682b8e4687f212f1a12593f184eabe5f370b8da99faf07fcf083855d68801eba35966c7103b0e6a454220dab291d9383ce6eeab8cb14899b8092496 SHA512 1f4fb4e665b72fc7947f0ddc88f7f9e164100a016aef509a57e252f4ec3d7a63518c28bed3e9d5e3d8421c7e12bc94a58983649180f629b06150fb8ee49de932 -DIST wxWidgets-3.1.3.tar.bz2 21345268 BLAKE2B 975fb013c5444d398411a9644c4f755f51e685095f47def3749e8bce1bc5eaf24d77275427e8ad0540658326f6b40cb80242aa6ff6c021d9e2bbe1212a664c94 SHA512 d19305c96f1a382ec74549f69d6a7c61ecd0abac383623c308c45f0168c670c15262efc4fb64c14fa9d1fdb3579f19abdb5c8247ead72dc926342e586d7b4532 -EBUILD wxGTK-3.1.3.ebuild 5101 BLAKE2B fe2c1503d8b444a5cfd84bf9d2f1ca76354d8a4cbbdb778d5b163557e45dab3917bc2bcb8e7f934a9a612a8637ac5b071376a4f66f45777c5ba4ea8750065e6e SHA512 5b0f6b0c7d184a68f4f8192370950173e0dc5f4374674b87db024f0521c7bf0d148a06d49aa35c267ff21062fd245a47d4909ff9bc32500236fa73f0b038760d -MISC metadata.xml 759 BLAKE2B 4bafb6bd1d082eae5773d84fb116779f337e662090c4d01e22296f891114458de4a50f1f10775b61f06f22c6db7d4288c66c0c59836cc362298c23fecef499af SHA512 a7bf3b8cecf7ffba0dbfded9884fb7df3866c1a00c473f9ecb2d3fc1c84c5713dcde949f6acc35ee688741efb2da74fc189ed9c58b24bd2874c7e95908eb1f60 diff --git a/x11-libs/wxGTK/files/wxGTK-3.1.3-abi.patch b/x11-libs/wxGTK/files/wxGTK-3.1.3-abi.patch deleted file mode 100644 index f064da4..0000000 --- a/x11-libs/wxGTK/files/wxGTK-3.1.3-abi.patch +++ /dev/null @@ -1,31 +0,0 @@ -diff --git c/src/common/appbase.cpp w/src/common/appbase.cpp -index 186d845..5b5727a 100644 ---- c/src/common/appbase.cpp -+++ w/src/common/appbase.cpp -@@ -850,6 +850,26 @@ bool wxAppConsoleBase::CheckBuildOptions(const char *optionsSignature, - msg.Printf(wxT("Mismatch between the program and library build versions detected.\nThe library used %s,\nand %s used %s."), - lib.c_str(), progName.c_str(), prog.c_str()); - -+ int l_off = lib.Find("compiler with C++ ABI "); -+ int p_off = prog.Find("compiler with C++ ABI "); -+ if (l_off != wxNOT_FOUND && p_off != wxNOT_FOUND) { -+ int space; -+ space = lib.find(',', l_off + 22); -+ lib.erase(l_off, space - l_off); -+ space = prog.find(',', p_off + 22); -+ prog.erase(p_off, space - p_off); -+ if (lib == prog) { -+ // The only difference is the ABI version, which apparently only -+ // affect obscure cases. We used to warn here, so at least -+ // there was an indication of what's up if there is a problem -+ // due to ABI incompatibilities, but wxLogWarning() can result -+ // in a pop up dialog with some applications, which is just too -+ // intrusive, so just quietly ignore instead. -+ //wxLogWarning(msg.c_str()); -+ return false; -+ } -+ } -+ - wxLogFatalError(msg.c_str()); - - // normally wxLogFatalError doesn't return diff --git a/x11-libs/wxGTK/files/wxGTK-3.1.3-collision.patch b/x11-libs/wxGTK/files/wxGTK-3.1.3-collision.patch deleted file mode 100644 index add7ff2..0000000 --- a/x11-libs/wxGTK/files/wxGTK-3.1.3-collision.patch +++ /dev/null @@ -1,74 +0,0 @@ -diff --git a/Makefile.in b/Makefile.in -index dadc0cd..e128da6 100644 ---- a/Makefile.in -+++ b/Makefile.in -@@ -13804,10 +13804,10 @@ COND_wxUSE_REGEX_builtin___LIB_REGEX_p = \ - all: $(__wxregex___depname) $(__wxzlib___depname) $(__wxpng___depname) $(__wxjpeg___depname) $(__wxtiff___depname) $(__wxexpat___depname) $(__wxscintilla___depname) $(__monodll___depname) $(__monolib___depname) $(__basedll___depname) $(__baselib___depname) $(__netdll___depname) $(__netlib___depname) $(__coredll___depname) $(__corelib___depname) $(__advdll___depname) $(__advlib___depname) $(__mediadll___depname) $(__medialib___depname) $(__htmldll___depname) $(__htmllib___depname) $(__webviewdll___depname) $(__webviewlib___depname) $(__qadll___depname) $(__qalib___depname) $(__xmldll___depname) $(__xmllib___depname) $(__xrcdll___depname) $(__xrclib___depname) $(__auidll___depname) $(__auilib___depname) $(__ribbondll___depname) $(__ribbonlib___depname) $(__propgriddll___depname) $(__propgridlib___depname) $(__richtextdll___depname) $(__richtextlib___depname) $(__stcdll___depname) $(__stclib___depname) $(__gldll___depname) $(__gllib___depname) $(__sound_sdl___depname) $(__webkit2_ext___depname) $(__wxrc___depname) - - install: $(__install_wxregex___depname) $(__install_wxzlib___depname) $(__install_wxpng___depname) $(__install_wxjpeg___depname) $(__install_wxtiff___depname) $(__install_wxexpat___depname) $(__install_wxscintilla___depname) $(__install_monodll___depname) $(__install_monolib___depname) $(__install_basedll___depname) $(__install_baselib___depname) $(__install_netdll___depname) $(__install_netlib___depname) $(__install_coredll___depname) $(__install_corelib___depname) $(__install_advdll___depname) $(__install_advlib___depname) $(__install_mediadll___depname) $(__install_medialib___depname) $(__install_htmldll___depname) $(__install_htmllib___depname) $(__install_webviewdll___depname) $(__install_webviewlib___depname) $(__install_qadll___depname) $(__install_qalib___depname) $(__install_xmldll___depname) $(__install_xmllib___depname) $(__install_xrcdll___depname) $(__install_xrclib___depname) $(__install_auidll___depname) $(__install_auilib___depname) $(__install_ribbondll___depname) $(__install_ribbonlib___depname) $(__install_propgriddll___depname) $(__install_propgridlib___depname) $(__install_richtextdll___depname) $(__install_richtextlib___depname) $(__install_stcdll___depname) $(__install_stclib___depname) $(__install_gldll___depname) $(__install_gllib___depname) $(__install_sound_sdl___depname) $(__install_webkit2_ext___depname) $(__install_wxrc___depname) install-wxconfig locale_install locale_msw_install -- $(INSTALL_DIR) $(DESTDIR)$(datadir)/aclocal -- (cd $(srcdir) ; $(INSTALL_DATA) wxwin.m4 $(DESTDIR)$(datadir)/aclocal) - $(INSTALL_DIR) $(DESTDIR)$(datadir)/bakefile/presets -- (cd $(srcdir)/build/bakefiles/wxpresets/presets ; $(INSTALL_DATA) wx.bkl wx_unix.bkl wx_win32.bkl wx_xrc.bkl wx_presets.py $(DESTDIR)$(datadir)/bakefile/presets) -+ (cd $(srcdir)/build/bakefiles/wxpresets/presets ; \ -+ for i in wx.bkl wx_unix.bkl wx_win32.bkl wx_xrc.bkl wx_presets.py ; do \ -+ $(INSTALL_DATA) $$i $(DESTDIR)$(datadir)/bakefile/presets/wx$(WX_RELEASE_NODOT)$${i##wx} ; done) - $(DYLIB_RPATH_INSTALL) - $(INSTALL_DIR) $(DESTDIR)$(libdir)/wx/include/$(TOOLCHAIN_FULLNAME)/wx - for f in setup.h $(RCDEFS_H); do \ -@@ -14703,7 +14703,7 @@ install-wxconfig: - $(INSTALL_DIR) $(DESTDIR)$(bindir) - $(INSTALL_DIR) $(DESTDIR)$(libdir)/wx/config - $(INSTALL_PROGRAM) lib/wx/config/$(TOOLCHAIN_FULLNAME) $(DESTDIR)$(libdir)/wx/config -- (cd $(DESTDIR)$(bindir) && rm -f wx-config && $(LN_S) $(libdir)/wx/config/$(TOOLCHAIN_FULLNAME) wx-config || cp -p $(DESTDIR)$(libdir)/wx/config/$(TOOLCHAIN_FULLNAME) wx-config) -+ (cd $(DESTDIR)$(bindir) && rm -f wx-config-$(WX_RELEASE) && $(LN_S) $(libdir)/wx/config/$(TOOLCHAIN_FULLNAME) wx-config-$(WX_RELEASE) || cp -p $(DESTDIR)$(libdir)/wx/config/$(TOOLCHAIN_FULLNAME) wx-config-$(WX_RELEASE)) - - locale_install: - $(INSTALL_DIR) $(DESTDIR)$(datadir)/locale -@@ -14711,7 +14711,7 @@ locale_install: - $(INSTALL_DIR) $(DESTDIR)$(datadir)/locale/$$l ; \ - $(INSTALL_DIR) $(DESTDIR)$(datadir)/locale/$$l/LC_MESSAGES ; \ - if test -f $(srcdir)/locale/$$l.mo ; then \ -- $(INSTALL_DATA) $(srcdir)/locale/$$l.mo $(DESTDIR)$(datadir)/locale/$$l/LC_MESSAGES/wxstd.mo ; \ -+ $(INSTALL_DATA) $(srcdir)/locale/$$l.mo $(DESTDIR)$(datadir)/locale/$$l/LC_MESSAGES/wxstd$(WX_RELEASE_NODOT).mo ; \ - fi ; \ - done - -diff --git a/build/bakefiles/wx.bkl b/build/bakefiles/wx.bkl -index 9c7b419..8e0b2e6 100644 ---- a/build/bakefiles/wx.bkl -+++ b/build/bakefiles/wx.bkl -@@ -137,7 +137,7 @@ - <using module="gettext"/> - <gettext-catalogs id="locale"> - <srcdir>$(SRCDIR)/locale</srcdir> -- <catalog-name>wxstd</catalog-name> -+ <catalog-name>wxstd$(WX_RELEASE_NODOT)</catalog-name> - <linguas> - ca cs da de el es fi fr hu id it ja nl pl ru sl sv tr uk - zh zh_CN zh_TW -diff --git a/src/common/translation.cpp b/src/common/translation.cpp -index 9716294..20d1631 100644 ---- a/src/common/translation.cpp -+++ b/src/common/translation.cpp -@@ -1521,7 +1521,7 @@ wxArrayString wxTranslations::GetAvailableTranslations(const wxString& domain) c - - bool wxTranslations::AddStdCatalog() - { -- if ( !AddCatalog(wxS("wxstd")) ) -+ if ( !AddCatalog(wxS("wxstd" wxSTRINGIZE(wxMAJOR_VERSION) wxSTRINGIZE(wxMINOR_VERSION))) ) - return false; - - // there may be a catalog with toolkit specific overrides, it is not -diff --git a/utils/wxrc/Makefile.in b/utils/wxrc/Makefile.in -index aa56bf0..6eb05ba 100644 ---- a/utils/wxrc/Makefile.in -+++ b/utils/wxrc/Makefile.in -@@ -119,7 +119,6 @@ distclean: clean - @COND_USE_XRC_1@ rm -f $(DESTDIR)$(bindir)/wxrc$(EXEEXT) $(DESTDIR)$(bindir)/wxrc-$(WX_RELEASE) - @COND_USE_XRC_1@ $(INSTALL_PROGRAM) wxrc$(EXEEXT) $(DESTDIR)$(bindir) - @COND_USE_XRC_1@ mv -f $(DESTDIR)$(bindir)/wxrc$(EXEEXT) $(DESTDIR)$(bindir)/wxrc-$(WX_RELEASE) --@COND_USE_XRC_1@ (cd $(DESTDIR)$(bindir) && $(LN_S) wxrc-$(WX_RELEASE) wxrc$(EXEEXT)) - - @COND_USE_XRC_1@uninstall_wxrc: - @COND_USE_XRC_1@ rm -f $(DESTDIR)$(bindir)/wxrc$(EXEEXT) diff --git a/x11-libs/wxGTK/metadata.xml b/x11-libs/wxGTK/metadata.xml deleted file mode 100644 index aa10f7e..0000000 --- a/x11-libs/wxGTK/metadata.xml +++ /dev/null @@ -1,25 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>wxwidgets@gentoo.org</email> - <description>All modifications to this package must be approved by the wxwidgets herd.</description> - </maintainer> - <use> - <flag name="gstreamer"> - Enable the wxMediaCtrl class for playing audio and video through - gstreamer. - </flag> - <flag name="sdl"> - Use Simple Directmedia Layer (<pkg>media-libs/libsdl</pkg>) for - audio. - </flag> - </use> - <upstream> - <remote-id type="sourceforge">wxpython</remote-id> - </upstream> - <slots> - <slot name="*">Slots reflect MAJOR.MINOR versions which can - be installed in parallel.</slot> - </slots> -</pkgmetadata> diff --git a/x11-libs/wxGTK/wxGTK-3.1.3.ebuild b/x11-libs/wxGTK/wxGTK-3.1.3.ebuild deleted file mode 100644 index 4d7fe42..0000000 --- a/x11-libs/wxGTK/wxGTK-3.1.3.ebuild +++ /dev/null @@ -1,180 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit multilib-minimal - -DESCRIPTION="GTK+ version of wxWidgets, a cross-platform C++ GUI toolkit" -HOMEPAGE="https://wxwidgets.org/" -SRC_URI="https://github.com/wxWidgets/wxWidgets/releases/download/v${PV}/wxWidgets-${PV}.tar.bz2 - doc? ( https://github.com/wxWidgets/wxWidgets/releases/download/v${PV}/wxWidgets-${PV}-docs-html.tar.bz2 )" - -KEYWORDS="~alpha amd64 arm arm64 ~hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" -IUSE="+X aqua doc debug gstreamer libnotify opengl sdl tiff" - -WXSUBVERSION=${PV}.0 # 3.1.3.0 -WXVERSION=${WXSUBVERSION%.*} # 3.1.3 -WXRELEASE=${WXVERSION%.*} # 3.1 -WXRELEASE_NODOT=${WXRELEASE//./} # 31 - -SLOT="${WXRELEASE}" - -RDEPEND=" - dev-libs/expat[${MULTILIB_USEDEP}] - sdl? ( media-libs/libsdl2[${MULTILIB_USEDEP}] ) - X? ( - >=dev-libs/glib-2.22:2[${MULTILIB_USEDEP}] - media-libs/libpng:0=[${MULTILIB_USEDEP}] - sys-libs/zlib[${MULTILIB_USEDEP}] - virtual/jpeg:0=[${MULTILIB_USEDEP}] - >=x11-libs/gtk+-2.18:2[${MULTILIB_USEDEP}] - x11-libs/gdk-pixbuf[${MULTILIB_USEDEP}] - x11-libs/libSM[${MULTILIB_USEDEP}] - x11-libs/libX11[${MULTILIB_USEDEP}] - x11-libs/libXxf86vm[${MULTILIB_USEDEP}] - x11-libs/pango[${MULTILIB_USEDEP}] - gstreamer? ( - media-libs/gstreamer:1.0[${MULTILIB_USEDEP}] - media-libs/gst-plugins-base:1.0[${MULTILIB_USEDEP}] ) - libnotify? ( x11-libs/libnotify[${MULTILIB_USEDEP}] ) - opengl? ( virtual/opengl[${MULTILIB_USEDEP}] ) - tiff? ( media-libs/tiff:0[${MULTILIB_USEDEP}] ) - ) - aqua? ( - x11-libs/gtk+:2[aqua=,${MULTILIB_USEDEP}] - virtual/jpeg:0=[${MULTILIB_USEDEP}] - tiff? ( media-libs/tiff:0[${MULTILIB_USEDEP}] ) - )" - -DEPEND="${RDEPEND} - virtual/pkgconfig[${MULTILIB_USEDEP}] - opengl? ( virtual/glu[${MULTILIB_USEDEP}] ) - X? ( x11-base/xorg-proto )" - -PDEPEND=">=app-eselect/eselect-wxwidgets-20131230" - -LICENSE="wxWinLL-3 GPL-2 doc? ( wxWinFDL-3 )" - -S="${WORKDIR}/wxWidgets-${PV}" -PATCHES=( - "${FILESDIR}"/wxGTK-3.1.3-collision.patch - "${FILESDIR}"/wxGTK-3.1.3-abi.patch -) - -src_prepare() { - default - - # Versionating - sed -i \ - -e "s:\(WX_RELEASE = \).*:\1${WXRELEASE}:"\ - -e "s:\(WX_RELEASE_NODOT = \).*:\1${WXRELEASE_NODOT}:"\ - -e "s:\(WX_VERSION = \).*:\1${WXVERSION}:"\ - -e "s:aclocal):aclocal/wxwin${WXRELEASE_NODOT}.m4):" \ - -e "s:wxstd.mo:wxstd${WXRELEASE_NODOT}.mo:" \ - -e "s:wxmsw.mo:wxmsw${WXRELEASE_NODOT}.mo:" \ - Makefile.in || die - - sed -i \ - -e "s:\(WX_RELEASE = \).*:\1${WXRELEASE}:"\ - utils/wxrc/Makefile.in || die - - sed -i \ - -e "s:\(WX_VERSION=\).*:\1${WXVERSION}:" \ - -e "s:\(WX_RELEASE=\).*:\1${WXRELEASE}:" \ - -e "s:\(WX_SUBVERSION=\).*:\1${WXSUBVERSION}:" \ - -e '/WX_VERSION_TAG=/ s:${WX_RELEASE}:3.1:' \ - configure || die -} - -multilib_src_configure() { - local myconf - - # X independent options - myconf=" - --with-zlib=sys - --with-expat=sys - --enable-compat28 - $(use_with sdl)" - - # debug in >=2.9 - # there is no longer separate debug libraries (gtk2ud) - # wxDEBUG_LEVEL=1 is the default and we will leave it enabled - # wxDEBUG_LEVEL=2 enables assertions that have expensive runtime costs. - # apps can disable these features by building w/ -NDEBUG or wxDEBUG_LEVEL_0. - # http://docs.wxwidgets.org/3.0/overview_debugging.html - # https://groups.google.com/group/wx-dev/browse_thread/thread/c3c7e78d63d7777f/05dee25410052d9c - use debug \ - && myconf="${myconf} --enable-debug=max" - - # wxGTK options - # --enable-graphics_ctx - needed for webkit, editra - # --without-gnomevfs - bug #203389 - use X && \ - myconf="${myconf} - --enable-graphics_ctx - --with-gtkprint - --enable-gui - --with-libpng=sys - --with-libxpm=sys - --with-libjpeg=sys - --without-gnomevfs - --disable-webview - $(use_enable gstreamer mediactrl) - $(use_with libnotify) - $(use_with opengl) - $(use_with tiff libtiff sys)" - - use aqua && \ - myconf="${myconf} - --enable-graphics_ctx - --enable-gui - --with-libpng=sys - --with-libxpm=sys - --with-libjpeg=sys - --with-mac - --with-opengl" - # cocoa toolkit seems to be broken - - # wxBase options - if use !X && use !aqua ; then - myconf="${myconf} - --disable-gui" - fi - - ECONF_SOURCE="${S}" econf ${myconf} -} - -multilib_src_install_all() { - cd "${S}"/docs || die - dodoc changes.txt readme.txt - newdoc base/readme.txt base_readme.txt - newdoc gtk/readme.txt gtk_readme.txt - - use doc && HTML_DOCS="${WORKDIR}"/wxWidgets-${PV}-docs-html/. - einstalldocs - - # Stray windows locale file, causes collisions - local wxmsw="${ED}usr/share/locale/it/LC_MESSAGES/wxmsw.mo" - [[ -e ${wxmsw} ]] && rm "${wxmsw}" - - # Unversioned links - rm -f "${D}"/usr/bin/wx{-config,rc} - - # version bakefile presets - pushd "${D}"usr/share/bakefile/presets/ > /dev/null - for f in wx*; do - mv "${f}" "${f/wx/wx31}" - done - popd > /dev/null -} - -pkg_postinst() { - has_version app-eselect/eselect-wxwidgets \ - && eselect wxwidgets update -} - -pkg_postrm() { - has_version app-eselect/eselect-wxwidgets \ - && eselect wxwidgets update -} |