Re: [Ekiga-devel-list] Warning for revision.h

2009-05-01 Thread Michael Rickmann
Am Donnerstag, den 30.04.2009, 16:41 +0200 schrieb Eugen Dedu:
 Hi,
 
 After the update of revision.h I receive the following wraning:
 Making install in src
 /bin/sh: line 0: cd: ../.git: No such file or directory
 fatal: Not a git repository (or any of the parent directories): .git
 /bin/sh: line 0: cd: ../.git: No such file or directory
 fatal: Not a git repository (or any of the parent directories): .git
 make[2]: Entering directory 
 `/home/dedu/softs/ekiga/toto/ekiga-3.2.0+git20090430.81e65f/src'
 /usr/bin/make  install-am
 /bin/sh: line 0: cd: ../.git: No such file or directory
 fatal: Not a git repository (or any of the parent directories): .git
 /bin/sh: line 0: cd: ../.git: No such file or directory
 fatal: Not a git repository (or any of the parent directories): .git
 make[3]: Entering directory 
 `/home/dedu/softs/ekiga/toto/ekiga-3.2.0+git20090430.81e65f/src'
 /bin/sh: line 0: cd: ../.git: No such file or directory
 fatal: Not a git repository (or any of the parent directories): .git
 /bin/sh: line 0: cd: ../.git: No such file or directory
 fatal: Not a git repository (or any of the parent directories): .git
 make[4]: Entering directory 
 `/home/dedu/softs/ekiga/toto/ekiga-3.2.0+git20090430.81e65f/src'
 
 This is because cd ../.git is always executed in src/Makefile.am:
 GIT_REVISION=\$(shell (cd ../.git; git describe ))\
 CACHED_REVISION=$(shell cat revision.h 2/dev/null | cut -c24-)
 
 There should be an if before the cd...
 
Sorry, I did not recognize that the $(shell ) constructs are executed
each time a Makefile is read. Could you test attached patch? It seems
allright for me.
Regards
Michael

diff -ur ekiga.orig/src/Makefile.am ekiga/src/Makefile.am
--- ekiga.orig/src/Makefile.am	2009-05-01 07:54:03.643040332 +0200
+++ ekiga/src/Makefile.am	2009-05-01 07:56:10.011040557 +0200
@@ -137,11 +137,11 @@
 .rc.o:
 	$(LIBTOOL) --tag=RC --mode=compile $(RC) $ -o $@ -I $(top_srcdir)
 
-GIT_REVISION=\$(shell (cd ../.git; git describe ))\
-CACHED_REVISION=$(shell cat revision.h 2/dev/null | cut -c24-)
+GIT_REVISION=\$$(cd ../.git; git describe )\
+CACHED_REVISION=$$(cat revision.h 2/dev/null | cut -c24-)
 
 src/revision.h:
-$(shell if test -d ../.git -a -n $$(which git); then \
+	if test -d ../.git -a -n $$(which git); then \
   if test x$(GIT_REVISION) != x$(CACHED_REVISION); then \
 echo #define EKIGA_REVISION $(GIT_REVISION)  revision.h; \
   fi \
@@ -149,7 +149,7 @@
   if !(test -e ./revision.h); then\
 echo #define EKIGA_REVISION \unknown\  revision.h; \
   fi \
-fi)
+fi
 
 AM_CXXFLAGS = $(GTK_CFLAGS) $(GLIB_CFLAGS) $(GNOME_CFLAGS) $(DBUS_CFLAGS) $(BONOBO_CFLAGS) $(OPAL_CFLAGS) $(PTLIB_CFLAGS) $(SIGC_CFLAGS) $(XML_CFLAGS) $(NOTIFY_CFLAGS)
 AM_LIBS = $(GTK_LIBS) $(GLIB_LIBS) $(GNOME_LIBS) $(DBUS_LIBS) $(BONOBO_LIBS) $(OPAL_LIBS) $(PTLIB_LIBS) $(SIGC_LIBS) $(XML_LIBS) $(NOTIFY_LIBS)
___
Ekiga-devel-list mailing list
Ekiga-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/ekiga-devel-list

Re: [Ekiga-devel-list] Warning for revision.h

2009-05-01 Thread Eugen Dedu

Michael Rickmann wrote:

Am Donnerstag, den 30.04.2009, 16:41 +0200 schrieb Eugen Dedu:

Hi,

After the update of revision.h I receive the following wraning:
Making install in src
/bin/sh: line 0: cd: ../.git: No such file or directory
fatal: Not a git repository (or any of the parent directories): .git
/bin/sh: line 0: cd: ../.git: No such file or directory
fatal: Not a git repository (or any of the parent directories): .git
make[2]: Entering directory 
`/home/dedu/softs/ekiga/toto/ekiga-3.2.0+git20090430.81e65f/src'

/usr/bin/make  install-am
/bin/sh: line 0: cd: ../.git: No such file or directory
fatal: Not a git repository (or any of the parent directories): .git
/bin/sh: line 0: cd: ../.git: No such file or directory
fatal: Not a git repository (or any of the parent directories): .git
make[3]: Entering directory 
`/home/dedu/softs/ekiga/toto/ekiga-3.2.0+git20090430.81e65f/src'

/bin/sh: line 0: cd: ../.git: No such file or directory
fatal: Not a git repository (or any of the parent directories): .git
/bin/sh: line 0: cd: ../.git: No such file or directory
fatal: Not a git repository (or any of the parent directories): .git
make[4]: Entering directory 
`/home/dedu/softs/ekiga/toto/ekiga-3.2.0+git20090430.81e65f/src'


This is because cd ../.git is always executed in src/Makefile.am:
GIT_REVISION=\$(shell (cd ../.git; git describe ))\
CACHED_REVISION=$(shell cat revision.h 2/dev/null | cut -c24-)

There should be an if before the cd...


Sorry, I did not recognize that the $(shell ) constructs are executed
each time a Makefile is read. Could you test attached patch? It seems
allright for me.


It's ok.  Checked-in master+branch.  Thanks!

--
Eugen
___
Ekiga-devel-list mailing list
Ekiga-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/ekiga-devel-list


Re: [Ekiga-devel-list] Win32 + Git + cross compiling errors

2009-05-01 Thread Michael Rickmann
Am Mittwoch, den 29.04.2009, 11:35 +0200 schrieb Thierry Simonnet:
 Hi,
 
 I'm just back to my office after several weeks and I saw that a lot of 
 things have changed.
 I modified Makefile to handle git, gtk2.16, opal/trunk, ptlib/trunk 
 (in attachment).
 I tried to compile Ekiga for win32 using Debian Lenny 32b and 64b. Here 
 are the outputs :
 
 32b :
snip
 -I/root/win32/opal/include -c /root/win32/opal/src/opal/recording.cxx -o 
 /root/win32/opal/lib_mingw_x86/obj/recording.o
 /root/win32/opal/src/opal/recording.cxx:198: warning: ignoring #pragma 
 comment
 /root/win32/opal/src/opal/recording.cxx:246: error: extra qualification 
 'OpalAVIRecordManager::' on member 'IsResultError'
 make[1]: *** [/root/win32/opal/lib_mingw_x86/obj/recording.o] Error 1
 make[1]: Leaving directory `/root/win32/opal'
 make: *** [/root/win32/lib/libopal_s.a] Error 2
 
I too got hit by that one and filed a bug report:
https://sourceforge.net/tracker/?func=detailaid=2785005group_id=204472atid=989748
there you can read how to fight through by hand. Or you may consider to
go back to revision 22478, i.e. before the AVi file recording was
introduced.
Regards
Michael

___
Ekiga-devel-list mailing list
Ekiga-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/ekiga-devel-list


Re: [Ekiga-devel-list] Win32 Ekiga painful

2009-05-01 Thread Peter Robinson
Hi Craig,

 If upstream means Opal, then I think this is being a bit unfair.

 I use Opal/PTLib on Windows and Linux every day. On both these operating
 systems, there is no problem.

 We are extremely busy maintaining support for these two operating systems
 using their native compilers (gcc and MSVC), as well as bringing in new code
 and features.

 I've tried to cross-compile Ekiga for Windows, but it requires a debian box
 with the latest dev code (Sid?) and I simply can't dedicate a whole machine
 for this purpose, northe time it would take to make it work.

 Now, if I could cross-compile ekiga on a Fedora box then I would be REALLY
 interested. :)

You should be able to use Fedora 11 for cross compiling for windows
[1]. It will have a complete mingw stack. I think the maintainer has
also pushed most of the stack to Fedora 10 as updates as well. If
there's any thing missing from it that you need let me know and I'll
see if I can't get it added.

Cheers,
Peter

[1] https://fedoraproject.org/wiki/Features/Windows_cross_compiler
___
Ekiga-devel-list mailing list
Ekiga-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/ekiga-devel-list