Author: gcasa
Date: Sun Aug  3 18:13:16 2014
New Revision: 38026

URL: http://svn.gna.org/viewcvs/gnustep?rev=38026&view=rev
Log:
Update README to provide licensing information regarding the Xcode library.

Modified:
    libs/xcode/trunk/PBXFileReference.m
    libs/xcode/trunk/PBXResourcesBuildPhase.m
    libs/xcode/trunk/README

Modified: libs/xcode/trunk/PBXFileReference.m
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/xcode/trunk/PBXFileReference.m?rev=38026&r1=38025&r2=38026&view=diff
==============================================================================
--- libs/xcode/trunk/PBXFileReference.m (original)
+++ libs/xcode/trunk/PBXFileReference.m Sun Aug  3 18:13:16 2014
@@ -273,7 +273,7 @@
       if([compiler isEqualToString: @""] ||
         compiler == nil)
        {
-         compiler = @"`gnustep-config --variable=CC`";
+         compiler = @"`gnustep-config --variable=CC` -DGNUSTEP";
        }
 
       NSString *objCflags = @"";

Modified: libs/xcode/trunk/PBXResourcesBuildPhase.m
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/xcode/trunk/PBXResourcesBuildPhase.m?rev=38026&r1=38025&r2=38026&view=diff
==============================================================================
--- libs/xcode/trunk/PBXResourcesBuildPhase.m   (original)
+++ libs/xcode/trunk/PBXResourcesBuildPhase.m   Sun Aug  3 18:13:16 2014
@@ -13,8 +13,10 @@
   // NSString *projectRoot = [NSString stringWithCString: 
getenv("PROJECT_ROOT")];
   NSString *productOutputDir = [NSString stringWithCString: 
getenv("PRODUCT_OUTPUT_DIR")];
   NSString *resourcesDir = [productOutputDir stringByAppendingPathComponent: 
@"Resources"];
+  NSString *currentDir = [[NSFileManager defaultManager] currentDirectoryPath];
   NSError *error = nil;
 
+  NSLog(@"%@",currentDir);
   [[NSFileManager defaultManager] createDirectoryAtPath:resourcesDir
                            withIntermediateDirectories:YES
                                             attributes:nil
@@ -25,7 +27,7 @@
   PBXBuildFile *file = nil;
   while((file = [en nextObject]) != nil && result)
     {
-      NSString *filePath = [file buildPath];
+      NSString *filePath = [[file buildPath] 
stringByDeletingFirstPathComponent];
       NSString *fileName = [filePath lastPathComponent];
       NSString *destPath = [resourcesDir stringByAppendingPathComponent: 
fileName];
       NSError *error = nil;
@@ -57,13 +59,12 @@
     }
 
 
-  
/**********************************************************************************/
+  /**************************************************************************/
   /**** This is a kludge, only for the moment to handle English.......   ****/
   NSString *lprojPath = [productOutputDir 
stringByAppendingPathComponent:@"en.lproj"];
   BOOL copyResult = [[NSFileManager defaultManager] copyItemAtPath: @"en.lproj"
                                                            toPath: lprojPath
                                                             error: &error];
-
   if(copyResult == NO)
     {
       // result = NO;
@@ -75,14 +76,24 @@
   copyResult = [[NSFileManager defaultManager] copyItemAtPath: @"English.lproj"
                                                       toPath: lprojPath
                                                        error: &error];
-
   if(copyResult == NO)
     {
       // result = NO;
       NSLog(@"\tCopy Error (English.lproj): %@",[error localizedDescription]);
     }
+
+  lprojPath = [productOutputDir stringByAppendingPathComponent:@"Resources"];
+  copyResult = [[NSFileManager defaultManager] copyItemAtPath: @"Base.lproj"
+                                                      toPath: lprojPath
+                                                         error: &error];
+  if(copyResult == NO)
+    {
+      // result = NO;
+      NSLog(@"\tCopy Error (Base.lproj): %@",[error localizedDescription]);
+    }
+  /****                                                                  ****/
   /**************************************************************************/
-
+ 
   // return, if we failed...
   if(result == NO)
     {

Modified: libs/xcode/trunk/README
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/xcode/trunk/README?rev=38026&r1=38025&r2=38026&view=diff
==============================================================================
--- libs/xcode/trunk/README     (original)
+++ libs/xcode/trunk/README     Sun Aug  3 18:13:16 2014
@@ -1,2 +1,51 @@
-The XCLib framework is used to parse and process xcodeproj files so that 
-they can be built by a tool or an IDE using this framework.
+1 Readme
+********
+
+The GNUstep Xcode Library is a library for building xcode projects. 
+It can be used to parse and provide information regarding an 
+xcode project or used to build an xcode project directly.
+
+1.1 License
+===========
+
+The GNUstep libraries and library resources are covered under the GNU
+Lesser Public License.  This means you can use these libraries in any
+program (even non-free programs). If you distribute the libraries along
+with your program, you must make the improvements you have made to the
+libraries freely available. You should read the COPYING.LIB file for
+more information. All files in the `Source', `Headers'
+`NSCharacterSets', `NSTimeZones', `Resources', and `SSL' directories
+and subdirectories under this are covered under the GLPL.
+
+   GNUstep tools, test programs, and other files are covered under the
+GNU Public License. This means if you make changes to these programs,
+you cannot charge a fee, other than distribution fees, for others to
+use the program. You should read the COPYING file for more information.
+All files in the `Documentation', `Examples', `Tools', `config', and
+`macosx' directories are covered under the GPL.
+
+   With GNUstep-Base, we strongly recommend the use of the ffcall
+libraries, which provides stack frame handling for NSInvocation and
+NSConnection.  "Ffcall is under GNU GPL. As a special exception, if used
+in GNUstep or in derivate works of GNUstep, the included parts of ffcall
+are under GNU LGPL" (Text in quotes provided by the author of ffcall).
+
+1.2 How can you help?
+=====================
+
+   * Give us feedback!  Tell us what you like; tell us what you think
+     could be better.
+
+     Please log bug reports on the GNUstep project page
+     `http://savannah.gnu.org/bugs/?group=gnustep' or send bug reports
+     to <[email protected]>.
+
+
+     Happy hacking!
+
+   Copyright (C) 2005 Free Software Foundation
+
+   Copying and distribution of this file, with or without modification,
+are permitted in any medium without royalty provided the copyright
+notice and this notice are preserved.
+


_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs

Reply via email to