* Version: Add numeric value for runtime versioning.

* Souce/GNUmakeifle: Add resource set install.
* Source/GNUmakefile.postamble (Info-gnustep.plist): New target.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20344 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Adam Fedor 2004-11-12 03:53:23 +00:00
parent 3c1705aaa9
commit 13e0addf7d
4 changed files with 33 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2004-11-11 Adam Fedor <fedor@gnu.org>
* Version: Add numeric value for runtime versioning.
* Souce/GNUmakeifle: Add resource set install.
* Source/GNUmakefile.postamble (Info-gnustep.plist): New target.
2004-11-11 Adam Fedor <fedor@gnu.org>
* Model/GMAppKit.m ([NSPopUpButton -encodeWithModelArchiver:]):

View file

@ -382,6 +382,13 @@ libgnustep-gui_HEADER_FILES = ${GUI_HEADERS}
HEADERS_INSTALL = ${APPKIT_HEADERS} \
${GUI_HEADERS}
# Resources
RESOURCE_SET_NAME = libgui-resources
libgui-resources_RESOURCE_FILES_INSTALL_DIR = Library/Libraries/Resources/gnustep-gui
libgui-resources_RESOURCE_DIRS =
libgui-resources_RESOURCE_FILES = Info-gnustep.plist
# Extra DLL exports file
libgnustep-gui_DLL_DEF = libgnustep-gui.def
@ -390,6 +397,7 @@ include GNUmakefile.preamble
-include GNUmakefile.local
include $(GNUSTEP_MAKEFILES)/library.make
include $(GNUSTEP_MAKEFILES)/resource-set.make
include GNUmakefile.postamble

View file

@ -48,6 +48,8 @@ else
before-all:: $(GNUSTEP_TARGET_DIR)/config.h
endif
after-all:: Info-gnustep.plist
# Things to do before installing
# before-install::
@ -119,3 +121,18 @@ libgnustep-gui.def: $(OBJ_FILES_TO_LINK)
nm $^ | grep '^........ [TR] _' | sed 's/[^_]*_//' > _tmp.def
cat _tmp.def | grep "_class_name_" >> $@
rm -rf _tmp.def
#
# Make an Info.plist since libraries don't have these normally
#
Info-gnustep.plist:
$(ECHO_CREATING)(echo "{"; \
echo " NSExecutable = \"gnustep-gui\";"; \
echo " NSPrincipalClass = \"NSApplication\";"; \
echo " GSBundleShortVersionString = \"$(VERSION)\";"; \
echo " GSBundleVersion = $(VERSION_NUMBER);"; \
echo " CFBundleShortVersionString = \"$(VERSION)\";"; \
echo " CFBundleVersion = $(VERSION_NUMBER);"; \
echo "}") > $@$(END_ECHO)

View file

@ -12,6 +12,8 @@ GNUSTEP_GUI_LIBTIFF=3.4
GNUSTEP_GUI_MAJOR_VERSION=0
GNUSTEP_GUI_MINOR_VERSION=9
GNUSTEP_GUI_SUBMINOR_VERSION=4
# numeric value should match above
VERSION_NUMBER=009.4
GNUSTEP_GUI_VERSION=${GNUSTEP_GUI_MAJOR_VERSION}.${GNUSTEP_GUI_MINOR_VERSION}.${GNUSTEP_GUI_SUBMINOR_VERSION}
VERSION=${GNUSTEP_GUI_VERSION}