public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in app-misc/mc: ChangeLog mc-4.6.2_pre1.ebuild
@ 2009-05-24 21:59 Arfrever Frehtes Taifersar Arahesis (arfrever)
  0 siblings, 0 replies; 4+ messages in thread
From: Arfrever Frehtes Taifersar Arahesis (arfrever) @ 2009-05-24 21:59 UTC (permalink / raw
  To: gentoo-commits

arfrever    09/05/24 21:59:33

  Modified:             ChangeLog mc-4.6.2_pre1.ebuild
  Log:
  Fix encoding of some files (bug #230832).
  (Portage version: 13625-svn/cvs/Linux x86_64)

Revision  Changes    Path
1.146                app-misc/mc/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/mc/ChangeLog?rev=1.146&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/mc/ChangeLog?rev=1.146&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/mc/ChangeLog?r1=1.145&r2=1.146

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-misc/mc/ChangeLog,v
retrieving revision 1.145
retrieving revision 1.146
diff -u -r1.145 -r1.146
--- ChangeLog	24 Nov 2008 17:55:35 -0000	1.145
+++ ChangeLog	24 May 2009 21:59:33 -0000	1.146
@@ -1,6 +1,10 @@
 # ChangeLog for app-misc/mc
-# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/ChangeLog,v 1.145 2008/11/24 17:55:35 ssuominen Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/ChangeLog,v 1.146 2009/05/24 21:59:33 arfrever Exp $
+
+  24 May 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  mc-4.6.2_pre1.ebuild:
+  Fix encoding of some files (bug #230832).
 
   24 Nov 2008; <ssuominen@gentoo.org> metadata.xml, mc-4.6.2_pre1.ebuild:
   Rename my old e-mail drac at gentoo.org to ssuominen at gentoo.org. Move



1.8                  app-misc/mc/mc-4.6.2_pre1.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/mc/mc-4.6.2_pre1.ebuild?rev=1.8&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/mc/mc-4.6.2_pre1.ebuild?rev=1.8&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/mc/mc-4.6.2_pre1.ebuild?r1=1.7&r2=1.8

Index: mc-4.6.2_pre1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-misc/mc/mc-4.6.2_pre1.ebuild,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- mc-4.6.2_pre1.ebuild	24 Nov 2008 17:55:35 -0000	1.7
+++ mc-4.6.2_pre1.ebuild	24 May 2009 21:59:33 -0000	1.8
@@ -1,6 +1,6 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/mc-4.6.2_pre1.ebuild,v 1.7 2008/11/24 17:55:35 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/mc-4.6.2_pre1.ebuild,v 1.8 2009/05/24 21:59:33 arfrever Exp $
 
 EAPI=1
 
@@ -50,6 +50,31 @@
 	sed -i -e "s:^\(cons_saver_LDADD = .*\):\1 -Wl,-z,now:" \
 		src/Makefile.in || die "sed failed."
 
+	if use unicode; then
+		local conversion_table=(
+			"cs ISO-8859-2"
+			"es ISO-8859-1"
+			"hu ISO-8859-2"
+			"nl ISO-8859-1"
+			"pl ISO-8859-2"
+			"ru KOI8-R"
+			"sr ISO-8859-5"
+			"uk KOI8-U"
+		)
+		local element
+		for element in "${conversion_table[@]}"; do
+			local lingua="${element% *}"
+			local old_encoding="${element#* }"
+			local file
+			for file in "doc/${lingua}/xnc.hlp" "lib/mc.hint.${lingua}" "lib/mc.menu.${lingua}"; do
+				if [[ -f "${file}" ]]; then
+					mv "${file}" "${file}.${old_encoding}"
+					iconv -f ${old_encoding} -t UTF-8 -o "${file}" "${file}.${old_encoding}" || die "iconv ${file} failed"
+				fi
+			done
+		done
+	fi
+
 	# docs try to run the files it just built while trying convert .1 to .hlp files.
 	# this will never work for cross compiles, so we simply don't make docs.
 	if tc-is-cross-compiler; then






^ permalink raw reply	[flat|nested] 4+ messages in thread

* [gentoo-commits] gentoo-x86 commit in app-misc/mc: ChangeLog mc-4.6.2_pre1.ebuild
@ 2009-05-28 17:05 Fabian Groffen (grobian)
  0 siblings, 0 replies; 4+ messages in thread
From: Fabian Groffen (grobian) @ 2009-05-28 17:05 UTC (permalink / raw
  To: gentoo-commits

grobian     09/05/28 17:05:42

  Modified:             ChangeLog mc-4.6.2_pre1.ebuild
  Log:
  iconv -o is not documented on Linux, and it for sure doesn't work with libiconv.  Backport from Prefix
  (Portage version: 2.1.6.11/cvs/Linux x86_64)

Revision  Changes    Path
1.147                app-misc/mc/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/mc/ChangeLog?rev=1.147&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/mc/ChangeLog?rev=1.147&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/mc/ChangeLog?r1=1.146&r2=1.147

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-misc/mc/ChangeLog,v
retrieving revision 1.146
retrieving revision 1.147
diff -u -r1.146 -r1.147
--- ChangeLog	24 May 2009 21:59:33 -0000	1.146
+++ ChangeLog	28 May 2009 17:05:42 -0000	1.147
@@ -1,6 +1,10 @@
 # ChangeLog for app-misc/mc
 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/ChangeLog,v 1.146 2009/05/24 21:59:33 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/ChangeLog,v 1.147 2009/05/28 17:05:42 grobian Exp $
+
+  28 May 2009; Fabian Groffen <grobian@gentoo.org> mc-4.6.2_pre1.ebuild:
+  iconv -o is not documented on Linux, and it for sure doesn't work with
+  libiconv. Backport from Prefix
 
   24 May 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
   mc-4.6.2_pre1.ebuild:



1.9                  app-misc/mc/mc-4.6.2_pre1.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/mc/mc-4.6.2_pre1.ebuild?rev=1.9&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/mc/mc-4.6.2_pre1.ebuild?rev=1.9&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/mc/mc-4.6.2_pre1.ebuild?r1=1.8&r2=1.9

Index: mc-4.6.2_pre1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-misc/mc/mc-4.6.2_pre1.ebuild,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- mc-4.6.2_pre1.ebuild	24 May 2009 21:59:33 -0000	1.8
+++ mc-4.6.2_pre1.ebuild	28 May 2009 17:05:42 -0000	1.9
@@ -1,6 +1,6 @@
 # Copyright 1999-2009 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/mc-4.6.2_pre1.ebuild,v 1.8 2009/05/24 21:59:33 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/mc-4.6.2_pre1.ebuild,v 1.9 2009/05/28 17:05:42 grobian Exp $
 
 EAPI=1
 
@@ -69,7 +69,7 @@
 			for file in "doc/${lingua}/xnc.hlp" "lib/mc.hint.${lingua}" "lib/mc.menu.${lingua}"; do
 				if [[ -f "${file}" ]]; then
 					mv "${file}" "${file}.${old_encoding}"
-					iconv -f ${old_encoding} -t UTF-8 -o "${file}" "${file}.${old_encoding}" || die "iconv ${file} failed"
+					iconv -f ${old_encoding} -t UTF-8 "${file}.${old_encoding}" > "${file}" || die "iconv ${file} failed"
 				fi
 			done
 		done






^ permalink raw reply	[flat|nested] 4+ messages in thread

* [gentoo-commits] gentoo-x86 commit in app-misc/mc: ChangeLog mc-4.6.2_pre1.ebuild
@ 2009-05-28 17:45 Arfrever Frehtes Taifersar Arahesis (arfrever)
  0 siblings, 0 replies; 4+ messages in thread
From: Arfrever Frehtes Taifersar Arahesis (arfrever) @ 2009-05-28 17:45 UTC (permalink / raw
  To: gentoo-commits

arfrever    09/05/28 17:45:05

  Modified:             ChangeLog mc-4.6.2_pre1.ebuild
  Log:
  Add missing dependency.
  (Portage version: 13625-svn/cvs/Linux x86_64)

Revision  Changes    Path
1.148                app-misc/mc/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/mc/ChangeLog?rev=1.148&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/mc/ChangeLog?rev=1.148&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/mc/ChangeLog?r1=1.147&r2=1.148

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-misc/mc/ChangeLog,v
retrieving revision 1.147
retrieving revision 1.148
diff -u -r1.147 -r1.148
--- ChangeLog	28 May 2009 17:05:42 -0000	1.147
+++ ChangeLog	28 May 2009 17:45:05 -0000	1.148
@@ -1,6 +1,10 @@
 # ChangeLog for app-misc/mc
 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/ChangeLog,v 1.147 2009/05/28 17:05:42 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/ChangeLog,v 1.148 2009/05/28 17:45:05 arfrever Exp $
+
+  28 May 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  mc-4.6.2_pre1.ebuild:
+  Add missing dependency.
 
   28 May 2009; Fabian Groffen <grobian@gentoo.org> mc-4.6.2_pre1.ebuild:
   iconv -o is not documented on Linux, and it for sure doesn't work with



1.10                 app-misc/mc/mc-4.6.2_pre1.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/mc/mc-4.6.2_pre1.ebuild?rev=1.10&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/mc/mc-4.6.2_pre1.ebuild?rev=1.10&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/mc/mc-4.6.2_pre1.ebuild?r1=1.9&r2=1.10

Index: mc-4.6.2_pre1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-misc/mc/mc-4.6.2_pre1.ebuild,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- mc-4.6.2_pre1.ebuild	28 May 2009 17:05:42 -0000	1.9
+++ mc-4.6.2_pre1.ebuild	28 May 2009 17:45:05 -0000	1.10
@@ -1,6 +1,6 @@
 # Copyright 1999-2009 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/mc-4.6.2_pre1.ebuild,v 1.9 2009/05/28 17:05:42 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/mc-4.6.2_pre1.ebuild,v 1.10 2009/05/28 17:45:05 arfrever Exp $
 
 EAPI=1
 
@@ -32,8 +32,9 @@
 	app-arch/zip
 	app-arch/unzip"
 DEPEND="${RDEPEND}
+	dev-util/pkgconfig
 	nls? ( sys-devel/gettext )
-	dev-util/pkgconfig"
+	unicode? ( virtual/libiconv )"
 
 S=${WORKDIR}/${MY_P}
 






^ permalink raw reply	[flat|nested] 4+ messages in thread

* [gentoo-commits] gentoo-x86 commit in app-misc/mc: ChangeLog mc-4.6.2_pre1.ebuild
@ 2009-07-21 10:05 Samuli Suominen (ssuominen)
  0 siblings, 0 replies; 4+ messages in thread
From: Samuli Suominen (ssuominen) @ 2009-07-21 10:05 UTC (permalink / raw
  To: gentoo-commits

ssuominen    09/07/21 10:05:07

  Modified:             ChangeLog mc-4.6.2_pre1.ebuild
  Log:
  Don't crash when used as root wrt #250176.
  (Portage version: 2.2_rc33/cvs/Linux x86_64)

Revision  Changes    Path
1.149                app-misc/mc/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/mc/ChangeLog?rev=1.149&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/mc/ChangeLog?rev=1.149&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/mc/ChangeLog?r1=1.148&r2=1.149

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-misc/mc/ChangeLog,v
retrieving revision 1.148
retrieving revision 1.149
diff -u -r1.148 -r1.149
--- ChangeLog	28 May 2009 17:45:05 -0000	1.148
+++ ChangeLog	21 Jul 2009 10:05:07 -0000	1.149
@@ -1,6 +1,10 @@
 # ChangeLog for app-misc/mc
 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/ChangeLog,v 1.148 2009/05/28 17:45:05 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/ChangeLog,v 1.149 2009/07/21 10:05:07 ssuominen Exp $
+
+  21 Jul 2009; Samuli Suominen <ssuominen@gentoo.org> mc-4.6.2_pre1.ebuild,
+  +files/mc-4.6.2_pre1-null.patch:
+  Don't crash when used as root wrt #250176.
 
   28 May 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
   mc-4.6.2_pre1.ebuild:



1.11                 app-misc/mc/mc-4.6.2_pre1.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/mc/mc-4.6.2_pre1.ebuild?rev=1.11&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/mc/mc-4.6.2_pre1.ebuild?rev=1.11&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/mc/mc-4.6.2_pre1.ebuild?r1=1.10&r2=1.11

Index: mc-4.6.2_pre1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-misc/mc/mc-4.6.2_pre1.ebuild,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- mc-4.6.2_pre1.ebuild	28 May 2009 17:45:05 -0000	1.10
+++ mc-4.6.2_pre1.ebuild	21 Jul 2009 10:05:07 -0000	1.11
@@ -1,9 +1,8 @@
 # Copyright 1999-2009 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/mc-4.6.2_pre1.ebuild,v 1.10 2009/05/28 17:45:05 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/mc-4.6.2_pre1.ebuild,v 1.11 2009/07/21 10:05:07 ssuominen Exp $
 
 EAPI=1
-
 inherit eutils toolchain-funcs
 
 MY_P=${P/_/-}
@@ -47,6 +46,8 @@
 
 	EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patches
 
+	epatch "${FILESDIR}"/${P}-null.patch
+
 	# Prevent lazy bindings in cons.saver binary for bug #135009
 	sed -i -e "s:^\(cons_saver_LDADD = .*\):\1 -Wl,-z,now:" \
 		src/Makefile.in || die "sed failed."






^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-07-21 10:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-28 17:45 [gentoo-commits] gentoo-x86 commit in app-misc/mc: ChangeLog mc-4.6.2_pre1.ebuild Arfrever Frehtes Taifersar Arahesis (arfrever)
  -- strict thread matches above, loose matches on Subject: below --
2009-07-21 10:05 Samuli Suominen (ssuominen)
2009-05-28 17:05 Fabian Groffen (grobian)
2009-05-24 21:59 Arfrever Frehtes Taifersar Arahesis (arfrever)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox