Commit 029134ad authored by Giuseppe's avatar Giuseppe

added lib32-libglade and lib32-libxaw

parent 0914066f
......@@ -10,7 +10,9 @@ hdr
build.sh
clean-builddir.sh
clean-workdir.sh
copy.sh
makepkg
move.sh
pkgrels-decrease.sh
pkgrels-increase.sh
pkgrels-reset.sh
......@@ -24,6 +26,11 @@ sync-complete.sh
sync-down.sh
sync-up-nodb.sh
sync-up.sh
remove.sh
recreate-database.sh
upload.sh
upload-nodb.sh
unlock-database.sh
*-cfg.conf
*-makepkg.conf
......
# Lib32 Packages for Chakra, part of chakra-project.org
#
# maintainer (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
# maintainer (x86_64): Anke Boersma <abveritas[at]chakra-project[dot]org>
_pkgbasename=libglade
pkgname=lib32-libglade
pkgver=2.6.4
pkgrel=1
pkgdesc="Allows you to load glade interface files in a program at runtime (32-bit)"
arch=('x86_64')
license=('LGPL')
depends=('lib32-gtk2' 'lib32-libxml2' "${_pkgbasename}")
makedepends=('python2' 'pkgconfig' 'gcc-multilib')
options=('!libtool')
source=("http://ftp.gnome.org/pub/gnome/sources/${_pkgbasename}/2.6/${_pkgbasename}-${pkgver}.tar.bz2"
'libglade-2.0.1-nowarning.patch')
url='http://www.gnome.org'
md5sums=('d1776b40f4e166b5e9c107f1c8fe4139'
'4f879c0ce550004905aa0fb24f25c353')
build() {
export CC="gcc -m32"
export CXX="g++ -m32"
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
cd "${srcdir}/${_pkgbasename}-${pkgver}"
patch -Np1 -i "${srcdir}/libglade-2.0.1-nowarning.patch"
PYTHON=python2 ./configure --sysconfdir=/etc --prefix=/usr --localstatedir=/var --libdir=/usr/lib32
make
}
package() {
cd "${srcdir}/${_pkgbasename}-${pkgver}"
make DESTDIR="${pkgdir}" install
rm -rf ${pkgdir}/usr/{bin,include,share}
}
--- 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 {
# Lib32 Packages for Chakra, part of chakra-project.org
#
# maintainer (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
# maintainer (x86_64): Anke Boersma <abveritas[at]chakra-project[dot]org>
_pkgbasename=libxaw
pkgname=lib32-$_pkgbasename
pkgver=1.0.7
pkgrel=1
pkgdesc="X11 Athena Widget library (32 bit)"
arch=('x86_64')
license=('custom')
url="http://xorg.freedesktop.org/"
depends=('lib32-libxmu' 'lib32-libxpm' "$_pkgbasename>=$pkgver")
makedepends=('xorg-util-macros' 'gcc-multilib')
options=('!libtool')
source=(http://xorg.freedesktop.org/releases/individual/lib/libXaw-${pkgver}.tar.bz2)
md5sums=('815e74de989ccda684e2baf8d12cf519')
build() {
cd "${srcdir}/libXaw-${pkgver}"
./configure --prefix=/usr \
--sysconfdir=/etc \
--libdir=/usr/lib32 \
--disable-static CC='gcc -m32'
make
}
package() {
cd "${srcdir}/libXaw-${pkgver}"
make DESTDIR="${pkgdir}" install
rm -rf ${pkgdir}/usr/{include,share}
mkdir -p ${pkgdir}/usr/share/licenses
ln -s ${_pkgbasename} ${pkgdir}/usr/share/licenses/${pkgname}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment