libglade: dropped

This commit is contained in:
Tim Biermann 2022-11-13 17:49:19 +00:00
parent b1777b75bf
commit 0a92a3ee0c
5 changed files with 0 additions and 125 deletions

View File

@ -1,31 +0,0 @@
drwxr-xr-x root/root etc/
drwxr-xr-x root/root etc/xml/
drwxr-xr-x root/root etc/xml/dtd/
drwxr-xr-x root/root etc/xml/dtd/libglade/
drwxr-xr-x root/root etc/xml/dtd/libglade/2.0/
-rw-r--r-- root/root etc/xml/dtd/libglade/2.0/catalog
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/libglade-convert
drwxr-xr-x root/root usr/include/
drwxr-xr-x root/root usr/include/libglade-2.0/
drwxr-xr-x root/root usr/include/libglade-2.0/glade/
-rw-r--r-- root/root usr/include/libglade-2.0/glade/glade-build.h
-rw-r--r-- root/root usr/include/libglade-2.0/glade/glade-init.h
-rw-r--r-- root/root usr/include/libglade-2.0/glade/glade-parser.h
-rw-r--r-- root/root usr/include/libglade-2.0/glade/glade-xml.h
-rw-r--r-- root/root usr/include/libglade-2.0/glade/glade.h
drwxr-xr-x root/root usr/lib/
-rw-r--r-- root/root usr/lib/libglade-2.0.a
-rwxr-xr-x root/root usr/lib/libglade-2.0.la
lrwxrwxrwx root/root usr/lib/libglade-2.0.so -> libglade-2.0.so.0.0.7
lrwxrwxrwx root/root usr/lib/libglade-2.0.so.0 -> libglade-2.0.so.0.0.7
-rwxr-xr-x root/root usr/lib/libglade-2.0.so.0.0.7
drwxr-xr-x root/root usr/lib/pkgconfig/
-rw-r--r-- root/root usr/lib/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/
-rw-r--r-- root/root usr/share/xml/dtd/libglade/2.0/glade-2.0.dtd

View File

@ -1,6 +0,0 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/afybTKpR1XihNiXjStb0hRFTw8W5WIArcJocRazUrvqbzyIZ8GNgWFIe6JVT1dmGHP23jRRuEhXK971d6XdYgI=
SHA256 (Pkgfile) = 5b739422ad5ebefd29aa6b0cee2537776d825b2ede546903bd15822d2ec5275c
SHA256 (.footprint) = 60bcd782db2cafa0ae4c87bf385a78a028923bb507ba02717d4cf44483d376bb
SHA256 (libglade-2.6.4.tar.bz2) = 64361e7647839d36ed8336d992fd210d3e8139882269bed47dc4674980165dec
SHA256 (libglade-2.0.1-nowarning.patch) = 423c12af1c73442caa851a0b8db33b00fa4b778b1b422a4e8ac33d121d043008

View File

@ -1,38 +0,0 @@
# 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: gtk xorg-libxdamage python
name=libglade
version=2.6.4
release=4
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
./configure \
--prefix=/usr \
--disable-debug \
--disable-gtk-doc
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
make DESTDIR=$PKG install
install -m755 libglade-convert $PKG/usr/bin/
rm -rf $PKG/usr/share/gtk-doc
}

View File

@ -1,39 +0,0 @@
--- 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 {

View File

@ -1,11 +0,0 @@
#!/bin/sh
name=libglade
DTD_CAT=/etc/xml/dtd/$name/2.0/catalog
DTD_PATH=file:///usr/share/xml/dtd/$name/2.0/glade-2.0.dtd
DTD_URL=http://glade.gnome.org/glade-2.0.dtd
xmlcatalog --noout --add "delegateSystem" \
"$DTD_URL" "$DTD_PATH" $DTD_CAT
# End of file