unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* gettext bindings
@ 2002-09-29 10:50 Stanislas Pinte
  2002-09-29 13:15 ` Bo Forslund
  2002-09-30 18:38 ` Neil Jerram
  0 siblings, 2 replies; 6+ messages in thread
From: Stanislas Pinte @ 2002-09-29 10:50 UTC (permalink / raw)


hello,

I have problems applying the patch

http://www.glug.org/patches/2001-07-29.gettext-support/

to the guile-1.6.0.tar.gz sources...

I tried to issue a "patch -i ../guile-gettext" in the fresh guile-1.6.0 
source tree, but the directories in ../guile-gettext are not being 
copied, and I am seeing patching errors...

--> If I copy the directories manually in the 1.6.0 source tree, they 
are not being compiled.

Any idea on how to apply the patch?

thanks a lot,

Stan.





_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-user


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: gettext bindings
  2002-09-29 10:50 gettext bindings Stanislas Pinte
@ 2002-09-29 13:15 ` Bo Forslund
  2002-09-30 16:29   ` Stanislas Pinte
  2002-09-30 18:38 ` Neil Jerram
  1 sibling, 1 reply; 6+ messages in thread
From: Bo Forslund @ 2002-09-29 13:15 UTC (permalink / raw)
  Cc: guile-user, David Pirotte

Try

	gzip -cd patchname.patch.gz | patch -p0

if the patch is a .gz that is (bzip2 -cd ... if it a .bz2), if it is an
unpacked patch 

	
	 patch -p0 < patchname.patch



Bo


On Sun, 2002-09-29 at 12:50, Stanislas Pinte wrote:
> hello,
> 
> I have problems applying the patch
> 
> http://www.glug.org/patches/2001-07-29.gettext-support/
> 
> to the guile-1.6.0.tar.gz sources...
> 
> I tried to issue a "patch -i ../guile-gettext" in the fresh guile-1.6.0 
> source tree, but the directories in ../guile-gettext are not being 
> copied, and I am seeing patching errors...
> 
> --> If I copy the directories manually in the 1.6.0 source tree, they 
> are not being compiled.
> 
> Any idea on how to apply the patch?
> 
> thanks a lot,
> 
> Stan.
> 
> 
> 
> 
> 
> _______________________________________________
> Guile-user mailing list
> Guile-user@gnu.org
> http://mail.gnu.org/mailman/listinfo/guile-user




_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-user


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: gettext bindings
  2002-09-29 13:15 ` Bo Forslund
@ 2002-09-30 16:29   ` Stanislas Pinte
  0 siblings, 0 replies; 6+ messages in thread
From: Stanislas Pinte @ 2002-09-30 16:29 UTC (permalink / raw)
  Cc: guile-user, David Pirotte



Bo Forslund wrote:

> Try
> 
> 	gzip -cd patchname.patch.gz | patch -p0
> 
> if the patch is a .gz that is (bzip2 -cd ... if it a .bz2), if it is an
> unpacked patch 
> 
> 	
> 	 patch -p0 < patchname.patch
> 
> 




well, I tried this, but some fixes are problematic....and explains with 
the new files (from the guile-gettext binding) do not get compiled


stan@pablo:/usr/local/src/guile/guile-1.6.0 7 $ patch -p0 < ../guile-gettext/guile.patch 
patching file ChangeLog
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file ChangeLog.rej
patching file Makefile.am
Hunk #1 FAILED at 20.
1 out of 1 hunk FAILED -- saving rejects to file Makefile.am.rej
patching file THANKS
Reversed (or previously applied) patch detected!  Assume -R? [n] y
Hunk #1 succeeded at 66 with fuzz 2 (offset 16 lines).
patching file configure.in
Hunk #1 succeeded at 188 with fuzz 2 (offset 22 lines).
Hunk #2 succeeded at 705 (offset 81 lines).
Hunk #3 FAILED at 728.
1 out of 3 hunks FAILED -- saving rejects to file configure.in.rej
patching file ice-9/ChangeLog
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file ice-9/ChangeLog.rej
patching file ice-9/Makefile.am
Hunk #1 FAILED at 32.
1 out of 1 hunk FAILED -- saving rejects to file ice-9/Makefile.am.rej
patching file libguile/ChangeLog
Hunk #1 FAILED at 1.
Hunk #2 FAILED at 49.
Hunk #3 FAILED at 908.
3 out of 3 hunks FAILED -- saving rejects to file libguile/ChangeLog.rej
patching file libguile/Makefile.am
Hunk #1 succeeded at 180 (offset 9 lines).
patching file libguile/read.c
Hunk #4 succeeded at 849 with fuzz 1 (offset 1 line).
patching file scripts/ChangeLog
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file scripts/ChangeLog.rej
patching file scripts/Makefile.am
Hunk #1 FAILED at 30.
1 out of 1 hunk FAILED -- saving rejects to file scripts/Makefile.am.rej



thanks a lot for your help...


> 
> Bo
> 
> 
> On Sun, 2002-09-29 at 12:50, Stanislas Pinte wrote:
> 
>>hello,
>>
>>I have problems applying the patch
>>
>>http://www.glug.org/patches/2001-07-29.gettext-support/
>>
>>to the guile-1.6.0.tar.gz sources...
>>
>>I tried to issue a "patch -i ../guile-gettext" in the fresh guile-1.6.0 
>>source tree, but the directories in ../guile-gettext are not being 
>>copied, and I am seeing patching errors...
>>
>>--> If I copy the directories manually in the 1.6.0 source tree, they 
>>are not being compiled.
>>
>>Any idea on how to apply the patch?
>>
>>thanks a lot,
>>
>>Stan.
>>
>>
>>
>>
>>
>>_______________________________________________
>>Guile-user mailing list
>>Guile-user@gnu.org
>>http://mail.gnu.org/mailman/listinfo/guile-user
>>
> 
> 
> 
> 





_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-user


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: gettext bindings
  2002-09-29 10:50 gettext bindings Stanislas Pinte
  2002-09-29 13:15 ` Bo Forslund
@ 2002-09-30 18:38 ` Neil Jerram
  2002-10-01 16:51   ` Stanislas Pinte
  2002-10-01 19:23   ` Stanislas Pinte
  1 sibling, 2 replies; 6+ messages in thread
From: Neil Jerram @ 2002-09-30 18:38 UTC (permalink / raw)
  Cc: guile-user, David Pirotte

>>>>> "Stanislas" == Stanislas Pinte <alto_stan@wanadoo.be> writes:

    Stanislas> hello,
    Stanislas> I have problems applying the patch

    Stanislas> http://www.glug.org/patches/2001-07-29.gettext-support/

    Stanislas> to the guile-1.6.0.tar.gz sources...

Given the time difference, I wouldn't expect this patch to apply
cleanly.  I believe it is on Marius's TODO list to look at this patch
sometime ...

ISTR that the patch is non-trivial because of its changes to the
reader which could affect performance.  Any thoughts on whether your
use of the patch would need those changes?

        Neil



_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-user


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: gettext bindings
  2002-09-30 18:38 ` Neil Jerram
@ 2002-10-01 16:51   ` Stanislas Pinte
  2002-10-01 19:23   ` Stanislas Pinte
  1 sibling, 0 replies; 6+ messages in thread
From: Stanislas Pinte @ 2002-10-01 16:51 UTC (permalink / raw)
  Cc: guile-user, David Pirotte



Neil Jerram wrote:

>>>>>>"Stanislas" == Stanislas Pinte <alto_stan@wanadoo.be> writes:
>>>>>>
> 
>     Stanislas> hello,
>     Stanislas> I have problems applying the patch
> 
>     Stanislas> http://www.glug.org/patches/2001-07-29.gettext-support/
> 
>     Stanislas> to the guile-1.6.0.tar.gz sources...
> 
> Given the time difference, I wouldn't expect this patch to apply
> cleanly.  I believe it is on Marius's TODO list to look at this patch
> sometime ...
> 
> ISTR that the patch is non-trivial because of its changes to the
> reader which could affect performance.  Any thoughts on whether your
> use of the patch would need those changes?



I suppose that the changes to the reader are needed just for the 
xgettext script....


--> I just need the basic gettext binding, I can generate all .po files 
myself...


I will try to fiddle with the patch manually....

Stan.


> 
>         Neil
> 
> 
> 
> 




_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-user


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: gettext bindings
  2002-09-30 18:38 ` Neil Jerram
  2002-10-01 16:51   ` Stanislas Pinte
@ 2002-10-01 19:23   ` Stanislas Pinte
  1 sibling, 0 replies; 6+ messages in thread
From: Stanislas Pinte @ 2002-10-01 19:23 UTC (permalink / raw)
  Cc: guile-user, David Pirotte

hello,

I did the following:

-started from a clean guile-1.6.0.tar.gz
-applied all the modifications of the 
http://www.glug.org/patches/2001-07-29.gettext-support/ by hand, in the 
guil-1.6.0 source tree.
-installed GNU autoconf 2.53, to be able to generate a new ./configure 
script
-installed GNU gettext 0.10.36 because AM_GNU_GETTEXT M4 macro is needed.
-successfully runned autoconf
-issued a "./configure" --with-threads. Apparently no problem....
-issued a "make"....

got the following errors:

stan@pablo:/usr/local/src/guile/guile-1.6.0 144 $ make
make  all-recursive
make[1]: Entering directory `/usr/local/src/guile/guile-1.6.0'
Making all in oop
make[2]: Entering directory `/usr/local/src/guile/guile-1.6.0/oop'
Making all in goops
make[3]: Entering directory `/usr/local/src/guile/guile-1.6.0/oop/goops'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/src/guile/guile-1.6.0/oop/goops'
make[3]: Entering directory `/usr/local/src/guile/guile-1.6.0/oop'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/usr/local/src/guile/guile-1.6.0/oop'
make[2]: Leaving directory `/usr/local/src/guile/guile-1.6.0/oop'
Making all in qt
make[2]: Entering directory `/usr/local/src/guile/guile-1.6.0/qt'
Making all in md
make[3]: Entering directory `/usr/local/src/guile/guile-1.6.0/qt/md'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/src/guile/guile-1.6.0/qt/md'
Making all in time
make[3]: Entering directory `/usr/local/src/guile/guile-1.6.0/qt/time'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/src/guile/guile-1.6.0/qt/time'
make[3]: Entering directory `/usr/local/src/guile/guile-1.6.0/qt'
make[3]: *** No rule to make target `@QTHREAD_LTLIBS@', needed by 
`all-am'.  Stop.
make[3]: Leaving directory `/usr/local/src/guile/guile-1.6.0/qt'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/guile/guile-1.6.0/qt'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/guile/guile-1.6.0'
make: *** [all] Error 2
stan@pablo:/usr/local/src/guile/guile-1.6.0 145 $


thanks for your help....

Stan.



Neil Jerram wrote:

>>>>>>"Stanislas" == Stanislas Pinte <alto_stan@wanadoo.be> writes:
>>>>>>
> 
>     Stanislas> hello,
>     Stanislas> I have problems applying the patch
> 
>     Stanislas> http://www.glug.org/patches/2001-07-29.gettext-support/
> 
>     Stanislas> to the guile-1.6.0.tar.gz sources...
> 
> Given the time difference, I wouldn't expect this patch to apply
> cleanly.  I believe it is on Marius's TODO list to look at this patch
> sometime ...
> 
> ISTR that the patch is non-trivial because of its changes to the
> reader which could affect performance.  Any thoughts on whether your
> use of the patch would need those changes?
> 
>         Neil
> 
> 
> 
> 




_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-user


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2002-10-01 19:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-29 10:50 gettext bindings Stanislas Pinte
2002-09-29 13:15 ` Bo Forslund
2002-09-30 16:29   ` Stanislas Pinte
2002-09-30 18:38 ` Neil Jerram
2002-10-01 16:51   ` Stanislas Pinte
2002-10-01 19:23   ` Stanislas Pinte

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).