diff options
| -rw-r--r-- | meta-oe/recipes-devtools/tcltk/tk-8.5.8/manpages.diff | 23 | ||||
| -rw-r--r-- | meta-oe/recipes-devtools/tcltk/tk-8.5.8/rpath.diff | 40 | ||||
| -rw-r--r-- | meta-oe/recipes-devtools/tcltk/tk-8.6.0/confsearch.diff (renamed from meta-oe/recipes-devtools/tcltk/tk-8.5.8/confsearch.diff) | 0 | ||||
| -rw-r--r-- | meta-oe/recipes-devtools/tcltk/tk-8.6.0/fix-xft.diff (renamed from meta-oe/recipes-devtools/tcltk/tk-8.5.8/fix-xft.diff) | 0 | ||||
| -rw-r--r-- | meta-oe/recipes-devtools/tcltk/tk-8.6.0/non-linux.diff (renamed from meta-oe/recipes-devtools/tcltk/tk-8.5.8/non-linux.diff) | 0 | ||||
| -rw-r--r-- | meta-oe/recipes-devtools/tcltk/tk-8.6.0/tklibrary.diff (renamed from meta-oe/recipes-devtools/tcltk/tk-8.5.8/tklibrary.diff) | 0 | ||||
| -rw-r--r-- | meta-oe/recipes-devtools/tcltk/tk-8.6.0/tkprivate.diff (renamed from meta-oe/recipes-devtools/tcltk/tk-8.5.8/tkprivate.diff) | 0 | ||||
| -rw-r--r-- | meta-oe/recipes-devtools/tcltk/tk_8.6.0.bb (renamed from meta-oe/recipes-devtools/tcltk/tk_8.5.8.bb) | 21 |
8 files changed, 9 insertions, 75 deletions
diff --git a/meta-oe/recipes-devtools/tcltk/tk-8.5.8/manpages.diff b/meta-oe/recipes-devtools/tcltk/tk-8.5.8/manpages.diff deleted file mode 100644 index a0620bd2ce..0000000000 --- a/meta-oe/recipes-devtools/tcltk/tk-8.5.8/manpages.diff +++ /dev/null | |||
| @@ -1,23 +0,0 @@ | |||
| 1 | Patch by Chris Waters fixes installing of several manual pages which | ||
| 2 | aren't installed by upstream script but are referenced inside other | ||
| 3 | manual pages. | ||
| 4 | |||
| 5 | --- tk8.5-8.5.8.orig/unix/installManPage | ||
| 6 | +++ tk8.5-8.5.8/unix/installManPage | ||
| 7 | @@ -51,7 +51,16 @@ | ||
| 8 | }' $MANPAGE` | ||
| 9 | |||
| 10 | SECTION=`echo $MANPAGE | sed 's/.*\(.\)$/\1/'` | ||
| 11 | +NAME=`basename $MANPAGE .$SECTION` | ||
| 12 | SRCDIR=`dirname $MANPAGE` | ||
| 13 | + | ||
| 14 | +SPECIALS="FindPhoto" | ||
| 15 | +for n in $SPECIALS; do | ||
| 16 | + if [ "$NAME" = "$n" ] ; then | ||
| 17 | + NAMES="$n $NAMES" | ||
| 18 | + fi | ||
| 19 | +done | ||
| 20 | + | ||
| 21 | FIRST="" | ||
| 22 | for f in $NAMES; do | ||
| 23 | f=$f.$SECTION$SUFFIX | ||
diff --git a/meta-oe/recipes-devtools/tcltk/tk-8.5.8/rpath.diff b/meta-oe/recipes-devtools/tcltk/tk-8.5.8/rpath.diff deleted file mode 100644 index 81169aab25..0000000000 --- a/meta-oe/recipes-devtools/tcltk/tk-8.5.8/rpath.diff +++ /dev/null | |||
| @@ -1,40 +0,0 @@ | |||
| 1 | Patch by Chris Waters removes -rpath from search flags and adds -soname | ||
| 2 | to library build options. | ||
| 3 | |||
| 4 | Also, it fixes Makefile.in to put correct Tk library filename to pkgIndex.tcl | ||
| 5 | |||
| 6 | --- tk8.5-8.5.8.orig/unix/configure | ||
| 7 | +++ tk8.5-8.5.8/unix/configure | ||
| 8 | @@ -5557,6 +5557,9 @@ | ||
| 9 | # get rid of the warnings. | ||
| 10 | #CFLAGS_OPTIMIZE="${CFLAGS_OPTIMIZE} -D__NO_STRING_INLINES -D__NO_MATH_INLINES" | ||
| 11 | |||
| 12 | + # following line added by CW for Debian GNU/Linux | ||
| 13 | + TK_SHLIB_LD_EXTRAS="-Wl,-soname,\${TK_LIB_FILE}.0" | ||
| 14 | + | ||
| 15 | SHLIB_LD='${CC} -shared ${CFLAGS} ${LDFLAGS}' | ||
| 16 | DL_OBJS="tclLoadDl.o" | ||
| 17 | DL_LIBS="-ldl" | ||
| 18 | --- tk8.5-8.5.8.orig/unix/Makefile.in | ||
| 19 | +++ tk8.5-8.5.8/unix/Makefile.in | ||
| 20 | @@ -713,7 +713,7 @@ | ||
| 21 | echo "if {[catch {package present Tcl 8.5.0}]} { return }";\ | ||
| 22 | relative=`echo | awk '{ORS=" "; split("$(TK_PKG_DIR)",a,"/"); for (f in a) {print ".."}}'`;\ | ||
| 23 | echo "package ifneeded Tk $(MAJOR_VERSION).$(MINOR_VERSION)$(PATCH_LEVEL)\ | ||
| 24 | - [list load [file join \$$dir $${relative}$(TK_LIB_FILE)] Tk]";\ | ||
| 25 | + [list load [file join $(LIB_RUNTIME_DIR) $(TK_LIB_FILE).0] Tk]";\ | ||
| 26 | ) > "$(PKG_INDEX)"; \ | ||
| 27 | fi | ||
| 28 | @echo "Installing $(LIB_FILE) to $(LIB_INSTALL_DIR)/" | ||
| 29 | --- tk8.5-8.5.8.orig/unix/tcl.m4 | ||
| 30 | +++ tk8.5-8.5.8/unix/tcl.m4 | ||
| 31 | @@ -1433,6 +1433,9 @@ | ||
| 32 | # get rid of the warnings. | ||
| 33 | #CFLAGS_OPTIMIZE="${CFLAGS_OPTIMIZE} -D__NO_STRING_INLINES -D__NO_MATH_INLINES" | ||
| 34 | |||
| 35 | + # following line added by CW for Debian GNU/Linux | ||
| 36 | + TK_SHLIB_LD_EXTRAS="-Wl,-soname,\${TK_LIB_FILE}.0" | ||
| 37 | + | ||
| 38 | SHLIB_LD='${CC} -shared ${CFLAGS} ${LDFLAGS}' | ||
| 39 | DL_OBJS="tclLoadDl.o" | ||
| 40 | DL_LIBS="-ldl" | ||
diff --git a/meta-oe/recipes-devtools/tcltk/tk-8.5.8/confsearch.diff b/meta-oe/recipes-devtools/tcltk/tk-8.6.0/confsearch.diff index c51e475426..c51e475426 100644 --- a/meta-oe/recipes-devtools/tcltk/tk-8.5.8/confsearch.diff +++ b/meta-oe/recipes-devtools/tcltk/tk-8.6.0/confsearch.diff | |||
diff --git a/meta-oe/recipes-devtools/tcltk/tk-8.5.8/fix-xft.diff b/meta-oe/recipes-devtools/tcltk/tk-8.6.0/fix-xft.diff index d1bb7105c6..d1bb7105c6 100644 --- a/meta-oe/recipes-devtools/tcltk/tk-8.5.8/fix-xft.diff +++ b/meta-oe/recipes-devtools/tcltk/tk-8.6.0/fix-xft.diff | |||
diff --git a/meta-oe/recipes-devtools/tcltk/tk-8.5.8/non-linux.diff b/meta-oe/recipes-devtools/tcltk/tk-8.6.0/non-linux.diff index 9309fc48e1..9309fc48e1 100644 --- a/meta-oe/recipes-devtools/tcltk/tk-8.5.8/non-linux.diff +++ b/meta-oe/recipes-devtools/tcltk/tk-8.6.0/non-linux.diff | |||
diff --git a/meta-oe/recipes-devtools/tcltk/tk-8.5.8/tklibrary.diff b/meta-oe/recipes-devtools/tcltk/tk-8.6.0/tklibrary.diff index ee38c2a1a5..ee38c2a1a5 100644 --- a/meta-oe/recipes-devtools/tcltk/tk-8.5.8/tklibrary.diff +++ b/meta-oe/recipes-devtools/tcltk/tk-8.6.0/tklibrary.diff | |||
diff --git a/meta-oe/recipes-devtools/tcltk/tk-8.5.8/tkprivate.diff b/meta-oe/recipes-devtools/tcltk/tk-8.6.0/tkprivate.diff index 4e15469736..4e15469736 100644 --- a/meta-oe/recipes-devtools/tcltk/tk-8.5.8/tkprivate.diff +++ b/meta-oe/recipes-devtools/tcltk/tk-8.6.0/tkprivate.diff | |||
diff --git a/meta-oe/recipes-devtools/tcltk/tk_8.5.8.bb b/meta-oe/recipes-devtools/tcltk/tk_8.6.0.bb index d44b407ef3..b76f58f9ea 100644 --- a/meta-oe/recipes-devtools/tcltk/tk_8.5.8.bb +++ b/meta-oe/recipes-devtools/tcltk/tk_8.6.0.bb | |||
| @@ -2,42 +2,39 @@ DESCRIPTION = "Tool Command Language ToolKit Extension" | |||
| 2 | HOMEPAGE = "http://tcl.sourceforge.net" | 2 | HOMEPAGE = "http://tcl.sourceforge.net" |
| 3 | SECTION = "devel/tcltk" | 3 | SECTION = "devel/tcltk" |
| 4 | LICENSE = "tcl" | 4 | LICENSE = "tcl" |
| 5 | LIC_FILES_CHKSUM = "file://license.terms;md5=24954e7e6b54c1b4e16de861b9d392fc" | 5 | LIC_FILES_CHKSUM = "file://license.terms;md5=c88f99decec11afa967ad33d314f87fe" |
| 6 | DEPENDS = "tcl virtual/libx11 libxt" | 6 | DEPENDS = "tcl virtual/libx11 libxt" |
| 7 | 7 | ||
| 8 | SRC_URI = "\ | 8 | SRC_URI = "\ |
| 9 | ${SOURCEFORGE_MIRROR}/tcl/tk${PV}-src.tar.gz \ | 9 | ${SOURCEFORGE_MIRROR}/tcl/tk${PV}-src.tar.gz \ |
| 10 | file://confsearch.diff;striplevel=2 \ | 10 | file://confsearch.diff;striplevel=2 \ |
| 11 | file://manpages.diff;striplevel=2 \ | ||
| 12 | file://non-linux.diff;striplevel=2 \ | 11 | file://non-linux.diff;striplevel=2 \ |
| 13 | file://rpath.diff;striplevel=2 \ | ||
| 14 | file://tklibrary.diff;striplevel=2 \ | 12 | file://tklibrary.diff;striplevel=2 \ |
| 15 | file://tkprivate.diff;striplevel=2 \ | 13 | file://tkprivate.diff;striplevel=2 \ |
| 16 | file://fix-xft.diff \ | 14 | file://fix-xft.diff \ |
| 17 | " | 15 | " |
| 18 | SRC_URI[md5sum] = "13bf90602e16fc530e05196431021dc6" | 16 | SRC_URI[md5sum] = "b883a1a3c489c17413fb602a94bf54e8" |
| 19 | SRC_URI[sha256sum] = "9737da5c30e631281062b6acbb4753840f9e95657c78e37657d9c520589ab2d4" | 17 | SRC_URI[sha256sum] = "5c708b2b6f658916df59190b27750fa1ea2bc10992108e10f961c0700f058de6" |
| 20 | 18 | ||
| 21 | S = "${WORKDIR}/tk${PV}/unix" | 19 | S = "${WORKDIR}/tk${PV}/unix" |
| 22 | 20 | LDFLAGS += "-Wl,-rpath,${libdir}/tcltk/8.6.0/lib" | |
| 23 | inherit autotools | 21 | inherit autotools |
| 24 | 22 | ||
| 25 | EXTRA_OECONF = "\ | 23 | EXTRA_OECONF = "\ |
| 26 | --enable-threads \ | 24 | --enable-threads \ |
| 25 | --with-x \ | ||
| 27 | --with-tcl=${STAGING_BINDIR_CROSS} \ | 26 | --with-tcl=${STAGING_BINDIR_CROSS} \ |
| 28 | --x-includes=${STAGING_INCDIR} \ | ||
| 29 | --x-libraries=${STAGING_LIBDIR} \ | ||
| 30 | " | 27 | " |
| 31 | 28 | ||
| 32 | do_install_append() { | 29 | do_install_append() { |
| 33 | mv libtk8.5.so libtk8.5.so.0 | 30 | mv libtk8.6.so libtk8.6.so.0 |
| 34 | oe_libinstall -so libtk8.5 ${D}${libdir} | 31 | oe_libinstall -so libtk8.6 ${D}${libdir} |
| 35 | ln -sf wish8.5 ${D}${bindir}/wish | 32 | ln -sf wish8.6 ${D}${bindir}/wish |
| 36 | } | 33 | } |
| 37 | 34 | ||
| 38 | PACKAGES =+ "${PN}-lib" | 35 | PACKAGES =+ "${PN}-lib" |
| 39 | 36 | ||
| 40 | FILES_${PN}-lib = "${libdir}/libtk8.5.so.*" | 37 | FILES_${PN}-lib = "${libdir}/libtk8.6.so.*" |
| 41 | FILES_${PN} += "${libdir}/tk*" | 38 | FILES_${PN} += "${libdir}/tk*" |
| 42 | 39 | ||
| 43 | BINCONFIG_GLOB = "*Config.sh" | 40 | BINCONFIG_GLOB = "*Config.sh" |
