[arch-commits] Commit in tk/trunk (PKGBUILD)

2020-05-16 Thread Felix Yan via arch-commits
Date: Saturday, May 16, 2020 @ 12:34:54
  Author: felixonmars
Revision: 384568

upgpkg: tk 8.6.10-2: reproducibility rebuild

Modified:
  tk/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-05-16 12:34:17 UTC (rev 384567)
+++ PKGBUILD2020-05-16 12:34:54 UTC (rev 384568)
@@ -2,7 +2,7 @@
 
 pkgname=tk
 pkgver=8.6.10
-pkgrel=1
+pkgrel=2
 pkgdesc="A windowing toolkit for use with tcl"
 arch=('x86_64')
 url="http://tcl.sourceforge.net/;


[arch-commits] Commit in tk/trunk (PKGBUILD)

2019-11-22 Thread Antonio Rojas via arch-commits
Date: Friday, November 22, 2019 @ 10:50:25
  Author: arojas
Revision: 369595

Update to 8.6.10

Modified:
  tk/trunk/PKGBUILD

--+
 PKGBUILD |   18 +-
 1 file changed, 9 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-11-22 10:47:44 UTC (rev 369594)
+++ PKGBUILD2019-11-22 10:50:25 UTC (rev 369595)
@@ -1,33 +1,33 @@
 # Maintainer: Eric Bélanger 
 
 pkgname=tk
-pkgver=8.6.9.1
-pkgrel=2
+pkgver=8.6.10
+pkgrel=1
 pkgdesc="A windowing toolkit for use with tcl"
 arch=('x86_64')
 url="http://tcl.sourceforge.net/;
 license=('custom')
-depends=("tcl=${pkgver%.*}" 'libxss' 'libxft')
+depends=("tcl=$pkgver" 'libxss' 'libxft')
 options=('staticlibs')
 
source=(https://downloads.sourceforge.net/sourceforge/tcl/tk${pkgver}-src.tar.gz)
-sha256sums=('8fcbcd958a8fd727e279f4cac00971eee2ce271dc741650b1fc33375fb74ebb4')
+sha256sums=('63df418a859d0a463347f95ded5cd88a3dd3aaa1ceecaeee362194bc30f3e386')
 
 build() {
-  cd tk${pkgver%.*}/unix
+  cd tk$pkgver/unix
   ./configure --prefix=/usr --mandir=/usr/share/man --enable-threads 
--disable-rpath --enable-64bit
   make
 }
 
 check() {
-  cd tk${pkgver%.*}/unix
+  cd tk$pkgver/unix
 #  make test
 }
 
 package() {
-  cd tk${pkgver%.*}/unix
+  cd tk$pkgver/unix
   make INSTALL_ROOT="${pkgdir}" install install-private-headers
-  ln -sf wish${pkgver%.*.*} "${pkgdir}/usr/bin/wish"
-  ln -sf libtk${pkgver%.*.*}.so "${pkgdir}/usr/lib/libtk.so"
+  ln -sf wish${pkgver%.*} "${pkgdir}/usr/bin/wish"
+  ln -sf libtk${pkgver%.*}.so "${pkgdir}/usr/lib/libtk.so"
   install -Dm644 license.terms 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
 
   # install private headers (FS#14388, FS#47616)


[arch-commits] Commit in tk/trunk (PKGBUILD)

2019-07-14 Thread Antonio Rojas via arch-commits
Date: Sunday, July 14, 2019 @ 14:09:01
  Author: arojas
Revision: 357978

Fix symlinks (FS#63192)

Modified:
  tk/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-07-14 13:00:55 UTC (rev 357977)
+++ PKGBUILD2019-07-14 14:09:01 UTC (rev 357978)
@@ -2,7 +2,7 @@
 
 pkgname=tk
 pkgver=8.6.9.1
-pkgrel=1
+pkgrel=2
 pkgdesc="A windowing toolkit for use with tcl"
 arch=('x86_64')
 url="http://tcl.sourceforge.net/;
@@ -26,8 +26,8 @@
 package() {
   cd tk${pkgver%.*}/unix
   make INSTALL_ROOT="${pkgdir}" install install-private-headers
-  ln -sf wish${pkgver%.*} "${pkgdir}/usr/bin/wish"
-  ln -sf libtk${pkgver%.*}.so "${pkgdir}/usr/lib/libtk.so"
+  ln -sf wish${pkgver%.*.*} "${pkgdir}/usr/bin/wish"
+  ln -sf libtk${pkgver%.*.*}.so "${pkgdir}/usr/lib/libtk.so"
   install -Dm644 license.terms 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
 
   # install private headers (FS#14388, FS#47616)


[arch-commits] Commit in tk/trunk (PKGBUILD)

2019-07-14 Thread Antonio Rojas via arch-commits
Date: Sunday, July 14, 2019 @ 09:52:42
  Author: arojas
Revision: 357891

Update to 8.6.9.1

Modified:
  tk/trunk/PKGBUILD

--+
 PKGBUILD |   14 +++---
 1 file changed, 7 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-07-14 09:46:44 UTC (rev 357890)
+++ PKGBUILD2019-07-14 09:52:42 UTC (rev 357891)
@@ -1,30 +1,30 @@
 # Maintainer: Eric Bélanger 
 
 pkgname=tk
-pkgver=8.6.9
-pkgrel=2
+pkgver=8.6.9.1
+pkgrel=1
 pkgdesc="A windowing toolkit for use with tcl"
 arch=('x86_64')
 url="http://tcl.sourceforge.net/;
 license=('custom')
-depends=("tcl=${pkgver}" 'libxss' 'libxft')
+depends=("tcl=${pkgver%.*}" 'libxss' 'libxft')
 options=('staticlibs')
 
source=(https://downloads.sourceforge.net/sourceforge/tcl/tk${pkgver}-src.tar.gz)
-sha256sums=('d3f9161e8ba0f107fe8d4df1f6d3a14c30cc3512dfc12a795daa367a27660dac')
+sha256sums=('8fcbcd958a8fd727e279f4cac00971eee2ce271dc741650b1fc33375fb74ebb4')
 
 build() {
-  cd tk${pkgver}/unix
+  cd tk${pkgver%.*}/unix
   ./configure --prefix=/usr --mandir=/usr/share/man --enable-threads 
--disable-rpath --enable-64bit
   make
 }
 
 check() {
-  cd tk${pkgver}/unix
+  cd tk${pkgver%.*}/unix
 #  make test
 }
 
 package() {
-  cd tk${pkgver}/unix
+  cd tk${pkgver%.*}/unix
   make INSTALL_ROOT="${pkgdir}" install install-private-headers
   ln -sf wish${pkgver%.*} "${pkgdir}/usr/bin/wish"
   ln -sf libtk${pkgver%.*}.so "${pkgdir}/usr/lib/libtk.so"


[arch-commits] Commit in tk/trunk (PKGBUILD)

2019-04-12 Thread Antonio Rojas via arch-commits
Date: Friday, April 12, 2019 @ 18:55:18
  Author: arojas
Revision: 350673

https

Modified:
  tk/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-04-12 18:54:37 UTC (rev 350672)
+++ PKGBUILD2019-04-12 18:55:18 UTC (rev 350673)
@@ -9,7 +9,7 @@
 license=('custom')
 depends=("tcl=${pkgver}" 'libxss' 'libxft')
 options=('staticlibs')
-source=(http://downloads.sourceforge.net/sourceforge/tcl/tk${pkgver}-src.tar.gz)
+source=(https://downloads.sourceforge.net/sourceforge/tcl/tk${pkgver}-src.tar.gz)
 sha256sums=('d3f9161e8ba0f107fe8d4df1f6d3a14c30cc3512dfc12a795daa367a27660dac')
 
 build() {


[arch-commits] Commit in tk/trunk (PKGBUILD)

2018-11-22 Thread Antonio Rojas via arch-commits
Date: Thursday, November 22, 2018 @ 14:57:18
  Author: arojas
Revision: 340285

New tarball (FS#60885)

Modified:
  tk/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-11-22 14:33:03 UTC (rev 340284)
+++ PKGBUILD2018-11-22 14:57:18 UTC (rev 340285)
@@ -2,7 +2,7 @@
 
 pkgname=tk
 pkgver=8.6.9
-pkgrel=1
+pkgrel=2
 pkgdesc="A windowing toolkit for use with tcl"
 arch=('x86_64')
 url="http://tcl.sourceforge.net/;
@@ -10,7 +10,7 @@
 depends=("tcl=${pkgver}" 'libxss' 'libxft')
 options=('staticlibs')
 
source=(http://downloads.sourceforge.net/sourceforge/tcl/tk${pkgver}-src.tar.gz)
-sha1sums=('363b0209e7cefa2b99383e3c714b6ed076eec34b')
+sha256sums=('d3f9161e8ba0f107fe8d4df1f6d3a14c30cc3512dfc12a795daa367a27660dac')
 
 build() {
   cd tk${pkgver}/unix


[arch-commits] Commit in tk/trunk (PKGBUILD)

2018-11-15 Thread Antonio Rojas via arch-commits
Date: Friday, November 16, 2018 @ 07:34:29
  Author: arojas
Revision: 339755

Update to 8.6.9

Modified:
  tk/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-11-16 07:26:48 UTC (rev 339754)
+++ PKGBUILD2018-11-16 07:34:29 UTC (rev 339755)
@@ -1,8 +1,8 @@
 # Maintainer: Eric Bélanger 
 
 pkgname=tk
-pkgver=8.6.8
-pkgrel=3
+pkgver=8.6.9
+pkgrel=1
 pkgdesc="A windowing toolkit for use with tcl"
 arch=('x86_64')
 url="http://tcl.sourceforge.net/;
@@ -10,7 +10,7 @@
 depends=("tcl=${pkgver}" 'libxss' 'libxft')
 options=('staticlibs')
 
source=(http://downloads.sourceforge.net/sourceforge/tcl/tk${pkgver}-src.tar.gz)
-sha1sums=('7d674881bcfda5acb937bea084b10fe271463632')
+sha1sums=('363b0209e7cefa2b99383e3c714b6ed076eec34b')
 
 build() {
   cd tk${pkgver}/unix


[arch-commits] Commit in tk/trunk (PKGBUILD)

2018-04-27 Thread Antonio Rojas via arch-commits
Date: Friday, April 27, 2018 @ 17:06:22
  Author: arojas
Revision: 323072

Rebuild with glibc 2.27 (FS#58361)

Modified:
  tk/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-04-27 17:03:29 UTC (rev 323071)
+++ PKGBUILD2018-04-27 17:06:22 UTC (rev 323072)
@@ -3,7 +3,7 @@
 
 pkgname=tk
 pkgver=8.6.8
-pkgrel=2
+pkgrel=3
 pkgdesc="A windowing toolkit for use with tcl"
 arch=('x86_64')
 url="http://tcl.sourceforge.net/;


[arch-commits] Commit in tk/trunk (PKGBUILD)

2017-12-26 Thread Antonio Rojas via arch-commits
Date: Tuesday, December 26, 2017 @ 09:21:20
  Author: arojas
Revision: 313658

Fix configure flag

Modified:
  tk/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-12-26 09:12:41 UTC (rev 313657)
+++ PKGBUILD2017-12-26 09:21:20 UTC (rev 313658)
@@ -3,7 +3,7 @@
 
 pkgname=tk
 pkgver=8.6.8
-pkgrel=1
+pkgrel=2
 pkgdesc="A windowing toolkit for use with tcl"
 arch=('x86_64')
 url="http://tcl.sourceforge.net/;
@@ -15,7 +15,7 @@
 
 build() {
   cd tk${pkgver}/unix
-  ./configure --prefix=/usr --mandir=/usr/share/man --enable-threads 
--disable-rpath BIT="--enable-64bit"
+  ./configure --prefix=/usr --mandir=/usr/share/man --enable-threads 
--disable-rpath --enable-64bit
   make
 }
 


[arch-commits] Commit in tk/trunk (PKGBUILD)

2017-12-26 Thread Antonio Rojas via arch-commits
Date: Tuesday, December 26, 2017 @ 09:11:07
  Author: arojas
Revision: 313652

Update to 8.6.8

Modified:
  tk/trunk/PKGBUILD

--+
 PKGBUILD |9 -
 1 file changed, 4 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-12-26 09:08:57 UTC (rev 313651)
+++ PKGBUILD2017-12-26 09:11:07 UTC (rev 313652)
@@ -2,8 +2,8 @@
 # Maintainer: Eric Bélanger 
 
 pkgname=tk
-pkgver=8.6.7
-pkgrel=2
+pkgver=8.6.8
+pkgrel=1
 pkgdesc="A windowing toolkit for use with tcl"
 arch=('x86_64')
 url="http://tcl.sourceforge.net/;
@@ -11,12 +11,11 @@
 depends=("tcl=${pkgver}" 'libxss' 'libxft')
 options=('staticlibs')
 
source=(http://downloads.sourceforge.net/sourceforge/tcl/tk${pkgver}-src.tar.gz)
-sha1sums=('eb58b4523f376fdf8b1f4439a958227ada52e2c8')
+sha1sums=('7d674881bcfda5acb937bea084b10fe271463632')
 
 build() {
   cd tk${pkgver}/unix
-  [[ $CARCH == "x86_64" ]] && BIT="--enable-64bit"
-  ./configure --prefix=/usr --mandir=/usr/share/man --enable-threads 
--disable-rpath $BIT
+  ./configure --prefix=/usr --mandir=/usr/share/man --enable-threads 
--disable-rpath BIT="--enable-64bit"
   make
 }
 


[arch-commits] Commit in tk/trunk (PKGBUILD)

2017-09-17 Thread Antonio Rojas
Date: Sunday, September 17, 2017 @ 21:22:09
  Author: arojas
Revision: 305753

quote

Modified:
  tk/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-09-17 20:55:07 UTC (rev 305752)
+++ PKGBUILD2017-09-17 21:22:09 UTC (rev 305753)
@@ -35,8 +35,8 @@
   # install private headers (FS#14388, FS#47616)
   cd ..
   for dir in compat generic generic/ttk unix; do
-install -dm755 ${pkgdir}/usr/include/tk-private/$dir
-install -m644 -t ${pkgdir}/usr/include/tk-private/$dir $dir/*.h
+install -dm755 "${pkgdir}"/usr/include/tk-private/$dir
+install -m644 -t "${pkgdir}"/usr/include/tk-private/$dir $dir/*.h
   done
 
   # remove buildroot traces


[arch-commits] Commit in tk/trunk (PKGBUILD)

2017-09-17 Thread Antonio Rojas
Date: Sunday, September 17, 2017 @ 20:26:23
  Author: arojas
Revision: 305734

Install private headers (FS#47616)

Modified:
  tk/trunk/PKGBUILD

--+
 PKGBUILD |9 -
 1 file changed, 8 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-09-17 19:52:41 UTC (rev 305733)
+++ PKGBUILD2017-09-17 20:26:23 UTC (rev 305734)
@@ -3,7 +3,7 @@
 
 pkgname=tk
 pkgver=8.6.7
-pkgrel=1
+pkgrel=2
 pkgdesc="A windowing toolkit for use with tcl"
 arch=('i686' 'x86_64')
 url="http://tcl.sourceforge.net/;
@@ -32,6 +32,13 @@
   ln -sf libtk${pkgver%.*}.so "${pkgdir}/usr/lib/libtk.so"
   install -Dm644 license.terms 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
 
+  # install private headers (FS#14388, FS#47616)
+  cd ..
+  for dir in compat generic generic/ttk unix; do
+install -dm755 ${pkgdir}/usr/include/tk-private/$dir
+install -m644 -t ${pkgdir}/usr/include/tk-private/$dir $dir/*.h
+  done
+
   # remove buildroot traces
   sed -e "s#${srcdir}/tk${pkgver}/unix#/usr/lib#" \
   -e "s#${srcdir}/tk${pkgver}#/usr/include#" \


[arch-commits] Commit in tk/trunk (PKGBUILD)

2017-08-19 Thread Antonio Rojas
Date: Saturday, August 19, 2017 @ 20:30:12
  Author: arojas
Revision: 302902

Update to 8.6.7

Modified:
  tk/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-08-19 20:26:17 UTC (rev 302901)
+++ PKGBUILD2017-08-19 20:30:12 UTC (rev 302902)
@@ -2,8 +2,8 @@
 # Maintainer: Eric Bélanger 
 
 pkgname=tk
-pkgver=8.6.6
-pkgrel=2
+pkgver=8.6.7
+pkgrel=1
 pkgdesc="A windowing toolkit for use with tcl"
 arch=('i686' 'x86_64')
 url="http://tcl.sourceforge.net/;
@@ -11,7 +11,7 @@
 depends=("tcl=${pkgver}" 'libxss' 'libxft')
 options=('staticlibs')
 
source=(http://downloads.sourceforge.net/sourceforge/tcl/tk${pkgver}-src.tar.gz)
-sha1sums=('34d546496c05014349cf5edad6696c125ad4f9ea')
+sha1sums=('eb58b4523f376fdf8b1f4439a958227ada52e2c8')
 
 build() {
   cd tk${pkgver}/unix


[arch-commits] Commit in tk/trunk (PKGBUILD)

2017-07-11 Thread Antonio Rojas
Date: Tuesday, July 11, 2017 @ 08:20:31
  Author: arojas
Revision: 300083

PIE rebuild

Modified:
  tk/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-07-11 08:13:52 UTC (rev 300082)
+++ PKGBUILD2017-07-11 08:20:31 UTC (rev 300083)
@@ -3,7 +3,7 @@
 
 pkgname=tk
 pkgver=8.6.6
-pkgrel=1
+pkgrel=2
 pkgdesc="A windowing toolkit for use with tcl"
 arch=('i686' 'x86_64')
 url="http://tcl.sourceforge.net/;


[arch-commits] Commit in tk/trunk (PKGBUILD)

2016-08-02 Thread Antonio Rojas
Date: Tuesday, August 2, 2016 @ 22:07:18
  Author: arojas
Revision: 272919

Update to 8.6.6

Modified:
  tk/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-08-02 22:01:13 UTC (rev 272918)
+++ PKGBUILD2016-08-02 22:07:18 UTC (rev 272919)
@@ -2,7 +2,7 @@
 # Maintainer: Eric Bélanger 
 
 pkgname=tk
-pkgver=8.6.5
+pkgver=8.6.6
 pkgrel=1
 pkgdesc="A windowing toolkit for use with tcl"
 arch=('i686' 'x86_64')
@@ -11,7 +11,7 @@
 depends=("tcl=${pkgver}" 'libxss' 'libxft')
 options=('staticlibs')
 
source=(http://downloads.sourceforge.net/sourceforge/tcl/tk${pkgver}-src.tar.gz)
-sha1sums=('e63f9e46cfd4ea37799554b003958b54b51dc347')
+sha1sums=('34d546496c05014349cf5edad6696c125ad4f9ea')
 
 build() {
   cd tk${pkgver}/unix


[arch-commits] Commit in tk/trunk (PKGBUILD)

2016-05-25 Thread Antonio Rojas
Date: Wednesday, May 25, 2016 @ 22:59:06
  Author: arojas
Revision: 268572

Update to 8.6.5

Modified:
  tk/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-05-25 20:55:29 UTC (rev 268571)
+++ PKGBUILD2016-05-25 20:59:06 UTC (rev 268572)
@@ -2,7 +2,7 @@
 # Maintainer: Eric Bélanger 
 
 pkgname=tk
-pkgver=8.6.4
+pkgver=8.6.5
 pkgrel=1
 pkgdesc="A windowing toolkit for use with tcl"
 arch=('i686' 'x86_64')
@@ -11,7 +11,7 @@
 depends=("tcl=${pkgver}" 'libxss' 'libxft')
 options=('staticlibs')
 
source=(http://downloads.sourceforge.net/sourceforge/tcl/tk${pkgver}-src.tar.gz)
-sha1sums=('ad24c59ac2e7453d1ed2bad0d7d18a01eabc5226')
+sha1sums=('e63f9e46cfd4ea37799554b003958b54b51dc347')
 
 build() {
   cd tk${pkgver}/unix


[arch-commits] Commit in tk/trunk (PKGBUILD)

2015-03-19 Thread Eric Bélanger
Date: Friday, March 20, 2015 @ 03:45:01
  Author: eric
Revision: 234186

upgpkg: tk 8.6.4-1

Upstream update

Modified:
  tk/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-03-20 01:56:57 UTC (rev 234185)
+++ PKGBUILD2015-03-20 02:45:01 UTC (rev 234186)
@@ -2,7 +2,7 @@
 # Maintainer: Eric Bélanger e...@archlinux.org
 
 pkgname=tk
-pkgver=8.6.3
+pkgver=8.6.4
 pkgrel=1
 pkgdesc=A windowing toolkit for use with tcl
 arch=('i686' 'x86_64')
@@ -11,7 +11,7 @@
 depends=(tcl=${pkgver} 'libxss' 'libxft')
 options=('staticlibs')
 
source=(http://downloads.sourceforge.net/sourceforge/tcl/tk${pkgver}-src.tar.gz)
-sha1sums=('244ddc0f64cc3d429c9d86135d0bbe2cf06c9360')
+sha1sums=('ad24c59ac2e7453d1ed2bad0d7d18a01eabc5226')
 
 build() {
   cd tk${pkgver}/unix


[arch-commits] Commit in tk/trunk (PKGBUILD)

2014-11-12 Thread Eric Bélanger
Date: Wednesday, November 12, 2014 @ 20:06:51
  Author: eric
Revision: 226133

upgpkg: tk 8.6.3-1

Upstream update

Modified:
  tk/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-11-12 18:48:50 UTC (rev 226132)
+++ PKGBUILD2014-11-12 19:06:51 UTC (rev 226133)
@@ -2,7 +2,7 @@
 # Maintainer: Eric Bélanger e...@archlinux.org
 
 pkgname=tk
-pkgver=8.6.2
+pkgver=8.6.3
 pkgrel=1
 pkgdesc=A windowing toolkit for use with tcl
 arch=('i686' 'x86_64')
@@ -11,7 +11,7 @@
 depends=(tcl=${pkgver} 'libxss' 'libxft')
 options=('staticlibs')
 
source=(http://downloads.sourceforge.net/sourceforge/tcl/tk${pkgver}-src.tar.gz)
-sha1sums=('138920fb55933a715f0b0ace576120734f771b80')
+sha1sums=('244ddc0f64cc3d429c9d86135d0bbe2cf06c9360')
 
 build() {
   cd tk${pkgver}/unix


[arch-commits] Commit in tk/trunk (PKGBUILD)

2014-08-29 Thread Eric Bélanger
Date: Saturday, August 30, 2014 @ 03:38:41
  Author: eric
Revision: 220808

upgpkg: tk 8.6.2-1

Upstream update

Modified:
  tk/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-08-30 00:57:43 UTC (rev 220807)
+++ PKGBUILD2014-08-30 01:38:41 UTC (rev 220808)
@@ -2,7 +2,7 @@
 # Maintainer: Eric Bélanger e...@archlinux.org
 
 pkgname=tk
-pkgver=8.6.1
+pkgver=8.6.2
 pkgrel=1
 pkgdesc=A windowing toolkit for use with tcl
 arch=('i686' 'x86_64')
@@ -11,7 +11,7 @@
 depends=(tcl=${pkgver} 'libxss' 'libxft')
 options=('staticlibs')
 
source=(http://downloads.sourceforge.net/sourceforge/tcl/tk${pkgver}-src.tar.gz)
-sha1sums=('ecfcc20833c04d6890b14a7920a04d16f2123a51')
+sha1sums=('138920fb55933a715f0b0ace576120734f771b80')
 
 build() {
   cd tk${pkgver}/unix



[arch-commits] Commit in tk/trunk (PKGBUILD)

2013-10-24 Thread Allan McRae
Date: Friday, October 25, 2013 @ 04:54:27
  Author: allan
Revision: 197362

static libraries have no dynamic counterpart

Modified:
  tk/trunk/PKGBUILD

--+
 PKGBUILD |1 +
 1 file changed, 1 insertion(+)

Modified: PKGBUILD
===
--- PKGBUILD2013-10-25 02:54:20 UTC (rev 197361)
+++ PKGBUILD2013-10-25 02:54:27 UTC (rev 197362)
@@ -9,6 +9,7 @@
 url=http://tcl.sourceforge.net/;
 license=('custom')
 depends=(tcl=${pkgver} 'libxss' 'libxft')
+options=('staticlibs')
 
source=(http://downloads.sourceforge.net/sourceforge/tcl/tk${pkgver}-src.tar.gz)
 sha1sums=('ecfcc20833c04d6890b14a7920a04d16f2123a51')
 



[arch-commits] Commit in tk/trunk (PKGBUILD tk-xcircuit.patch)

2013-09-20 Thread Eric Bélanger
Date: Friday, September 20, 2013 @ 18:49:36
  Author: eric
Revision: 194658

upgpkg: tk 8.6.1-1

Upstream update, Remove old patch

Modified:
  tk/trunk/PKGBUILD
Deleted:
  tk/trunk/tk-xcircuit.patch

---+
 PKGBUILD  |   16 --
 tk-xcircuit.patch |  317 
 2 files changed, 5 insertions(+), 328 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-09-20 16:37:05 UTC (rev 194657)
+++ PKGBUILD2013-09-20 16:49:36 UTC (rev 194658)
@@ -2,22 +2,16 @@
 # Maintainer: Eric Bélanger e...@archlinux.org
 
 pkgname=tk
-pkgver=8.6.0
-pkgrel=4
+pkgver=8.6.1
+pkgrel=1
 pkgdesc=A windowing toolkit for use with tcl
 arch=('i686' 'x86_64')
 url=http://tcl.sourceforge.net/;
 license=('custom')
 depends=(tcl=${pkgver} 'libxss' 'libxft')
-source=(http://downloads.sourceforge.net/sourceforge/tcl/tk${pkgver}-src.tar.gz
 tk-xcircuit.patch)
-sha1sums=('c42e160285e2d26eae8c2a1e6c6f86db4fa7663b'
-  'e0e75044d4e33533b0114d3c142b40b7280c364f')
+source=(http://downloads.sourceforge.net/sourceforge/tcl/tk${pkgver}-src.tar.gz)
+sha1sums=('ecfcc20833c04d6890b14a7920a04d16f2123a51')
 
-prepare() {
-  cd tk${pkgver}
-  patch -p0 -i ${srcdir}/tk-xcircuit.patch
-}
-
 build() {
   cd tk${pkgver}/unix
   [[ $CARCH == x86_64 ]]  BIT=--enable-64bit
@@ -33,7 +27,7 @@
 package() {
   cd tk${pkgver}/unix
   make INSTALL_ROOT=${pkgdir} install install-private-headers
-  ln -sf wish8.6 ${pkgdir}/usr/bin/wish
+  ln -sf wish${pkgver%.*} ${pkgdir}/usr/bin/wish
   ln -sf libtk${pkgver%.*}.so ${pkgdir}/usr/lib/libtk.so
   install -Dm644 license.terms 
${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
 

Deleted: tk-xcircuit.patch
===
--- tk-xcircuit.patch   2013-09-20 16:37:05 UTC (rev 194657)
+++ tk-xcircuit.patch   2013-09-20 16:49:36 UTC (rev 194658)
@@ -1,317 +0,0 @@
-Index: generic/tkConfig.c
-==
 generic/tkConfig.c
-+++ generic/tkConfig.c
-@@ -29,11 +29,16 @@
- /*
-  * The following definition is an AssocData key used to keep track of all of
-  * the option tables that have been created for an interpreter.
-  */
- 
--#define OPTION_HASH_KEY TkOptionTable
-+typedef struct ThreadSpecificData {
-+int initialized;  /* 0 means table below needs initializing. */
-+Tcl_HashTable hashTable;
-+} ThreadSpecificData;
-+static Tcl_ThreadDataKey dataKey;
-+
- 
- /*
-  * The following two structures are used along with Tk_OptionSpec structures
-  * to manage configuration options. Tk_OptionSpec is static templates that are
-  * compiled into the code of a widget or other object manager. However, to
-@@ -98,12 +103,10 @@
-* templates, this points to the table
-* corresponding to the next template in the
-* chain. */
- int numOptions;   /* The number of items in the options array
-* below. */
--int refCount2; /* Reference counter for controlling the freeing
--* of the memory occupied by this OptionTable */
- Option options[1];/* Information about the individual 
options in
-* the table. This must be the last field in
-* the structure: the actual size of the array
-* will be numOptions, not 1. */
- } OptionTable;
-@@ -113,12 +116,10 @@
-  */
- 
- static intDoObjConfig(Tcl_Interp *interp, char *recordPtr,
-   Option *optionPtr, Tcl_Obj *valuePtr,
-   Tk_Window tkwin, Tk_SavedOption *savePtr);
--static void   DestroyOptionHashTable(ClientData clientData,
--  Tcl_Interp *interp);
- static void   FreeResources(Option *optionPtr, Tcl_Obj *objPtr,
-   char *internalPtr, Tk_Window tkwin);
- static Tcl_Obj *  GetConfigList(char *recordPtr,
-   Option *optionPtr, Tk_Window tkwin);
- static Tcl_Obj *  GetObjectForOption(char *recordPtr,
-@@ -168,42 +169,38 @@
-* in which this table will be used. */
- const Tk_OptionSpec *templatePtr)
-   /* Static information about the configuration
-* options. */
- {
--Tcl_HashTable *hashTablePtr;
- Tcl_HashEntry *hashEntryPtr;
- int newEntry;
- OptionTable *tablePtr;
- const Tk_OptionSpec *specPtr, *specPtr2;
- Option *optionPtr;
- int numOptions, i;
-+ThreadSpecificData *tsdPtr =
-+  Tcl_GetThreadData(dataKey, sizeof(ThreadSpecificData));
- 
- /*
-- * We use an AssocData value in the interpreter to keep a hash table of
-- * all the option tables we've created for this 

[arch-commits] Commit in tk/trunk (PKGBUILD)

2013-09-11 Thread Eric Bélanger
Date: Thursday, September 12, 2013 @ 00:02:55
  Author: eric
Revision: 194258

upgpkg: tk 8.6.0-4

Fix configuration script (close FS#36881)

Modified:
  tk/trunk/PKGBUILD

--+
 PKGBUILD |   12 +++-
 1 file changed, 7 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-09-11 19:36:47 UTC (rev 194257)
+++ PKGBUILD2013-09-11 22:02:55 UTC (rev 194258)
@@ -3,7 +3,7 @@
 
 pkgname=tk
 pkgver=8.6.0
-pkgrel=3
+pkgrel=4
 pkgdesc=A windowing toolkit for use with tcl
 arch=('i686' 'x86_64')
 url=http://tcl.sourceforge.net/;
@@ -25,10 +25,10 @@
   make
 }
 
-#check() {
-#  cd tk${pkgver}/unix
+check() {
+  cd tk${pkgver}/unix
 #  make test
-#}
+}
 
 package() {
   cd tk${pkgver}/unix
@@ -38,5 +38,7 @@
   install -Dm644 license.terms 
${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
 
   # remove buildroot traces
-  sed -i s#${srcdir}#/usr/src# ${pkgdir}/usr/lib/tkConfig.sh
+  sed -e s#${srcdir}/tk${pkgver}/unix#/usr/lib# \
+  -e s#${srcdir}/tk${pkgver}#/usr/include# \
+  -i ${pkgdir}/usr/lib/tkConfig.sh
 }



[arch-commits] Commit in tk/trunk (PKGBUILD tk-xcircuit.patch)

2013-09-09 Thread Eric Bélanger
Date: Tuesday, September 10, 2013 @ 05:10:02
  Author: eric
Revision: 194018

upgpkg: tk 8.6.0-3

Add patch to fix seg fault in xcircuit (close FS#36843)

Added:
  tk/trunk/tk-xcircuit.patch
Modified:
  tk/trunk/PKGBUILD

---+
 PKGBUILD  |   13 +-
 tk-xcircuit.patch |  317 
 2 files changed, 326 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-09-10 00:31:09 UTC (rev 194017)
+++ PKGBUILD2013-09-10 03:10:02 UTC (rev 194018)
@@ -3,15 +3,21 @@
 
 pkgname=tk
 pkgver=8.6.0
-pkgrel=2
+pkgrel=3
 pkgdesc=A windowing toolkit for use with tcl
 arch=('i686' 'x86_64')
 url=http://tcl.sourceforge.net/;
 license=('custom')
 depends=(tcl=${pkgver} 'libxss' 'libxft')
-source=(http://downloads.sourceforge.net/sourceforge/tcl/tk${pkgver}-src.tar.gz)
-sha1sums=('c42e160285e2d26eae8c2a1e6c6f86db4fa7663b')
+source=(http://downloads.sourceforge.net/sourceforge/tcl/tk${pkgver}-src.tar.gz
 tk-xcircuit.patch)
+sha1sums=('c42e160285e2d26eae8c2a1e6c6f86db4fa7663b'
+  'e0e75044d4e33533b0114d3c142b40b7280c364f')
 
+prepare() {
+  cd tk${pkgver}
+  patch -p0 -i ${srcdir}/tk-xcircuit.patch
+}
+
 build() {
   cd tk${pkgver}/unix
   [[ $CARCH == x86_64 ]]  BIT=--enable-64bit
@@ -33,5 +39,4 @@
 
   # remove buildroot traces
   sed -i s#${srcdir}#/usr/src# ${pkgdir}/usr/lib/tkConfig.sh
-
 }

Added: tk-xcircuit.patch
===
--- tk-xcircuit.patch   (rev 0)
+++ tk-xcircuit.patch   2013-09-10 03:10:02 UTC (rev 194018)
@@ -0,0 +1,317 @@
+Index: generic/tkConfig.c
+==
+--- generic/tkConfig.c
 generic/tkConfig.c
+@@ -29,11 +29,16 @@
+ /*
+  * The following definition is an AssocData key used to keep track of all of
+  * the option tables that have been created for an interpreter.
+  */
+ 
+-#define OPTION_HASH_KEY TkOptionTable
++typedef struct ThreadSpecificData {
++int initialized;  /* 0 means table below needs initializing. */
++Tcl_HashTable hashTable;
++} ThreadSpecificData;
++static Tcl_ThreadDataKey dataKey;
++
+ 
+ /*
+  * The following two structures are used along with Tk_OptionSpec structures
+  * to manage configuration options. Tk_OptionSpec is static templates that are
+  * compiled into the code of a widget or other object manager. However, to
+@@ -98,12 +103,10 @@
+* templates, this points to the table
+* corresponding to the next template in the
+* chain. */
+ int numOptions;   /* The number of items in the options array
+* below. */
+-int refCount2; /* Reference counter for controlling the freeing
+-* of the memory occupied by this OptionTable */
+ Option options[1];/* Information about the individual 
options in
+* the table. This must be the last field in
+* the structure: the actual size of the array
+* will be numOptions, not 1. */
+ } OptionTable;
+@@ -113,12 +116,10 @@
+  */
+ 
+ static intDoObjConfig(Tcl_Interp *interp, char *recordPtr,
+   Option *optionPtr, Tcl_Obj *valuePtr,
+   Tk_Window tkwin, Tk_SavedOption *savePtr);
+-static void   DestroyOptionHashTable(ClientData clientData,
+-  Tcl_Interp *interp);
+ static void   FreeResources(Option *optionPtr, Tcl_Obj *objPtr,
+   char *internalPtr, Tk_Window tkwin);
+ static Tcl_Obj *  GetConfigList(char *recordPtr,
+   Option *optionPtr, Tk_Window tkwin);
+ static Tcl_Obj *  GetObjectForOption(char *recordPtr,
+@@ -168,42 +169,38 @@
+* in which this table will be used. */
+ const Tk_OptionSpec *templatePtr)
+   /* Static information about the configuration
+* options. */
+ {
+-Tcl_HashTable *hashTablePtr;
+ Tcl_HashEntry *hashEntryPtr;
+ int newEntry;
+ OptionTable *tablePtr;
+ const Tk_OptionSpec *specPtr, *specPtr2;
+ Option *optionPtr;
+ int numOptions, i;
++ThreadSpecificData *tsdPtr =
++  Tcl_GetThreadData(dataKey, sizeof(ThreadSpecificData));
+ 
+ /*
+- * We use an AssocData value in the interpreter to keep a hash table of
+- * all the option tables we've created for this application. This is used
+- * for two purposes. First, it allows us to share the tables (e.g. in
+- * several chains) and second, we use the deletion callback for the
+- * AssocData to delete all the option tables when the interpreter is
+- * deleted. The code below 

[arch-commits] Commit in tk/trunk (PKGBUILD)

2013-08-08 Thread Eric Bélanger
Date: Thursday, August 8, 2013 @ 09:38:15
  Author: eric
Revision: 192226

upgpkg: tk 8.6.0-2

Add unversioned library symlink, Remove rpath

Modified:
  tk/trunk/PKGBUILD

--+
 PKGBUILD |   29 -
 1 file changed, 12 insertions(+), 17 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-08-08 07:36:39 UTC (rev 192225)
+++ PKGBUILD2013-08-08 07:38:15 UTC (rev 192226)
@@ -1,42 +1,37 @@
 # $Id$
-# Maintainer: Allan McRae al...@archlinux.org
-# Contributor: Judd Vinet jvi...@zeroflux.org
+# Maintainer: Eric Bélanger e...@archlinux.org
 
 pkgname=tk
 pkgver=8.6.0
-pkgrel=1
+pkgrel=2
 pkgdesc=A windowing toolkit for use with tcl
 arch=('i686' 'x86_64')
 url=http://tcl.sourceforge.net/;
 license=('custom')
 depends=(tcl=${pkgver} 'libxss' 'libxft')
 
source=(http://downloads.sourceforge.net/sourceforge/tcl/tk${pkgver}-src.tar.gz)
-md5sums=('b883a1a3c489c17413fb602a94bf54e8')
+sha1sums=('c42e160285e2d26eae8c2a1e6c6f86db4fa7663b')
 
 build() {
-  cd ${srcdir}/tk${pkgver}/unix
-
+  cd tk${pkgver}/unix
   [[ $CARCH == x86_64 ]]  BIT=--enable-64bit
-  ./configure --prefix=/usr --mandir=/usr/share/man --enable-threads $BIT
-  
+  ./configure --prefix=/usr --mandir=/usr/share/man --enable-threads 
--disable-rpath $BIT
   make
 }
 
 #check() {
-#  cd ${srcdir}/tk${pkgver}/unix
+#  cd tk${pkgver}/unix
 #  make test
 #}
 
 package() {
-  cd ${srcdir}/tk${pkgver}/unix
+  cd tk${pkgver}/unix
+  make INSTALL_ROOT=${pkgdir} install install-private-headers
+  ln -sf wish8.6 ${pkgdir}/usr/bin/wish
+  ln -sf libtk${pkgver%.*}.so ${pkgdir}/usr/lib/libtk.so
+  install -Dm644 license.terms 
${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
 
-  make INSTALL_ROOT=${pkgdir} install install-private-headers
-  ln -sf wish8.6 ${pkgdir}/usr/bin/wish
-
-  # install license
-  install -Dm644 license.terms ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
-
   # remove buildroot traces
-  sed -i s#${srcdir}#/usr/src# ${pkgdir}/usr/lib/tkConfig.sh
+  sed -i s#${srcdir}#/usr/src# ${pkgdir}/usr/lib/tkConfig.sh
 
 }



[arch-commits] Commit in tk/trunk (PKGBUILD)

2012-12-20 Thread Allan McRae
Date: Thursday, December 20, 2012 @ 08:13:04
  Author: allan
Revision: 173664

upgpkg: tk 8.6.0-1

major upstream update

Modified:
  tk/trunk/PKGBUILD

--+
 PKGBUILD |   28 +++-
 1 file changed, 7 insertions(+), 21 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2012-12-20 13:11:46 UTC (rev 173663)
+++ PKGBUILD2012-12-20 13:13:04 UTC (rev 173664)
@@ -3,7 +3,7 @@
 # Contributor: Judd Vinet jvi...@zeroflux.org
 
 pkgname=tk
-pkgver=8.5.13
+pkgver=8.6.0
 pkgrel=1
 pkgdesc=A windowing toolkit for use with tcl
 arch=('i686' 'x86_64')
@@ -11,16 +11,13 @@
 license=('custom')
 depends=(tcl=${pkgver} 'libxss' 'libxft')
 
source=(http://downloads.sourceforge.net/sourceforge/tcl/tk${pkgver}-src.tar.gz)
-md5sums=('1fc7dbb7495160756dbc805224afa360')
+md5sums=('b883a1a3c489c17413fb602a94bf54e8')
 
 build() {
   cd ${srcdir}/tk${pkgver}/unix
 
-  if [ $CARCH = x86_64 ]; then
-./configure --prefix=/usr --mandir=/usr/share/man --enable-threads 
--enable-64bit
-  else
-./configure --prefix=/usr --mandir=/usr/share/man --enable-threads 
--disable-64bit
-  fi
+  [[ $CARCH == x86_64 ]]  BIT=--enable-64bit
+  ./configure --prefix=/usr --mandir=/usr/share/man --enable-threads $BIT
   
   make
 }
@@ -34,23 +31,12 @@
   cd ${srcdir}/tk${pkgver}/unix
 
   make INSTALL_ROOT=${pkgdir} install install-private-headers
-  ln -sf wish8.5 ${pkgdir}/usr/bin/wish
-  
-  # install private headers (FS#14388)
-  cd ${srcdir}/tk${pkgver}
-  for dir in compat generic generic/ttk unix; do
-install -dm755 ${pkgdir}/usr/include/tk-private/$dir
-install -m644 -t ${pkgdir}/usr/include/tk-private/$dir $dir/*.h
-  done
+  ln -sf wish8.6 ${pkgdir}/usr/bin/wish
 
   # install license
   install -Dm644 license.terms ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
 
   # remove buildroot traces
-  sed -i \
--e s,^TK_BUILD_LIB_SPEC='-L.*/unix,TK_BUILD_LIB_SPEC='-L/usr/lib, \
--e s,^TK_SRC_DIR='.*',TK_SRC_DIR='/usr/include', \
--e 
s,^TK_BUILD_STUB_LIB_SPEC='-L.*/unix,TK_BUILD_STUB_LIB_SPEC='-L/usr/lib, \
--e s,^TK_BUILD_STUB_LIB_PATH='.*/unix,TK_BUILD_STUB_LIB_PATH='/usr/lib, \
-${pkgdir}/usr/lib/tkConfig.sh
+  sed -i s#${srcdir}#/usr/src# ${pkgdir}/usr/lib/tkConfig.sh
+
 }



[arch-commits] Commit in tk/trunk (PKGBUILD)

2012-11-09 Thread Allan McRae
Date: Friday, November 9, 2012 @ 23:51:17
  Author: allan
Revision: 170722

upgpkg: tk 8.5.13-1

upstream update

Modified:
  tk/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2012-11-10 04:48:01 UTC (rev 170721)
+++ PKGBUILD2012-11-10 04:51:17 UTC (rev 170722)
@@ -3,7 +3,7 @@
 # Contributor: Judd Vinet jvi...@zeroflux.org
 
 pkgname=tk
-pkgver=8.5.12
+pkgver=8.5.13
 pkgrel=1
 pkgdesc=A windowing toolkit for use with tcl
 arch=('i686' 'x86_64')
@@ -11,7 +11,7 @@
 license=('custom')
 depends=(tcl=${pkgver} 'libxss' 'libxft')
 
source=(http://downloads.sourceforge.net/sourceforge/tcl/tk${pkgver}-src.tar.gz)
-md5sums=('a01640176845c1f654a412cfc9bab13b')
+md5sums=('1fc7dbb7495160756dbc805224afa360')
 
 build() {
   cd ${srcdir}/tk${pkgver}/unix



[arch-commits] Commit in tk/trunk (PKGBUILD)

2012-07-28 Thread Allan McRae
Date: Saturday, July 28, 2012 @ 05:51:48
  Author: allan
Revision: 164248

upgpkg: tk 8.5.12-1

upstream update

Modified:
  tk/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2012-07-28 09:51:11 UTC (rev 164247)
+++ PKGBUILD2012-07-28 09:51:48 UTC (rev 164248)
@@ -3,7 +3,7 @@
 # Contributor: Judd Vinet jvi...@zeroflux.org
 
 pkgname=tk
-pkgver=8.5.11
+pkgver=8.5.12
 pkgrel=1
 pkgdesc=A windowing toolkit for use with tcl
 arch=('i686' 'x86_64')
@@ -11,7 +11,7 @@
 license=('custom')
 depends=(tcl=${pkgver} 'libxss' 'libxft')
 
source=(http://downloads.sourceforge.net/sourceforge/tcl/tk${pkgver}-src.tar.gz)
-md5sums=('b61b72f0aad230091b100746f078b8f1')
+md5sums=('a01640176845c1f654a412cfc9bab13b')
 
 build() {
   cd ${srcdir}/tk${pkgver}/unix



[arch-commits] Commit in tk/trunk (PKGBUILD)

2011-11-09 Thread Allan McRae
Date: Wednesday, November 9, 2011 @ 18:59:53
  Author: allan
Revision: 142446

upgpkg: tk 8.5.11-1

upstream update

Modified:
  tk/trunk/PKGBUILD

--+
 PKGBUILD |9 +++--
 1 file changed, 7 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2011-11-09 23:58:47 UTC (rev 142445)
+++ PKGBUILD2011-11-09 23:59:53 UTC (rev 142446)
@@ -3,7 +3,7 @@
 # Contributor: Judd Vinet jvi...@zeroflux.org
 
 pkgname=tk
-pkgver=8.5.10
+pkgver=8.5.11
 pkgrel=1
 pkgdesc=A windowing toolkit for use with tcl
 arch=('i686' 'x86_64')
@@ -11,7 +11,7 @@
 license=('custom')
 depends=(tcl=${pkgver} 'libxss' 'libxft')
 
source=(http://downloads.sourceforge.net/sourceforge/tcl/tk${pkgver}-src.tar.gz)
-md5sums=('adfdaca46cc95fec8557df8ecdb0715c')
+md5sums=('b61b72f0aad230091b100746f078b8f1')
 
 build() {
   cd ${srcdir}/tk${pkgver}/unix
@@ -25,6 +25,11 @@
   make
 }
 
+#check() {
+#  cd ${srcdir}/tk${pkgver}/unix
+#  make test
+#}
+
 package() {
   cd ${srcdir}/tk${pkgver}/unix
 



[arch-commits] Commit in tk/trunk (PKGBUILD)

2011-06-25 Thread Allan McRae
Date: Saturday, June 25, 2011 @ 10:10:32
  Author: allan
Revision: 128929

upgpkg: tk 8.5.10-1
upstream update

Modified:
  tk/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2011-06-25 14:09:40 UTC (rev 128928)
+++ PKGBUILD2011-06-25 14:10:32 UTC (rev 128929)
@@ -3,7 +3,7 @@
 # Contributor: Judd Vinet jvi...@zeroflux.org
 
 pkgname=tk
-pkgver=8.5.9
+pkgver=8.5.10
 pkgrel=1
 pkgdesc=A windowing toolkit for use with tcl
 arch=('i686' 'x86_64')
@@ -11,7 +11,7 @@
 license=('custom')
 depends=(tcl=${pkgver} 'libxss' 'libxft')
 
source=(http://downloads.sourceforge.net/sourceforge/tcl/tk${pkgver}-src.tar.gz)
-md5sums=('7cdeb9feb61593f58a0ae61f2497580e')
+md5sums=('adfdaca46cc95fec8557df8ecdb0715c')
 
 build() {
   cd ${srcdir}/tk${pkgver}/unix



[arch-commits] Commit in tk/trunk (PKGBUILD tkUnixWm.diff)

2010-09-10 Thread Allan McRae
Date: Friday, September 10, 2010 @ 23:52:30
  Author: allan
Revision: 90372

upgpkg: tk 8.5.9-1
upstream update

Modified:
  tk/trunk/PKGBUILD
Deleted:
  tk/trunk/tkUnixWm.diff

---+
 PKGBUILD  |   35 +++---
 tkUnixWm.diff |  317 
 2 files changed, 17 insertions(+), 335 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2010-09-11 03:34:30 UTC (rev 90371)
+++ PKGBUILD2010-09-11 03:52:30 UTC (rev 90372)
@@ -3,25 +3,19 @@
 # Contributor: Judd Vinet jvi...@zeroflux.org
 
 pkgname=tk
-pkgver=8.5.8
-pkgrel=2
-
+pkgver=8.5.9
+pkgrel=1
 pkgdesc=A windowing toolkit for use with tcl
 arch=('i686' 'x86_64')
 url=http://tcl.sourceforge.net/;
 license=('custom')
 depends=(tcl=${pkgver} 'libxss' 'libxft')
-source=(http://downloads.sourceforge.net/sourceforge/tcl/tk${pkgver}-src.tar.gz
-tkUnixWm.diff)
-md5sums=('13bf90602e16fc530e05196431021dc6'
- 'cd72a2c181052163fa76352476fcca86')
+source=(http://downloads.sourceforge.net/sourceforge/tcl/tk${pkgver}-src.tar.gz)
+md5sums=('7cdeb9feb61593f58a0ae61f2497580e')
 
-
 build() {
-  cd ${srcdir}/tk${pkgver}/unix  
-  # FS#17501, upstream bug 2902814
-  patch -Np0 -i $srcdir/tkUnixWm.diff
-  
+  cd ${srcdir}/tk${pkgver}/unix
+
   if [ $CARCH = x86_64 ]; then
 ./configure --prefix=/usr --mandir=/usr/share/man --enable-threads 
--enable-64bit
   else
@@ -29,6 +23,11 @@
   fi
   
   make
+}
+
+package() {
+  cd ${srcdir}/tk${pkgver}/unix
+
   make INSTALL_ROOT=${pkgdir} install install-private-headers
   ln -sf wish8.5 ${pkgdir}/usr/bin/wish
   
@@ -42,11 +41,11 @@
   # install license
   install -Dm644 license.terms ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
 
-  # remove buildroot traces / fixes #3602
+  # remove buildroot traces
   sed -i \
-  -e s,^TK_BUILD_LIB_SPEC='-L.*/unix,TK_BUILD_LIB_SPEC='-L/usr/lib, \
-  -e s,^TK_SRC_DIR='.*',TK_SRC_DIR='/usr/include', \
-  -e 
s,^TK_BUILD_STUB_LIB_SPEC='-L.*/unix,TK_BUILD_STUB_LIB_SPEC='-L/usr/lib, \
-  -e s,^TK_BUILD_STUB_LIB_PATH='.*/unix,TK_BUILD_STUB_LIB_PATH='/usr/lib, \
-  ${pkgdir}/usr/lib/tkConfig.sh
+-e s,^TK_BUILD_LIB_SPEC='-L.*/unix,TK_BUILD_LIB_SPEC='-L/usr/lib, \
+-e s,^TK_SRC_DIR='.*',TK_SRC_DIR='/usr/include', \
+-e 
s,^TK_BUILD_STUB_LIB_SPEC='-L.*/unix,TK_BUILD_STUB_LIB_SPEC='-L/usr/lib, \
+-e s,^TK_BUILD_STUB_LIB_PATH='.*/unix,TK_BUILD_STUB_LIB_PATH='/usr/lib, \
+${pkgdir}/usr/lib/tkConfig.sh
 }

Deleted: tkUnixWm.diff
===
--- tkUnixWm.diff   2010-09-11 03:34:30 UTC (rev 90371)
+++ tkUnixWm.diff   2010-09-11 03:52:30 UTC (rev 90372)
@@ -1,317 +0,0 @@
 tkUnixWm.c 2009/08/01 08:08:18 1.58.2.3
-+++ tkUnixWm.c 2009/11/24 15:18:17 1.58.2.4
-@@ -12,7 +12,7 @@
-  * See the file license.terms for information on usage and redistribution of
-  * this file, and for a DISCLAIMER OF ALL WARRANTIES.
-  *
-- * RCS: @(#) $Id: tkUnixWm.c,v 1.58.2.3 2009/08/01 08:08:18 dkf Exp $
-+ * RCS: @(#) $Id: tkUnixWm.c,v 1.58.2.4 2009/11/24 15:18:17 dkf Exp $
-  */
- 
- #include tkUnixInt.h
-@@ -495,7 +495,7 @@
-   ckfree(wmPtr-iconName);
-   }
-   if (wmPtr-iconDataPtr != NULL) {
--  ckfree((char *)wmPtr-iconDataPtr);
-+  ckfree((char *) wmPtr-iconDataPtr);
-   }
-   if (wmPtr-leaderName != NULL) {
-   ckfree(wmPtr-leaderName);
-@@ -522,7 +522,7 @@
-   ckfree((char *) wmPtr);
- }
- if (dispPtr-iconDataPtr != NULL) {
--  ckfree((char *)dispPtr-iconDataPtr);
-+  ckfree((char *) dispPtr-iconDataPtr);
-   dispPtr-iconDataPtr = NULL;
- }
- }
-@@ -706,7 +706,7 @@
-* _NET_WM_PID requires that to be set too.
-*/
- 
--  atom = Tk_InternAtom((Tk_Window)winPtr, _NET_WM_PID);
-+  atom = Tk_InternAtom((Tk_Window) winPtr, _NET_WM_PID);
-   XChangeProperty(winPtr-display, wmPtr-wrapperPtr-window,
-   atom, XA_CARDINAL, 32, PropModeReplace,
-   (unsigned char *) pid, 1);
-@@ -836,7 +836,7 @@
-   ckfree(wmPtr-iconName);
- }
- if (wmPtr-iconDataPtr != NULL) {
--  ckfree((char *)wmPtr-iconDataPtr);
-+  ckfree((char *) wmPtr-iconDataPtr);
- }
- if (wmPtr-hints.flags  IconPixmapHint) {
-   Tk_FreeBitmap(winPtr-display, wmPtr-hints.icon_pixmap);
-@@ -1262,7 +1262,7 @@
- 
-   opacity = 0xul * wmPtr-reqState.alpha;
-   XChangeProperty(winPtr-display, wmPtr-wrapperPtr-window,
--  Tk_InternAtom((Tk_Window)winPtr, _NET_WM_WINDOW_OPACITY),
-+  Tk_InternAtom((Tk_Window) winPtr, _NET_WM_WINDOW_OPACITY),
-   XA_CARDINAL, 32, PropModeReplace,
-   (unsigned char *)opacity, 1L);
-   wmPtr-attributes.alpha = wmPtr-reqState.alpha;
-@@ -1454,7 +1454,8 @@
-   wmPtr-clientMachine = NULL;
-   if (!(wmPtr-flags  

[arch-commits] Commit in tk/trunk (PKGBUILD tkUnixWm.diff)

2009-12-15 Thread Allan McRae
Date: Wednesday, December 16, 2009 @ 00:18:32
  Author: allan
Revision: 61430

upgpkg: tk 8.5.8-2
FS#17501

Added:
  tk/trunk/tkUnixWm.diff
Modified:
  tk/trunk/PKGBUILD

---+
 PKGBUILD  |   13 +-
 tkUnixWm.diff |  317 
 2 files changed, 327 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2009-12-16 00:11:58 UTC (rev 61429)
+++ PKGBUILD2009-12-16 05:18:32 UTC (rev 61430)
@@ -4,17 +4,24 @@
 
 pkgname=tk
 pkgver=8.5.8
-pkgrel=1
+pkgrel=2
+
 pkgdesc=A windowing toolkit for use with tcl
 arch=('i686' 'x86_64')
 url=http://tcl.sourceforge.net/;
 license=('custom')
 depends=(tcl=${pkgver} 'libxss' 'libxft')
-source=(http://downloads.sourceforge.net/sourceforge/tcl/tk${pkgver}-src.tar.gz)
-md5sums=('13bf90602e16fc530e05196431021dc6')
+source=(http://downloads.sourceforge.net/sourceforge/tcl/tk${pkgver}-src.tar.gz
+tkUnixWm.diff)
+md5sums=('13bf90602e16fc530e05196431021dc6'
+ 'cd72a2c181052163fa76352476fcca86')
 
+
 build() {
   cd ${srcdir}/tk${pkgver}/unix  
+  # FS#17501, upstream bug 2902814
+  patch -Np0 -i $srcdir/tkUnixWm.diff
+  
   if [ $CARCH = x86_64 ]; then
 ./configure --prefix=/usr --mandir=/usr/share/man --enable-threads 
--enable-64bit
   else

Added: tkUnixWm.diff
===
--- tkUnixWm.diff   (rev 0)
+++ tkUnixWm.diff   2009-12-16 05:18:32 UTC (rev 61430)
@@ -0,0 +1,317 @@
+--- tkUnixWm.c 2009/08/01 08:08:18 1.58.2.3
 tkUnixWm.c 2009/11/24 15:18:17 1.58.2.4
+@@ -12,7 +12,7 @@
+  * See the file license.terms for information on usage and redistribution of
+  * this file, and for a DISCLAIMER OF ALL WARRANTIES.
+  *
+- * RCS: @(#) $Id: tkUnixWm.c,v 1.58.2.3 2009/08/01 08:08:18 dkf Exp $
++ * RCS: @(#) $Id: tkUnixWm.c,v 1.58.2.4 2009/11/24 15:18:17 dkf Exp $
+  */
+ 
+ #include tkUnixInt.h
+@@ -495,7 +495,7 @@
+   ckfree(wmPtr-iconName);
+   }
+   if (wmPtr-iconDataPtr != NULL) {
+-  ckfree((char *)wmPtr-iconDataPtr);
++  ckfree((char *) wmPtr-iconDataPtr);
+   }
+   if (wmPtr-leaderName != NULL) {
+   ckfree(wmPtr-leaderName);
+@@ -522,7 +522,7 @@
+   ckfree((char *) wmPtr);
+ }
+ if (dispPtr-iconDataPtr != NULL) {
+-  ckfree((char *)dispPtr-iconDataPtr);
++  ckfree((char *) dispPtr-iconDataPtr);
+   dispPtr-iconDataPtr = NULL;
+ }
+ }
+@@ -706,7 +706,7 @@
+* _NET_WM_PID requires that to be set too.
+*/
+ 
+-  atom = Tk_InternAtom((Tk_Window)winPtr, _NET_WM_PID);
++  atom = Tk_InternAtom((Tk_Window) winPtr, _NET_WM_PID);
+   XChangeProperty(winPtr-display, wmPtr-wrapperPtr-window,
+   atom, XA_CARDINAL, 32, PropModeReplace,
+   (unsigned char *) pid, 1);
+@@ -836,7 +836,7 @@
+   ckfree(wmPtr-iconName);
+ }
+ if (wmPtr-iconDataPtr != NULL) {
+-  ckfree((char *)wmPtr-iconDataPtr);
++  ckfree((char *) wmPtr-iconDataPtr);
+ }
+ if (wmPtr-hints.flags  IconPixmapHint) {
+   Tk_FreeBitmap(winPtr-display, wmPtr-hints.icon_pixmap);
+@@ -1262,7 +1262,7 @@
+ 
+   opacity = 0xul * wmPtr-reqState.alpha;
+   XChangeProperty(winPtr-display, wmPtr-wrapperPtr-window,
+-  Tk_InternAtom((Tk_Window)winPtr, _NET_WM_WINDOW_OPACITY),
++  Tk_InternAtom((Tk_Window) winPtr, _NET_WM_WINDOW_OPACITY),
+   XA_CARDINAL, 32, PropModeReplace,
+   (unsigned char *)opacity, 1L);
+   wmPtr-attributes.alpha = wmPtr-reqState.alpha;
+@@ -1454,7 +1454,8 @@
+   wmPtr-clientMachine = NULL;
+   if (!(wmPtr-flags  WM_NEVER_MAPPED)) {
+   XDeleteProperty(winPtr-display, wmPtr-wrapperPtr-window,
+-  Tk_InternAtom((Tk_Window)winPtr, WM_CLIENT_MACHINE));
++  Tk_InternAtom((Tk_Window) winPtr,
++  WM_CLIENT_MACHINE));
+   }
+   }
+   return TCL_OK;
+@@ -1462,8 +1463,7 @@
+ if (wmPtr-clientMachine != NULL) {
+   ckfree((char *) wmPtr-clientMachine);
+ }
+-wmPtr-clientMachine = (char *)
+-  ckalloc((unsigned) (length + 1));
++wmPtr-clientMachine = ckalloc((unsigned) length + 1);
+ strcpy(wmPtr-clientMachine, argv3);
+ if (!(wmPtr-flags  WM_NEVER_MAPPED)) {
+   XTextProperty textProp;
+@@ -1487,7 +1487,8 @@
+ 
+   XChangeProperty(winPtr-display, wmPtr-wrapperPtr-window,
+   Tk_InternAtom((Tk_Window) winPtr, _NET_WM_PID),
+-  XA_CARDINAL,32, PropModeReplace, (unsigned char*)pid, 1);
++  XA_CARDINAL,32, PropModeReplace, (unsigned char *) pid,
++  1);
+   }
+   Tcl_DStringFree(ds);
+ }
+@@ -1561,7 +1562,7 @@
+   return TCL_ERROR;
+ }
+ cmapList