gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r7751 - in GNUnet/contrib/macosx: . English.lproj


From: gnunet
Subject: [GNUnet-SVN] r7751 - in GNUnet/contrib/macosx: . English.lproj
Date: Sat, 11 Oct 2008 08:05:52 -0600 (MDT)

Author: holindho
Date: 2008-10-11 08:05:52 -0600 (Sat, 11 Oct 2008)
New Revision: 7751

Added:
   GNUnet/contrib/macosx/English.lproj/
   GNUnet/contrib/macosx/English.lproj/InfoPlist.strings
   GNUnet/contrib/macosx/Info.plist.in
Modified:
   GNUnet/contrib/macosx/build-osx-framework.sh
Log:
rest of the framework bits


Added: GNUnet/contrib/macosx/English.lproj/InfoPlist.strings
===================================================================
(Binary files differ)


Property changes on: GNUnet/contrib/macosx/English.lproj/InfoPlist.strings
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: GNUnet/contrib/macosx/Info.plist.in
===================================================================
--- GNUnet/contrib/macosx/Info.plist.in                         (rev 0)
+++ GNUnet/contrib/macosx/Info.plist.in 2008-10-11 14:05:52 UTC (rev 7751)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" 
"http://www.apple.com/DTDs/PropertyList-1.0.dtd";>
+<plist version="1.0">
+<dict>
+       <key>CFBundleDevelopmentRegion</key>
+       <string>English</string>
+       <key>CFBundleExecutable</key>
+       <string>GNUnet</string>
+       <key>CFBundleName</key>
+       <string>GNUnet</string>
+       <key>CFBundleGetInfoString</key>
+       <string>@PACKAGE_STRING@, Copyright 2001-2008 Christian Grothoff (and 
other contributing authors)</string>
+        <key>CFBundleIconFile</key>
+        <string></string>
+       <key>CFBundleIdentifier</key>
+       <string>org.gnunet.GNUnet</string>
+       <key>CFBundleInfoDictionaryVersion</key>
+       <string>6.0</string>
+       <key>CFBundlePackageType</key>
+       <string>FMWK</string>
+       <key>CFBundleShortVersionString</key>
+       <string>@PACKAGE_VERSION@</string>
+        <key>CFBundleSignature</key>
+        <string>????</string>
+       <key>CFBundleVersion</key>
+       <string>GNUnet @address@hidden@FRAMEWORK_REVISION@</string>
+</dict>
+</plist>

Modified: GNUnet/contrib/macosx/build-osx-framework.sh
===================================================================
--- GNUnet/contrib/macosx/build-osx-framework.sh        2008-10-11 13:53:33 UTC 
(rev 7750)
+++ GNUnet/contrib/macosx/build-osx-framework.sh        2008-10-11 14:05:52 UTC 
(rev 7751)
@@ -568,6 +568,19 @@
        fi
 }
 
+fill_framework_revision()
+{
+       local dst_file="${FINAL_FW_DIR}/$1"
+       if [ -e "$dst_file" ]
+       then
+               if ! ( sed -e "s/@FRAMEWORK_REVISION@/${FW_VERSION_REV}/g" -i 
"" "$dst_file" )
+               then
+                       echo "sed error"
+                       exit 1
+               fi
+       fi
+}
+
 make_framework_link()
 {
        local link_target="$1"
@@ -603,6 +616,13 @@
 ORIG_DIR=$(pwd)
 old_umask=$(umask)
 
+if [ ! -n "$1" ]
+then
+  FW_VERSION_REV="1"
+else
+  FW_VERSION_REV="$1"
+fi  
+
 # prepare build env
 fetch_all_packages
 umask 022
@@ -683,8 +703,9 @@
        install_file_to_framework "$tfn"
 done
 cd "${ORIG_DIR}"
-#copy_file_to_framework "./contrib/macosx/Info.plist" "Resources/Info.plist"
-#copy_file_to_framework "./contrib/macosx/English.lproj/InfoPlist.strings" 
"Resources/English.lproj/InfoPlist.strings"
+copy_file_to_framework "./contrib/macosx/Info.plist" "Resources/Info.plist"
+fill_framework_revision "Resources/Info.plist"
+copy_file_to_framework "./contrib/macosx/English.lproj/InfoPlist.strings" 
"Resources/English.lproj/InfoPlist.strings"
 make_framework_link "lib/libgnunetutil.dylib" "GNUnet"
 make_framework_link "lib" "Libraries"
 make_framework_link "lib/GNUnet" "PlugIns"





reply via email to

[Prev in Thread] Current Thread [Next in Thread]