Mercurial > pidgin.yaz
annotate libpurple/gconf/Makefile.am @ 28067:bd1b1353e8fa
Don't use a static buffer to hold a full filename, since it could possibly
overflow depending on where someone's config directory is.
This Zephyr code is as old as I am, but looks like oh-my-God-what's-wrong-
with-that.
Fixes #9801.
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Thu, 30 Jul 2009 03:26:37 +0000 |
parents | 309c1478b457 |
children | f7d03842b9c9 |
rev | line source |
---|---|
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1 schemadir = @GCONF_SCHEMA_FILE_DIR@ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
2 |
15912
88d626a179a6
Rename our schemas file and update the url handler to point to the
Mark Doliner <mark@kingant.net>
parents:
15374
diff
changeset
|
3 EXTRA_DIST = purple.schemas.in |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
4 |
15912
88d626a179a6
Rename our schemas file and update the url handler to point to the
Mark Doliner <mark@kingant.net>
parents:
15374
diff
changeset
|
5 schema_in_files = purple.schemas.in |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
6 schema_DATA = $(schema_in_files:.schemas.in=.schemas) |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
7 @INTLTOOL_SCHEMAS_RULE@ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
8 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
9 if GCONF_SCHEMAS_INSTALL |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
10 install-data-local: |
16141
309c1478b457
Suppress useless gconf messages. Hopefully I haven't introduced a bashism here.
Richard Laager <rlaager@wiktel.com>
parents:
15912
diff
changeset
|
11 GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(schema_DATA) 2>&1 | \ |
309c1478b457
Suppress useless gconf messages. Hopefully I haven't introduced a bashism here.
Richard Laager <rlaager@wiktel.com>
parents:
15912
diff
changeset
|
12 grep -v "^WARNING: failed to install schema" | grep -v "^Attached schema" 1>&2 |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
13 else |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
14 install-data-local: |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
15 endif |