avatar
Rosa has added bb742af85e
initial: add from SRPM
... ... --- /dev/null
... ... +++ b/.abf.yml
... ... @@ -0,0 +1,2 @@
1
sources:
2
  "gettext-0.18.1.1.tar.gz": 5009deb02f67fc3c59c8ce6b82408d1d35d4e38f
view file @ bb742af85e
... ... --- /dev/null
... ... +++ b/gettext-0.18.1-fix-str-fmt.patch
... ... @@ -0,0 +1,42 @@
1
--- gettext-tools/libgrep/m-fgrep.c.str	2010-06-06 12:41:55.000000000 +0200
2
+++ gettext-tools/libgrep/m-fgrep.c	2010-06-06 12:42:16.000000000 +0200
3
@@ -106,7 +106,7 @@
4
       for (lim = beg; lim < pattern + pattern_size && *lim != '\n'; ++lim)
5
         ;
6
       if ((err = kwsincr (ckwset->kwset, beg, lim - beg)) != NULL)
7
-        error (exit_failure, 0, err);
8
+        error (exit_failure, 0, "%s", err);
9
       if (lim < pattern + pattern_size)
10
         ++lim;
11
       beg = lim;
12
@@ -114,7 +114,7 @@
13
   while (beg < pattern + pattern_size);
14
 
15
   if ((err = kwsprep (ckwset->kwset)) != NULL)
16
-    error (exit_failure, 0, err);
17
+    error (exit_failure, 0, "%s", err);
18
   return ckwset;
19
 }
20
 
21
--- gettext-tools/libgrep/m-regex.c.str	2010-06-06 12:42:29.000000000 +0200
22
+++ gettext-tools/libgrep/m-regex.c	2010-06-06 12:42:46.000000000 +0200
23
@@ -106,7 +106,7 @@
24
 
25
         if ((err = re_compile_pattern (motif, len,
26
                                        &cregex->patterns[cregex->pcount].regexbuf)) != NULL)
27
-          error (exit_failure, 0, err);
28
+          error (exit_failure, 0, "%s", err);
29
         cregex->pcount++;
30
 
31
         motif = sep;
32
--- gettext-tools/gnulib-tests/test-xvasprintf.c.str	2010-06-06 13:06:19.000000000 +0200
33
+++ gettext-tools/gnulib-tests/test-xvasprintf.c	2010-06-06 13:07:12.000000000 +0200
34
@@ -95,7 +95,7 @@
35
   {
36
     /* Silence gcc warning about zero-length format string.  */
37
     char *empty = "";
38
-    result = xasprintf (empty);
39
+    result = xasprintf ("%s", empty);
40
     ASSERT (result != NULL);
41
     ASSERT (strcmp (result, "") == 0);
42
     free (result);
view file @ bb742af85e
... ... --- /dev/null
... ... +++ b/gettext-0.18.1.1-linkage.patch
... ... @@ -0,0 +1,34 @@
1
diff --git a/gettext-tools/libgettextpo/Makefile.am b/gettext-tools/libgettextpo/Makefile.am
2
index a96c36d..cc6395f 100644
3
--- a/gettext-tools/libgettextpo/Makefile.am
4
+++ b/gettext-tools/libgettextpo/Makefile.am
5
@@ -98,11 +98,11 @@ LTV_AGE=5
6
 # How to build libgettextpo.la.
7
 # Don't make it depend on libgettextsrc.la or libgettextlib.la, since they
8
 # define an uncontrolled amount of symbols.
9
-libgettextpo_la_LIBADD = libgnu.la $(WOE32_LIBADD) $(LTLIBUNISTRING)
10
+libgettextpo_la_LIBADD = libgnu.la $(WOE32_LIBADD) $(LTLIBUNISTRING) @LTLIBINTL@ @LTLIBICONV@ -lc
11
 libgettextpo_la_LDFLAGS = \
12
   -version-info $(LTV_CURRENT):$(LTV_REVISION):$(LTV_AGE) \
13
   -rpath $(libdir) \
14
-  @LTLIBINTL@ @LTLIBICONV@ -lc @LTNOUNDEF@
15
+  @LTNOUNDEF@
16
 
17
 # Tell the mingw or Cygwin linker which symbols to export.
18
 if WOE32DLL
19
diff --git a/gettext-tools/src/Makefile.am b/gettext-tools/src/Makefile.am
20
index d9e7646..509f0fa 100644
21
--- a/gettext-tools/src/Makefile.am
22
+++ b/gettext-tools/src/Makefile.am
23
@@ -219,8 +219,9 @@ urlget_SOURCES = urlget.c
24
 # Need @LTLIBICONV@ because po-charset.c, po-lex.c, msgl-iconv.c, write-po.c
25
 # use iconv().
26
 libgettextsrc_la_LDFLAGS = \
27
-  -release @VERSION@ \
28
-  ../gnulib-lib/libgettextlib.la $(LTLIBUNISTRING) @LTLIBINTL@ @LTLIBICONV@ -lc @LTNOUNDEF@
29
+  -release @VERSION@ @LTNOUNDEF@
30
+libgettextsrc_la_LIBADD = \
31
+  ../gnulib-lib/libgettextlib.la $(LTLIBUNISTRING) @LTLIBINTL@ @LTLIBICONV@ -lc
32
 
33
 # Tell the mingw or Cygwin linker which symbols to export.
34
 if WOE32DLL
view file @ bb742af85e
... ... --- /dev/null
... ... +++ b/gettext.spec
... ... @@ -0,0 +1,513 @@
1
%define major 8
2
%define intllibname %mklibname intl %{major}
3
%define misclibname %mklibname gettextmisc
4
5
%define do_check 1
6
%{?_without_check: %global do_check 0}
7
8
%define enable_java 0
9
%{?_without_java: %global enable_java 0}
10
11
%define enable_csharp 0
12
%{?_with_csharp: %global enable_csharp 1}
13
14
Name:		gettext
15
Summary:	GNU libraries and utilities for producing multi-lingual messages
16
Version:	0.18.1.1
17
Release:	%mkrel 2
18
License:	GPL
19
Group:		System/Internationalization
20
URL:		http://www.gnu.org/software/gettext/
21
Source:		ftp://ftp.gnu.org/pub/gnu/%{name}/%{name}-%{version}.tar.gz
22
Source1:	%{SOURCE0}.sig
23
Source2:	po-mode-init.el
24
Patch8:		gettext-0.18.1-fix-str-fmt.patch
25
Patch9:		gettext-0.18.1.1-linkage.patch
26
# (Abel) we pick mono here, though pnet can be used as well.
27
%if %enable_csharp
28
BuildRequires:	mono
29
%endif
30
%if %enable_java
31
BuildRequires:	eclipse-ecj
32
BuildRequires:	gcc-java
33
BuildRequires:	gcj-tools
34
BuildRequires:	fastjar
35
%endif
36
BuildRequires:  automake
37
BuildRequires:	bison
38
BuildRequires:	flex
39
BuildRequires:	emacs-bin
40
BuildRequires:	texinfo
41
BuildRequires:	libgomp-devel
42
BuildRequires:	libcroco0.6-devel
43
BuildRequires:	libunistring-devel
44
BuildRequires:	ncurses-devel
45
BuildRequires:	libxml2-devel
46
BuildRequires:	acl-devel
47
# test suite
48
BuildRequires:	locales-fa
49
BuildRequires:	locales-fr
50
BuildRequires:	locales-ja
51
BuildRequires:	locales-zh
52
53
Requires:	%{name}-base = %{version}
54
Requires:	%{misclibname} = %{version}
55
# xgettext will dlopen() it when extracting strings from glade files
56
Requires:	%mklibname expat 1
57
Requires(post):	info-install
58
Requires(preun): info-install
59
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-buildroot
60
61
%description
62
The GNU gettext package provides a set of tools and documentation for producing
63
multi-lingual messages in programs. Tools include a set of conventions about
64
how programs should be written to support message catalogs, a directory and
65
file naming organization for the message catalogs, a runtime library which
66
supports the retrieval of translated messages, and stand-alone programs for
67
handling the translatable and the already translated strings. Gettext provides
68
an easy to use library and tools for creating, using, and modifying natural
69
language catalogs and is a powerful and simple method for internationalizing
70
programs.
71
72
If you would like to internationalize or incorporate multi-lingual messages
73
into programs that you're developing, you should install gettext.
74
75
Build Option:
76
--with csharp          Enables C# support in gettext
77
--without java         Disables Java support in gettext
78
79
%package	-n %{intllibname}
80
Summary:	Basic libintl library for internationalization
81
Group:		System/Libraries
82
License:	LGPL
83
Provides:	libintl = %{version}-%{release}
84
85
%description	-n %{intllibname}
86
This package contains the libintl library, which is important for
87
system internationalization.
88
89
%package	-n %{misclibname}
90
Summary:	Other %{name} libraries needed by %{name} utilities
91
Group:		System/Libraries
92
License:	LGPL
93
Provides:       libgettextmisc
94
95
%description	-n %{misclibname}
96
This package contains all other libraries used by %{name} utilities,
97
and are not very widely used outside %{name}.
98
99
%package	devel
100
Summary:	Development files for %{name}
101
Group:		Development/C
102
License:	LGPL
103
Requires:	%{name} = %{version}
104
# fwang: autopoint requires cvs to work
105
Requires:	cvs
106
Requires(post): info-install
107
Requires(preun): info-install
108
109
%description	devel
110
This package contains all development related files necessary for
111
developing or compiling applications/libraries that needs
112
internationalization capability. You also need this package if you
113
want to add gettext support for your project.
114
115
%package	base
116
Summary:	Basic binary for showing translation of textual messages
117
Group:		System/Internationalization
118
Requires:	%{intllibname} = %{version}
119
Conflicts: gettext < 0.14.5-3mdk
120
121
%description	base
122
This package contains the basic binary from %{name}. It is splitted from
123
%{name} because initscript need it to show translated boot messages.
124
125
%if %enable_java
126
%package	java
127
Summary:	Java binding for GNU gettext
128
Group:		System/Internationalization
129
Requires:	%{name} = %{version}
130
131
%description	java
132
This package contains class file that implements the main GNU libintl
133
functions in Java. This allows compiling GNU gettext message catalogs
134
into Java ResourceBundle classes.
135
%endif
136
137
%if %enable_csharp
138
%package	csharp
139
Summary:	C# binding for GNU gettext
140
Group:		System/Internationalization
141
Requires:	mono
142
143
%description	csharp
144
This package contains class file that implements the main GNU libintl
145
functions in C#. This allows compiling GNU gettext message catalogs
146
into C# dll or resource files.
147
%endif
148
149
%prep
150
%setup -q
151
%patch8 -p0 -b .str
152
%patch9 -p1 -b .link
153
154
%build
155
156
%if %enable_java
157
export GCJ="%{_bindir}/gcj"
158
export JAVAC="%{_bindir}/gcj -C"
159
export JAR="%{_bindir}/fastjar"
160
%endif
161
162
autoreconf -fi
163
for i in `find -name configure|sort`
164
do
165
pushd `dirname $i`
166
%configure2_5x \
167
	--enable-shared \
168
	--with-included-gettext \
169
%if %enable_csharp
170
	--enable-csharp=mono \
171
%else
172
	--disable-csharp \
173
%endif
174
%if ! %enable_java
175
	--disable-java \
176
%endif
177
178
popd
179
done
180
181
%make
182
183
%if %do_check
184
%check
185
export JAVAC=ecj
186
LC_ALL=C make check
187
%endif
188
189
%install
190
rm -rf $RPM_BUILD_ROOT
191
%makeinstall_std
192
193
# remove unwanted files
194
rm -f $RPM_BUILD_ROOT%{_includedir}/libintl.h \
195
      $RPM_BUILD_ROOT%{_datadir}/locale/locale.alias
196
rm -f gettext-runtime/intl-java/javadoc2/package-list
197
198
install -D -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/emacs/site-start.d/%{name}.el
199
200
# remove non-standard lc directories
201
for i in en@boldquot en@quot ; do rm -rf $RPM_BUILD_ROOT/%{_datadir}/locale/$i; done
202
203
# move installed doc back to %%doc
204
rm -rf htmldoc examples
205
mkdir htmldoc
206
for i in gettext-runtime/man/*.html; do
207
  rm -f $RPM_BUILD_ROOT%{_datadir}/doc/gettext/`basename $i`
208
done
209
rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/gettext/javadoc*
210
mv $RPM_BUILD_ROOT%{_datadir}/doc/gettext/* $RPM_BUILD_ROOT/%{_datadir}/doc/libasprintf/* htmldoc
211
mv htmldoc/examples examples
212
213
# move crucial stuff to /lib and /bin
214
pushd $RPM_BUILD_ROOT
215
mkdir -p bin
216
mkdir -p ./%{_lib}
217
mv usr/bin/gettext bin/
218
ln -s ../../bin/gettext usr/bin/gettext
219
mv .%{_libdir}/libintl.so.* ./%{_lib}/
220
rm -f .%{_libdir}/libintl.so
221
# if major changed, then package build will fail, which is a GOOD THING.
222
# this prevents mindless packaging.
223
[ -f %{_lib}/libintl.so.%{major} ] && \
224
  ln -s ../../%{_lib}/libintl.so.%{major} .%{_libdir}/libintl.so
225
popd
226
227
# remove java stuff, otherwise rpm complains
228
%if !%enable_java
229
rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/gnu.gettext.* \
230
      $RPM_BUILD_ROOT%{_datadir}/%{name}/*.jar
231
%endif
232
233
%find_lang %{name} --all-name
234
235
%clean
236
rm -rf $RPM_BUILD_ROOT
237
238
%post
239
%_install_info %{name}.info
240
241
%preun
242
%_remove_install_info %{name}.info
243
244
%post devel
245
%_install_info autosprintf.info
246
247
%preun devel
248
%_remove_install_info autosprintf.info
249
250
%if %mdkversion < 200900
251
%post -n %{intllibname} -p /sbin/ldconfig
252
%endif
253
%if %mdkversion < 200900
254
%postun -n %{intllibname} -p /sbin/ldconfig
255
%endif
256
257
%if %mdkversion < 200900
258
%post -n %{misclibname} -p /sbin/ldconfig
259
%endif
260
%if %mdkversion < 200900
261
%postun -n %{misclibname} -p /sbin/ldconfig
262
%endif
263
264
%files
265
%defattr(-,root,root)
266
%doc AUTHORS README COPYING gettext-runtime/ABOUT-NLS gettext-runtime/BUGS NEWS THANKS 
267
%config(noreplace) %{_sysconfdir}/emacs/site-start.d/*.el
268
%{_bindir}/envsubst
269
%{_bindir}/gettext.sh
270
%{_bindir}/msg*
271
%{_bindir}/recode-sr-latin
272
%{_bindir}/xgettext
273
%dir %{_datadir}/gettext
274
%{_datadir}/%{name}/msgunfmt.tcl
275
%{_datadir}/%{name}/projects
276
%{_datadir}/%{name}/javaversion.class
277
%{_datadir}/%{name}/styles
278
%dir %{_libdir}/%{name}
279
%{_libdir}/%{name}/hostname
280
%{_libdir}/%{name}/project-id
281
%{_libdir}/%{name}/urlget
282
%{_libdir}/%{name}/user-email
283
%if %enable_java
284
%exclude %{_libdir}/%{name}/gnu.gettext.*
285
%endif
286
%{_infodir}/gettext.*
287
%{_datadir}/emacs/site-lisp/*.el*
288
%{_mandir}/man1/envsubst.*
289
%{_mandir}/man1/msg*
290
%{_mandir}/man1/xgettext.*
291
%{_mandir}/man1/recode-sr-latin.*
292
293
%files base -f %{name}.lang
294
%defattr(-,root,root)
295
%doc gettext-runtime/man/*.1.html
296
/bin/gettext
297
%{_bindir}/gettext
298
%{_bindir}/ngettext
299
%{_mandir}/man1/gettext*
300
%{_mandir}/man1/ngettext*
301
302
%files -n %{intllibname}
303
%defattr(-,root,root)
304
%doc gettext-runtime/intl/COPYING*
305
/%{_lib}/lib*.so.*
306
307
%files -n %{misclibname}
308
%defattr(-,root,root)
309
%doc gettext-runtime/intl/COPYING*
310
%{_libdir}/lib*-*.*.so
311
%{_libdir}/lib*.so.*
312
313
%files devel
314
%defattr(-,root,root)
315
%doc gettext-runtime/man/*.3.html examples htmldoc
316
%{_bindir}/autopoint
317
%{_bindir}/gettextize
318
%{_datadir}/%{name}/ABOUT-NLS
319
%{_datadir}/%{name}/archive*
320
%{_datadir}/%{name}/config.rpath
321
%{_datadir}/%{name}/*.h
322
%{_datadir}/%{name}/intl
323
%{_datadir}/%{name}/po
324
%{_datadir}/aclocal/*
325
%{_includedir}/*
326
%{_infodir}/autosprintf*
327
%{_libdir}/lib*.a
328
%{_libdir}/lib*.la
329
# "lib*.so" cannot be used (it should be 'lib[^\.]*\.so' regexp in fact
330
# but using regexp is not possible here; so we list all files manually
331
%{_libdir}/libasprintf.so
332
%{_libdir}/libgettextlib.so
333
%{_libdir}/libgettextpo.so
334
%{_libdir}/libgettextsrc.so
335
%{_libdir}/libintl.so
336
%{_mandir}/man1/autopoint.*
337
%{_mandir}/man3/*
338
339
%if %enable_java
340
%files java
341
%defattr(-,root,root)
342
%doc gettext-runtime/intl-java/javadoc*
343
%{_libdir}/%{name}/gnu.gettext.*
344
%{_datadir}/%{name}/*.jar
345
%endif
346
347
%if %enable_csharp
348
%files csharp
349
%defattr(-,root,root)
350
%doc gettext-runtime/intl-csharp/csharpdoc/*
351
%{_libdir}/*.dll
352
%{_libdir}/gettext/*.exe
353
%endif
354
355
356
%changelog
357
* Tue May 03 2011 Oden Eriksson <oeriksson@mandriva.com> 0.18.1.1-2mdv2011.0
358
+ Revision: 664824
359
- mass rebuild
360
361
* Fri Jul 09 2010 Funda Wang <fwang@mandriva.org> 0.18.1.1-1mdv2011.0
362
+ Revision: 549878
363
- New version 0.18.1.1
364
365
* Thu Apr 29 2010 Christophe Fergeau <cfergeau@mandriva.com> 0.17-9mdv2010.1
366
+ Revision: 540832
367
- rebuild so that shared libraries are properly stripped again
368
369
* Wed Apr 28 2010 Christophe Fergeau <cfergeau@mandriva.com> 0.17-8mdv2010.1
370
+ Revision: 540340
371
- rebuild so that shared libraries are properly stripped again
372
373
* Wed Apr 28 2010 Christophe Fergeau <cfergeau@mandriva.com> 0.17-7mdv2010.1
374
+ Revision: 540026
375
- rebuild so that shared libraries are properly stripped again
376
377
* Sun Mar 14 2010 Oden Eriksson <oeriksson@mandriva.com> 0.17-6mdv2010.1
378
+ Revision: 519004
379
- rebuild
380
381
* Wed Sep 02 2009 Christophe Fergeau <cfergeau@mandriva.com> 0.17-5mdv2010.0
382
+ Revision: 424835
383
- rebuild
384
385
* Sat Dec 20 2008 Oden Eriksson <oeriksson@mandriva.com> 0.17-4mdv2009.1
386
+ Revision: 316753
387
- added some more -Werror=format-security fixes
388
- fix build with -Werror=format-security (P8)
389
- added some required conditional spec file voodoo magic
390
391
* Sun Jun 29 2008 Oden Eriksson <oeriksson@mandriva.com> 0.17-3mdv2009.0
392
+ Revision: 229927
393
- added P7 from fedora to make it build with glibc28
394
395
  + Thierry Vignaud <tv@mandriva.org>
396
    - rebuild
397
    - kill re-definition of %%buildroot on Pixel's request
398
    - move HTML doc in devel sub package
399
400
  + Pixel <pixel@mandriva.com>
401
    - do not call ldconfig in %%post/%%postun, it is now handled by filetriggers
402
403
  + Olivier Blin <oblin@mandriva.com>
404
    - restore BuildRoot
405
406
* Sat Nov 10 2007 Funda Wang <fwang@mandriva.org> 0.17-1mdv2008.1
407
+ Revision: 107431
408
- fix file list
409
- drop old gettext-tools fr translation.
410
- New version 0.17
411
412
* Wed Sep 26 2007 Funda Wang <fwang@mandriva.org> 0.16.1-4mdv2008.0
413
+ Revision: 93043
414
- fix building by adding BR
415
416
* Thu Jun 07 2007 Tomasz Pawel Gajc <tpg@mandriva.org> 0.16.1-3mdv2008.0
417
+ Revision: 36885
418
- rebuild for expat
419
420
* Sun May 27 2007 Funda Wang <fwang@mandriva.org> 0.16.1-2mdv2008.0
421
+ Revision: 31725
422
- gettext-devel (autopoint) requires cvs to work
423
424
425
* Thu Feb 08 2007 Thierry Vignaud <tvignaud@mandriva.com> 0.16.1-1mdv2007.0
426
+ Revision: 118110
427
- update sig
428
- new release
429
430
  + Gwenole Beauchesne <gbeauchesne@mandriva.com>
431
432
* Fri Jan 12 2007 Nicolas Lécureuil <neoclust@mandriva.org> 0.16-3mdv2007.1
433
+ Revision: 107741
434
- Build w/o java support
435
- Fix file list when builded w/o java
436
- Fix Provides
437
438
  + Thierry Vignaud <tvignaud@mandriva.com>
439
    - fix build
440
    - simplif doble buildrequire
441
    - fix buildrequires for test suite
442
    - parallel build is currently broken
443
    - update file list for 0.16
444
    - new release
445
    - major was bumped
446
    - new release
447
448
* Tue Oct 31 2006 Oden Eriksson <oeriksson@mandriva.com> 0.14.6-5mdv2007.1
449
+ Revision: 74673
450
- rebuild
451
- bzip2 cleanup
452
- fix build for the java stuff
453
- rebuild
454
- bunzip patches
455
- Import gettext
456
457
* Thu Jun 29 2006 Thierry Vignaud <tvignaud@mandriva.com> 0.14.6-1mdv2007.0
458
- new release
459
- rediff patch 2
460
- fix running test suite in a l10n environment
461
- move autopoint in the devel sub package (#22553)
462
- patch 6: workaround broken testsuite
463
464
* Sat Aug 13 2005 Gwenole Beauchesne <gbeauchesne@mandriva.com> 0.14.5-2mdk
465
- build --disabled-shared autoconf-lib-link tests --with-pic
466
467
* Mon Jul 04 2005 Abel Cheung <deaddog@mandriva.org> 0.14.5-1mdk
468
- New release
469
470
* Sun Apr 17 2005 Abel Cheung <deaddog@mandriva.org> 0.14.4-1mdk
471
- New version
472
- Not applying libtool x86_64 patch for now, looks like bundled libtool
473
  (1.5.14) has x86_64 support
474
- Rediff patch5
475
- Remove patch6 (similar fix upstream), patch7 (upstream)
476
- S3: Use alternative french translation (#14341)
477
478
* Fri Nov 26 2004 Abel Cheung <deaddog@mandrake.org> 0.14.1-10mdk
479
- P6: fix CAN-2004-0966 (scripts allow symlink attack on temp files)
480
- P7: assorted CVS fixes
481
- Split C# stuff into another package if people really compile RPM with C# support
482
483
* Tue Sep 21 2004 Christiaan Welvaart <cjw@daneel.dyndns.org> 0.14.1-9mdk
484
- fix buildrequires (automake1.7 -> automake1.8)
485
486
* Wed Jul 28 2004 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com> 0.14.1-8mdk
487
- merge from amd64-branch: fix broken built-in libtool
488
489
* Fri Jun 04 2004 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com> 0.14.1-7mdk
490
- rebuild against gcc3.4
491
492
* Tue Jun 01 2004 Götz Waschk <waschk@linux-mandrake.com> 0.14.1-6mdk
493
- fix emacs site-start file
494
495
* Sun May 23 2004 Abel Cheung <deaddog@deaddog.org> 0.14.1-5mdk
496
- Drop patch0 (libtool) and patch1 (newer javac don't output error when
497
  copying class file onto itself anymore)
498
- Can optionally build C# support (using mono)
499
500
* Sat Apr 24 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 0.14.1-4mdk
501
- fix %%_libdir/libintl.so link
502
503
* Thu Apr 22 2004 Götz Waschk <waschk@linux-mandrake.com> 0.14.1-3mdk
504
- fix emacs site-start script
505
506
* Tue Apr 20 2004 Per Øyvind Karlsen <peroyvind@linux-mandrake.com> 0.14.1-2mdk
507
- fix provides (from Charles A Edwards <eslrahc@bellsouth.net>)
508
509
* Mon Apr 19 2004 Per Øyvind Karlsen <peroyvind@linux-mandrake.com> 0.14.1-1mdk
510
- 0.14.1
511
- bump major to 3
512
- nuke unpackaged files
513
view file @ bb742af85e
... ... --- /dev/null
... ... +++ b/po-mode-init.el
... ... @@ -0,0 +1,13 @@
1
;; Use po-mode for translation files
2
3
(autoload 'po-mode "po-mode" 
4
  "Major mode for translators to edit PO files" t)
5
(setq auto-mode-alist (cons '("\\.po[tx]?\\'\\|\\.po\\." . po-mode)
6
                            auto-mode-alist))
7
8
;;; To automatically use proper fonts under Emacs 20, also add:
9
10
(autoload 'po-find-file-coding-system "po-compat")
11
(modify-coding-system-alist 'file "\\.po[tx]?\\'\\|\\.po\\."
12
                            'po-find-file-coding-system)
13

Comments