2008-04-14 Takao Fujiwara <[email protected]> gnome-2-20
authorfujiwara
Mon, 14 Apr 2008 10:40:35 +0000
branchgnome-2-20
changeset 10990 ab2463b14e11
parent 10989 7370ad3d0688
child 10991 f7e81caec63d
2008-04-14 Takao Fujiwara <[email protected]> * indiana/SUNWopensolaris-welcome.spec: Updated. * patches/opensolaris-welcome-01-comment-out.diff: Added untill translations are delivered.
ChangeLog
indiana/SUNWopensolaris-welcome.spec
patches/opensolaris-welcome-01-comment-out.diff
--- a/ChangeLog	Mon Apr 14 04:30:40 2008 +0000
+++ b/ChangeLog	Mon Apr 14 10:40:35 2008 +0000
@@ -7,6 +7,9 @@
 
 	* indiana/SUNWgetting-started-guide.spec: Bumped to 0.6.5
 	  Updated translations.
+	* indiana/SUNWopensolaris-welcome.spec: Updated.
+	* patches/opensolaris-welcome-01-comment-out.diff: Added
+	  untill translations are delivered.
 
 2008-04-14  Laszlo (Laca) Peter  <[email protected]>
 
--- a/indiana/SUNWopensolaris-welcome.spec	Mon Apr 14 04:30:40 2008 +0000
+++ b/indiana/SUNWopensolaris-welcome.spec	Mon Apr 14 10:40:35 2008 +0000
@@ -11,6 +11,8 @@
 Summary:             OpenSolaris Welcome document
 Version:             0.0.1
 Source:              http://dlc.sun.com/osol/jds/downloads/extras/opensolaris-welcome/opensolaris-welcome-%{version}.tar.bz2
+# date:2008-04-14 owner:fujiwara type:feature
+Patch1:              opensolaris-welcome-01-comment-out.diff
 SUNW_BaseDir:        %{_basedir}
 SUNW_Copyright:      %{name}.copyright
 BuildRoot:           %{_tmppath}/%{name}-%{version}-build
@@ -129,6 +131,7 @@
 
 %prep
 %setup -q -n opensolaris-welcome-%{version}
+%patch1 -p1
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -216,5 +219,7 @@
 %endif
 
 %changelog
+* Mon Apr 14 2008 - [email protected]
+- Add opensolaris-welcome-01-comment-out.diff until translations are delivered.
 * Sun Apr 13 2008 - [email protected]
 - create
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/patches/opensolaris-welcome-01-comment-out.diff	Mon Apr 14 10:40:35 2008 +0000
@@ -0,0 +1,18 @@
+--- opensolaris-welcome-0.0.1/html/index.html.orig	2008-04-14 18:38:20.698714000 +0900
++++ opensolaris-welcome-0.0.1/html/index.html	2008-04-14 18:42:36.192313000 +0900
+@@ -9,6 +9,7 @@ if(window.document == parent.document)
+   var langurl='C/index.html';
+   var langinfo=navigator.language? navigator.language : navigator.userLanguage
+ 
++/* Comment lines until we deliver the translations.
+   if(langinfo.substr(0,2) == "en") {
+     langurl='C/index.html';
+   } else if(langinfo == "pt-BR") {
+@@ -29,6 +30,7 @@ if(window.document == parent.document)
+             langinfo.substr(0,2) == "sv") {
+     langurl=langinfo.substr(0,2) + '/index.html';
+   }
++*/
+ //  else {
+ //    langurl=langinfo.substr(0,2) + '/index.html';
+ //  }