1 |
matsuu 11/01/25 14:25:17 |
2 |
|
3 |
Added: zhcon-0.2.6-automagic-fix.patch |
4 |
zhcon-0.2.6.make-fix.patch |
5 |
Log: |
6 |
Fixed dependency, bug #303001. Clean up. |
7 |
|
8 |
(Portage version: 2.1.9.31/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.1 app-i18n/zhcon/files/zhcon-0.2.6-automagic-fix.patch |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/zhcon/files/zhcon-0.2.6-automagic-fix.patch?rev=1.1&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/zhcon/files/zhcon-0.2.6-automagic-fix.patch?rev=1.1&content-type=text/plain |
15 |
|
16 |
Index: zhcon-0.2.6-automagic-fix.patch |
17 |
=================================================================== |
18 |
--- zhcon-0.2.5.orig/configure.in 2010-01-31 15:12:10.521592172 +0100 |
19 |
+++ zhcon-0.2.5/configure.in 2010-01-31 15:12:33.939593092 +0100 |
20 |
@@ -170,18 +170,25 @@ |
21 |
dnl----------------------------------------------------------------------- |
22 |
dnl Checks for gpm |
23 |
dnl----------------------------------------------------------------------- |
24 |
-usegpm="yes" |
25 |
-AC_CHECK_HEADERS(gpm.h,,usegpm="no") |
26 |
-AC_CHECK_LIB(gpm,Gpm_Open,,usegpm="no") |
27 |
+AC_ARG_WITH([gpm], AS_HELP_STRING([--without-gpm], [Build without gpm library (default: test)])) |
28 |
+ |
29 |
+usegpm='no' |
30 |
+if test "x$with_gpm" != "xno"; then |
31 |
+ AC_CHECK_HEADERS(gpm.h,,AC_ERROR([gpm.h not found])) |
32 |
+ AC_CHECK_LIB(gpm,Gpm_Open,,AC_ERROR([libgpm not found])) |
33 |
+ usegpm='yes' |
34 |
+fi |
35 |
|
36 |
dnl----------------------------------------------------------------------- |
37 |
dnl Checks for libggi |
38 |
dnl----------------------------------------------------------------------- |
39 |
-useggi="yes" |
40 |
-AC_CHECK_HEADERS(ggi/ggi.h,,useggi="no") |
41 |
-AC_CHECK_LIB(ggi, main,,useggi="no") |
42 |
-if test "$useggi" = 'yes';then |
43 |
- AC_DEFINE(HAVE_GGI_LIB) |
44 |
+AC_ARG_WITH([ggi], AS_HELP_STRING([--without-ggi], [Build without ggi library (default: test)])) |
45 |
+ |
46 |
+useggi='no' |
47 |
+if test "x$with_ggi" != "xno"; then |
48 |
+ AC_CHECK_HEADERS(ggi/ggi.h,,AC_ERROR([ggi.h not found])) |
49 |
+ AC_CHECK_LIB(ggi, ggiInit,, AC_ERROR([libggi not found])) |
50 |
+ useggi='yes' |
51 |
fi |
52 |
|
53 |
AC_OUTPUT([Makefile |
54 |
|
55 |
|
56 |
|
57 |
1.1 app-i18n/zhcon/files/zhcon-0.2.6.make-fix.patch |
58 |
|
59 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/zhcon/files/zhcon-0.2.6.make-fix.patch?rev=1.1&view=markup |
60 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/zhcon/files/zhcon-0.2.6.make-fix.patch?rev=1.1&content-type=text/plain |
61 |
|
62 |
Index: zhcon-0.2.6.make-fix.patch |
63 |
=================================================================== |
64 |
diff -Naur zhcon-0.2.5.orig/doc/Makefile.am zhcon-0.2.5/doc/Makefile.am |
65 |
--- zhcon-0.2.5.orig/doc/Makefile.am 2006-05-03 02:57:18.000000000 +0900 |
66 |
+++ zhcon-0.2.5/doc/Makefile.am 2011-01-25 18:08:26.483746175 +0900 |
67 |
@@ -3,8 +3,8 @@ |
68 |
EXTRA_DIST = zhcon.1.in poem.big5 poem.gb poem.gb.utf8 bpsf.txt manual.tex manual.dvi manual.ps README.html default.css html.tar.gz |
69 |
|
70 |
install-data-local: |
71 |
- $(mkinstalldirs) $(mandir)/man1/ |
72 |
- $(INSTALL_DATA) $(top_builddir)/doc/zhcon.1 $(mandir)/man1/zhcon.1 |
73 |
+ $(mkinstalldirs) $(DESTDIR)$(mandir)/man1/ |
74 |
+ $(INSTALL_DATA) $(top_builddir)/doc/zhcon.1 $(DESTDIR)$(mandir)/man1/zhcon.1 |
75 |
|
76 |
uninstall-local: |
77 |
- -rm -f $(mandir)/man1/zhcon.1 |
78 |
+ -rm -f $(DESTDIR)$(mandir)/man1/zhcon.1 |
79 |
diff -Naur zhcon-0.2.5.orig/font/Makefile.am zhcon-0.2.5/font/Makefile.am |
80 |
--- zhcon-0.2.5.orig/font/Makefile.am 2006-04-25 01:39:04.000000000 +0900 |
81 |
+++ zhcon-0.2.5/font/Makefile.am 2011-01-25 18:08:26.483746175 +0900 |
82 |
@@ -1,8 +1,8 @@ |
83 |
EXTRA_DIST = *.bpsf |
84 |
|
85 |
install-data-local: |
86 |
- $(mkinstalldirs) $(libdir)/zhcon/font/ |
87 |
- $(INSTALL_DATA) $(srcdir)/*.bpsf $(libdir)/zhcon/font/ |
88 |
+ $(mkinstalldirs) $(DESTDIR)$(libdir)/zhcon/font/ |
89 |
+ $(INSTALL_DATA) $(srcdir)/*.bpsf $(DESTDIR)$(libdir)/zhcon/font/ |
90 |
|
91 |
uninstall-local: |
92 |
- -rm -f $(libdir)/zhcon/font/*.bpsf |
93 |
+ -rm -f $(DESTDIR)$(libdir)/zhcon/font/*.bpsf |
94 |
diff -Naur zhcon-0.2.5.orig/input/Makefile.am zhcon-0.2.5/input/Makefile.am |
95 |
--- zhcon-0.2.5.orig/input/Makefile.am 2006-04-25 01:38:44.000000000 +0900 |
96 |
+++ zhcon-0.2.5/input/Makefile.am 2011-01-25 18:08:26.483746175 +0900 |
97 |
@@ -1,8 +1,8 @@ |
98 |
EXTRA_DIST = *.mb |
99 |
|
100 |
install-data-local: |
101 |
- $(mkinstalldirs) $(libdir)/zhcon/input/ |
102 |
- $(INSTALL_DATA) $(srcdir)/*.mb $(libdir)/zhcon/input/ |
103 |
+ $(mkinstalldirs) $(DESTDIR)$(libdir)/zhcon/input/ |
104 |
+ $(INSTALL_DATA) $(srcdir)/*.mb $(DESTDIR)$(libdir)/zhcon/input/ |
105 |
|
106 |
uninstall-local: |
107 |
- -rm -f $(libdir)/zhcon/input/*.mb |
108 |
+ -rm -f $(DESTDIR)$(libdir)/zhcon/input/*.mb |
109 |
diff -Naur zhcon-0.2.5.orig/src/Makefile.am zhcon-0.2.5/src/Makefile.am |
110 |
--- zhcon-0.2.5.orig/src/Makefile.am 2006-05-03 02:12:41.000000000 +0900 |
111 |
+++ zhcon-0.2.5/src/Makefile.am 2011-01-25 18:11:42.446555911 +0900 |
112 |
@@ -7,15 +7,12 @@ |
113 |
|
114 |
SUBDIRS = display |
115 |
|
116 |
-install-exec-local: |
117 |
- chmod 4755 $(bindir)/zhcon |
118 |
- |
119 |
install-data-local: |
120 |
- $(mkinstalldirs) $(prefix)/etc |
121 |
- $(INSTALL_DATA) $(srcdir)/zhcon.conf $(prefix)/etc/zhcon.conf |
122 |
+ $(mkinstalldirs) $(DESTDIR)$(sysconfdir) |
123 |
+ $(INSTALL_DATA) $(srcdir)/zhcon.conf $(DESTDIR)$(sysconfdir)/zhcon.conf |
124 |
|
125 |
uninstall-local: |
126 |
- -rm -f $(prefix)/etc/zhcon.conf |
127 |
+ -rm -f $(DESTDIR)$(sysconfdir)/zhcon.conf |
128 |
|
129 |
# set the include path found by configure |
130 |
INCLUDES= $(all_includes) |
131 |
diff -Naur zhcon-0.2.5.orig/tools/Makefile.am zhcon-0.2.5/tools/Makefile.am |
132 |
--- zhcon-0.2.5.orig/tools/Makefile.am 2006-04-25 01:38:46.000000000 +0900 |
133 |
+++ zhcon-0.2.5/tools/Makefile.am 2011-01-25 18:04:22.701226453 +0900 |
134 |
@@ -9,11 +9,6 @@ |
135 |
#getbpsf_LDADD = -L/usr/X11R6/lib -lX11 |
136 |
#getbpsf_CPPFLAGS = -I/usr/X11R6/include |
137 |
|
138 |
-LDFLAGS= |
139 |
-CXXFLAGS= |
140 |
-CCFLAGS= |
141 |
-LIBS= |
142 |
- |
143 |
EXTRA_DIST = README getbpsf.txt gpm-1.19.6-pty.diff\ |
144 |
gpm-1.19.6-patched.tar.gz |