libglade-compat: opt -> contrib
This commit is contained in:
parent
90564c7405
commit
1d0a33b9e9
25
libglade-compat/.footprint
Normal file
25
libglade-compat/.footprint
Normal file
@ -0,0 +1,25 @@
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/bin/
|
||||
drwxr-xr-x root/root usr/include/
|
||||
drwxr-xr-x root/root usr/include/libglade-compat/
|
||||
drwxr-xr-x root/root usr/include/libglade-compat/libglade-2.0/
|
||||
drwxr-xr-x root/root usr/include/libglade-compat/libglade-2.0/glade/
|
||||
-rw-r--r-- root/root usr/include/libglade-compat/libglade-2.0/glade/glade-build.h
|
||||
-rw-r--r-- root/root usr/include/libglade-compat/libglade-2.0/glade/glade-init.h
|
||||
-rw-r--r-- root/root usr/include/libglade-compat/libglade-2.0/glade/glade-parser.h
|
||||
-rw-r--r-- root/root usr/include/libglade-compat/libglade-2.0/glade/glade-xml.h
|
||||
-rw-r--r-- root/root usr/include/libglade-compat/libglade-2.0/glade/glade.h
|
||||
drwxr-xr-x root/root usr/lib/
|
||||
drwxr-xr-x root/root usr/lib/libglade-compat/
|
||||
-rw-r--r-- root/root usr/lib/libglade-compat/libglade-2.0.a
|
||||
-rwxr-xr-x root/root usr/lib/libglade-compat/libglade-2.0.la
|
||||
lrwxrwxrwx root/root usr/lib/libglade-compat/libglade-2.0.so -> libglade-2.0.so.0.0.7
|
||||
lrwxrwxrwx root/root usr/lib/libglade-compat/libglade-2.0.so.0 -> libglade-2.0.so.0.0.7
|
||||
-rwxr-xr-x root/root usr/lib/libglade-compat/libglade-2.0.so.0.0.7
|
||||
drwxr-xr-x root/root usr/lib/libglade-compat/pkgconfig/
|
||||
-rw-r--r-- root/root usr/lib/libglade-compat/pkgconfig/libglade-2.0.pc
|
||||
drwxr-xr-x root/root usr/share/
|
||||
drwxr-xr-x root/root usr/share/xml/
|
||||
drwxr-xr-x root/root usr/share/xml/dtd/
|
||||
drwxr-xr-x root/root usr/share/xml/dtd/libglade/
|
||||
drwxr-xr-x root/root usr/share/xml/dtd/libglade/2.0/
|
6
libglade-compat/.signature
Normal file
6
libglade-compat/.signature
Normal file
@ -0,0 +1,6 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF32/50d55t63mto1kn3yoYQsvXqYmgzR6Y+A2R3kXnTy5+yjZ2sQ6hKc3gfflgssxNUdR9sXMrsjV5K+xwVNCHAM=
|
||||
SHA256 (Pkgfile) = 9a73e2a23c19d84e86cc5942cf53f1a18322916d3a9c642072a0d0d3940d6d6e
|
||||
SHA256 (.footprint) = 3d4728386e3c3c5ca64368a2c62a7b1bba72bed8f18938a79fceff03216d34a2
|
||||
SHA256 (libglade-2.6.4.tar.bz2) = 64361e7647839d36ed8336d992fd210d3e8139882269bed47dc4674980165dec
|
||||
SHA256 (libglade-2.0.1-nowarning.patch) = 423c12af1c73442caa851a0b8db33b00fa4b778b1b422a4e8ac33d121d043008
|
39
libglade-compat/Pkgfile
Normal file
39
libglade-compat/Pkgfile
Normal file
@ -0,0 +1,39 @@
|
||||
# Description: library to load glade interface files in a program at runtime
|
||||
# URL: http://glade.gnome.org/
|
||||
# Maintainer: Danny Rawlins, crux at romster dot me
|
||||
# Depends on: libglade pango-compat
|
||||
|
||||
name=libglade-compat
|
||||
version=2.6.4
|
||||
release=1
|
||||
source=(http://download.gnome.org/sources/libglade/2.6/libglade-$version.tar.bz2
|
||||
libglade-2.0.1-nowarning.patch)
|
||||
|
||||
build() {
|
||||
cd libglade-$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/libglade/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 \
|
||||
--includedir='/usr/include/libglade-compat' \
|
||||
--libdir='/usr/lib/libglade-compat' \
|
||||
--disable-debug \
|
||||
--disable-gtk-doc
|
||||
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
|
||||
rm -rf $PKG/usr/share/gtk-doc
|
||||
|
||||
rm \
|
||||
$PKG/usr/bin/libglade-convert \
|
||||
$PKG/usr/share/xml/dtd/libglade/2.0/glade-2.0.dtd
|
||||
}
|
39
libglade-compat/libglade-2.0.1-nowarning.patch
Normal file
39
libglade-compat/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