SF.net SVN: gar:[24065] csw/mgar/pkg

rmottola at users.sourceforge.net rmottola at users.sourceforge.net
Wed Sep 3 22:52:29 CEST 2014


Revision: 24065
          http://sourceforge.net/p/gar/code/24065
Author:   rmottola
Date:     2014-09-03 20:52:28 +0000 (Wed, 03 Sep 2014)
Log Message:
-----------
gs_projectcenter/trunk: PC with solaris fixes

Added Paths:
-----------
    csw/mgar/pkg/gs_projectcenter/
    csw/mgar/pkg/gs_projectcenter/Makefile
    csw/mgar/pkg/gs_projectcenter/branches/
    csw/mgar/pkg/gs_projectcenter/tags/
    csw/mgar/pkg/gs_projectcenter/trunk/
    csw/mgar/pkg/gs_projectcenter/trunk/Makefile
    csw/mgar/pkg/gs_projectcenter/trunk/checksums
    csw/mgar/pkg/gs_projectcenter/trunk/files/
    csw/mgar/pkg/gs_projectcenter/trunk/files/0001-solaris-fix.patch

Added: csw/mgar/pkg/gs_projectcenter/Makefile
===================================================================
--- csw/mgar/pkg/gs_projectcenter/Makefile	                        (rev 0)
+++ csw/mgar/pkg/gs_projectcenter/Makefile	2014-09-03 20:52:28 UTC (rev 24065)
@@ -0,0 +1,2 @@
+%:
+	$(MAKE) -C trunk $*

Index: csw/mgar/pkg/gs_projectcenter/trunk
===================================================================
--- csw/mgar/pkg/gs_projectcenter/trunk	2014-09-03 20:49:48 UTC (rev 24064)
+++ csw/mgar/pkg/gs_projectcenter/trunk	2014-09-03 20:52:28 UTC (rev 24065)

Property changes on: csw/mgar/pkg/gs_projectcenter/trunk
___________________________________________________________________
Added: svn:ignore
## -0,0 +1 ##
+work
Added: csw/mgar/pkg/gs_projectcenter/trunk/Makefile
===================================================================
--- csw/mgar/pkg/gs_projectcenter/trunk/Makefile	                        (rev 0)
+++ csw/mgar/pkg/gs_projectcenter/trunk/Makefile	2014-09-03 20:52:28 UTC (rev 24065)
@@ -0,0 +1,48 @@
+# $Id$
+# TODO (release-critical prefixed with !, non release-critical with *)
+#
+NAME = ProjectCenter
+VERSION = 0.6.1
+GARTYPE = v2
+
+DESCRIPTION = GNUstep IDE
+define BLURB
+  GNUstep IDE for creating Tools and Applications with Makefile generation.
+endef
+
+BUILD_DEP_PKGS = CSWgmake CSWgcc4objc
+DEP_PKGS = CSWgnustep-make CSWgnustep-base CSWgnustep-gui CSWgnustep-back
+
+MASTER_SITES = ftp://ftp.gnustep.org/pub/gnustep/dev-apps/
+DISTFILES  = $(DISTNAME).tar.gz
+
+PATCHFILES += 0001-solaris-fix.patch
+
+#we absolutely need GCC for Objective-C support. The only alternative in the future would be clang
+GARCOMPILER = GNU
+
+CONFIGURE_ARGS = $(DIRPATHS)
+
+# now special targets for build and install so that we can source
+# GNUstep.sh before
+# configure is skipped
+CONFIGURE_SCRIPTS =
+BUILD_SCRIPTS = sourcegs
+INSTALL_SCRIPTS = sourcegs
+
+# Disable test scripts for now
+TEST_SCRIPTS = none
+SKIPTEST = 1
+
+include gar/category.mk
+
+build-sourcegs:
+	. $(BUILD_PREFIX)/GNUstep/System/Library/Makefiles/GNUstep.sh && cd $(WORKSRC) && /usr/bin/env -i $(BUILD_ENV) && $(MAKE)
+	@$(MAKECOOKIE)
+
+install-sourcegs:
+	. $(BUILD_PREFIX)/GNUstep/System/Library/Makefiles/GNUstep.sh && cd $(WORKSRC) && /usr/bin/env -i $(INSTALL_ENV) && $(MAKE) install DESTDIR=$(DESTDIR)
+	@$(MAKECOOKIE)
+
+test-none :
+	@$(MAKECOOKIE)


Property changes on: csw/mgar/pkg/gs_projectcenter/trunk/Makefile
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: csw/mgar/pkg/gs_projectcenter/trunk/checksums
===================================================================
--- csw/mgar/pkg/gs_projectcenter/trunk/checksums	                        (rev 0)
+++ csw/mgar/pkg/gs_projectcenter/trunk/checksums	2014-09-03 20:52:28 UTC (rev 24065)
@@ -0,0 +1 @@
+c74742f931136829f55a319bedbd37ac  ProjectCenter-0.6.1.tar.gz

Added: csw/mgar/pkg/gs_projectcenter/trunk/files/0001-solaris-fix.patch
===================================================================
--- csw/mgar/pkg/gs_projectcenter/trunk/files/0001-solaris-fix.patch	                        (rev 0)
+++ csw/mgar/pkg/gs_projectcenter/trunk/files/0001-solaris-fix.patch	2014-09-03 20:52:28 UTC (rev 24065)
@@ -0,0 +1,58 @@
+Index: Modules/Debuggers/ProjectCenter/PTYView.m
+===================================================================
+--- src.orig/Modules/Debuggers/ProjectCenter/PTYView.m	(revision 38050)
++++ src/Modules/Debuggers/ProjectCenter/PTYView.m	(working copy)
+@@ -20,8 +20,20 @@
+ **  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+ 
++#import "PTYView.h"
+ 
++/* define this if you need the forkpty replacement and it is not automatically
++activated */
++#undef USE_FORKPTY_REPLACEMENT
+ 
++/* check for solaris */
++#if (defined (__SVR4) && defined (__sun)) || defined(__SOLARIS__)
++#ifndef __SOLARIS__
++#define __SOLARIS__ 1
++#endif
++#define USE_FORKPTY_REPLACEMENT 0
++#endif
++
+ #include <sys/stat.h>
+ #include <signal.h>
+ 
+@@ -50,11 +62,6 @@
+ #define NOTIFICATION_CENTER [NSNotificationCenter defaultCenter]
+ #endif
+ 
+-/* check for solaris */
+-#if defined (__SVR4) && defined (__sun)
+-#define __SOLARIS__ 1
+-#define USE_FORKPTY_REPLACEMENT 1
+-#endif
+ 
+ #if defined(__SOLARIS__)
+ #include <stropts.h>
+@@ -65,7 +72,6 @@
+ #  include <pty.h>
+ #endif
+ 
+-#import "PTYView.h"
+ 
+ #ifdef USE_FORKPTY_REPLACEMENT
+ int openpty(int *amaster, int *aslave, char *name, const struct termios *termp, const struct winsize *winp)
+Index: Modules/Debuggers/ProjectCenter/GNUmakefile
+===================================================================
+--- src.oric/Modules/Debuggers/ProjectCenter/GNUmakefile	(revision 38050)
++++ src/Modules/Debuggers/ProjectCenter/GNUmakefile	(working copy)
+@@ -49,7 +49,7 @@
+     PTYView.m
+ 
+ 
+-ADDITIONAL_NATIVE_LIBS += util
++#ADDITIONAL_NATIVE_LIBS += util
+ 
+ include ../../GNUmakefile.bundles
+ include $(GNUSTEP_MAKEFILES)/bundle.make

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list