summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-07 02:31:41 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-07 02:31:41 (GMT)
commit78e6e9afbf9ba87b45032042ee1c9fe0ee426672 (patch)
tree77d5008e3a2cf039c9c9af725ad575cfe9973f5b
parent4235867de03bf7a546700e48d50828b430b24d22 (diff)
downloadlinhes_pkgbuild-78e6e9afbf9ba87b45032042ee1c9fe0ee426672.zip
linhes_pkgbuild-78e6e9afbf9ba87b45032042ee1c9fe0ee426672.tar.gz
linhes_pkgbuild-78e6e9afbf9ba87b45032042ee1c9fe0ee426672.tar.bz2
gtk2 2.24.11
-rw-r--r--abs/core/gtk2/PKGBUILD72
-rw-r--r--abs/core/gtk2/__changelog1
-rw-r--r--abs/core/gtk2/gtk2.install6
-rw-r--r--abs/core/gtk2/old-icon-symlinks.patch269
4 files changed, 47 insertions, 301 deletions
diff --git a/abs/core/gtk2/PKGBUILD b/abs/core/gtk2/PKGBUILD
index 0526600..13d72a2 100644
--- a/abs/core/gtk2/PKGBUILD
+++ b/abs/core/gtk2/PKGBUILD
@@ -1,40 +1,56 @@
-# $Id: PKGBUILD 99604 2010-11-15 19:29:19Z ibiru $
+# $Id: PKGBUILD 163898 2012-07-21 19:20:18Z ibiru $
# Maintainer: Jan de Groot <jgc@archlinux.org>
-pkgname=gtk2
-pkgver=2.22.1
+pkgbase=gtk2
+pkgname=('gtk2' 'gtk-update-icon-cache')
+pkgver=2.24.11
pkgrel=1
-pkgdesc="The GTK+ Toolkit (v2)"
arch=('i686' 'x86_64')
url="http://www.gtk.org/"
-install=gtk2.install
-depends=('atk>=1.30.0' 'pango>=1.28.0' 'libxcursor' 'libxinerama' 'libxrandr>=1.3.0' 'libxi>=1.3' 'libxcomposite' 'libxdamage' 'heimdal>=1.3.2' 'gnutls>=2.8.6' 'shared-mime-info' 'cairo>=1.10.0' 'libcups>=1.4.4' 'gdk-pixbuf2>=2.22.1')
-makedepends=('gtk-doc' 'gobject-introspection')
-replaces=('gtkprint-cups' 'gail')
-conflicts=('gtkprint-cups' 'gail')
-provides=('gail=1.22.3')
-options=('!libtool' '!docs')
-backup=(etc/gtk-2.0/gtkrc)
+makedepends=('atk' 'pango' 'libxcursor' 'libxinerama' 'libxrandr' 'libxi' 'libxcomposite' 'libxdamage'
+ 'shared-mime-info' 'cairo' 'gdk-pixbuf2' 'gobject-introspection')
+options=('!libtool')
license=('LGPL')
-source=(http://ftp.gnome.org/pub/gnome/sources/gtk+/2.22/gtk+-${pkgver}.tar.bz2
- xid-collision-debug.patch old-icon-symlinks.patch)
-sha256sums=('965bc124f0d25087c4cb2a64cbfd7e4f896e05be8d560fbba68dd8685ba24d07'
- 'd758bb93e59df15a4ea7732cf984d1c3c19dff67c94b957575efea132b8fe558'
- '1298e4103f71d0304378f1e7503011150f6f68398ae8ebae5522a48feaea7c0d')
+source=(http://ftp.gnome.org/pub/gnome/sources/gtk+/2.24/gtk+-$pkgver.tar.xz
+ xid-collision-debug.patch)
+sha256sums=('328b4ea19a61040145e777e2ac49820968a382ac8581a380c9429897881812a9'
+ 'd758bb93e59df15a4ea7732cf984d1c3c19dff67c94b957575efea132b8fe558')
build() {
- cd "${srcdir}/gtk+-${pkgver}"
- patch -Np1 -i "${srcdir}/xid-collision-debug.patch"
- patch -Np1 -i "${srcdir}/old-icon-symlinks.patch"
+ cd "$srcdir/gtk+-$pkgver"
+ patch -Np1 -i "$srcdir/xid-collision-debug.patch"
- CXX=/bin/false ./configure --prefix=/usr \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --with-xinput=yes
- make
- make DESTDIR="${pkgdir}" install
+ CXX=/bin/false ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --with-xinput=yes
- sed -i "s#env python#env python2#" $pkgdir/usr/bin/gtk-builder-convert
+ # https://bugzilla.gnome.org/show_bug.cgi?id=655517
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
- echo 'gtk-fallback-icon-theme = "gnome"' > "${pkgdir}/etc/gtk-2.0/gtkrc"
+ make
+}
+
+package_gtk2() {
+ pkgdesc="GTK+ is a multi-platform toolkit (v2)"
+ install=gtk2.install
+ depends=('atk' 'pango' 'libxcursor' 'libxinerama' 'libxrandr' 'libxi' 'libxcomposite' 'libxdamage' 'shared-mime-info' 'cairo' 'gtk-update-icon-cache')
+ backup=(etc/gtk-2.0/gtkrc)
+ replaces=('gtk2-docs')
+
+ cd "$srcdir/gtk+-$pkgver"
+
+ make DESTDIR="$pkgdir" install
+ sed -i "s#env python#env python2#" $pkgdir/usr/bin/gtk-builder-convert
+ echo 'gtk-fallback-icon-theme = "gnome"' > "$pkgdir/etc/gtk-2.0/gtkrc"
+ #split this out to use with gtk3 too
+ rm $pkgdir/usr/bin/gtk-update-icon-cache
+}
+package_gtk-update-icon-cache() {
+ pkgdesc="The GTK+ update icon cache tool"
+ depends=('gdk-pixbuf2>=2.24.1-3')
+
+ cd "$srcdir/gtk+-$pkgver/gtk"
+
+ install -D -m755 gtk-update-icon-cache $pkgdir/usr/bin/gtk-update-icon-cache
}
diff --git a/abs/core/gtk2/__changelog b/abs/core/gtk2/__changelog
deleted file mode 100644
index 1384183..0000000
--- a/abs/core/gtk2/__changelog
+++ /dev/null
@@ -1 +0,0 @@
-removed cups support -jm
diff --git a/abs/core/gtk2/gtk2.install b/abs/core/gtk2/gtk2.install
index 4e2b72f..a988c64 100644
--- a/abs/core/gtk2/gtk2.install
+++ b/abs/core/gtk2/gtk2.install
@@ -1,5 +1,5 @@
post_install() {
- usr/bin/gtk-query-immodules-2.0 > etc/gtk-2.0/gtk.immodules
+ gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules
}
pre_upgrade() {
@@ -11,6 +11,6 @@ post_upgrade() {
}
pre_remove() {
- rm -f etc/gtk-2.0/gtk.immodules &>/dev/null
- rm -f etc/gtk-2.0/gdk-pixbuf.loaders &>/dev/null
+ rm -f /etc/gtk-2.0/gtk.immodules &>/dev/null
+ rm -f /etc/gtk-2.0/gdk-pixbuf.loaders &>/dev/null
}
diff --git a/abs/core/gtk2/old-icon-symlinks.patch b/abs/core/gtk2/old-icon-symlinks.patch
deleted file mode 100644
index 046dd4d..0000000
--- a/abs/core/gtk2/old-icon-symlinks.patch
+++ /dev/null
@@ -1,269 +0,0 @@
-diff -aur gtk+-2.22.0.orig//gtk/Makefile.in gtk+-2.22.0/gtk/Makefile.in
---- gtk+-2.22.0.orig//gtk/Makefile.in 2010-10-15 04:57:50.810006145 +0800
-+++ gtk+-2.22.0/gtk/Makefile.in 2010-10-15 05:13:49.083339478 +0800
-@@ -1598,7 +1598,172 @@
- stock-icons/24/folder-remote.png \
- stock-icons/24/user-home.png \
- stock-icons/24/user-desktop.png \
-- stock-icons/24/text-x-generic.png
-+ stock-icons/24/text-x-generic.png \
-+ stock-icons/16/gtk-quit.png \
-+ stock-icons/16/gtk-info.png \
-+ stock-icons/16/gtk-file.png \
-+ stock-icons/16/gtk-open.png \
-+ stock-icons/16/gtk-print-preview.png \
-+ stock-icons/16/gtk-print.png \
-+ stock-icons/16/gtk-properties.png \
-+ stock-icons/16/gtk-revert-to-saved-ltr.png \
-+ stock-icons/16/gtk-revert-to-saved-rtl.png \
-+ stock-icons/16/gtk-save-as.png \
-+ stock-icons/16/gtk-new.png \
-+ stock-icons/16/gtk-harddisk.png \
-+ stock-icons/16/gtk-clear.png \
-+ stock-icons/16/gtk-copy.png \
-+ stock-icons/16/gtk-cut.png \
-+ stock-icons/16/gtk-delete.png \
-+ stock-icons/16/gtk-find-and-replace.png \
-+ stock-icons/16/gtk-find.png \
-+ stock-icons/16/gtk-paste.png \
-+ stock-icons/16/gtk-redo-ltr.png \
-+ stock-icons/16/gtk-redo-rtl.png \
-+ stock-icons/16/gtk-select-all.png \
-+ stock-icons/16/gtk-undo-ltr.png \
-+ stock-icons/16/gtk-undo-rtl.png \
-+ stock-icons/16/gtk-directory.png \
-+ stock-icons/16/gtk-unindent-ltr.png \
-+ stock-icons/16/gtk-unindent-rtl.png \
-+ stock-icons/16/gtk-indent-ltr.png \
-+ stock-icons/16/gtk-indent-rtl.png \
-+ stock-icons/16/gtk-justify-center.png \
-+ stock-icons/16/gtk-justify-fill.png \
-+ stock-icons/16/gtk-justify-left.png \
-+ stock-icons/16/gtk-justify-right.png \
-+ stock-icons/16/gtk-bold.png \
-+ stock-icons/16/gtk-italic.png \
-+ stock-icons/16/gtk-strikethrough.png \
-+ stock-icons/16/gtk-underline.png \
-+ stock-icons/16/gtk-goto-bottom.png \
-+ stock-icons/16/gtk-go-down.png \
-+ stock-icons/16/gtk-goto-first-ltr.png \
-+ stock-icons/16/gtk-home.png \
-+ stock-icons/16/gtk-jump-to-ltr.png \
-+ stock-icons/16/gtk-jump-to-rtl.png \
-+ stock-icons/16/gtk-goto-last-ltr.png \
-+ stock-icons/16/gtk-go-forward-ltr.png \
-+ stock-icons/16/gtk-go-back-ltr.png \
-+ stock-icons/16/gtk-goto-top.png \
-+ stock-icons/16/gtk-go-up.png \
-+ stock-icons/16/gtk-about.png \
-+ stock-icons/16/gtk-help.png \
-+ stock-icons/16/gtk-missing-image.png \
-+ stock-icons/16/gtk-add.png \
-+ stock-icons/16/gtk-remove.png \
-+ stock-icons/16/gtk-floppy.png \
-+ stock-icons/16/gtk-cdrom.png \
-+ stock-icons/16/gtk-media-pause.png \
-+ stock-icons/16/gtk-media-play-ltr.png \
-+ stock-icons/16/gtk-media-play-rtl.png \
-+ stock-icons/16/gtk-media-stop.png \
-+ stock-icons/16/gtk-media-record.png \
-+ stock-icons/16/gtk-media-rewind-ltr.png \
-+ stock-icons/16/gtk-media-forward-ltr.png \
-+ stock-icons/16/gtk-media-previous-ltr.png \
-+ stock-icons/16/gtk-media-next-ltr.png \
-+ stock-icons/16/gtk-network.png \
-+ stock-icons/16/gtk-print-error.png \
-+ stock-icons/16/gtk-print-report.png \
-+ stock-icons/16/gtk-print-paused.png \
-+ stock-icons/16/gtk-print-warning.png \
-+ stock-icons/16/gtk-stop.png \
-+ stock-icons/16/gtk-execute.png \
-+ stock-icons/16/gtk-spell-check.png \
-+ stock-icons/16/gtk-fullscreen.png \
-+ stock-icons/16/gtk-refresh.png \
-+ stock-icons/16/gtk-leave-fullscreen.png \
-+ stock-icons/16/gtk-sort-ascending.png \
-+ stock-icons/16/gtk-sort-descending.png \
-+ stock-icons/16/gtk-close.png \
-+ stock-icons/16/gtk-zoom-fit.png \
-+ stock-icons/16/gtk-zoom-in.png \
-+ stock-icons/16/gtk-zoom-100.png \
-+ stock-icons/16/gtk-zoom-out.png \
-+ stock-icons/24/gtk-quit.png \
-+ stock-icons/24/gtk-info.png \
-+ stock-icons/24/gtk-file.png \
-+ stock-icons/24/gtk-open.png \
-+ stock-icons/24/gtk-print-preview.png \
-+ stock-icons/24/gtk-print.png \
-+ stock-icons/24/gtk-properties.png \
-+ stock-icons/24/gtk-revert-to-saved-ltr.png \
-+ stock-icons/24/gtk-revert-to-saved-rtl.png \
-+ stock-icons/24/gtk-save-as.png \
-+ stock-icons/24/gtk-new.png \
-+ stock-icons/24/gtk-harddisk.png \
-+ stock-icons/24/gtk-clear.png \
-+ stock-icons/24/gtk-copy.png \
-+ stock-icons/24/gtk-cut.png \
-+ stock-icons/24/gtk-delete.png \
-+ stock-icons/24/gtk-find-and-replace.png \
-+ stock-icons/24/gtk-find.png \
-+ stock-icons/24/gtk-paste.png \
-+ stock-icons/24/gtk-redo-ltr.png \
-+ stock-icons/24/gtk-redo-rtl.png \
-+ stock-icons/24/gtk-select-all.png \
-+ stock-icons/24/gtk-undo-ltr.png \
-+ stock-icons/24/gtk-undo-rtl.png \
-+ stock-icons/24/gtk-directory.png \
-+ stock-icons/24/gtk-unindent-ltr.png \
-+ stock-icons/24/gtk-unindent-rtl.png \
-+ stock-icons/24/gtk-indent-ltr.png \
-+ stock-icons/24/gtk-indent-rtl.png \
-+ stock-icons/24/gtk-justify-center.png \
-+ stock-icons/24/gtk-justify-fill.png \
-+ stock-icons/24/gtk-justify-left.png \
-+ stock-icons/24/gtk-justify-right.png \
-+ stock-icons/24/gtk-bold.png \
-+ stock-icons/24/gtk-italic.png \
-+ stock-icons/24/gtk-strikethrough.png \
-+ stock-icons/24/gtk-underline.png \
-+ stock-icons/24/gtk-goto-bottom.png \
-+ stock-icons/24/gtk-go-down.png \
-+ stock-icons/24/gtk-goto-first-ltr.png \
-+ stock-icons/24/gtk-home.png \
-+ stock-icons/24/gtk-jump-to-ltr.png \
-+ stock-icons/24/gtk-jump-to-rtl.png \
-+ stock-icons/24/gtk-goto-last-ltr.png \
-+ stock-icons/24/gtk-go-forward-ltr.png \
-+ stock-icons/24/gtk-go-back-ltr.png \
-+ stock-icons/24/gtk-goto-top.png \
-+ stock-icons/24/gtk-go-up.png \
-+ stock-icons/24/gtk-about.png \
-+ stock-icons/24/gtk-help.png \
-+ stock-icons/24/gtk-missing-image.png \
-+ stock-icons/24/gtk-add.png \
-+ stock-icons/24/gtk-remove.png \
-+ stock-icons/24/gtk-floppy.png \
-+ stock-icons/24/gtk-cdrom.png \
-+ stock-icons/24/gtk-media-pause.png \
-+ stock-icons/24/gtk-media-play-ltr.png \
-+ stock-icons/24/gtk-media-play-rtl.png \
-+ stock-icons/24/gtk-media-stop.png \
-+ stock-icons/24/gtk-media-record.png \
-+ stock-icons/24/gtk-media-rewind-ltr.png \
-+ stock-icons/24/gtk-media-forward-ltr.png \
-+ stock-icons/24/gtk-media-previous-ltr.png \
-+ stock-icons/24/gtk-media-next-ltr.png \
-+ stock-icons/24/gtk-network.png \
-+ stock-icons/24/gtk-print-error.png \
-+ stock-icons/24/gtk-print-report.png \
-+ stock-icons/24/gtk-print-paused.png \
-+ stock-icons/24/gtk-print-warning.png \
-+ stock-icons/24/gtk-stop.png \
-+ stock-icons/24/gtk-execute.png \
-+ stock-icons/24/gtk-spell-check.png \
-+ stock-icons/24/gtk-fullscreen.png \
-+ stock-icons/24/gtk-refresh.png \
-+ stock-icons/24/gtk-leave-fullscreen.png \
-+ stock-icons/24/gtk-sort-ascending.png \
-+ stock-icons/24/gtk-sort-descending.png \
-+ stock-icons/24/gtk-close.png \
-+ stock-icons/24/gtk-zoom-fit.png \
-+ stock-icons/24/gtk-zoom-in.png \
-+ stock-icons/24/gtk-zoom-100.png \
-+ stock-icons/24/gtk-zoom-out.png \
-+ stock-icons/48/gtk-dialog-error.png
-
- @CROSS_COMPILING_FALSE@gtk_update_icon_cache_program = \
- @CROSS_COMPILING_FALSE@ ./gtk-update-icon-cache
-@@ -2869,7 +3034,91 @@
- && $(LN_S) folder.png user-desktop.png \
- && $(RM) text-x-generic.png \
- && $(LN_S) document-x-generic.png text-x-generic.png \
-+ && $(LN_S) application-exit.png gtk-quit.png \
-+ && $(LN_S) dialog-information.png gtk-info.png \
-+ && $(LN_S) document-new.png gtk-file.png \
-+ && $(LN_S) document-open.png gtk-open.png \
-+ && $(LN_S) document-print-preview.png gtk-print-preview.png \
-+ && $(LN_S) document-print.png gtk-print.png \
-+ && $(LN_S) document-properties.png gtk-properties.png \
-+ && $(LN_S) document-revert-ltr.png gtk-revert-to-saved-ltr.png \
-+ && $(LN_S) document-revert-rtl.png gtk-revert-to-saved-rtl.png \
-+ && $(LN_S) document-save-as.png gtk-save-as.png \
-+ && $(LN_S) document-x-generic.png gtk-new.png \
-+ && $(LN_S) drive-harddisk.png gtk-harddisk.png \
-+ && $(LN_S) edit-clear.png gtk-clear.png \
-+ && $(LN_S) edit-copy.png gtk-copy.png \
-+ && $(LN_S) edit-cut.png gtk-cut.png \
-+ && $(LN_S) edit-delete.png gtk-delete.png \
-+ && $(LN_S) edit-find-replace.png gtk-find-and-replace.png \
-+ && $(LN_S) edit-find.png gtk-find.png \
-+ && $(LN_S) edit-paste.png gtk-paste.png \
-+ && $(LN_S) edit-redo-ltr.png gtk-redo-ltr.png \
-+ && $(LN_S) edit-redo-rtl.png gtk-redo-rtl.png \
-+ && $(LN_S) edit-select-all.png gtk-select-all.png \
-+ && $(LN_S) edit-undo-ltr.png gtk-undo-ltr.png \
-+ && $(LN_S) edit-undo-rtl.png gtk-undo-rtl.png \
-+ && $(LN_S) folder.png gtk-directory.png \
-+ && $(LN_S) format-indent-less-ltr.png gtk-unindent-ltr.png \
-+ && $(LN_S) format-indent-less-rtl.png gtk-unindent-rtl.png \
-+ && $(LN_S) format-indent-more-ltr.png gtk-indent-ltr.png \
-+ && $(LN_S) format-indent-more-rtl.png gtk-indent-rtl.png \
-+ && $(LN_S) format-justify-center.png gtk-justify-center.png \
-+ && $(LN_S) format-justify-fill.png gtk-justify-fill.png \
-+ && $(LN_S) format-justify-left.png gtk-justify-left.png \
-+ && $(LN_S) format-justify-right.png gtk-justify-right.png \
-+ && $(LN_S) format-text-bold.png gtk-bold.png \
-+ && $(LN_S) format-text-italic.png gtk-italic.png \
-+ && $(LN_S) format-text-strikethrough.png gtk-strikethrough.png \
-+ && $(LN_S) format-text-underline.png gtk-underline.png \
-+ && $(LN_S) go-bottom.png gtk-goto-bottom.png \
-+ && $(LN_S) go-down.png gtk-go-down.png \
-+ && $(LN_S) go-first-ltr.png gtk-goto-first-ltr.png \
-+ && $(LN_S) go-home.png gtk-home.png \
-+ && $(LN_S) go-jump-ltr.png gtk-jump-to-ltr.png \
-+ && $(LN_S) go-jump-rtl.png gtk-jump-to-rtl.png \
-+ && $(LN_S) go-last-ltr.png gtk-goto-last-ltr.png \
-+ && $(LN_S) go-next-ltr.png gtk-go-forward-ltr.png \
-+ && $(LN_S) go-previous-ltr.png gtk-go-back-ltr.png \
-+ && $(LN_S) go-top.png gtk-goto-top.png \
-+ && $(LN_S) go-up.png gtk-go-up.png \
-+ && $(LN_S) help-about.png gtk-about.png \
-+ && $(LN_S) help-contents.png gtk-help.png \
-+ && $(LN_S) image-missing.png gtk-missing-image.png \
-+ && $(LN_S) list-add.png gtk-add.png \
-+ && $(LN_S) list-remove.png gtk-remove.png \
-+ && $(LN_S) media-floppy.png gtk-floppy.png \
-+ && $(LN_S) media-optical.png gtk-cdrom.png \
-+ && $(LN_S) media-playback-pause.png gtk-media-pause.png \
-+ && $(LN_S) media-playback-start-ltr.png gtk-media-play-ltr.png \
-+ && $(LN_S) media-playback-start-rtl.png gtk-media-play-rtl.png \
-+ && $(LN_S) media-playback-stop.png gtk-media-stop.png \
-+ && $(LN_S) media-record.png gtk-media-record.png \
-+ && $(LN_S) media-seek-backward-ltr.png gtk-media-rewind-ltr.png \
-+ && $(LN_S) media-seek-forward-ltr.png gtk-media-forward-ltr.png \
-+ && $(LN_S) media-skip-backward-ltr.png gtk-media-previous-ltr.png \
-+ && $(LN_S) media-skip-forward-ltr.png gtk-media-next-ltr.png \
-+ && $(LN_S) network-idle.png gtk-network.png \
-+ && $(LN_S) printer-error.png gtk-print-error.png \
-+ && $(LN_S) printer-info.png gtk-print-report.png \
-+ && $(LN_S) printer-paused.png gtk-print-paused.png \
-+ && $(LN_S) printer-warning.png gtk-print-warning.png \
-+ && $(LN_S) process-stop.png gtk-stop.png \
-+ && $(LN_S) system-run.png gtk-execute.png \
-+ && $(LN_S) tools-check-spelling.png gtk-spell-check.png \
-+ && $(LN_S) view-fullscreen.png gtk-fullscreen.png \
-+ && $(LN_S) view-refresh.png gtk-refresh.png \
-+ && $(LN_S) view-restore.png gtk-leave-fullscreen.png \
-+ && $(LN_S) view-sort-ascending.png gtk-sort-ascending.png \
-+ && $(LN_S) view-sort-descending.png gtk-sort-descending.png \
-+ && $(LN_S) window-close.png gtk-close.png \
-+ && $(LN_S) zoom-fit-best.png gtk-zoom-fit.png \
-+ && $(LN_S) zoom-in.png gtk-zoom-in.png \
-+ && $(LN_S) zoom-original.png gtk-zoom-100.png \
-+ && $(LN_S) zoom-out.png gtk-zoom-out.png \
- ) done \
-+ && (cd stock-icons/48 \
-+ && $(LN_S) dialog-error.png gtk-dialog-error.png) \
- && touch stamp-icons
-
- gtkbuiltincache.h: @REBUILD@ stamp-icons