[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/tkzinc/, dev-tcltk/tkzinc/files/, profiles/

2023-04-15 Thread David Seifert
commit: 6f7de4e22e76a57de56210b7ec75f5ca660a8f09
Author: David Seifert  gentoo  org>
AuthorDate: Sat Apr 15 09:23:00 2023 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Apr 15 09:23:00 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f7de4e2

dev-tcltk/tkzinc: treeclean

Closes: https://bugs.gentoo.org/895824
Signed-off-by: David Seifert  gentoo.org>

 dev-tcltk/tkzinc/Manifest   |   1 -
 dev-tcltk/tkzinc/files/3.3.6-ldflags.patch  |  14 ---
 dev-tcltk/tkzinc/files/tkzinc-3.3.4-latex.patch |   9 --
 dev-tcltk/tkzinc/files/tkzinc-3.3.6-clang.patch |  29 ---
 dev-tcltk/tkzinc/files/tkzinc-3.3.6-gcc13.patch | 110 
 dev-tcltk/tkzinc/metadata.xml   |   8 --
 dev-tcltk/tkzinc/tkzinc-3.3.6-r2.ebuild |  66 --
 profiles/package.mask   |   5 --
 8 files changed, 242 deletions(-)

diff --git a/dev-tcltk/tkzinc/Manifest b/dev-tcltk/tkzinc/Manifest
deleted file mode 100644
index cabfe66233e8..
--- a/dev-tcltk/tkzinc/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST Tkzinc-3.3.6plus.tar.gz 1924729 BLAKE2B 
9e02b113c37cfb870b2e238591e9b35cf5851c6534249312118c54d179d9ba7dbca17217cd924cfcfb1ef2444697840e3136d0fd1385b976a8a2bfda156c488d
 SHA512 
ead998b69569ebec92e7f60415296262f60b91250b2fe15fdeb9fb71c38756006bedcd9ed2829d915cb6ce3a6461165a48c9037f8e397ba6049a76ae474f7838

diff --git a/dev-tcltk/tkzinc/files/3.3.6-ldflags.patch 
b/dev-tcltk/tkzinc/files/3.3.6-ldflags.patch
deleted file mode 100644
index 903ef9a2eaee..
--- a/dev-tcltk/tkzinc/files/3.3.6-ldflags.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-diff --git a/tclconfig/tcl.m4 b/tclconfig/tcl.m4
-index 0cbca13..c68af63 100644
 a/tclconfig/tcl.m4
-+++ b/tclconfig/tcl.m4
-@@ -1447,7 +1447,8 @@ dnl AC_CHECK_TOOL(AR, ar)
-   # get rid of the warnings.
-   #CFLAGS_OPTIMIZE="${CFLAGS_OPTIMIZE} -D__NO_STRING_INLINES 
-D__NO_MATH_INLINES"
- 
--  SHLIB_LD="${CC} -shared"
-+  # TEA specific: use LDFLAGS_DEFAULT instead of LDFLAGS
-+  SHLIB_LD='${CC} -shared ${CFLAGS} ${LDFLAGS_DEFAULT} ${LDFLAGS}'
-   DL_OBJS="tclLoadDl.o"
-   DL_LIBS="-ldl"
-   LDFLAGS="$LDFLAGS -Wl,--export-dynamic"

diff --git a/dev-tcltk/tkzinc/files/tkzinc-3.3.4-latex.patch 
b/dev-tcltk/tkzinc/files/tkzinc-3.3.4-latex.patch
deleted file mode 100644
index f89ab9ac8e0e..
--- a/dev-tcltk/tkzinc/files/tkzinc-3.3.4-latex.patch
+++ /dev/null
@@ -1,9 +0,0 @@
 a/doc/refman.tex
-+++ b/doc/refman.tex
-@@ -1,4 +1,6 @@
-+\RequirePackage{ifpdf}
- \documentclass[11pt,twoside,a4paper]{book}
-+\usepackage [latin1]{inputenc}
- 
- %--
- % $Revision: 1.94 $

diff --git a/dev-tcltk/tkzinc/files/tkzinc-3.3.6-clang.patch 
b/dev-tcltk/tkzinc/files/tkzinc-3.3.6-clang.patch
deleted file mode 100644
index e8bdb40b6083..
--- a/dev-tcltk/tkzinc/files/tkzinc-3.3.6-clang.patch
+++ /dev/null
@@ -1,29 +0,0 @@
 a/generic/Window.c 2023-01-17 19:39:55.697886490 +0100
-+++ b/generic/Window.c 2023-01-17 19:41:15.619618094 +0100
-@@ -350,7 +350,7 @@
- #endif /* ifdef _WIN32 */
- 
-/* Reset externalwindow */
--   wind->externalwindow = NULL;
-+   wind->externalwindow = 0;
- }
- 
- 
-@@ -384,7 +384,7 @@
-   wind->connection_anchor = TK_ANCHOR_SW;
-   wind->win = NULL;
-   wind->windowtitle = NULL;
--  wind->externalwindow = NULL;
-+  wind->externalwindow = 0;
-   
-   return TCL_OK;
- }
-@@ -407,7 +407,7 @@
-*/
-   wind->win = NULL;
-   wind->windowtitle = NULL;
--  wind->externalwindow = NULL;
-+  wind->externalwindow = 0;
- }
- 
- 

diff --git a/dev-tcltk/tkzinc/files/tkzinc-3.3.6-gcc13.patch 
b/dev-tcltk/tkzinc/files/tkzinc-3.3.6-gcc13.patch
deleted file mode 100644
index d4f0e311b03c..
--- a/dev-tcltk/tkzinc/files/tkzinc-3.3.6-gcc13.patch
+++ /dev/null
@@ -1,110 +0,0 @@
 a/generic/Arc.c2023-03-12 16:09:32.174198907 +0100
-+++ b/generic/Arc.c2023-03-12 16:10:45.138024965 +0100
-@@ -350,7 +350,8 @@
- {
-   ZnPoint   *p_list, p, p2, o, o2;
-   ZnRealwidth, height, d;
--  int   num_p, i, quality;
-+  unsigned int  num_p;
-+  int   i, quality;
-   ZnTransfo *t = ((ZnItem) arc)->wi->current_transfo;
-   
-   if (!arc->render_shape) {
-@@ -1026,7 +1027,8 @@
- UpdateRenderShapeX(ArcItem  arc)
- {
-   ZnRealox, oy, width_2, height_2;
--  int   i, num_p;
-+  int   i;
-+  unsigned int  num_p;
-   ZnPoint   *p_list;
-   
-   if (!arc->render_shape) {
 a/generic/Curve.c  2023-03-12 16:13:23.544477181 +0100
-+++ b/generic/Curve.c  2023-03-12 16:17:20.023675722 +0100
-@@ -1207,7 +1207,8 @@
-* if last point join first point suppress markers at end points.
-*/
-   if (ISSET(cv->flags, MARKER_OK)) {
--unsigned int h_width, h_height, width, height;
-+unsigned int h_width, h_height;
-+int  width, 

[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/tkzinc/, dev-tcltk/tkzinc/files/

2023-03-12 Thread Alfredo Tupone
commit: 3815e59bcf82938d601af954f2cda6778bbb9a5d
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Sun Mar 12 16:34:08 2023 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Sun Mar 12 16:34:59 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3815e59b

dev-tcltk/tkzinc: fix some gcc13 warnings

Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-tcltk/tkzinc/files/tkzinc-3.3.6-gcc13.patch| 110 +
 ...zinc-3.3.6-r1.ebuild => tkzinc-3.3.6-r2.ebuild} |   1 +
 2 files changed, 111 insertions(+)

diff --git a/dev-tcltk/tkzinc/files/tkzinc-3.3.6-gcc13.patch 
b/dev-tcltk/tkzinc/files/tkzinc-3.3.6-gcc13.patch
new file mode 100644
index ..d4f0e311b03c
--- /dev/null
+++ b/dev-tcltk/tkzinc/files/tkzinc-3.3.6-gcc13.patch
@@ -0,0 +1,110 @@
+--- a/generic/Arc.c2023-03-12 16:09:32.174198907 +0100
 b/generic/Arc.c2023-03-12 16:10:45.138024965 +0100
+@@ -350,7 +350,8 @@
+ {
+   ZnPoint   *p_list, p, p2, o, o2;
+   ZnRealwidth, height, d;
+-  int   num_p, i, quality;
++  unsigned int  num_p;
++  int   i, quality;
+   ZnTransfo *t = ((ZnItem) arc)->wi->current_transfo;
+   
+   if (!arc->render_shape) {
+@@ -1026,7 +1027,8 @@
+ UpdateRenderShapeX(ArcItem  arc)
+ {
+   ZnRealox, oy, width_2, height_2;
+-  int   i, num_p;
++  int   i;
++  unsigned int  num_p;
+   ZnPoint   *p_list;
+   
+   if (!arc->render_shape) {
+--- a/generic/Curve.c  2023-03-12 16:13:23.544477181 +0100
 b/generic/Curve.c  2023-03-12 16:17:20.023675722 +0100
+@@ -1207,7 +1207,8 @@
+* if last point join first point suppress markers at end points.
+*/
+   if (ISSET(cv->flags, MARKER_OK)) {
+-unsigned int h_width, h_height, width, height;
++unsigned int h_width, h_height;
++int  width, height;
+ int  tmp_x, tmp_y;
+ 
+ ZnSizeOfImage(cv->marker, , );
+--- a/generic/Item.c   2023-03-12 16:32:15.783502590 +0100
 b/generic/Item.c   2023-03-12 16:37:06.944877639 +0100
+@@ -350,7 +350,8 @@
+   {
+ ZnList   new_grad_list = NULL;
+ ZnGradient   **grads;
+-unsigned int num_grads, j, k;
++int  num_grads;
++unsigned int j, k;
+ Tcl_Obj  **elems;
+ 
+ if (Tcl_ListObjGetElements(wi->interp, args[i+1],
+@@ -467,7 +468,8 @@
+   {
+ ZnList   new_pat_list = NULL;
+ ZnImage  *pats;
+-unsigned int num_pats, j, k;
++int  num_pats;
++unsigned int j, k;
+ Tcl_Obj  **elems;
+ ZnBool   is_bmap = True;
+ 
+--- a/generic/Attrs.c  2023-03-12 16:52:59.616742607 +0100
 b/generic/Attrs.c  2023-03-12 16:53:29.010275580 +0100
+@@ -170,7 +170,8 @@
+ Tcl_Obj *name,
+ ZnBorder*border)
+ {
+-  unsigned int j, len, largc;
++  unsigned int j, len;
++  int  largc;
+   Tcl_Obj  **largv;
+   char *str;
+ 
+--- a/generic/PostScript.c 2023-03-12 17:11:26.721797681 +0100
 b/generic/PostScript.c 2023-03-12 17:12:08.943156663 +0100
+@@ -1796,7 +1796,7 @@
+   int   h)
+ {
+   int  result;
+-  XImage   *ximage;
++  XImage   *ximage = NULL;
+   Tk_PhotoHandle   tkphoto;
+   
+   if (((TkPostscriptInfo *) ps_info)->prepass) {
+--- a/generic/Draw.c   2023-03-12 17:14:07.814350198 +0100
 b/generic/Draw.c   2023-03-12 17:15:16.429306397 +0100
+@@ -1271,7 +1271,7 @@
+   glEnd();
+ }
+ else {
+-  int   num_cpoints;
++  unsigned int num_cpoints;
+   ZnReallw_2 = line_width / 2.0;
+   ZnPoint   *cpoints = ZnGetCirclePoints(3, ZN_CIRCLE_COARSE,
+  0.0, 2*M_PI, _cpoints, NULL);
+@@ -2000,7 +2000,7 @@
+   Tcl_UniChar   c;
+ 
+   while (len) {
+-clen = Tcl_UtfToUniChar(string, );
++clen = Tcl_UtfToUniChar((const char *)string, );
+ 
+ ZnRenderGlyph(tfi, c);
+ 
+--- a/generic/Text.c   2023-03-12 17:16:54.897807077 +0100
 b/generic/Text.c   2023-03-12 17:21:09.423924386 +0100
+@@ -1105,7 +1105,7 @@
+   int   font_height;  
+   int   underline_thickness, underline_pos=0, overstrike_pos=0;
+   int   sel_first_line=-1, sel_last_line=-1, cursor_line=-1;
+-  int   sel_start_offset=0, sel_stop_offset=0, cursor_offset=0;
++  unsigned int  sel_start_offset=0, sel_stop_offset=0, cursor_offset=0;
+ 
+   if (!text->text_info) {
+ return;

diff --git a/dev-tcltk/tkzinc/tkzinc-3.3.6-r1.ebuild 
b/dev-tcltk/tkzinc/tkzinc-3.3.6-r2.ebuild
similarity index 97%
rename from dev-tcltk/tkzinc/tkzinc-3.3.6-r1.ebuild
rename to dev-tcltk/tkzinc/tkzinc-3.3.6-r2.ebuild
index 43bc5ca4dc1e..c45317f8b64a 100644
--- a/dev-tcltk/tkzinc/tkzinc-3.3.6-r1.ebuild
+++ b/dev-tcltk/tkzinc/tkzinc-3.3.6-r2.ebuild
@@ -27,6 +27,7 @@ PATCHES=(
"${FILESDIR}"/${PV}-ldflags.patch
"${FILESDIR}"/${PN}-3.3.4-latex.patch

[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/tkzinc/

2023-03-12 Thread Alfredo Tupone
commit: bc38182ee48502812e0334c22aea7845581b597b
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Sun Mar 12 08:48:52 2023 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Sun Mar 12 08:49:18 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc38182e

dev-tcltk/tkzinc: stat64 check is allowed

Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-tcltk/tkzinc/tkzinc-3.3.6-r1.ebuild | 4 
 1 file changed, 4 insertions(+)

diff --git a/dev-tcltk/tkzinc/tkzinc-3.3.6-r1.ebuild 
b/dev-tcltk/tkzinc/tkzinc-3.3.6-r1.ebuild
index c7fa5fd154eb..43bc5ca4dc1e 100644
--- a/dev-tcltk/tkzinc/tkzinc-3.3.6-r1.ebuild
+++ b/dev-tcltk/tkzinc/tkzinc-3.3.6-r1.ebuild
@@ -29,6 +29,10 @@ PATCHES=(
"${FILESDIR}"/${P}-clang.patch
 )
 
+QA_CONFIG_IMPL_DECL_SKIP=(
+   stat64 # used to test for Large File Support
+)
+
 HTML_DOCS='doc/*png doc/*html doc/*css'
 
 src_prepare() {



[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/tkzinc/files/, dev-tcltk/tkzinc/

2023-01-17 Thread Alfredo Tupone
commit: 3def5aac5dced458b28b32b54dd4391917e8da34
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Tue Jan 17 18:44:22 2023 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Tue Jan 17 18:44:52 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3def5aac

dev-tcltk/tkzinc: fix incomp pointer conversion

Closes: https://bugs.gentoo.org/871120
Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-tcltk/tkzinc/files/tkzinc-3.3.6-clang.patch | 29 +
 dev-tcltk/tkzinc/tkzinc-3.3.6-r1.ebuild |  5 +++--
 2 files changed, 32 insertions(+), 2 deletions(-)

diff --git a/dev-tcltk/tkzinc/files/tkzinc-3.3.6-clang.patch 
b/dev-tcltk/tkzinc/files/tkzinc-3.3.6-clang.patch
new file mode 100644
index ..e8bdb40b6083
--- /dev/null
+++ b/dev-tcltk/tkzinc/files/tkzinc-3.3.6-clang.patch
@@ -0,0 +1,29 @@
+--- a/generic/Window.c 2023-01-17 19:39:55.697886490 +0100
 b/generic/Window.c 2023-01-17 19:41:15.619618094 +0100
+@@ -350,7 +350,7 @@
+ #endif /* ifdef _WIN32 */
+ 
+/* Reset externalwindow */
+-   wind->externalwindow = NULL;
++   wind->externalwindow = 0;
+ }
+ 
+ 
+@@ -384,7 +384,7 @@
+   wind->connection_anchor = TK_ANCHOR_SW;
+   wind->win = NULL;
+   wind->windowtitle = NULL;
+-  wind->externalwindow = NULL;
++  wind->externalwindow = 0;
+   
+   return TCL_OK;
+ }
+@@ -407,7 +407,7 @@
+*/
+   wind->win = NULL;
+   wind->windowtitle = NULL;
+-  wind->externalwindow = NULL;
++  wind->externalwindow = 0;
+ }
+ 
+ 

diff --git a/dev-tcltk/tkzinc/tkzinc-3.3.6-r1.ebuild 
b/dev-tcltk/tkzinc/tkzinc-3.3.6-r1.ebuild
index a94dde7d11fe..c7fa5fd154eb 100644
--- a/dev-tcltk/tkzinc/tkzinc-3.3.6-r1.ebuild
+++ b/dev-tcltk/tkzinc/tkzinc-3.3.6-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -26,7 +26,8 @@ S="${WORKDIR}/Tkzinc-${PV//.}+"
 PATCHES=(
"${FILESDIR}"/${PV}-ldflags.patch
"${FILESDIR}"/${PN}-3.3.4-latex.patch
-   )
+   "${FILESDIR}"/${P}-clang.patch
+)
 
 HTML_DOCS='doc/*png doc/*html doc/*css'
 



[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/tkzinc/

2022-10-28 Thread Sam James
commit: f0b5bc6a3784c11d0360a1d121794ce8071d3dff
Author: Sam James  gentoo  org>
AuthorDate: Fri Oct 28 20:56:42 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Oct 28 20:58:06 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0b5bc6a

dev-tcltk/tkzinc: no more herds

Signed-off-by: Sam James  gentoo.org>

 dev-tcltk/tkzinc/metadata.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-tcltk/tkzinc/metadata.xml b/dev-tcltk/tkzinc/metadata.xml
index 21143551a761..0eb27a71b580 100644
--- a/dev-tcltk/tkzinc/metadata.xml
+++ b/dev-tcltk/tkzinc/metadata.xml
@@ -3,6 +3,6 @@
 
   
 tc...@gentoo.org
-TCL / TK Herd
+TCL/TK project
   
 



[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/tkzinc/files/, dev-tcltk/tkzinc/

2021-12-30 Thread Alfredo Tupone
commit: b1c56b2b2e2c0551380e74411b27b88b91a38f3e
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Thu Dec 30 20:37:37 2021 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Thu Dec 30 20:37:37 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1c56b2b

dev-tcltk/tkzinc: fix build of doc

Closes: https://bugs.gentoo.org/828121
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-tcltk/tkzinc/files/tkzinc-3.3.4-latex.patch  | 9 +++--
 dev-tcltk/tkzinc/{tkzinc-3.3.6.ebuild => tkzinc-3.3.6-r1.ebuild} | 4 ++--
 2 files changed, 5 insertions(+), 8 deletions(-)

diff --git a/dev-tcltk/tkzinc/files/tkzinc-3.3.4-latex.patch 
b/dev-tcltk/tkzinc/files/tkzinc-3.3.4-latex.patch
index 6b697a7bfd78..f89ab9ac8e0e 100644
--- a/dev-tcltk/tkzinc/files/tkzinc-3.3.4-latex.patch
+++ b/dev-tcltk/tkzinc/files/tkzinc-3.3.4-latex.patch
@@ -1,12 +1,9 @@
- doc/refman.tex | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/doc/refman.tex b/doc/refman.tex
-index b384e97..be88fde 100644
 --- a/doc/refman.tex
 +++ b/doc/refman.tex
-@@ -1,3 +1,4 @@
+@@ -1,4 +1,6 @@
 +\RequirePackage{ifpdf}
  \documentclass[11pt,twoside,a4paper]{book}
++\usepackage [latin1]{inputenc}
  
  %--
+ % $Revision: 1.94 $

diff --git a/dev-tcltk/tkzinc/tkzinc-3.3.6.ebuild 
b/dev-tcltk/tkzinc/tkzinc-3.3.6-r1.ebuild
similarity index 95%
rename from dev-tcltk/tkzinc/tkzinc-3.3.6.ebuild
rename to dev-tcltk/tkzinc/tkzinc-3.3.6-r1.ebuild
index 7f39c89740af..a94dde7d11fe 100644
--- a/dev-tcltk/tkzinc/tkzinc-3.3.6.ebuild
+++ b/dev-tcltk/tkzinc/tkzinc-3.3.6-r1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=8
 
 inherit autotools
 



[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/tkzinc/

2018-09-21 Thread Alfredo Tupone
commit: 62f91614ae08bd7da2447207f960d6b8b507c82b
Author: Tupone Alfredo  gentoo  org>
AuthorDate: Fri Sep 21 20:46:44 2018 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Fri Sep 21 20:46:44 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62f91614

dev-tcltk/tkzinc: EAPI 6, set VARTEXFONTS

Closes: https://bugs.gentoo.org/652026
Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-tcltk/tkzinc/tkzinc-3.3.6.ebuild | 43 +++-
 1 file changed, 23 insertions(+), 20 deletions(-)

diff --git a/dev-tcltk/tkzinc/tkzinc-3.3.6.ebuild 
b/dev-tcltk/tkzinc/tkzinc-3.3.6.ebuild
index 14b37ebcd1f..73b6514bd1b 100644
--- a/dev-tcltk/tkzinc/tkzinc-3.3.6.ebuild
+++ b/dev-tcltk/tkzinc/tkzinc-3.3.6.ebuild
@@ -1,11 +1,9 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=6
 
-AUTOTOOLS_AUTORECONF=yes
-
-inherit autotools-utils
+inherit autotools
 
 DESCRIPTION="A Tk widget library"
 HOMEPAGE="http://www.tkzinc.org;
@@ -17,8 +15,8 @@ KEYWORDS="~amd64 ~x86 ~ppc"
 IUSE="debug doc threads"
 
 DEPEND="
-   dev-lang/tk
-   media-libs/glew
+   dev-lang/tk:=
+   media-libs/glew:=
virtual/opengl
doc? ( virtual/latex-base )"
 RDEPEND="${DEPEND}"
@@ -30,28 +28,33 @@ PATCHES=(
"${FILESDIR}"/${PN}-3.3.4-latex.patch
)
 
-AUTOTOOLS_IN_SOURCE_BUILD=1
+HTML_DOCS='doc/*png doc/*html doc/*css'
 
-DOCS=( BUGS )
+src_prepare() {
+   default
+   eautoreconf
+}
 
 src_configure() {
-   local myeconfargs=(
-   --enable-shared
-   --enable-gl=damage
-   $(use_enable debug symbols)
+   econf \
+   --enable-shared \
+   --enable-gl=damage \
+   $(use_enable debug symbols) \
$(use_enable threads)
-   )
-   autotools-utils_src_configure
 }
 
 src_compile() {
-   autotools-utils_src_compile
-   use doc && emake pdf
+   default
+   if use doc; then
+   VARTEXFONTS="${T}"/fonts emake pdf
+   fi
 }
 
 src_install() {
-   autotools-utils_src_install
-
-   dohtml -r doc/*
+   default
use doc && dodoc doc/refman.pdf
 }
+
+src_test() {
+   emake test
+}



[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/tkzinc/files/

2016-10-02 Thread Amy Winston
commit: 6ccf97f8f5a0da4d683515986c037b04728f5485
Author: Michael Mair-Keimberger (asterix)  gmail 
 com>
AuthorDate: Fri Sep 30 15:15:47 2016 +
Commit: Amy Winston  gentoo  org>
CommitDate: Sun Oct  2 19:58:33 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ccf97f8

dev-tcltk/tkzinc: remove unused patch

 dev-tcltk/tkzinc/files/3.3.4-ldflags.patch | 14 --
 1 file changed, 14 deletions(-)

diff --git a/dev-tcltk/tkzinc/files/3.3.4-ldflags.patch 
b/dev-tcltk/tkzinc/files/3.3.4-ldflags.patch
deleted file mode 100644
index 6f4264d..
--- a/dev-tcltk/tkzinc/files/3.3.4-ldflags.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-diff --git a/tclconfig/tcl.m4 b/tclconfig/tcl.m4
-index ff26a0f..faba464 100644
 a/tclconfig/tcl.m4
-+++ b/tclconfig/tcl.m4
-@@ -1447,7 +1447,8 @@ dnl AC_CHECK_TOOL(AR, ar)
-   # get rid of the warnings.
-   #CFLAGS_OPTIMIZE="${CFLAGS_OPTIMIZE} -D__NO_STRING_INLINES 
-D__NO_MATH_INLINES"
- 
--  SHLIB_LD="${CC} -shared"
-+  # TEA specific: use LDFLAGS_DEFAULT instead of LDFLAGS
-+  SHLIB_LD='${CC} -shared ${CFLAGS} ${LDFLAGS_DEFAULT} ${LDFLAGS}'
-   DL_OBJS="tclLoadDl.o"
-   DL_LIBS="-ldl"
-   LDFLAGS="$LDFLAGS -Wl,--export-dynamic"