[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gtk-devel
Subject:    glib-config replacement
From:       Triskelios <trisk () quasarnet ! org>
Date:       2001-04-05 2:00:19
[Download RAW message or body]

Instead of the current glib-config:
#!/bin/sh

echo glib-config-2.0 is no longer supported. Please use pkg-config instead 
2>&1
exit 0

I propose forwarding switches to pkg-config, while recognising --version, 
which will not return the correct number if sent to pkg-config:
#!/bin/sh
for option
do
  case "$option" in
   -version | --version)
    echo "1.3.3" 2>&1
    exit 0 ;;
  esac
done
pkg-config glib-2.0 $@
exit 0

I'm not subscribed to this list, btw; I just fixed this problem and thought 
somebody might be interested in using it.

-- 
#include <stdio.h>
char quote[] = "[05:09:14] <Xenix-guy> I can't get kde to run on Microsoft 
xenix 2.0";
void not_quite_random(char *rq){printf("Not-quite-random quote:\n%s\n", rq);}
int main(){not_quite_random(quote);}
// Triskelios - trisk@quasarnet.org

_______________________________________________
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic