1 |
xarthisius 11/01/05 10:37:38 |
2 |
|
3 |
Added: gle-3.1.0-autotools-r1.patch |
4 |
Removed: gle-3.1.0-autotools.patch |
5 |
Log: |
6 |
Properly fix as-needed issues, fix man pages, migrate to autotools-utils.eclass. Drop old |
7 |
|
8 |
(Portage version: 2.2.0_alpha10_p22/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.1 media-libs/gle/files/gle-3.1.0-autotools-r1.patch |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/gle/files/gle-3.1.0-autotools-r1.patch?rev=1.1&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/gle/files/gle-3.1.0-autotools-r1.patch?rev=1.1&content-type=text/plain |
15 |
|
16 |
Index: gle-3.1.0-autotools-r1.patch |
17 |
=================================================================== |
18 |
* Fix buildsystem to work with modern automake, allows building with |
19 |
libtool-2.4 (by flameeyes) |
20 |
* don't install docs |
21 |
* use pkg-config to detect libs |
22 |
* fix as-needed issues |
23 |
|
24 |
--- a/doc/html/Makefile.am |
25 |
+++ b/doc/html/Makefile.am |
26 |
@@ -87,5 +87,5 @@ |
27 |
|
28 |
EXTRA_DIST = .cvsignore $(doc_DATA) |
29 |
|
30 |
-SUFFIXES += .html .gif .jpg |
31 |
+SUFFIXES = .html .gif .jpg |
32 |
|
33 |
--- a/doc/Makefile.am |
34 |
+++ b/doc/Makefile.am |
35 |
@@ -7,5 +7,5 @@ |
36 |
|
37 |
EXTRA_DIST = .cvsignore COPYING.artistic gle-3.0.lsm |
38 |
|
39 |
-SUFFIXES += .lsm |
40 |
+SUFFIXES = .lsm |
41 |
|
42 |
--- a/man/Makefile.am |
43 |
+++ b/man/Makefile.am |
44 |
@@ -22,7 +22,7 @@ |
45 |
$(man_RAW) \ |
46 |
Makefile.sgi |
47 |
|
48 |
-SUFFIXES += .man .3gle |
49 |
+SUFFIXES = .man .3gle |
50 |
|
51 |
# for the ordinary install, just copy the raw files .... |
52 |
.man.3gle: |
53 |
@@ -38,4 +38,4 @@ |
54 |
psroff -t -man < $< > $*.ps |
55 |
|
56 |
|
57 |
-CLEANFILES += $(man_MANS) |
58 |
+CLEANFILES = $(man_MANS) |
59 |
--- a/configure.in |
60 |
+++ b/configure.in |
61 |
@@ -31,6 +31,8 @@ |
62 |
AC_PROG_INSTALL |
63 |
AM_PROG_LIBTOOL |
64 |
|
65 |
+PKG_PROG_PKG_CONFIG |
66 |
+ |
67 |
AC_ISC_POSIX |
68 |
AC_PROG_MAKE_SET |
69 |
AC_HEADER_STDC |
70 |
@@ -95,46 +97,15 @@ |
71 |
AC_ERROR([Can not find X11 development headers or libraries.]) |
72 |
fi |
73 |
|
74 |
-# AC_CHECK_HEADER(GL/gl.h) |
75 |
-# AC_CHECK_HEADER(GL/glut.h) |
76 |
- |
77 |
-# configure seems to work best when tested subroutines take no arguments |
78 |
-AC_CHECK_LIB(GL, glGetError, |
79 |
- X_LIBS="-lGL $X_LIBS", |
80 |
- AC_MSG_ERROR([Cannot find required GL library]), |
81 |
- $X_PRE_LIBS $X_LIBS -lX11 $X_EXTRA_LIBS) |
82 |
- |
83 |
-AC_CHECK_LIB(GLU, gluNewQuadric, |
84 |
- X_LIBS="-lGLU $X_LIBS", |
85 |
- AC_MSG_ERROR([Cannot find required GLU library]), |
86 |
- $X_PRE_LIBS $X_LIBS -lX11 $X_EXTRA_LIBS) |
87 |
- |
88 |
+PKG_CHECK_MODULES([GLU], [glu]) |
89 |
+PKG_CHECK_MODULES([XI], [xi]) |
90 |
+PKG_CHECK_MODULES([XMU], [xmu]) |
91 |
# ---------------------------------------------------------- |
92 |
-# Newest versions of glut require Xmu, which doesn't show up |
93 |
-# by default in X_LIBS |
94 |
-AC_CHECK_LIB(Xmu, XmuLookupStandardColormap, |
95 |
- X_LIBS="-lXmu $X_LIBS", |
96 |
- AC_MSG_ERROR([Cannot find required Xmu library]), |
97 |
- $X_PRE_LIBS $X_LIBS -lX11 $X_EXTRA_LIBS) |
98 |
- |
99 |
-AC_CHECK_LIB(Xi, XListInputDevices, |
100 |
- X_LIBS="-lXi -lXext $X_LIBS", |
101 |
- AC_MSG_ERROR([Cannot find required Xi (X11 Input Extension) library]), |
102 |
- $X_PRE_LIBS $X_LIBS -lX11 $X_EXTRA_LIBS) |
103 |
|
104 |
-# latest versions of glut also use Xi the XInput extension |
105 |
AC_CHECK_LIB(glut, glutSwapBuffers, |
106 |
- X_LIBS="-lglut $X_LIBS", |
107 |
+ [], |
108 |
AC_MSG_ERROR([Cannot find required glut library]), |
109 |
- $X_PRE_LIBS -lXmu $X_LIBS -lX11 $X_EXTRA_LIBS) |
110 |
- |
111 |
- |
112 |
-# This is how to use the variables set by AC_PATH_XTRA: |
113 |
-# cc @X_CFLAGS@ -c -o foo.o foo.c |
114 |
-# cc @X_LIBS@ (-lfoo...) @X_PRE_LIBS@ -lX11 @X_EXTRA_LIBS@ |
115 |
-# (Perhaps X_LIBS should have been called X_LDFLAGS.) |
116 |
- |
117 |
-X_LIBS="-lgle $X_LIBS -lXt -lX11" |
118 |
+ ) |
119 |
|
120 |
AC_OUTPUT( |
121 |
Makefile |
122 |
--- a/Makefile.am |
123 |
+++ b/Makefile.am |
124 |
@@ -1,10 +1,6 @@ |
125 |
|
126 |
-SUBDIRS = src doc examples man ms-visual-c swig |
127 |
+SUBDIRS = src |
128 |
|
129 |
EXTRA_DIST = \ |
130 |
.cvsignore \ |
131 |
gle.spec |
132 |
- |
133 |
-docdir = $(datadir)/doc/gle/ |
134 |
- |
135 |
-doc_DATA = AUTHORS README COPYING |