Browse Source

git subrepo clone gitea@gitea.artixlinux.org:packagesL/libglade.git

subrepo:
  subdir:   "libglade"
  merged:   "916cecc"
upstream:
  origin:   "gitea@gitea.artixlinux.org:packagesL/libglade.git"
  branch:   "master"
  commit:   "916cecc"
git-subrepo:
  version:  "0.4.0"
  origin:   "???"
  commit:   "???"
master
artoo 3 years ago
parent
commit
fd3c02427c
Signed by: artoo
GPG Key ID: 3292CD0BB0DB310B
  1. 5
      libglade/.artixlinux/agent.yaml
  2. 33
      libglade/.gitignore
  3. 12
      libglade/.gitrepo
  4. 3
      libglade/Jenkinsfile
  5. 2
      libglade/README.md
  6. 38
      libglade/repos/extra-x86_64/PKGBUILD
  7. 25
      libglade/repos/extra-x86_64/glade.install
  8. 39
      libglade/repos/extra-x86_64/libglade-2.0.1-nowarning.patch
  9. 38
      libglade/trunk/PKGBUILD
  10. 25
      libglade/trunk/glade.install
  11. 39
      libglade/trunk/libglade-2.0.1-nowarning.patch

5
libglade/.artixlinux/agent.yaml

@ -0,0 +1,5 @@
%YAML 1.2
---
label: master

33
libglade/.gitignore vendored

@ -0,0 +1,33 @@
# ---> ArchLinuxPackages
*.tar
*.tar.*
*.jar
*.exe
*.msi
*.zip
*.tgz
*.log
*.log.*
*.sig
pkg/
src/
# ---> Archives
*.7z
*.rar
*.gz
*.bzip
*.bz2
*.xz
*.lzma
*.cab
# ---> systemd
*.service
*.socket
*.timer
# ---> snap
*.snap

12
libglade/.gitrepo

@ -0,0 +1,12 @@
; DO NOT EDIT (unless you know what you are doing)
;
; This subdirectory is a git "subrepo", and this file is maintained by the
; git-subrepo command. See https://github.com/git-commands/git-subrepo#readme
;
[subrepo]
remote = gitea@gitea.artixlinux.org:packagesL/libglade.git
branch = master
commit = 916cecc6e30e98eacf30c1b6778870ef64a35e78
parent = 049cfc8837596b546fd4fa98e24817e574cf123f
method = merge
cmdver = 0.4.0

3
libglade/Jenkinsfile vendored

@ -0,0 +1,3 @@
@Library('artix-ci') import org.artixlinux.RepoPackage
PackagePipeline(new RepoPackage(this))

2
libglade/README.md

@ -0,0 +1,2 @@
# libglade

38
libglade/repos/extra-x86_64/PKGBUILD

@ -0,0 +1,38 @@
# $Id$
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=libglade
pkgver=2.6.4
pkgrel=6
pkgdesc="Allows you to load glade interface files in a program at runtime"
arch=(x86_64)
license=('LGPL')
depends=('gtk2>=2.16.0' 'libxml2>=2.7.3')
makedepends=('python2' 'pkgconfig')
optdepends=('python2: libglade-convert script')
install=glade.install
source=(https://download.gnome.org/sources/${pkgname}/2.6/${pkgname}-${pkgver}.tar.bz2
libglade-2.0.1-nowarning.patch)
url="http://www.gnome.org"
sha256sums=('64361e7647839d36ed8336d992fd210d3e8139882269bed47dc4674980165dec'
'423c12af1c73442caa851a0b8db33b00fa4b778b1b422a4e8ac33d121d043008')
prepare() {
cd $pkgname-$pkgver
patch -Np1 -i ../libglade-2.0.1-nowarning.patch
}
build() {
cd $pkgname-$pkgver
PYTHON=/usr/bin/python2 ./configure --sysconfdir=/etc --prefix=/usr --localstatedir=/var
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}
package() {
cd $pkgname-$pkgver
make DESTDIR="${pkgdir}" install
install -m755 libglade-convert "${pkgdir}/usr/bin/"
}

25
libglade/repos/extra-x86_64/glade.install

@ -0,0 +1,25 @@
post_install() {
if [ ! -d etc/xml ]; then
mkdir -p etc/xml
fi
if [ ! -e etc/xml/catalog ]; then
xmlcatalog --noout --create etc/xml/catalog
fi
xmlcatalog --noout --add "system" \
"http://glade.gnome.org/glade-2.0.dtd" \
/usr/share/xml/libglade/glade-2.0.dtd etc/xml/catalog
}
pre_upgrade() {
post_remove
}
post_upgrade() {
post_install $1
}
# arg 1: the old package version
post_remove() {
xmlcatalog --noout --del \
/usr/share/xml/libglade/glade-2.0.dtd etc/xml/catalog
}

39
libglade/repos/extra-x86_64/libglade-2.0.1-nowarning.patch

@ -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 {

38
libglade/trunk/PKGBUILD

@ -0,0 +1,38 @@
# $Id$
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=libglade
pkgver=2.6.4
pkgrel=6
pkgdesc="Allows you to load glade interface files in a program at runtime"
arch=(x86_64)
license=('LGPL')
depends=('gtk2>=2.16.0' 'libxml2>=2.7.3')
makedepends=('python2' 'pkgconfig')
optdepends=('python2: libglade-convert script')
install=glade.install
source=(https://download.gnome.org/sources/${pkgname}/2.6/${pkgname}-${pkgver}.tar.bz2
libglade-2.0.1-nowarning.patch)
url="http://www.gnome.org"
sha256sums=('64361e7647839d36ed8336d992fd210d3e8139882269bed47dc4674980165dec'
'423c12af1c73442caa851a0b8db33b00fa4b778b1b422a4e8ac33d121d043008')
prepare() {
cd $pkgname-$pkgver
patch -Np1 -i ../libglade-2.0.1-nowarning.patch
}
build() {
cd $pkgname-$pkgver
PYTHON=/usr/bin/python2 ./configure --sysconfdir=/etc --prefix=/usr --localstatedir=/var
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}
package() {
cd $pkgname-$pkgver
make DESTDIR="${pkgdir}" install
install -m755 libglade-convert "${pkgdir}/usr/bin/"
}

25
libglade/trunk/glade.install

@ -0,0 +1,25 @@
post_install() {
if [ ! -d etc/xml ]; then
mkdir -p etc/xml
fi
if [ ! -e etc/xml/catalog ]; then
xmlcatalog --noout --create etc/xml/catalog
fi
xmlcatalog --noout --add "system" \
"http://glade.gnome.org/glade-2.0.dtd" \
/usr/share/xml/libglade/glade-2.0.dtd etc/xml/catalog
}
pre_upgrade() {
post_remove
}
post_upgrade() {
post_install $1
}
# arg 1: the old package version
post_remove() {
xmlcatalog --noout --del \
/usr/share/xml/libglade/glade-2.0.dtd etc/xml/catalog
}

39
libglade/trunk/libglade-2.0.1-nowarning.patch

@ -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…
Cancel
Save