[mythtv-commits] mythtv/master commit: 70a157f96 by Gavin Hurlbut (Beirdo)

MythTV noreply at mythtv.org
Mon Feb 21 21:15:09 UTC 2011


      Author:  Gavin Hurlbut <ghurlbut at mythtv.org>
 Change Date:  2011-02-21T13:13:28-08:00
   Push Date:  2011/02/21 13:15:06 -0800
  Repository:  mythtv
      Branch:  master
New Revision:  70a157f96c5644510700057cb9437395188c67d9
   Changeset:  https://github.com/MythTV/mythtv/commit/70a157f96

Log:

Another run at getting rid of symbol issues

Change version.cpp -> libs/libmythbase/version.h, which we then include in
mythversion.h.  Also convert from extern const char * -> #define constants.
This will remove all of the symbols.  However, it comes at the cost of a
slightly slower re-compile as every file that uses the constants will need
recompiling.  If we wanted to get around that, we can use functions in
libmythbase as the access points, such that only one file needs a recompile,
and it is buried in a library, but still anything using said library will need
relinking.

Can't win, really.  Refs #9586

Modified:

   mythtv/Makefile
   mythtv/libs/libmyth/mythcommandlineparser.cpp
   mythtv/libs/libmythbase/.gitignore
   mythtv/libs/libmythbase/libmythbase.pro
   mythtv/libs/libmythbase/mythversion.h
   mythtv/libs/libmythtv/datadirect.cpp
   mythtv/libs/libmythui/myththemedmenu.cpp
   mythtv/libs/libmythupnp/upnpdevice.h
   mythtv/programs/mythbackend/housekeeper.cpp
   mythtv/programs/mythbackend/main.cpp
   mythtv/programs/mythfrontend/main.cpp
   mythtv/programs/mythfrontend/networkcontrol.cpp
   mythtv/programs/mythfrontend/statusbox.cpp
   mythtv/programs/mythfrontend/themechooser.cpp
   mythtv/programs/mythjobqueue/main.cpp
   mythtv/programs/mythpreviewgen/main.cpp
   mythtv/programs/mythshutdown/main.cpp
   mythtv/programs/mythtv-setup/main.cpp
   mythtv/programs/mythwelcome/main.cpp
   mythtv/version.pro
   mythtv/version.sh



More information about the mythtv-commits mailing list