public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Georgi Georgiev <chutz@gg3.net>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Modular X plans
Date: Fri, 12 Aug 2005 12:41:51 +0900	[thread overview]
Message-ID: <20050812034150.GB121195@lion.gg3.net> (raw)
In-Reply-To: <42FBD99E.3050509@gentoo.org>

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

maillog: 11/08/2005-16:05:02(-0700): Donnie Berkholz types
> Donnie Berkholz wrote:
> > Attached an update to incorporate this and your other grep comments.
> 
> Here's a new one. It prints some useful information while it's
> searching, like OK or Not found!. Also fixes a little more ugly output
> (double/single quotes and pipes showing up as parts of lib names) and
> makes an attempt to use rpm if equery isn't around, and just prints the
> lib paths otherwise.

Looks better and better. A couple more comments:

- I tried the script on the output of gvim, and it erroneously tried to
  find libatk-1.0.a. The problem was in this line:

  x86_64-pc-linux-gnu-gcc -L/usr/lib64   -L/usr/lib64   -rdynamic
  -L/usr/local/lib  -o gvim <snip object files> -lgdk_pixbuf-2.0
  -lpangoxft-1.0 -lpangox-1.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0
  -lgmodule-2.0 -lglib-2.0 -lXt -lncurses -lacl -lgpm   -rdynamic
  -L/usr/local/lib
  /usr/lib/perl5/5.8.6/x86_64-linux/auto/DynaLoader/DynaLoader.a
  -L/usr/lib/perl5/5.8.6/x86_64-linux/CORE -lperl -lutil -lc
  -L/usr/lib/python2.4/config -lpython2.4 -L/usr/lib64 -lz -lutil -lm
  -Xlinker -export-dynamic static

  As you can see, it's the "static" in the end of the line. Maybe you
  should grep for "-static" instead.

- I'm sure I've seen makefiles that use tabs instead of spaces to
  separate the -l arguments. Maybe you should replace the space with a
  [:space:] or something?

- To avoid eventual problems with similarly named libraries (libpam and
  libpam_misc for example; grepping for -lpam would also match
  -lpam_misc) you could grep for "\<-l${libname}\>" instead. This would
  also solve the space-or-tab problem.

-- 
/    Georgi Georgiev   /  We must know, we will know. -- David         /
\     chutz@gg3.net    \  Hilbert                                      \
/   +81(90)2877-8845   /                                               /

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2005-08-12  3:44 UTC|newest]

Thread overview: 85+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-01 20:54 [gentoo-dev] Modular X plans Donnie Berkholz
2005-08-01 21:04 ` Ciaran McCreesh
2005-08-01 21:23   ` Donnie Berkholz
2005-08-01 21:44     ` Ciaran McCreesh
2005-08-01 21:54       ` Donnie Berkholz
2005-08-01 22:11         ` Ciaran McCreesh
2005-08-01 22:36           ` Donnie Berkholz
2005-08-10  3:02             ` Donnie Berkholz
2005-08-11 18:58               ` Donnie Berkholz
2005-08-11 19:11                 ` Jan Spitalnik
2005-08-11 19:27                   ` Donnie Berkholz
2005-08-11 19:36                   ` Georgi Georgiev
2005-08-11 19:41                 ` Georgi Georgiev
2005-08-11 21:17                   ` Donnie Berkholz
2005-08-11 23:05                     ` Donnie Berkholz
2005-08-12  3:41                       ` Georgi Georgiev [this message]
2005-08-12  4:06                         ` Donnie Berkholz
2005-08-12  4:57                           ` Georgi Georgiev
2005-08-01 23:23           ` Alec Warner
2005-08-01 23:43             ` Ciaran McCreesh
2005-08-02  1:14               ` Alec Warner
2005-08-02 17:04     ` Maurice van der Pot
2005-08-02  6:07 ` Donnie Berkholz
2005-08-02  7:02   ` Ian Leitch
2005-08-02 14:30   ` [gentoo-dev] " Michael Sterrett -Mr. Bones.-
2005-08-03  5:31     ` Kevin F. Quinn
2005-08-02 19:20   ` [gentoo-dev] " Jeremy Maitin-Shepard
2005-08-02 19:54     ` Donnie Berkholz
2005-08-08  2:51   ` Donnie Berkholz
2005-08-08  8:08     ` Donnie Berkholz
2005-08-09 11:22       ` Georgi Georgiev
2005-08-09 18:06         ` Donnie Berkholz
2005-08-09 18:16       ` Donnie Berkholz
2005-08-10  2:04         ` Georgi Georgiev
2005-08-10  2:40           ` Donnie Berkholz
2005-08-10 12:46             ` Ferris McCormick
2005-08-10 15:18               ` Ferris McCormick
2005-08-10 17:53                 ` Donnie Berkholz
2005-08-10 20:36                   ` Ferris McCormick
2005-08-10 19:49                     ` Donnie Berkholz
2005-08-10 20:12                       ` Donnie Berkholz
2005-08-10 21:51                       ` Ferris McCormick
2005-08-10 22:43                         ` Donnie Berkholz
2005-08-11  0:26                           ` Ferris McCormick
2005-08-11  0:46                             ` Donnie Berkholz
2005-08-11 11:26                               ` Ferris McCormick
2005-08-11 17:35                               ` Ferris McCormick
2005-08-11 17:48                                 ` Donnie Berkholz
2005-08-11 18:02                                   ` Donnie Berkholz
2005-08-11 19:09                                     ` Ferris McCormick
2005-08-11 19:25                                       ` Donnie Berkholz
2005-08-11 19:39                                         ` Ferris McCormick
2005-08-11 21:20                                           ` Donnie Berkholz
2005-08-11 21:47                                             ` Ferris McCormick
2005-08-11  6:13                             ` Jason Wever
2005-08-10  2:25         ` Georgi Georgiev
2005-08-10  7:01         ` Donnie Berkholz
2005-08-10 17:51         ` Per-Erik Westerberg
2005-08-10 17:59           ` Donnie Berkholz
2005-08-11  7:11             ` Donnie Berkholz
2005-08-11  4:07         ` Georgi Georgiev
2005-08-11  4:18           ` Donnie Berkholz
2005-08-11  4:45             ` Donnie Berkholz
2005-08-11  5:01               ` Georgi Georgiev
2005-08-11  5:08                 ` Donnie Berkholz
2005-08-11  5:38                   ` Georgi Georgiev
2005-08-11  6:01                     ` Donnie Berkholz
2005-08-11  6:58                       ` Georgi Georgiev
2005-08-11  7:04                         ` Donnie Berkholz
2005-08-11  7:15         ` Donnie Berkholz
2005-08-03  5:41 ` Donnie Berkholz
2005-08-03 13:47   ` Diego 'Flameeyes' Pettenò
2005-08-04  9:10 ` Bertrand Jacquin
2005-08-08 20:24 ` Caleb Tennis
2005-08-09  1:14   ` Donnie Berkholz
2005-08-09 12:36     ` Caleb Tennis
2005-08-09 12:43       ` Brian Harring
2005-08-09 13:03         ` Caleb Tennis
2005-08-09 13:24           ` Carsten Lohrke
2005-08-09 18:09       ` Donnie Berkholz
  -- strict thread matches above, loose matches on Subject: below --
2005-08-08 16:18 Ferris McCormick
2005-08-08 17:03 ` Donnie Berkholz
     [not found] <Pine.LNX.4.63.0508112329460.8656@terciopelo.krait.us>
2005-08-12 13:24 ` Ferris McCormick
2005-08-12 17:30   ` Donnie Berkholz
2005-08-12 18:55     ` Donnie Berkholz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050812034150.GB121195@lion.gg3.net \
    --to=chutz@gg3.net \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox