Bug#165146: xlibs-dev: $(SOSYMLINK) not expanding in gnuLib.rules

2007-02-26 Thread Erwin Burgstaller
Hi Brice,

never had that Problem since than. It might have been silently
disappeared on the next upgrade. So you might close it right now.

Thanks,
 Erwin


smime.p7s
Description: S/MIME cryptographic signature


Bug#165146: imake: macro definition problem

2002-10-17 Thread Erwin Burgstaller
On Thu, Oct 17, 2002 at 12:27:43PM -0500, [EMAIL PROTECTED] wrote:
> On Thu, Oct 17, 2002 at 09:20:27AM +0200, Erwin Burgstaller wrote:
> > I've already reported the same problem for version 4.1.0-17, now it's
> > back.
> > 
> > Here's how I've patched the configuration files in /usr/lib/X11/config
> > to get the macros for linking and installing a shared library and
> > makedepend working.
> 
> I won't apply your patch because it's insufficiently general.  It will
> cause syntax errors if "$(SOSYMLINK)" happens to be non-null.
> 
> Also, please unified diff format.

Ok, I see. I've tracked down the problem more carefully now:
The SOSYMLINK problem maybe solved by including Library.tmpl in
Imake.rules:


--- Imake.rules.~1~ 2002-10-08 08:06:23.0 +0200
+++ Imake.rules 2002-10-17 23:42:36.0 +0200
@@ -3263,6 +3263,8 @@
 #include 
 #endif
 
+#include 
+
 #ifndef StaticLibrary
 #define StaticLibrary(libpath,libname)
Concat3(libpath,/,LibraryTargetName(libname))
 #endif


But I don't know if there are any side effects. Setting SOSYMLINK to true
or false in my Imakefile does SharedLibraryTarget() get function too,
but I think that's not the right way.

Erwin

PS:

Please forget about the stuff with site.def (makedepend). I came to
this some time ago. The only problem was: I'd defined: 

INCLUDES = -I ../inc 

in my Imake file, which causes errors with gccmakedep cause of the
whitespace between option and path. makedepend does not have any
problems with the whitespace.



pgplYtDklKy1V.pgp
Description: PGP signature


Bug#165146: imake: macro definition problem

2002-10-17 Thread Erwin Burgstaller
On Thu, Oct 17, 2002 at 12:27:43PM -0500, [EMAIL PROTECTED] wrote:
> On Thu, Oct 17, 2002 at 09:20:27AM +0200, Erwin Burgstaller wrote:
> > I've already reported the same problem for version 4.1.0-17, now it's
> > back.
> > 
> > Here's how I've patched the configuration files in /usr/lib/X11/config
> > to get the macros for linking and installing a shared library and
> > makedepend working.
> 
> I won't apply your patch because it's insufficiently general.  It will
> cause syntax errors if "$(SOSYMLINK)" happens to be non-null.
> 
> Also, please unified diff format.

Ok, I see. I've tracked down the problem more carefully now:
The SOSYMLINK problem maybe solved by including Library.tmpl in
Imake.rules:


--- Imake.rules.~1~ 2002-10-08 08:06:23.0 +0200
+++ Imake.rules 2002-10-17 23:42:36.0 +0200
@@ -3263,6 +3263,8 @@
 #include 
 #endif
 
+#include 
+
 #ifndef StaticLibrary
 #define StaticLibrary(libpath,libname)
Concat3(libpath,/,LibraryTargetName(libname))
 #endif


But I don't know if there are any side effects. Setting SOSYMLINK to true
or false in my Imakefile does SharedLibraryTarget() get function too,
but I think that's not the right way.

Erwin

PS:

Please forget about the stuff with site.def (makedepend). I came to
this some time ago. The only problem was: I'd defined: 

INCLUDES = -I ../inc 

in my Imake file, which causes errors with gccmakedep cause of the
whitespace between option and path. makedepend does not have any
problems with the whitespace.




msg04376/pgp0.pgp
Description: PGP signature


Bug#165146: imake: macro definition problem

2002-10-17 Thread Erwin Burgstaller
Package: xutils
Version: 4.2.1-2
Severity: important
Tags: sid upstream

I've already reported the same problem for version 4.1.0-17, now it's
back.

Here's how I've patched the configuration files in /usr/lib/X11/config
to get the macros for linking and installing a shared library and
makedepend working.


diff config/gnuLib.rules config.new/gnuLib.rules
72c72
<   @if $(SOSYMLINK); then (set -x; \
---
>   @if $(SOSYMLINK) then (set -x; \
109c109
<   @if $(SOSYMLINK); then (set -x; \   @@\
---
>   @if $(SOSYMLINK) then (set -x; \@@\
148c148
<   @if $(SOSYMLINK); then (set -x; \   @@\
---
>   @if $(SOSYMLINK) then (set -x; \@@\
diff config/lnxLib.rules config.new/lnxLib.rules
100c100
<   @if $(SOSYMLINK); then (set -x; \
---
>   @if $(SOSYMLINK) then (set -x; \
137c137
<   @if $(SOSYMLINK); then (set -x; \   @@\
---
>   @if $(SOSYMLINK) then (set -x; \@@\
176c176
<   @if $(SOSYMLINK); then (set -x; \   @@\
---
>   @if $(SOSYMLINK) then (set -x; \@@\
215c215
<   @if $(SOSYMLINK); then (set -x; \   @@\
---
>   @if $(SOSYMLINK) then (set -x; \@@\
diff config/site.def config.new/site.def
36a37,40
> #undef UseGccMakeDepend /* makedepend instead */
> #undef DependCmd
> #define DependCmd makedepend
> 

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux edvlw02 2.4.19 #1 Tue Oct 1 18:18:55 CEST 2002 i686
Locale: LANG=C, [EMAIL PROTECTED]

Versions of packages xutils depends on:
ii  libc62.2.5-15GNU C Library: Shared libraries an
ii  libncurses5  5.2.20020112a-8 Shared libraries for terminal hand
ii  xfree86-common   4.2.1-2 X Window System (XFree86) infrastr
ii  zlib1g   1:1.1.4-6   compression library - runtime

-- no debconf information




Bug#165146: imake: macro definition problem

2002-10-17 Thread Erwin Burgstaller

Package: xutils
Version: 4.2.1-2
Severity: important
Tags: sid upstream

I've already reported the same problem for version 4.1.0-17, now it's
back.

Here's how I've patched the configuration files in /usr/lib/X11/config
to get the macros for linking and installing a shared library and
makedepend working.


diff config/gnuLib.rules config.new/gnuLib.rules
72c72
<   @if $(SOSYMLINK); then (set -x; \
---
>   @if $(SOSYMLINK) then (set -x; \
109c109
<   @if $(SOSYMLINK); then (set -x; \   @@\
---
>   @if $(SOSYMLINK) then (set -x; \@@\
148c148
<   @if $(SOSYMLINK); then (set -x; \   @@\
---
>   @if $(SOSYMLINK) then (set -x; \@@\
diff config/lnxLib.rules config.new/lnxLib.rules
100c100
<   @if $(SOSYMLINK); then (set -x; \
---
>   @if $(SOSYMLINK) then (set -x; \
137c137
<   @if $(SOSYMLINK); then (set -x; \   @@\
---
>   @if $(SOSYMLINK) then (set -x; \@@\
176c176
<   @if $(SOSYMLINK); then (set -x; \   @@\
---
>   @if $(SOSYMLINK) then (set -x; \@@\
215c215
<   @if $(SOSYMLINK); then (set -x; \   @@\
---
>   @if $(SOSYMLINK) then (set -x; \@@\
diff config/site.def config.new/site.def
36a37,40
> #undef UseGccMakeDepend /* makedepend instead */
> #undef DependCmd
> #define DependCmd makedepend
> 

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux edvlw02 2.4.19 #1 Tue Oct 1 18:18:55 CEST 2002 i686
Locale: LANG=C, LC_CTYPE=de_AT@euro

Versions of packages xutils depends on:
ii  libc62.2.5-15GNU C Library: Shared libraries an
ii  libncurses5  5.2.20020112a-8 Shared libraries for terminal hand
ii  xfree86-common   4.2.1-2 X Window System (XFree86) infrastr
ii  zlib1g   1:1.1.4-6   compression library - runtime

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]