- fix build for gnustep-gui 0.16

This commit is contained in:
Dirk Meyer 2008-12-24 07:49:52 +00:00
parent f2c413e3db
commit ba89e9ecd8
6 changed files with 74 additions and 1 deletions

View File

@ -24,4 +24,29 @@ USE_GNUSTEP_LDCONFIG= ${GNUSTEP_SYSTEM_LIBRARIES}
DEFAULT_LIBVERSION= 1.1.0
FIXME= GormCore/GormCustomView.m \
GormCore/GormDocument.m \
GormCore/GormFilePrefsManager.m \
GormCore/GormHelpInspector.m \
GormCore/GormPrivate.m \
Palettes/1Windows/WindowsPalette.m \
Plugins/Nib/GormNibWrapperBuilder.m
FIXME2= Palettes/1Windows/GormNSPanel.m \
Palettes/1Windows/GormWindowSizeInspector.m \
Plugins/Gorm/GormGormWrapperBuilder.m \
Plugins/Nib/GormNibWrapperLoader.h \
post-patch:
.for i in ${FIXME}
${REINPLACE_CMD} -e 's|GSNibTemplates|GSNibLoading|' \
-e 's|GSNibCompatibility|GSNibLoading|' \
${WRKSRC}/${i}
.endfor
.for i in ${FIXME2}
${REINPLACE_CMD} -e 's|GSNibTemplates|GSGormLoading|' \
-e 's|GSNibCompatibility|GSGormLoading|' \
${WRKSRC}/${i}
.endfor
.include <bsd.port.mk>

View File

@ -0,0 +1,12 @@
--- Palettes/1Windows/GormNSWindow.m.orig 2008-05-03 19:40:55.000000000 +0200
+++ Palettes/1Windows/GormNSWindow.m 2008-12-23 11:55:25.000000000 +0100
@@ -23,7 +23,8 @@
*/
#include <AppKit/AppKit.h>
-#include <GNUstepGUI/GSNibTemplates.h>
+#include <GNUstepGUI/GSNibLoading.h>
+#include <GNUstepGUI/GSGormLoading.h>
#include <InterfaceBuilder/InterfaceBuilder.h>
#include "GormNSWindow.h"

View File

@ -0,0 +1,12 @@
--- Plugins/Nib/GormNibWrapperLoader.h.orig 2008-06-25 00:09:55.000000000 +0200
+++ Plugins/Nib/GormNibWrapperLoader.h 2008-12-23 16:40:32.000000000 +0100
@@ -26,7 +26,8 @@
#define GORM_NIBWRAPPERLOADER
#include <GormCore/GormWrapperLoader.h>
-#include <GNUstepGUI/GSNibCompatibility.h>
+#include <GNUstepGUI/GSNibLoading.h>
+#include <GNUstepGUI/GSGormLoading.h>
@interface GormNibWrapperLoader : GormWrapperLoader
{

View File

@ -0,0 +1,13 @@
--- GormCore/GormPrivate.h.orig 2007-11-06 00:44:36.000000000 +0100
+++ GormCore/GormPrivate.h 2008-12-23 09:27:03.000000000 +0100
@@ -36,8 +36,8 @@
#include <GormCore/GormPalettesManager.h>
#include <GormCore/GormProtocol.h>
#include <GormCore/GormClassEditor.h>
-#include <GNUstepGUI/GSNibTemplates.h>
-#include <GNUstepGUI/GSNibCompatibility.h>
+#include <GNUstepGUI/GSNibLoading.h>
+#include <GNUstepGUI/GSGormLoading.h>
extern NSString *GormLinkPboardType;
extern NSString *GormToggleGuidelineNotification;

View File

@ -1,10 +1,11 @@
--- ExtProgressIndicator.m.orig 2005-05-12 17:58:49.000000000 +0200
+++ ExtProgressIndicator.m 2008-05-03 09:35:27.000000000 +0200
@@ -21,6 +21,7 @@
@@ -21,6 +21,8 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#include <AppKit/NSAttributedString.h>
+#include <GNUstepGUI/GSTheme.h>
#include <AppKit/NSColor.h>
#include <AppKit/NSParagraphStyle.h>
#include <Foundation/Foundation.h>

View File

@ -0,0 +1,10 @@
--- WorkInProgress.m.orig 2005-05-12 17:58:49.000000000 +0200
+++ WorkInProgress.m 2008-12-24 01:53:34.000000000 +0100
@@ -23,6 +23,7 @@
#include <Foundation/Foundation.h>
#include <AppKit/AppKit.h>
+#include <GNUstepGUI/GSTheme.h>
#include "Functions.h"
#include "Constants.h"