[notify] libglade: picked up port new dependency pango-compat, while it will link with pango it will then break pygtk
This commit is contained in:
parent
aec3b8b63c
commit
d0035e49c6
@ -1,5 +1,6 @@
|
||||
untrusted comment: verify with /etc/ports/opt.pub
|
||||
RWSE3ohX2g5d/ZxvPbJ0+id/31VTaNxrJCqbVp8C7tPjw+GUoQ94zkdSw0skXHTrv9KAF+OzfAYzLQez61Gc4dufdWZwu0/6Ngk=
|
||||
SHA256 (Pkgfile) = 551fd74ad0f8e7d786f294408e4692eac1083688da3704e740f5a4e70c066005
|
||||
RWSE3ohX2g5d/TctJVa7dVYTvIP6CYMhFb7ccfotFpz11KAX46NiQhoy8QZNrFLQrYdFaWNEioWnevX/cGAVJ3UIB9OK386v6wM=
|
||||
SHA256 (Pkgfile) = b74e1b02d83703f93a13ef5662e0adab65f0244f8d31bf878a4d335bb481ea0c
|
||||
SHA256 (.footprint) = 60bcd782db2cafa0ae4c87bf385a78a028923bb507ba02717d4cf44483d376bb
|
||||
SHA256 (libglade-2.6.4.tar.bz2) = 64361e7647839d36ed8336d992fd210d3e8139882269bed47dc4674980165dec
|
||||
SHA256 (libglade-2.0.1-nowarning.patch) = 423c12af1c73442caa851a0b8db33b00fa4b778b1b422a4e8ac33d121d043008
|
||||
|
@ -1,26 +1,34 @@
|
||||
# Description: library to load glade interface files in a program at runtime
|
||||
# URL: http://glade.gnome.org/
|
||||
# Maintainer: Jose V Beneyto, sepen at crux dot nu
|
||||
# Packager: Matt Housh, jaeger at morpheus dot net
|
||||
# Depends on: gtk pkg-config xorg-libxdamage
|
||||
# Maintainer: Danny Rawlins, crux at romster dot me
|
||||
# Depends on: gtk pango-compat util-linux xorg-libxdamage
|
||||
|
||||
name=libglade
|
||||
version=2.6.4
|
||||
release=1
|
||||
source=(http://download.gnome.org/sources/$name/2.6/$name-$version.tar.bz2)
|
||||
release=2
|
||||
source=(http://download.gnome.org/sources/$name/2.6/$name-$version.tar.bz2
|
||||
libglade-2.0.1-nowarning.patch)
|
||||
|
||||
build() {
|
||||
install -d -m 0755 $PKG/etc/xml/dtd/$name/2.0
|
||||
xmlcatalog --noout --create $PKG/etc/xml/dtd/$name/2.0/catalog
|
||||
|
||||
cd $name-$version
|
||||
|
||||
sed -i -e 's/USE_NLS=yes/USE_NLS=no/' \
|
||||
-e 's/ENABLE_NLS 1/ENABLE_NLS 0/' configure
|
||||
|
||||
sed -i -e "s|/etc/xml/catalog|$PKG/etc/xml/dtd/$name/2.0/catalog|" \
|
||||
-e 's|$(datadir)/xml/libglade|$(datadir)/xml/dtd/libglade/2.0|' Makefile.in
|
||||
|
||||
patch -p1 -i $SRC/libglade-2.0.1-nowarning.patch
|
||||
|
||||
PKG_CONFIG_PATH+="/usr/lib/pango-compat/pkgconfig" \
|
||||
./configure --prefix=/usr \
|
||||
--disable-debug \
|
||||
--disable-gtk-doc
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
|
||||
rm -rf $PKG/usr/share/gtk-doc
|
||||
}
|
||||
|
39
libglade/libglade-2.0.1-nowarning.patch
Normal file
39
libglade/libglade-2.0.1-nowarning.patch
Normal file
@ -0,0 +1,39 @@
|
||||
--- libglade-2.0.1/glade/glade-gtk.c.nowarning 2003-08-29 14:50:10.000000000 -0400
|
||||
+++ libglade-2.0.1/glade/glade-gtk.c 2003-08-29 14:58:41.000000000 -0400
|
||||
@@ -639,9 +639,8 @@
|
||||
if (!strcmp (childinfo->properties[j].name, "label")) {
|
||||
label = childinfo->properties[j].value;
|
||||
break;
|
||||
- } else {
|
||||
- g_warning ("Unknown CList child property: %s", childinfo->properties[j].name);
|
||||
}
|
||||
+ /* Ignore all other properties */
|
||||
}
|
||||
|
||||
if (label) {
|
||||
@@ -683,6 +682,7 @@
|
||||
char *icon = NULL;
|
||||
gboolean use_stock = FALSE, active = FALSE, new_group = FALSE;
|
||||
gboolean use_underline = FALSE;
|
||||
+ gboolean sensitive = TRUE;
|
||||
GtkWidget *iconw = NULL;
|
||||
int j;
|
||||
|
||||
@@ -708,6 +708,8 @@
|
||||
group_name = value;
|
||||
} else if (!strcmp (name, "new_group")) {
|
||||
new_group = BOOL (value);
|
||||
+ } else if (!strcmp (name, "sensitive")) {
|
||||
+ sensitive = BOOL (value);
|
||||
} else if (!strcmp (name, "visible")) {
|
||||
/* ignore for now */
|
||||
} else if (!strcmp (name, "tooltip")) {
|
||||
@@ -785,6 +787,8 @@
|
||||
gtk_label_set_use_underline (GTK_LABEL (toolbar_child->label),
|
||||
TRUE);
|
||||
}
|
||||
+
|
||||
+ gtk_widget_set_sensitive (child, sensitive);
|
||||
|
||||
glade_xml_set_common_params (xml, child, childinfo->child);
|
||||
} else {
|
Loading…
x
Reference in New Issue
Block a user