Move plugins into core

This commit is contained in:
Gregory John Casamento 2023-06-08 23:00:14 -04:00
parent 2698f4e151
commit 96132510fb
29 changed files with 108 additions and 4 deletions

View file

@ -29,13 +29,15 @@ include $(GNUSTEP_MAKEFILES)/common.make
PACKAGE_NAME=GormCore
LIBRARY_VAR=GORMCORE
LIBRARY_NAME=GormCore
FRAMEWORK_VAR=GORMCORE
FRAMEWORK_NAME=GormCore
GormCore_HEADER_FILES_DIR=.
GormCore_HEADER_FILES_INSTALL_DIR=/GormCore
ADDITIONAL_INCLUDE_DIRS = -I..
srcdir = .
SUBPROJECTS = Plugins
include ../Version
GormCore_HEADER_FILES = \
@ -168,10 +170,12 @@ GormCore_OBJC_FILES = \
NSView+GormExtensions.m \
GormPrivate.m
GormCore_RESOURCE_FILES =
-include GNUmakefile.preamble
-include GNUmakefile.local
include $(GNUSTEP_MAKEFILES)/aggregate.make
include $(GNUSTEP_MAKEFILES)/library.make
include $(GNUSTEP_MAKEFILES)/framework.make
-include GNUmakefile.postamble

View file

@ -0,0 +1,41 @@
#
# GNUmakefile.postamble
#
# Copyright (C) 2003 Free Software Foundation, Inc.
#
# Author: Gregory John Casamento <greg_casamento@yahoo.com>
#
# This file is part of GNUstep
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Library General Public
# License as published by the Free Software Foundation; either
# version 2 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Library General Public License for more details.
#
# You should have received a copy of the GNU Library General Public
# License along with this library; see the file COPYING.LIB.
# If not, write to the Free Software Foundation,
# 51 Franklin Street, Fifth Floor, Boston, MA 02111
# USA.
#
# Define this variable if not defined for backwards-compatibility as
# it is only available in gnustep-make >= 2.0.5
ifeq ($(LN_S_RECURSIVE),)
LN_S_RECURSIVE = $(LN_S)
endif
before-all::
after-all::
after-clean::
after-distclean::
after-clean::

View file

@ -0,0 +1,41 @@
# GNUmakefile: main makefile for GNUstep Object Relationship Modeller
#
# Copyright (C) 2003 Free Software Foundation, Inc.
#
# Author: Gregory John Casamento <greg_casamento@yahoo.com>
# Date: 2003
#
# This file is part of GNUstep.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111
# USA.
#
#ADDITIONAL_TOOL_LIBS += \
# -lGormCore \
# -lGorm \
# -lGormObjCHeaderParser \
# -lGormPrefs \
# -lgnustep-base \
# -lgnustep-gui
ADDITIONAL_INCLUDE_DIRS += \
-I../../
ADDITIONAL_LIB_DIRS += \
-L../../GormLib/$(GNUSTEP_OBJ_DIR) \
-L../../GormObjCHeaderParser/$(GNUSTEP_OBJ_DIR) \
-L../../GormPrefs/$(GNUSTEP_OBJ_DIR) \
-L../../GormCore/$(GNUSTEP_OBJ_DIR)

View file

@ -1,16 +1,34 @@
#import <Foundation/NSDictionary.h>
#import <Foundation/NSNotification.h>
#import <Foundation/NSProcessInfo.h>
#import <GNUstepGUI/GSNibLoading.h>
#import "AppDelegate.h"
@implementation AppDelegate
- (NSDictionary *) buildDictionary
{
NSMutableDictionary *dict = [NSMutableDictionary dictionary];
NSArray *keys = [dict allKeys];
/*
FOR_IN(NSString*, k, keys)
{
}
END_FOR_IN(keys);
*/
return dict;
}
- (void) process
{
NSDictionary *args = [self buildDictionary];
[NSClassSwapper setIsInInterfaceBuilder: YES];
NSLog(@"Processing...");
NSLog(@"Processing... %@", args);
[NSClassSwapper setIsInInterfaceBuilder: NO];
}