Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 41595 Details for
Bug 40821
nvu ebuild (new package)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
ebuild for nvu-0.50
nvu-0.50.ebuild (text/plain), 4.61 KB, created by
Aniruddha Shankar
on 2004-10-11 19:42:44 UTC
(
hide
)
Description:
ebuild for nvu-0.50
Filename:
MIME Type:
Creator:
Aniruddha Shankar
Created:
2004-10-11 19:42:44 UTC
Size:
4.61 KB
patch
obsolete
># Copyright 1999-2004 Gentoo Technologies, Inc. ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit makeedit flag-o-matic gcc nsplugins eutils > >S=${WORKDIR}/mozilla >MOZVERSION=1.7 >PATCH="trunk-${PV}.patch.gz" > >DESCRIPTION="A complete Web Authoring System for Linux Desktop users." >HOMEPAGE="http://www.nvu.com/" ># commented out by Aniruddha Shankar < karim@sarai.net > becasuse v. 0.50 doesn't use the patch >#SRC_URI="http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla-${MOZVERSION}/src/mozilla-source-${MOZVERSION}.tar.bz2 http://www.nvu.com/download/nvu-${PV}-sources.tar.gz http://www.nvu.com/download/${PATCH}" >SRC_URI="http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla-${MOZVERSION}/src/mozilla-source-${MOZVERSION}.tar.bz2 http://cvs.nvu.com/download/nvu-${PV}-sources.tar.bz2" >KEYWORDS="x86 ~ppc ~sparc ~alpha ~amd64 ~ia64" >SLOT="0" >LICENSE="MPL-1.1 | NPL-1.1" >IUSE="mozilla" > >RDEPEND="virtual/x11 > virtual/xft > >=sys-libs/zlib-1.1.4 > >=media-libs/jpeg-6b > >=sys-apps/portage-2.0.36 > dev-libs/expat > app-arch/zip > app-arch/unzip > >=x11-libs/gtk+-2.1.1 > >=dev-libs/libIDL-0.8.0" > >DEPEND="${RDEPEND} > virtual/glibc > dev-util/pkgconfig > dev-lang/perl" > ># needed by src_compile() and src_install() >export MOZILLA_FIVE_HOME=/usr/lib/nvu > >src_unpack() { > unpack mozilla-source-${MOZVERSION}.tar.bz2 > rm -rf ${S}/composer > rm -rf ${S}/chrome > ln -s ${S}/rdf/chrome ${S}/chrome > > cd ${S} > unpack nvu-${PV}-source.tar.bz2 ># epatch ${DISTDIR}/${PATCH} ># commented out by Aniruddha Shankar < karim@sarai.net > becasuse v. 0.50 doesn't use the patch. > > # alpha stubs patch from lfs project. > # <taviso@gentoo.org> (26 Jun 2003) > use alpha && epatch ${FILESDIR}/mozilla-1.3-alpha-stubs.patch > >} > >src_compile() { > >export MOZILLA_OFFICIAL=1 >export BUILD_OFFICIAL=1 >export MOZ_STANDALONE_COMPOSER=1 > > local enable_optimize > local myconf="--prefix=${MOZILLA_FIVE_HOME} \ > --disable-svg \ > --without-system-mng \ > --without-system-png \ > --disable-ldap \ > --disable-mailnews \ > --disable-installer \ > --disable-activex \ > --disable-activex-scripting \ > --disable-tests \ > --disable-oji \ > --disable-necko-disk-cache \ > --disable-profilesharing \ > --enable-extensions=cookie,xml-rpc,xmlextras,pref,universalchardet,webservices,wallet,editor/cascades \ > --enable-image-decoders=png,gif,jpeg \ > --enable-necko-protocols=http,ftp,file,jar,viewsource,res,data \ > --disable-pedantic \ > --disable-short-wchar \ > --enable-xprint \ > --enable-strip-libs \ > --enable-crypto \ > --disable-mathml \ > --with-system-zlib \ > --enable-freetype2 \ > --enable-default-toolkit=gtk2 \ > --enable-toolkit=gtk2 \ > --enable-xft \ > --with-default-mozilla-five-home=${MOZILLA_FIVE_HOME}" > > > # Per-architecture flags > case "${ARCH}" in > alpha|amd64|ia64) > # 64-bit needs -fPIC > append-flags -fPIC > ;; > sparc) > # Added to get MozillaFirebird to compile on sparc > replace-sparc64-flags > ;; > ppc) > # Fix to avoid gcc-3.3.x miscompilation issues. > if [[ "$(gcc-major-version).$(gcc-minor-version)" == 3.3 ]]; then > append-flags -fno-strict-aliasing > fi > ;; > esac > > # 32-bit vs. 64-bit optimization > case "${ARCH}" in > alpha|amd64|ia64) > # Allow -O0 or -O1: Anything more than this causes > # segfaults on startup on 64-bit (bug 33767) > enable_optimize=$(echo "$CFLAGS" | grep -Eoe '-O[01]|-O\>') > enable_optimize=${enable_optimize:--O1} > filter-flags -O -O? > ;; > *) > # -O2 and below allowed on 32-bit > enable_optimize=$(echo "$CFLAGS" | grep -Eoe '-O[012]|-O\>') > enable_optimize=${enable_optimize:--O2} > filter-flags -O -O? > ;; > esac > > # Crashes on start when compiled with -fomit-frame-pointer > filter-flags -fomit-frame-pointer -mpowerpc-gfxopt > filter-flags -ffast-math > append-flags -s -fforce-addr > > if [[ $(gcc-major-version) -eq 3 ]]; then > # Currently gcc-3.2 or older do not work well if we specify "-march" > # and other optimizations for pentium4. > if [[ $(gcc-minor-version) -lt 3 ]]; then > replace-flags -march=pentium4 -march=pentium3 > filter-flags -msse2 > fi > fi > > econf --enable-optimize="${enable_optimize}" ${myconf} || die > > edit_makefiles > emake || die >} > >src_install() { > dodir /usr/lib > dodir ${MOZILLA_FIVE_HOME} > sed -i 's/MOZILLA_FIVE_HOME/NVU_HOME/' ${S}/dist/bin/nvu > cp -RL --no-preserve=links ${S}/dist/bin/* ${D}/${MOZILLA_FIVE_HOME} > > dodir /usr/bin > dosym ${MOZILLA_FIVE_HOME}/nvu /usr/bin/nvu > > #fix permissions > chown -R root:root ${D}/${MOZILLA_FIVE_HOME} > > #menu entry for gnome > insinto /usr/share/gnome/apps/Applications > doins ${FILESDIR}/nvu.desktop > > #menu entry for kde > insinto /usr/share/applnk/Development > doins ${FILESDIR}/nvu.desktop > > dodoc LEGAL LICENSE README.txt >}
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 Raw
Actions:
View
Attachments on
bug 40821
:
26212
|
26291
|
26498
|
28493
|
34364
|
37525
|
38046
|
38047
| 41595 |
41832
|
42305