* Version: Add interface version number

* Source/GNUmakefile: Use it.
* Source/GNUmakefile.postamble: Idem, add custom Info.plist.
* Source/GNUmakefile.preamble: Update for interface version.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@21498 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Adam Fedor 2005-07-17 21:45:55 +00:00
parent aac8b84400
commit a0bb9cab58
8 changed files with 44 additions and 15 deletions

View file

@ -1,7 +1,14 @@
2005-07-17 Adam Fedor <fedor@gnu.org>
* Version: Add interface version number
* Source/GNUmakefile: Use it.
* Source/GNUmakefile.postamble: Idem, add custom Info.plist.
* Source/GNUmakefile.preamble: Update for interface version.
2005-07-14 Adam Fedor <fedor@gnu.org> 2005-07-14 Adam Fedor <fedor@gnu.org>
* Source/winlib/WIN32GState.m ([WIN32GState -compositeGState:...]): Fall * Source/winlib/WIN32GState.m ([WIN32GState -compositeGState:...]):
through to default operation if alpha blend not sucessful. Fall through to default operation if alpha blend not sucessful.
2005-07-09 Fred Kiefer <FredKiefer@gmx.de> 2005-07-09 Fred Kiefer <FredKiefer@gmx.de>

View file

@ -7,9 +7,9 @@
<email address="fedor@gnu.org"/> <email address="fedor@gnu.org"/>
<url url="http://www.gnustep.org/developers/whoiswho.html"/> <url url="http://www.gnustep.org/developers/whoiswho.html"/>
</author> </author>
<copy>2005 Free Software Foundation, Inc.</copy>
<version>$Revision$</version> <version>$Revision$</version>
<date>$Date$</date> <date>$Date$</date>
<copy>2005 Free Software Foundation, Inc.</copy>
</head> </head>
<body> <body>
<chapter> <chapter>

View file

@ -7,9 +7,9 @@
<email address="fedor@gnu.org"/> <email address="fedor@gnu.org"/>
<url url="http://www.gnustep.org/developers/whoiswho.html"/> <url url="http://www.gnustep.org/developers/whoiswho.html"/>
</author> </author>
<copy>2005 Free Software Foundation, Inc.</copy>
<version>$Revision$</version> <version>$Revision$</version>
<date>$Date$</date> <date>$Date$</date>
<copy>2005 Free Software Foundation, Inc.</copy>
</head> </head>
<body> <body>
<chapter> <chapter>

View file

@ -7,9 +7,9 @@
<email address="fedor@gnu.org"/> <email address="fedor@gnu.org"/>
<url url="http://www.gnustep.org/developers/whoiswho.html"/> <url url="http://www.gnustep.org/developers/whoiswho.html"/>
</author> </author>
<copy>2005 Free Software Foundation, Inc.</copy>
<version>$Revision$</version> <version>$Revision$</version>
<date>$Date$</date> <date>$Date$</date>
<copy>2005 Free Software Foundation, Inc.</copy>
</head> </head>
<body> <body>
<chapter> <chapter>

View file

@ -29,11 +29,16 @@ include $(GNUSTEP_MAKEFILES)/common.make
include ../config.make include ../config.make
include ../Version
# The library to be compiled, as a library or as a bundle # The library to be compiled, as a library or as a bundle
ifeq ($(BACKEND_BUNDLE),) ifeq ($(BACKEND_BUNDLE),)
LIBRARY_NAME=libgnustep-$(BACKEND_NAME) BACKEND_FULL=$(BACKEND_NAME)
LIBRARY_NAME=libgnustep-$(BACKEND_FULL)
else else
BUNDLE_NAME=libgnustep-$(BACKEND_NAME) BACKEND_FULL=$(BACKEND_NAME)-$(INTERFACE_VERSION_NUMBER)
BUNDLE_NAME=libgnustep-$(BACKEND_FULL)
endif endif
# #
@ -41,15 +46,15 @@ endif
# #
SUBPROJECTS = gsc $(BUILD_SERVER) $(BUILD_GRAPHICS) SUBPROJECTS = gsc $(BUILD_SERVER) $(BUILD_GRAPHICS)
libgnustep-$(BACKEND_NAME)_SUBPROJECTS=$(SUBPROJECTS) libgnustep-$(BACKEND_FULL)_SUBPROJECTS=$(SUBPROJECTS)
libgnustep-$(BACKEND_NAME)_OBJC_FILES=GSBackend.m libgnustep-$(BACKEND_FULL)_OBJC_FILES=GSBackend.m
libgnustep-$(BACKEND_NAME)_PRINCIPAL_CLASS=GSBackend libgnustep-$(BACKEND_FULL)_PRINCIPAL_CLASS=GSBackend
libgnustep-$(BACKEND_NAME)_LOCALIZED_RESOURCE_FILES=nfontFaceNames.strings libgnustep-$(BACKEND_FULL)_LOCALIZED_RESOURCE_FILES=nfontFaceNames.strings
libgnustep-$(BACKEND_NAME)_LANGUAGES=English Swedish libgnustep-$(BACKEND_FULL)_LANGUAGES=English Swedish
-include GNUmakefile.preamble -include GNUmakefile.preamble

View file

@ -23,7 +23,7 @@
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# Things to do before compiling # Things to do before compiling
before-all:: $(GNUSTEP_TARGET_DIR)/config.h before-all:: $(GNUSTEP_TARGET_DIR)/config.h $(BUNDLE_NAME)Info.plist
# Things to do after compiling # Things to do after compiling
# after-all:: # after-all::
@ -66,3 +66,15 @@ after-distclean::
$(GNUSTEP_TARGET_DIR)/config.h: ../config.status $(GNUSTEP_TARGET_DIR)/config.h: ../config.status
$(GNUSTEP_MAKEFILES)/mkinstalldirs $(GNUSTEP_TARGET_DIR) $(GNUSTEP_MAKEFILES)/mkinstalldirs $(GNUSTEP_TARGET_DIR)
-cp ../config.h $(GNUSTEP_TARGET_DIR) -cp ../config.h $(GNUSTEP_TARGET_DIR)
#
# Make an Info.plist for the bundle
#
$(BUNDLE_NAME)Info.plist:
$(ECHO_CREATING)(echo "{"; \
echo " GSBundleShortVersionString = \"$(VERSION)\";"; \
echo " GSBundleVersion = $(VERSION_NUMBER);"; \
echo " CFBundleShortVersionString = \"$(VERSION)\";"; \
echo " CFBundleVersion = $(VERSION_NUMBER);"; \
echo "}") > $@$(END_ECHO)

View file

@ -49,10 +49,10 @@ ADDITIONAL_LIB_DIRS += $(GRAPHIC_LFLAGS)
# Flags for compiling as a bundle or library (if the system depends # Flags for compiling as a bundle or library (if the system depends
# on having libraries specified). # on having libraries specified).
# #
libgnustep-$(BACKEND_NAME)_BUNDLE_LIBS = $(GRAPHIC_LIBS) libgnustep-$(BACKEND_FULL)_BUNDLE_LIBS = $(GRAPHIC_LIBS)
ifeq ($(BACKEND_BUNDLE),) ifeq ($(BACKEND_BUNDLE),)
libgnustep-$(BACKEND_NAME)_LIBRARIES_DEPEND_UPON = $(GRAPHIC_LIBS) libgnustep-$(BACKEND_FULL)_LIBRARIES_DEPEND_UPON = $(GRAPHIC_LIBS)
endif endif

View file

@ -5,6 +5,11 @@
GNUSTEP_BACK_MAJOR_VERSION=0 GNUSTEP_BACK_MAJOR_VERSION=0
GNUSTEP_BACK_MINOR_VERSION=9 GNUSTEP_BACK_MINOR_VERSION=9
GNUSTEP_BACK_SUBMINOR_VERSION=5 GNUSTEP_BACK_SUBMINOR_VERSION=5
# This numeric value should match above
VERSION_NUMBER=009.5
# This numeric value should match the compatible gui interface version
INTERFACE_VERSION_NUMBER=009
GNUSTEP_BACK_VERSION=${GNUSTEP_BACK_MAJOR_VERSION}.${GNUSTEP_BACK_MINOR_VERSION}.${GNUSTEP_BACK_SUBMINOR_VERSION} GNUSTEP_BACK_VERSION=${GNUSTEP_BACK_MAJOR_VERSION}.${GNUSTEP_BACK_MINOR_VERSION}.${GNUSTEP_BACK_SUBMINOR_VERSION}
VERSION=${GNUSTEP_BACK_VERSION} VERSION=${GNUSTEP_BACK_VERSION}