Browse Source

anjuta: fixed to not run 'update-mime-database'

stable/0.2
Christian Wiese 14 years ago
parent
commit
d067662c5d
  1. 30
      gnome2/anjuta/anjuta-2.32.1.1-no-update-mime-database.patch
  2. 5
      gnome2/anjuta/anjuta.conf

30
gnome2/anjuta/anjuta-2.32.1.1-no-update-mime-database.patch

@ -0,0 +1,30 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../anjuta/anjuta-2.32.1.1-no-update-mime-database.patch
# Copyright (C) 2011 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- SDE-COPYRIGHT-NOTE-END ---
--- anjuta-2.32.1.1/mime/Makefile.am.orig 2011-05-19 14:17:18.852002344 +0200
+++ anjuta-2.32.1.1/mime/Makefile.am 2011-05-19 15:46:09.072002345 +0200
@@ -7,11 +7,6 @@
## Update mime only when system wide installation takes place
install-data-local: install-mimexmlDATA
- if [ -f $(DESTDIR)$(datadir)/mime/packages/freedesktop.org.xml ] ; then \
- if which update-mime-database>/dev/null 2>&1; then \
- update-mime-database $(DESTDIR)$(datadir)/mime; \
- fi \
- fi
uninstall-local:
if [ -f $(DESTDIR)$(datadir)/mime/packages/freedesktop.org.xml ] ; then \

5
gnome2/anjuta/anjuta.conf

@ -2,7 +2,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../anjuta/anjuta.conf
# Copyright (C) 2008 The OpenSDE Project
# Copyright (C) 2008 - 2011 The OpenSDE Project
# Copyright (C) 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
@ -13,6 +13,9 @@
# GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END ---
# we patch 'mime/Makefile.am' to not run 'update-mime-database' on install
hook_add preconf 9 'autoreconf -vfi'
#disabled valgrind plugin, doesn't build on 64 platform
[ $arch = x86-64 ] && var_append confopt ' ' "--disable-plugin-valgrind"

Loading…
Cancel
Save