Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 317204 Details for
Bug 417043
app-text/fbreader-0.12.10 and 0.99.1 fail to build: "fatal error: glib.h: No such file or directory" via fribidi header file
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fbreader-0.12.10.ebuild.diff
fbreader-0.12.10.ebuild.diff (text/plain), 1.96 KB, created by
Stefan Kuhn
on 2012-07-05 03:27:04 UTC
(
hide
)
Description:
fbreader-0.12.10.ebuild.diff
Filename:
MIME Type:
Creator:
Stefan Kuhn
Created:
2012-07-05 03:27:04 UTC
Size:
1.96 KB
patch
obsolete
>--- /usr/portage/app-text/fbreader/fbreader-0.12.10.ebuild 2012-06-02 10:31:05.000000000 +0200 >+++ /usr/local/portage/app-text/fbreader/fbreader-0.12.10-r2.ebuild 2012-07-05 05:19:47.394671923 +0200 >@@ -4,7 +4,7 @@ > > EAPI=4 > >-inherit eutils multilib >+inherit eutils multilib toolchain-funcs flag-o-matic > > DESCRIPTION="E-Book Reader. Supports many e-book formats." > HOMEPAGE="http://www.fbreader.org/" >@@ -15,16 +15,19 @@ > KEYWORDS="amd64 ~ppc x86" > > IUSE="debug gtk +qt4" >-DEPEND="dev-libs/expat >- dev-libs/liblinebreak >- net-misc/curl >- dev-libs/fribidi >+RDEPEND=" > app-arch/bzip2 > dev-db/sqlite >- qt4? ( x11-libs/qt-gui:4 ) >+ dev-libs/expat >+ dev-libs/fribidi >+ dev-libs/liblinebreak >+ net-misc/curl >+ virtual/jpeg > gtk? ( >=x11-libs/gtk+-2.4:2 ) >- " >-RDEPEND="${DEPEND}" >+ qt4? ( x11-libs/qt-gui:4 )" >+DEPEND="${RDEPEND} >+ virtual/pkgconfig >+" > > REQUIRED_USE=" ^^ ( qt4 gtk )" > >@@ -35,8 +38,20 @@ > sed -i "s:^Name=E-book reader:Name=FBReader:" fbreader/desktop/desktop || die "sed failed" > sed -i "s:^Name\[ru\]=.*$:Name\[ru\]=FBReader:" fbreader/desktop/desktop || die "sed failed" > sed -i "s:^Icon=FBReader.png:Icon=FBReader:" fbreader/desktop/desktop || die "sed failed" >- sed -i "/^ LDFLAGS += -s$/ d" makefiles/config.mk || die "sed failed" >- sed -i "/^LDFLAGS =$/ d" makefiles/arch/desktop.mk || die "sed failed" >+ >+ # patch CFFLAGS for fribidi >+ if ! use debug; then >+ sed -i "s:^\(\\s\+CFLAGS +=\) -O3\$:\1 ${CXXFLAGS} `pkg-config --cflags fribidi`:" \ >+ makefiles/config.mk || die "sed failed" >+ # patch LDFLAGS >+ sed -i "s:^\(\\s\+LDFLAGS +=\) -\(s\|pg\)\$:\1 ${LDFLAGS}:" makefiles/config.mk || die "sed failed" >+ else >+ # preserve -O0 -g for target-status "debug" >+ filter-flags -O* -g >+ append-cxxflags -O0 -g >+ sed -i "s:^\(\\s\+CFLAGS +=\) -O0 -g\$:\1 ${CXXFLAGS} `pkg-config --cflags fribidi`:" \ >+ makefiles/config.mk || die "sed failed" >+ fi > > echo "TARGET_ARCH = desktop" > makefiles/target.mk > echo "LIBDIR = /usr/$(get_libdir)" >> makefiles/target.mk
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 417043
:
312643
|
315415
|
315483
|
317204
|
317360
|
324854