1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-19 04:20:27 +01:00

Add version script versioning for libwraster

Enable symbol-versioning for libwraster and stop exporting public
symbols.
This commit is contained in:
Andreas Metzler
2010-08-29 16:13:41 +02:00
committed by Carlos R. Mafra
parent 44edeea804
commit 7e5b8e412f
3 changed files with 106 additions and 0 deletions

View File

@@ -837,6 +837,8 @@ if test "$enableval" = yes; then
fi
)
gl_LD_VERSION_SCRIPT
AC_OUTPUT(Makefile po/Makefile util/Makefile util/po/Makefile \
WINGs/Makefile WINGs/WINGs/Makefile WINGs/Documentation/Makefile \
WINGs/Examples/Makefile WINGs/Resources/Makefile WINGs/Tests/Makefile \

View File

@@ -10,6 +10,10 @@ lib_LTLIBRARIES = libwraster.la
libwraster_la_LDFLAGS = -version-info @WRASTER_VERSION@
if HAVE_LD_VERSION_SCRIPT
libwraster_la_LDFLAGS += -Wl,--version-script=$(srcdir)/libwraster.map
endif
bin_SCRIPTS = get-wraster-flags
include_HEADERS = wraster.h

100
wrlib/libwraster.map Normal file
View File

@@ -0,0 +1,100 @@
/* libwraster.map - libtool symbol version script for libwraster
* Copyright (c) 2010 Andreas Metzler
*
* This file is part of the Raster graphics library
*
* 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 General Public License
* along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
LIBWRASTER3
{
global:
RBevelImage;
RBlurImage;
RClearImage;
RCloneImage;
RCombineArea;
RCombineAreaWithOpaqueness;
RCombineImages;
RCombineImagesWithOpaqueness;
RCombineImageWithColor;
RConvertImage;
RConvertImageMask;
RCopyArea;
RCreateContext;
RCreateImage;
RCreateImageFromDrawable;
RCreateImageFromXImage;
RCreateXImage;
RDestroyXImage;
RDrawLine;
RDrawLines;
RDrawSegments;
RErrorCode;
RFillImage;
RGetClosestXColor;
RGetImageFileFormat;
RGetImageFromXPMData;
RGetPixel;
RGetSubImage;
RGetXImage;
RHSVtoRGB;
RLoadImage;
RMakeCenteredImage;
RMakeTiledImage;
RMessageForError;
ROperateLine;
ROperateLines;
ROperatePixel;
ROperatePixels;
ROperateSegments;
RPutPixel;
RPutPixels;
RPutXImage;
RReleaseImage;
RRenderGradient;
RRenderInterwovenGradient;
RRenderMultiGradient;
RRetainImage;
RRGBtoHSV;
RRotateImage;
RSaveImage;
RScaleImage;
RSmoothScaleImage;
RSupportedFileFormats;
local:
# _edata
# _end
# _fini
# _init
# __bss_start
# calculateCombineArea
# contrib
# R_CreateXImageMappedPixmap
# RLoadGIF
# RLoadJPEG
# RLoadPNG
# RLoadPPM
# RLoadTIFF
# RLoadXPM
# RSaveXPM
# _wraster_change_filter
# WRasterLibVersion
# x86_check_mmx
# x86_mmx_TrueColor_24_to_16
# x86_mmx_TrueColor_32_to_16
# x86_PseudoColor_32_to_8
*;
};