public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
* libgif depends on X11
@ 2012-10-15  1:45 Daniel Colascione
  2012-10-15  8:22 ` Corinna Vinschen
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Colascione @ 2012-10-15  1:45 UTC (permalink / raw)
  To: cygwin-apps

[-- Attachment #1: Type: text/plain, Size: 741 bytes --]

$ ldd /bin/cyggif-4.dll
        ntdll.dll => /Windows/SysWOW64/ntdll.dll (0x7de70000)
        kernel32.dll => /Windows/syswow64/kernel32.dll (0x7dd60000)
        KERNELBASE.dll => /Windows/syswow64/KERNELBASE.dll (0x7d850000)
        cyggcc_s-1.dll => /usr/bin/cyggcc_s-1.dll (0xc3c70000)
        cygwin1.dll => /usr/bin/cygwin1.dll (0x61000000)
        cygX11-6.dll => /usr/bin/cygX11-6.dll (0xc4e90000)
        cygxcb-1.dll => /usr/bin/cygxcb-1.dll (0xc02f0000)
        cygXau-6.dll => /usr/bin/cygXau-6.dll (0xc4e70000)
        cygXdmcp-6.dll => /usr/bin/cygXdmcp-6.dll (0xc4dd0000)
        ??? => ??? (0x580000)

Why would libgif depend on X11? The symbols imported are XGetImage,
XGetWindowAttributes, and XQueryColors.


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 259 bytes --]

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

* Re: libgif depends on X11
  2012-10-15  1:45 libgif depends on X11 Daniel Colascione
@ 2012-10-15  8:22 ` Corinna Vinschen
  2012-10-15  9:58   ` Daniel Colascione
  0 siblings, 1 reply; 3+ messages in thread
From: Corinna Vinschen @ 2012-10-15  8:22 UTC (permalink / raw)
  To: cygwin-apps

On Oct 14 18:45, Daniel Colascione wrote:
> $ ldd /bin/cyggif-4.dll
>         ntdll.dll => /Windows/SysWOW64/ntdll.dll (0x7de70000)
>         kernel32.dll => /Windows/syswow64/kernel32.dll (0x7dd60000)
>         KERNELBASE.dll => /Windows/syswow64/KERNELBASE.dll (0x7d850000)
>         cyggcc_s-1.dll => /usr/bin/cyggcc_s-1.dll (0xc3c70000)
>         cygwin1.dll => /usr/bin/cygwin1.dll (0x61000000)
>         cygX11-6.dll => /usr/bin/cygX11-6.dll (0xc4e90000)
>         cygxcb-1.dll => /usr/bin/cygxcb-1.dll (0xc02f0000)
>         cygXau-6.dll => /usr/bin/cygXau-6.dll (0xc4e70000)
>         cygXdmcp-6.dll => /usr/bin/cygXdmcp-6.dll (0xc4dd0000)
>         ??? => ??? (0x580000)
> 
> Why would libgif depend on X11? The symbols imported are XGetImage,
> XGetWindowAttributes, and XQueryColors.

Same as on Linux:

  $ ldd /lib64/libgif.so.4
	  linux-vdso.so.1 =>  (0x00007fffffbff000)
	  libSM.so.6 => /lib64/libSM.so.6 (0x0000003fbdc00000)
	  libICE.so.6 => /lib64/libICE.so.6 (0x0000003fbe000000)
	  libX11.so.6 => /lib64/libX11.so.6 (0x0000003fb3800000)
	  libc.so.6 => /lib64/libc.so.6 (0x0000003faf800000)
	  libuuid.so.1 => /lib64/libuuid.so.1 (0x0000003fb9c00000)
	  libxcb.so.1 => /lib64/libxcb.so.1 (0x0000003fb3c00000)
	  libdl.so.2 => /lib64/libdl.so.2 (0x0000003fb0400000)
	  /lib64/ld-linux-x86-64.so.2 (0x0000003faf400000)
	  libXau.so.6 => /lib64/libXau.so.6 (0x0000003fb3400000)


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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

* Re: libgif depends on X11
  2012-10-15  8:22 ` Corinna Vinschen
@ 2012-10-15  9:58   ` Daniel Colascione
  0 siblings, 0 replies; 3+ messages in thread
From: Daniel Colascione @ 2012-10-15  9:58 UTC (permalink / raw)
  To: cygwin-apps

[-- Attachment #1: Type: text/plain, Size: 1964 bytes --]

On 10/15/2012 1:21 AM, Corinna Vinschen wrote:
> On Oct 14 18:45, Daniel Colascione wrote:
>> $ ldd /bin/cyggif-4.dll
>>         ntdll.dll => /Windows/SysWOW64/ntdll.dll (0x7de70000)
>>         kernel32.dll => /Windows/syswow64/kernel32.dll (0x7dd60000)
>>         KERNELBASE.dll => /Windows/syswow64/KERNELBASE.dll (0x7d850000)
>>         cyggcc_s-1.dll => /usr/bin/cyggcc_s-1.dll (0xc3c70000)
>>         cygwin1.dll => /usr/bin/cygwin1.dll (0x61000000)
>>         cygX11-6.dll => /usr/bin/cygX11-6.dll (0xc4e90000)
>>         cygxcb-1.dll => /usr/bin/cygxcb-1.dll (0xc02f0000)
>>         cygXau-6.dll => /usr/bin/cygXau-6.dll (0xc4e70000)
>>         cygXdmcp-6.dll => /usr/bin/cygXdmcp-6.dll (0xc4dd0000)
>>         ??? => ??? (0x580000)
>>
>> Why would libgif depend on X11? The symbols imported are XGetImage,
>> XGetWindowAttributes, and XQueryColors.
> 
> Same as on Linux:
> 
>   $ ldd /lib64/libgif.so.4
> 	  linux-vdso.so.1 =>  (0x00007fffffbff000)
> 	  libSM.so.6 => /lib64/libSM.so.6 (0x0000003fbdc00000)
> 	  libICE.so.6 => /lib64/libICE.so.6 (0x0000003fbe000000)
> 	  libX11.so.6 => /lib64/libX11.so.6 (0x0000003fb3800000)
> 	  libc.so.6 => /lib64/libc.so.6 (0x0000003faf800000)
> 	  libuuid.so.1 => /lib64/libuuid.so.1 (0x0000003fb9c00000)
> 	  libxcb.so.1 => /lib64/libxcb.so.1 (0x0000003fb3c00000)
> 	  libdl.so.2 => /lib64/libdl.so.2 (0x0000003fb0400000)
> 	  /lib64/ld-linux-x86-64.so.2 (0x0000003faf400000)
> 	  libXau.so.6 => /lib64/libXau.so.6 (0x0000003fb3400000)
> 

Not on Debian stable at least:

$ ldd /usr/lib/libgif.so.4.1
        linux-gate.so.1 =>  (0xf7791000)
        libc.so.6 => /lib/i686/cmov/libc.so.6 (0xf763a000)
        /lib/ld-linux.so.2 (0xf7792000)

According to NEWS, giflib gained a configure option for disabling X11 support in
4.1.5. The X dependency in giflib appears to be there for capturing an X window
as a GIF file. I somehow doubt this functionality would be missed.


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 259 bytes --]

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

end of thread, other threads:[~2012-10-15  9:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-15  1:45 libgif depends on X11 Daniel Colascione
2012-10-15  8:22 ` Corinna Vinschen
2012-10-15  9:58   ` Daniel Colascione

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).