summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2007-02-12 13:03:29 +0000
committerRaúl Porcel <armin76@gentoo.org>2007-02-12 13:03:29 +0000
commit6271e3b26b6ed7698dbab58b0f15376d34e88ed5 (patch)
tree20e9fef23d450b9de45bc275cc53dc74fc9e143a /app-editors
parentStable on sparc wrt #165742 (diff)
downloadhistorical-6271e3b26b6ed7698dbab58b0f15376d34e88ed5.tar.gz
historical-6271e3b26b6ed7698dbab58b0f15376d34e88ed5.tar.bz2
historical-6271e3b26b6ed7698dbab58b0f15376d34e88ed5.zip
Add patch to make nvu compile with >freetype-2.1, bug 166401 and remove unneeded version
Package-Manager: portage-2.1.2-r9
Diffstat (limited to 'app-editors')
-rw-r--r--app-editors/nvu/ChangeLog7
-rw-r--r--app-editors/nvu/Manifest37
-rw-r--r--app-editors/nvu/files/1.0/nvu-1.0-const.patch58
-rw-r--r--app-editors/nvu/files/digest-nvu-1.0-r23
-rw-r--r--app-editors/nvu/nvu-1.0-r2.ebuild88
-rw-r--r--app-editors/nvu/nvu-1.0-r4.ebuild7
6 files changed, 82 insertions, 118 deletions
diff --git a/app-editors/nvu/ChangeLog b/app-editors/nvu/ChangeLog
index c15b7a40e58f..db9c5255e68a 100644
--- a/app-editors/nvu/ChangeLog
+++ b/app-editors/nvu/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-editors/nvu
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/nvu/ChangeLog,v 1.25 2007/01/24 02:48:25 genone Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/nvu/ChangeLog,v 1.26 2007/02/12 13:03:29 armin76 Exp $
+
+ 12 Feb 2007; Raúl Porcel <armin76@gentoo.org>
+ +files/1.0/nvu-1.0-const.patch, -nvu-1.0-r2.ebuild, nvu-1.0-r4.ebuild:
+ Add patch to make nvu compile with >freetype-2.1, bug 166401 and remove
+ unneeded version
24 Jan 2007; Marius Mauch <genone@gentoo.org> nvu-1.0-r2.ebuild,
nvu-1.0-r4.ebuild:
diff --git a/app-editors/nvu/Manifest b/app-editors/nvu/Manifest
index 33282e24c7a5..c34ad248ca88 100644
--- a/app-editors/nvu/Manifest
+++ b/app-editors/nvu/Manifest
@@ -1,6 +1,3 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX 010_glibc-2.4.patch 2628 RMD160 77d35dec11624ef1b3ad84d72eb437068cbc9f0f SHA1 0e408a5e7e19b6ed06beed1bc3977b35b109cdba SHA256 5a64ffadb56c3c2316202e57ce82b6439c3037c6f4a5a1d4783d03173741e5cd
MD5 1bbe55892586ddbce300e5abb134a681 files/010_glibc-2.4.patch 2628
RMD160 77d35dec11624ef1b3ad84d72eb437068cbc9f0f files/010_glibc-2.4.patch 2628
@@ -29,6 +26,10 @@ AUX 1.0/nvu-0.50-nvu.patch 674 RMD160 da79cbb283eb7f621b330f4ab94b2684c9871941 S
MD5 7880f1109c0f8a9df0830238e70b0d62 files/1.0/nvu-0.50-nvu.patch 674
RMD160 da79cbb283eb7f621b330f4ab94b2684c9871941 files/1.0/nvu-0.50-nvu.patch 674
SHA256 85eca4e5171d7845efe333000b1b1106355f117fc7eef5ef592b4f2895759555 files/1.0/nvu-0.50-nvu.patch 674
+AUX 1.0/nvu-1.0-const.patch 1820 RMD160 1d5f7b632625883c4354a4bc2f912b1030e44e5d SHA1 d4146cc77b94bc51134b60f3e8746001f368eab8 SHA256 f9629a4ea5e5d66ad389ed43e07f1650a337c93dbb246938aa2481c79c91669c
+MD5 a9f2b6bc35bb8c5a83884fa220bd3d24 files/1.0/nvu-1.0-const.patch 1820
+RMD160 1d5f7b632625883c4354a4bc2f912b1030e44e5d files/1.0/nvu-1.0-const.patch 1820
+SHA256 f9629a4ea5e5d66ad389ed43e07f1650a337c93dbb246938aa2481c79c91669c files/1.0/nvu-1.0-const.patch 1820
AUX 1.0/nvu-1.0-gcc4-1.patch 6860 RMD160 d7d47cbe00ac05045eb7f92a69c1c8703925c3d2 SHA1 48f87a9750fdce479c26da6e77929d6a53de4437 SHA256 a8ccffaf13ffc4b0711d28727d16ab751e17aa104ad6da9f4ad88bae4f774c5e
MD5 c4ea99043fc3f4591a6e11bb3028f04e files/1.0/nvu-1.0-gcc4-1.patch 6860
RMD160 d7d47cbe00ac05045eb7f92a69c1c8703925c3d2 files/1.0/nvu-1.0-gcc4-1.patch 6860
@@ -51,18 +52,14 @@ EBUILD nvu-0.90-r2.ebuild 2298 RMD160 1f46ec8498b28dc49dd20899425089168ca12037 S
MD5 c3c4cbc233f87340d78fab34edbc469e nvu-0.90-r2.ebuild 2298
RMD160 1f46ec8498b28dc49dd20899425089168ca12037 nvu-0.90-r2.ebuild 2298
SHA256 7b0a45946c0399084e4ed0d0b50bbd861fb9e665596e24d444c88f0b6e8ac5ab nvu-0.90-r2.ebuild 2298
-EBUILD nvu-1.0-r2.ebuild 3116 RMD160 bf826538ed3803bca9fef2410420b439009dc913 SHA1 90a1e3fef59daa4c36619853646a6e712e0eb5be SHA256 6ea9b98f59311c74ad3e6f04cebfadfe4b9e7598f3950200fdc74644317e457a
-MD5 7582363a519f186c71bea0558305900d nvu-1.0-r2.ebuild 3116
-RMD160 bf826538ed3803bca9fef2410420b439009dc913 nvu-1.0-r2.ebuild 3116
-SHA256 6ea9b98f59311c74ad3e6f04cebfadfe4b9e7598f3950200fdc74644317e457a nvu-1.0-r2.ebuild 3116
-EBUILD nvu-1.0-r4.ebuild 3374 RMD160 f747b8643283d105f5ccbea28bdd96a55ba51547 SHA1 28ee1693604976a07a278fc3263dce5aaa3b1f96 SHA256 818a17255d4c4a1c571aacb89f8cffe4b270f124cf658dcd9491c88b1f6e15e5
-MD5 e79dec43633992e57e8b0f77567f9208 nvu-1.0-r4.ebuild 3374
-RMD160 f747b8643283d105f5ccbea28bdd96a55ba51547 nvu-1.0-r4.ebuild 3374
-SHA256 818a17255d4c4a1c571aacb89f8cffe4b270f124cf658dcd9491c88b1f6e15e5 nvu-1.0-r4.ebuild 3374
-MISC ChangeLog 6238 RMD160 08f45bf4d48886ee75bec26ac465e14eaec3671b SHA1 f84295841560d8f2426764e9e8ae759279db97c0 SHA256 4d7219cf5c492f895d31c5018bbab0d70a2cd9225a249d7480e1a1aa6f5bd553
-MD5 dbb91fbbb7dbdc4d0b22f0f4956070a6 ChangeLog 6238
-RMD160 08f45bf4d48886ee75bec26ac465e14eaec3671b ChangeLog 6238
-SHA256 4d7219cf5c492f895d31c5018bbab0d70a2cd9225a249d7480e1a1aa6f5bd553 ChangeLog 6238
+EBUILD nvu-1.0-r4.ebuild 3515 RMD160 87e7244618bb9303f1ce874d4252f26b83ccb1e2 SHA1 6bcd224a791f4de2876b24d7a48854a0c7e7c0ff SHA256 0a6c68c9d05164338a13da627d8ae8c70d20d4d25eedc1d17fa880598d5f0dd5
+MD5 fc1e864c3f6df0cb3586958432f67b0b nvu-1.0-r4.ebuild 3515
+RMD160 87e7244618bb9303f1ce874d4252f26b83ccb1e2 nvu-1.0-r4.ebuild 3515
+SHA256 0a6c68c9d05164338a13da627d8ae8c70d20d4d25eedc1d17fa880598d5f0dd5 nvu-1.0-r4.ebuild 3515
+MISC ChangeLog 6455 RMD160 cdddacb2f175949e060ac30aeed03bf2b2ddeaec SHA1 8c7a65ed9c7c320d3d62c113624ddfbaa521929a SHA256 c35c143f09fd6519172cf4ec5e6004e620f0c039de446cd0bd450250259c11d3
+MD5 7148d5840670f9e789d3d74123449081 ChangeLog 6455
+RMD160 cdddacb2f175949e060ac30aeed03bf2b2ddeaec ChangeLog 6455
+SHA256 c35c143f09fd6519172cf4ec5e6004e620f0c039de446cd0bd450250259c11d3 ChangeLog 6455
MISC metadata.xml 321 RMD160 9405136d7fd9c0713a43d04c8bc503d3b451c523 SHA1 ac61d600a727a900c2eac5e2a1712cd56b4a73be SHA256 c67e5db85db44f0f010d1b96fed9acf384763511e6c1e683aa76281baa96462f
MD5 d014043a5605e7f045c244f31831ae96 metadata.xml 321
RMD160 9405136d7fd9c0713a43d04c8bc503d3b451c523 metadata.xml 321
@@ -70,16 +67,6 @@ SHA256 c67e5db85db44f0f010d1b96fed9acf384763511e6c1e683aa76281baa96462f metadata
MD5 c3ae3c4f24baf0b8c9842c3cc1e11888 files/digest-nvu-0.90-r2 259
RMD160 1f03344d146d6f74712c39c7e5fd5d1c80989d1d files/digest-nvu-0.90-r2 259
SHA256 5b43ed3b5e87c7e00aa15931fe67882c557c76d4dc84ccef797074375cbf18f8 files/digest-nvu-0.90-r2 259
-MD5 331e2f632c2e315378193c928afe3514 files/digest-nvu-1.0-r2 256
-RMD160 e76ac0081af973af9392199e9ceaebb77304609f files/digest-nvu-1.0-r2 256
-SHA256 74325cc9527e15c1c2a9b3daee112e92ed7f417d91f382f6e2b4c2c5c644f116 files/digest-nvu-1.0-r2 256
MD5 331e2f632c2e315378193c928afe3514 files/digest-nvu-1.0-r4 256
RMD160 e76ac0081af973af9392199e9ceaebb77304609f files/digest-nvu-1.0-r4 256
SHA256 74325cc9527e15c1c2a9b3daee112e92ed7f417d91f382f6e2b4c2c5c644f116 files/digest-nvu-1.0-r4 256
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.1 (GNU/Linux)
-
-iD8DBQFFtsue6J2i8a8J4okRAvFJAJ4246vTHSPrHKqRHK6tTb6MYxJB4ACg2yoo
-gmxWCKU/IdzwEANSdd9CTSM=
-=HqeS
------END PGP SIGNATURE-----
diff --git a/app-editors/nvu/files/1.0/nvu-1.0-const.patch b/app-editors/nvu/files/1.0/nvu-1.0-const.patch
new file mode 100644
index 000000000000..c4e8226c1987
--- /dev/null
+++ b/app-editors/nvu/files/1.0/nvu-1.0-const.patch
@@ -0,0 +1,58 @@
+--- gfx/src/ps/nsType1.cpp 2002-12-11 08:24:47.000000000 +0200
++++ gfx/src/ps/nsType1.cpp 2006-10-11 17:17:11.000000000 +0300
+@@ -81,8 +81,8 @@
+ int wmode;
+ } FT2PT1_info;
+
+-static int cubicto(FT_Vector *aControlPt1, FT_Vector *aControlPt2,
+- FT_Vector *aEndPt, void *aClosure);
++static int cubicto(const FT_Vector *aControlPt1, const FT_Vector *aControlPt2,
++ const FT_Vector *aEndPt, void *aClosure);
+ static int Type1CharStringCommand(unsigned char **aBufPtrPtr, int aCmd);
+ static int Type1EncodeCharStringInt(unsigned char **aBufPtrPtr, int aValue);
+
+@@ -173,7 +173,7 @@
+ }
+
+ static PRBool
+-sideWidthAndBearing(FT_Vector *aEndPt, FT2PT1_info *aFti)
++sideWidthAndBearing(const FT_Vector *aEndPt, FT2PT1_info *aFti)
+ {
+ int aw = 0;
+ int ah = 0;
+@@ -216,7 +216,7 @@
+ }
+
+ static int
+-moveto(FT_Vector *aEndPt, void *aClosure)
++moveto(const FT_Vector *aEndPt, void *aClosure)
+ {
+ FT2PT1_info *fti = (FT2PT1_info *)aClosure;
+ FT_UShort upm = fti->face->units_per_EM;
+@@ -253,7 +253,7 @@
+ }
+
+ static int
+-lineto(FT_Vector *aEndPt, void *aClosure)
++lineto(const FT_Vector *aEndPt, void *aClosure)
+ {
+ FT2PT1_info *fti = (FT2PT1_info *)aClosure;
+ FT_UShort upm = fti->face->units_per_EM;
+@@ -279,7 +279,7 @@
+ }
+
+ static int
+-conicto(FT_Vector *aControlPt, FT_Vector *aEndPt, void *aClosure)
++conicto(const FT_Vector *aControlPt, const FT_Vector *aEndPt, void *aClosure)
+ {
+ FT2PT1_info *ftinfo = (FT2PT1_info *)aClosure;
+ FT_UShort upm = ftinfo->face->units_per_EM;
+@@ -311,7 +311,7 @@
+ }
+
+ static int
+-cubicto(FT_Vector *aControlPt1, FT_Vector *aControlPt2, FT_Vector *aEndPt,
++cubicto(const FT_Vector *aControlPt1, const FT_Vector *aControlPt2, const FT_Vector *aEndPt,
+ void *aClosure)
+ {
+ FT2PT1_info *ftinfo = (FT2PT1_info *)aClosure;
diff --git a/app-editors/nvu/files/digest-nvu-1.0-r2 b/app-editors/nvu/files/digest-nvu-1.0-r2
deleted file mode 100644
index 9e9bf40be61d..000000000000
--- a/app-editors/nvu/files/digest-nvu-1.0-r2
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 ae0f7c85e230ce8a90dc438b53be06e6 nvu-1.0-sources.tar.bz2 29687976
-RMD160 6d6fdb747d79e8602a4757e8eff8bbb21db6df8c nvu-1.0-sources.tar.bz2 29687976
-SHA256 9ec892e352c3596a4f734a885c6e085028574714cf0d44c2dac32b0d89b4b630 nvu-1.0-sources.tar.bz2 29687976
diff --git a/app-editors/nvu/nvu-1.0-r2.ebuild b/app-editors/nvu/nvu-1.0-r2.ebuild
deleted file mode 100644
index 0db1acf6fd67..000000000000
--- a/app-editors/nvu/nvu-1.0-r2.ebuild
+++ /dev/null
@@ -1,88 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/nvu/nvu-1.0-r2.ebuild,v 1.5 2007/01/24 02:48:25 genone Exp $
-
-inherit eutils mozconfig flag-o-matic multilib
-
-DESCRIPTION="A WYSIWYG web editor for linux similiar to Dreamweaver"
-HOMEPAGE="http://www.nvu.com/"
-SRC_URI="http://cvs.nvu.com/download/${P}-sources.tar.bz2"
-LICENSE="GPL-2"
-SLOT="0"
-
-KEYWORDS="~x86 ~ppc ~sparc ~amd64"
-IUSE=""
-DEPEND="|| ( x11-proto/printproto virtual/x11 )
- sys-apps/gawk
- dev-lang/perl
- >=media-libs/freetype-2.1.9-r1"
-
-S=${WORKDIR}/mozilla
-
-src_unpack() {
- unpack ${A}
- cd ${S}
- # Fix those darn directories! Make something more "standard"
- # That can extend to future versions with much more ease. - Chris
- epatch ${FILESDIR}/1.0/nvu-0.50-dir.patch || die "failed to apply dir. patch"
- epatch ${FILESDIR}/1.0/nvu-0.50-freetype-compile.patch || die "failed to patch for freetype"
- epatch ${FILESDIR}/1.0/${P}-gcc4-1.patch || die "failed to apply gcc-4 patch"
-
- # I had to manually edit the mozconfig.linux file as it
- # has some quirks... just copy the darn thing over :) - Chris
- # cp ${FILESDIR}/mozconfig ${S}/.mozconfig
- # remove --enable-optimize and let the code below
- # add the appropriate one - basic
- # Also set mozilla-five-home (and libdir) below - herbs
- grep -v 'enable-optimize\|mozilla-five-home' \
- ${FILESDIR}/1.0/mozconfig-1.0 > .mozconfig
-
- # Set the lib directory
- echo "ac_add_options --libdir=/usr/$(get_libdir)" >> .mozconfig
- echo "ac_add_options --with-default-mozilla-five-home=/usr/$(get_libdir)/nvu" >> .mozconfig
-
- # copied from mozilla.eclass (modified slightly),
- # otherwise it defaults to -O which crashes on startup for me - basic
- # Set optimization level based on CFLAGS
- if is-flag -O0; then
- echo 'ac_add_options --enable-optimize=-O0' >> .mozconfig
- elif is-flag -O1; then
- echo 'ac_add_options --enable-optimize=-O1' >> .mozconfig
- else
- # mozilla fallback
- echo 'ac_add_options --enable-optimize=-O2' >> .mozconfig
- fi
-}
-
-src_compile() {
- # The build system is a weeee bit sensitive to naughty -O flags.
- # filter them out and let the build system figure out what
- # won't let it die :) - Chris
- filter-flags '-O*'
- # epatch ${FILESDIR}/nvu-0.80-mozconfig.patch
-
- make -f client.mk build_all || die "Make failed"
-}
-
-src_install() {
-
- # patch the final nvu binary to workaround bug #67658
- epatch ${FILESDIR}/1.0/nvu-0.50-nvu.patch
-
- make -f client.mk DESTDIR=${D} install || die
-
- #menu entry for gnome/kde
- insinto /usr/share/applications
- sed -e "s:/usr/lib/nvu:/usr/$(get_libdir)/nvu:" \
- ${FILESDIR}/1.0/nvu.desktop > ${T}/nvu.desktop
- doins ${T}/nvu.desktop
-}
-
-pkg_postinst() {
- elog "If you choose to setup the webbrowser feature to execute urls"
- elog "under the HELP section please refer to"
- elog "http://www.nvu.com/Building_From_Source.php#tipsandhints ."
- elog "Make sure you follow the instructions to the letter if you have"
- elog "any problems email me at anarchy@gentoo.org I will be more then"
- elog "happy to assist you. DO NOT file a bug report on this issue."
-}
diff --git a/app-editors/nvu/nvu-1.0-r4.ebuild b/app-editors/nvu/nvu-1.0-r4.ebuild
index 585a8b0c4747..31b2ff66da50 100644
--- a/app-editors/nvu/nvu-1.0-r4.ebuild
+++ b/app-editors/nvu/nvu-1.0-r4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/nvu/nvu-1.0-r4.ebuild,v 1.8 2007/01/24 02:48:25 genone Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/nvu/nvu-1.0-r4.ebuild,v 1.9 2007/02/12 13:03:29 armin76 Exp $
inherit eutils mozconfig flag-o-matic multilib
@@ -31,6 +31,11 @@ src_unpack() {
epatch "${FILESDIR}/010_glibc-2.4.patch" || die "failed to apply glibc-2.4 patch"
epatch ${FILESDIR}/1.0/mozilla-1.7.13-as-needed.patch || die "failed to apply as-needed patch"
+ # >freetype-2.1* compile patch #166401
+ if has_version '>=media-libs/freetype-2.2*'; then
+ epatch "${FILESDIR}/1.0/${P}-const.patch"
+ fi
+
# I had to manually edit the mozconfig.linux file as it
# has some quirks... just copy the darn thing over :) - Chris
# cp ${FILESDIR}/mozconfig ${S}/.mozconfig