Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
LTO: We are almost there
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5, 6, 7  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
costel78
Guru
Guru


Joined: 20 Apr 2007
Posts: 328

PostPosted: Thu Nov 08, 2018 11:55 am    Post subject: Reply with quote

Some unusual, but efficient fixes:
Code:
--- notify-python-0.1.1-r3.ebuild.orig   2017-04-20 23:44:03.000000000 +0300
+++ notify-python-0.1.1-r3.ebuild   2018-11-07 20:28:42.000000000 +0200
@@ -33,6 +33,7 @@
 
 src_configure() {
    python_foreach_impl autotools-utils_src_configure
+   cp -rf /usr/bin/libtool "${WORKDIR}/${P}-python2_7/"
 }
 
 src_compile() {


Code:
--- pulseaudio-12.2.ebuild.orig   2018-07-27 15:09:21.000000000 +0300
+++ pulseaudio-12.2.ebuild   2018-11-08 13:43:57.746017277 +0200
@@ -221,6 +221,8 @@
 
    ECONF_SOURCE=${S} \
    econf "${myconf[@]}"
+
+   cp -rf /usr/bin/libtool "${WORKDIR}/${P}-${MULTILIB_ABI_FLAG}.${ABI}/"
 }
 
 multilib_src_compile() {


Working and tested on nomultilib profile. I do not have a multilib gentoo installation.

I also played, for a while now, with -ffast-math and -funsafe-math-optimizations and it is working well. The speed improvements are visible in multimedia apps, browsers, thunderbird.
Databases like sqlite or postgresql does not like fast-math due to time precision functions.

Troubles (and fixes)
Code:
--- opus-1.3_rc2.ebuild   2018-09-24 19:39:25.000000000 +0300
+++ opus-1.3.ebuild   2018-09-25 16:34:52.000000000 +0300
@@ -40,7 +40,7 @@
       $(use_enable static-libs static)
    )
    for i in ${INTRINSIC_FLAGS} ; do
-      use ${i} && myeconfargs+=( --enable-intrinsics )
+      use ${i} && myeconfargs+=( --enable-intrinsics  --enable-float-approx )
    done
    ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
 }


For firefox and thunderbird embedded libopus:
Code:
--- a/media/libopus/celt/arch.h.orig   2018-11-07 16:03:50.631623766 +0200
+++ b/media/libopus/celt/arch.h   2018-11-07 16:03:59.960777735 +0200
@@ -34,6 +34,8 @@
 #ifndef ARCH_H
 #define ARCH_H
 
+#define FLOAT_APPROX 1
+
 #include "opus_types.h"
 #include "opus_defines.h"
 


They still bother me: dev-db/mysql-connector-c and media-libs/mesa. Mesa was ok before 17.3 or 17.2, I don't recall exactly.
If anybody have a solution, please share.
_________________
Sorry for my English. I'm still learning this language.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6, 7
Page 7 of 7

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum