Revision: 42378
          http://brlcad.svn.sourceforge.net/brlcad/?rev=42378&view=rev
Author:   starseeker
Date:     2011-01-17 07:33:12 +0000 (Mon, 17 Jan 2011)

Log Message:
-----------
autotools build needs a pkgIndex.tcl for tkpng, provide it.

Modified Paths:
--------------
    brlcad/trunk/configure.ac
    brlcad/trunk/src/other/tkpng/Makefile.am
    brlcad/trunk/src/other/tkpng/generic/tkImgPNGInit.c

Added Paths:
-----------
    brlcad/trunk/src/other/tkpng/pkgIndex.tcl.in

Modified: brlcad/trunk/configure.ac
===================================================================
--- brlcad/trunk/configure.ac   2011-01-17 07:03:47 UTC (rev 42377)
+++ brlcad/trunk/configure.ac   2011-01-17 07:33:12 UTC (rev 42378)
@@ -3231,6 +3231,7 @@
 dnl *** tkpng ***
 dnl figure out whether we need to build tkpng 
 TKPNG_VERSION="0.9"
+TKPNG_LIB_FILE="tkpng${SHLIB_SUFFIX}"
 case $host_os in
      *netbsd-*|*freebsd-[[1-3]]*.*|*openbsd-[[1-3]]*|*sunos4*)
         # some OS's don't like dots in the lib name
@@ -3238,6 +3239,7 @@
         ;;
 esac
 AC_SUBST(TKPNG_VERSION)
+AC_SUBST(TKPNG_LIB_FILE)
 AC_MSG_CHECKING(whether to build tkpng)
 if test ! "x$bc_build_tkpng" = "xno" ; then
     build_brlcad_tkpng=yes
@@ -4362,6 +4364,7 @@
        src/other/tcl/Makefile
        src/other/tk/Makefile
        src/other/tkpng/Makefile
+       src/other/tkpng/pkgIndex.tcl
        src/other/tnt/Makefile
        src/proc-db/Makefile
        src/remrt/Makefile

Modified: brlcad/trunk/src/other/tkpng/Makefile.am
===================================================================
--- brlcad/trunk/src/other/tkpng/Makefile.am    2011-01-17 07:03:47 UTC (rev 
42377)
+++ brlcad/trunk/src/other/tkpng/Makefile.am    2011-01-17 07:33:12 UTC (rev 
42378)
@@ -8,6 +8,9 @@
 tkpng_la_LDFLAGS = -module
 lib_LTLIBRARIES = tkpng.la
 
+brlcadscriptdir =  ${libdir}/tkpng${TKPNG_VERSION}
+brlcadscript_SCRIPTS = pkgIndex.tcl
+
 tkpng_la_SOURCES = \
        generic/tkImgPNG.c \
        generic/tkImgPNGInit.c
@@ -18,6 +21,9 @@
        ${TK} \
        ${TCLSTUB}
 
+DISTCLEANFILES = \
+       pkgIndex.tcl
+
 EXTRA_DIST = \
        README \
        ChangeLog \

Modified: brlcad/trunk/src/other/tkpng/generic/tkImgPNGInit.c
===================================================================
--- brlcad/trunk/src/other/tkpng/generic/tkImgPNGInit.c 2011-01-17 07:03:47 UTC 
(rev 42377)
+++ brlcad/trunk/src/other/tkpng/generic/tkImgPNGInit.c 2011-01-17 07:33:12 UTC 
(rev 42378)
@@ -17,7 +17,7 @@
 #include <tk.h>
 
 #ifndef        PACKAGE_VERSION
-#define        PACKAGE_VERSION "0.8"
+#define        PACKAGE_VERSION "0.9"
 #endif
 
 extern Tk_PhotoImageFormat tkImgFmtPNG;

Added: brlcad/trunk/src/other/tkpng/pkgIndex.tcl.in
===================================================================
--- brlcad/trunk/src/other/tkpng/pkgIndex.tcl.in                                
(rev 0)
+++ brlcad/trunk/src/other/tkpng/pkgIndex.tcl.in        2011-01-17 07:33:12 UTC 
(rev 42378)
@@ -0,0 +1,3 @@
+# Tcl package index file, version 1.0
+
+package ifneeded tkpng @TKPNG_VERSION@ [list load [file join $dir ".." 
"@TKPNG_LIB_FILE@"] tkpng]


Property changes on: brlcad/trunk/src/other/tkpng/pkgIndex.tcl.in
___________________________________________________________________
Added: svn:mime-type
   + text/plain
Added: svn:eol-style
   + native


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to