diff options
author | Howard Pepper <h_pepper at bellsouth {dot} net> | 2011-08-13 13:34:03 -0300 |
---|---|---|
committer | Niels Horn <niels.horn@slackbuilds.org> | 2011-08-13 13:34:03 -0300 |
commit | 9a89a416b3083563fd831603a820662311221283 (patch) | |
tree | 2d8441fac3a765ced533d38a3ab9a5e980f65493 /misc/xlog/xlog.SlackBuild | |
parent | 5cb094eddd3097b72dbfa58e98d57904c6af033e (diff) | |
download | slackbuilds-9a89a416b3083563fd831603a820662311221283.tar.gz |
misc/xlog: Updated for version 2.0.5.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'misc/xlog/xlog.SlackBuild')
-rw-r--r-- | misc/xlog/xlog.SlackBuild | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/misc/xlog/xlog.SlackBuild b/misc/xlog/xlog.SlackBuild index ad5772afab..1808b39f76 100644 --- a/misc/xlog/xlog.SlackBuild +++ b/misc/xlog/xlog.SlackBuild @@ -23,16 +23,14 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=xlog -VERSION=2.0.3 +VERSION=2.0.5 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -69,6 +67,17 @@ cd $PRGNAM-$VERSION chown -R root:root . chmod -R u+w,go+r-w,a-s . +# As upstreams INSTALL file mentions, packagers should not run +# 'update-mime-database' neither 'update-desktop-database' and +# this should be disabled by default and enabled (if so desired) +# with --enable-mime-update. But... +# Make still runs 'update-desktop-database', creating a new +# index that would overwrite the one on the box receiving the +# package. +# This fixes it in the Makefile.in: +sed "/^@HAVE_DESKTOP_TRUE/s/\(@HAVE_DESKTOP_TRUE@\)/\1@MIMEUPDATE_TRUE@/g" \ + -i data/desktop/Makefile.in + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ |