Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Dec 2004 15:56:18 +0100
From:      des@des.no (=?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?=)
To:        Martin Spott <mas@plesnik.de>
Cc:        ports@FreeBSD.org
Subject:   Re: FreeBSD Port: FlightGear
Message-ID:  <xzp6537o99p.fsf@dwp.des.no>
In-Reply-To: <20041118145308.GA1770@isnix.plesnik.bonsai.de> (Martin Spott's message of "Thu, 18 Nov 2004 15:53:08 %2B0100")
References:  <20041118145308.GA1770@isnix.plesnik.bonsai.de>

next in thread | previous in thread | raw e-mail | index | archive | help
--=-=-=
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

Martin Spott <mas@plesnik.de> writes:
> I am somehow involved in the FlightGear project and I am considering to
> participate in maintaining the FreeBSD FlightGear port. Is there any
> interest ? Not that I am a fabulous programmer but the skills should be
> sufficient for such a job - I have some experience with building
> FlightGear on not so common platforms.

Do you have any influence at all on plib?  Could you have them switch
to installing shared libraries instead of static ones?  All it takes
is the attached patch + include ltmain.sh in the tarball.

DES
--=20
Dag-Erling Sm=F8rgrav - des@des.no


--=-=-=
Content-Type: text/x-patch
Content-Disposition: attachment; filename=patch-shared

--- autogen.sh.orig	Sun Dec 12 15:40:53 2004
+++ autogen.sh	Sun Dec 12 15:41:30 2004
@@ -2,11 +2,15 @@
 
 OSTYPE=`uname -s`
 
+LTFLAGS="--copy --force"
+
 AMFLAGS="--add-missing"
 if test "$OSTYPE" = "IRIX" -o "$OSTYPE" = "IRIX64"; then
    AMFLAGS=$AMFLAGS" --include-deps";
 fi
 
+echo "Running libtoolize"
+libtoolize $LTFLAGS
 echo "Running aclocal"
 aclocal
 echo "Running automake"
--- configure.in.orig	Sat Dec 11 20:47:13 2004
+++ configure.in	Sat Dec 11 20:48:09 2004
@@ -36,7 +36,7 @@
 AC_PROG_CXX
 AC_PROG_CXXCPP
 AC_PROG_INSTALL
-AC_PROG_RANLIB
+AC_PROG_LIBTOOL
 
 dnl Command line arguments
 
@@ -242,8 +242,6 @@
 
 dnl Checks for library functions.
 dnl check for OpenGL related libraries
-
-AC_CANONICAL_HOST
 
 case "${host}" in
 *-*-cygwin* | *-*-mingw32*)
--- src/js/Makefile.am.orig	Sat Jan  4 03:28:23 2003
+++ src/js/Makefile.am	Sat Dec 11 20:46:48 2004
@@ -1,10 +1,10 @@
 if BUILD_JS
 
-lib_LIBRARIES = libplibjs.a
+lib_LTLIBRARIES = libplibjs.la
 
 include_HEADERS = js.h
 
-libplibjs_a_SOURCES = js.cxx jsLinux.cxx jsLinuxOld.cxx jsMacOS.cxx \
+libplibjs_la_SOURCES = js.cxx jsLinux.cxx jsLinuxOld.cxx jsMacOS.cxx \
                              jsMacOSX.cxx jsWindows.cxx jsBSD.cxx   \
                              jsNone.cxx
 
--- src/pw/Makefile.am.orig	Sun Feb 15 21:29:34 2004
+++ src/pw/Makefile.am	Sat Dec 11 20:46:48 2004
@@ -1,10 +1,10 @@
 if BUILD_PW
 
-lib_LIBRARIES = libplibpw.a
+lib_LTLIBRARIES = libplibpw.la
 
 include_HEADERS = pw.h
 
-libplibpw_a_SOURCES = pw.cxx pwX11.cxx pwWindows.cxx pwMacOSX.cxx
+libplibpw_la_SOURCES = pw.cxx pwX11.cxx pwWindows.cxx pwMacOSX.cxx
 
 INCLUDES = -I$(top_srcdir)/src/util
 
--- src/sg/Makefile.am.orig	Sun Sep  1 00:21:21 2002
+++ src/sg/Makefile.am	Sat Dec 11 20:46:48 2004
@@ -1,10 +1,10 @@
 if BUILD_SG
 
-lib_LIBRARIES = libplibsg.a
+lib_LTLIBRARIES = libplibsg.la
 
 include_HEADERS = sg.h
 
-libplibsg_a_SOURCES = sg.cxx sgd.cxx \
+libplibsg_la_SOURCES = sg.cxx sgd.cxx \
                       sgIsect.cxx sgdIsect.cxx \
                       sgPerlinNoise.cxx
 
--- src/sl/Makefile.am.orig	Sun Sep  1 00:34:05 2002
+++ src/sl/Makefile.am	Sat Dec 11 20:46:48 2004
@@ -1,16 +1,16 @@
 if BUILD_SL
 
-lib_LIBRARIES = libplibsl.a libplibsm.a
+lib_LTLIBRARIES = libplibsl.la libplibsm.la
 
 include_HEADERS = sl.h slPortability.h sm.h
 
-libplibsl_a_SOURCES = \
+libplibsl_la_SOURCES = \
 	slDSP.cxx slSample.cxx slEnvelope.cxx \
 	slPlayer.cxx slMODPlayer.cxx slSamplePlayer.cxx \
         slScheduler.cxx slMODdacio.cxx slMODfile.cxx \
         slMODinst.cxx slMODnote.cxx slMODPrivate.h slMODfile.h
 
-libplibsm_a_SOURCES = slPortability.h smMixer.cxx
+libplibsm_la_SOURCES = slPortability.h smMixer.cxx
 
 INCLUDES = -I$(top_srcdir)/src/util
 
--- src/fnt/Makefile.am.orig	Mon Feb 16 04:13:22 2004
+++ src/fnt/Makefile.am	Sat Dec 11 20:46:48 2004
@@ -1,10 +1,10 @@
 if BUILD_FNT
 
-lib_LIBRARIES = libplibfnt.a
+lib_LTLIBRARIES = libplibfnt.la
 
 include_HEADERS = fnt.h
 
-libplibfnt_a_SOURCES = fnt.cxx fntTXF.cxx fntLocal.h fntBitmap.cxx
+libplibfnt_la_SOURCES = fnt.cxx fntTXF.cxx fntLocal.h fntBitmap.cxx
 
 INCLUDES = -I$(top_srcdir)/src/sg -I$(top_srcdir)/src/util
 
--- src/net/Makefile.am.orig	Sun Mar 21 17:37:41 2004
+++ src/net/Makefile.am	Sat Dec 11 20:46:48 2004
@@ -1,11 +1,11 @@
 if BUILD_NET
 
-lib_LIBRARIES = libplibnet.a
+lib_LTLIBRARIES = libplibnet.la
 
 include_HEADERS = netBuffer.h netChannel.h netChat.h netMessage.h \
 	netMonitor.h netSocket.h net.h
 
-libplibnet_a_SOURCES = netBuffer.cxx netChannel.cxx netChat.cxx \
+libplibnet_la_SOURCES = netBuffer.cxx netChannel.cxx netChat.cxx \
 	netMessage.cxx netMonitor.cxx netSocket.cxx
 
 INCLUDES = -I$(top_srcdir)/src/util
--- src/psl/Makefile.am.orig	Wed Sep 11 00:22:37 2002
+++ src/psl/Makefile.am	Sat Dec 11 20:46:48 2004
@@ -1,11 +1,11 @@
 
 if BUILD_PSL
 
-lib_LIBRARIES = libplibpsl.a
+lib_LTLIBRARIES = libplibpsl.la
 
 include_HEADERS = psl.h
 
-libplibpsl_a_SOURCES = psl.cxx pslCodeGen.cxx pslContext.cxx \
+libplibpsl_la_SOURCES = psl.cxx pslCodeGen.cxx pslContext.cxx \
                        pslCompiler.cxx pslSymbols.cxx pslToken.cxx \
                        pslExpression.cxx pslProgram.cxx pslDump.cxx \
                        pslError.cxx pslFileIO.cxx pslCompiler.h \
--- src/pui/Makefile.am.orig	Sun Mar 21 19:56:55 2004
+++ src/pui/Makefile.am	Sat Dec 11 20:46:48 2004
@@ -1,10 +1,10 @@
 if BUILD_PUI
 
-lib_LIBRARIES = libplibpu.a
+lib_LTLIBRARIES = libplibpu.la
 
 include_HEADERS = pu.h puGLUT.h puFLTK.h puSDL.h puNative.h puPW.h
 
-libplibpu_a_SOURCES = \
+libplibpu_la_SOURCES = \
         pu.cxx            puBox.cxx       puButton.cxx puButtonBox.cxx    \
         puArrowButton.cxx puDialogBox.cxx puFrame.cxx  puGroup.cxx        \
         puInput.cxx       puInterface.cxx puLocal.h    puMenuBar.cxx      \
--- src/ssg/Makefile.am.orig	Thu Jan 22 00:54:27 2004
+++ src/ssg/Makefile.am	Sat Dec 11 20:46:48 2004
@@ -1,10 +1,10 @@
 if BUILD_SSG
 
-lib_LIBRARIES = libplibssg.a
+lib_LTLIBRARIES = libplibssg.la
 
 include_HEADERS = ssg.h ssgconf.h ssgMSFSPalette.h ssgKeyFlier.h pcx.h
 
-libplibssg_a_SOURCES = ssg.cxx ssgAnimation.cxx ssgBase.cxx \
+libplibssg_la_SOURCES = ssg.cxx ssgAnimation.cxx ssgBase.cxx \
 	ssgBaseTransform.cxx ssgBranch.cxx ssgContext.cxx ssgCutout.cxx \
 	ssgDList.cxx ssgEntity.cxx ssgIsect.cxx ssgLeaf.cxx ssgList.cxx \
 	ssgLoadDOF.cxx ssgLoadAC.cxx \
--- src/util/Makefile.am.orig	Sun Sep  1 10:57:34 2002
+++ src/util/Makefile.am	Sat Dec 11 20:46:48 2004
@@ -1,10 +1,10 @@
 if BUILD_UL
 
-lib_LIBRARIES = libplibul.a
+lib_LTLIBRARIES = libplibul.la
 
 include_HEADERS = ul.h ulRTTI.h
 
-libplibul_a_SOURCES = ul.cxx ulClock.cxx ulError.cxx ulLinkedList.cxx \
+libplibul_la_SOURCES = ul.cxx ulClock.cxx ulError.cxx ulLinkedList.cxx \
         ulList.cxx ulLocal.h ulRTTI.cxx
 
 endif
--- src/puAux/Makefile.am.orig	Sun Mar 21 20:42:25 2004
+++ src/puAux/Makefile.am	Sat Dec 11 20:46:48 2004
@@ -1,10 +1,10 @@
 if BUILD_PUAUX
 
-lib_LIBRARIES = libplibpuaux.a
+lib_LTLIBRARIES = libplibpuaux.la
 
 include_HEADERS = puAux.h puAuxLocal.h
 
-libplibpuaux_a_SOURCES = puAux.cxx                  \
+libplibpuaux_la_SOURCES = puAux.cxx                  \
                          puAuxBiSlider.cxx          \
                          puAuxBiSliderWithEnds.cxx  \
                          puAuxComboBox.cxx          \
--- src/ssgAux/Makefile.am.orig	Thu Jan 22 00:42:01 2004
+++ src/ssgAux/Makefile.am	Sat Dec 11 20:46:48 2004
@@ -1,6 +1,6 @@
 if BUILD_SSGAUX
 
-lib_LIBRARIES = libplibssgaux.a
+lib_LTLIBRARIES = libplibssgaux.la
 
 include_HEADERS = ssgAux.h             \
                   ssgaShapes.h         \
@@ -13,7 +13,7 @@
                   ssgaFire.h           \
                   ssgaBillboards.h
 
-libplibssgaux_a_SOURCES = ssgAux.cxx               \
+libplibssgaux_la_SOURCES = ssgAux.cxx               \
                           ssgaShapes.cxx           \
                           ssgaPatch.cxx            \
                           ssgaParticleSystem.cxx   \

--=-=-=--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzp6537o99p.fsf>