<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-16439</id>
	<title>Nabble - ArchLinux</title>
	<updated>2009-11-12T15:09:23Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/ArchLinux-f16439.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/ArchLinux-f16439.html" />
	<subtitle type="html">&lt;a href=&quot;http://www.archlinux.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Arch Linux&lt;/a&gt;, a lightweight and flexible linux distribution that tries to Keep It Simple.</subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26328231</id>
	<title>[PATCH 1/2] Changing [ to [[ and (( - Part One - Amended to remove quotes</title>
	<published>2009-11-12T15:09:23Z</published>
	<updated>2009-11-12T15:09:23Z</updated>
	<author>
		<name>Isaac Good-4</name>
	</author>
	<content type="html">This branch is missing the latest origin/master commit (Merge branch 'maint'). I'm not sure if (1) that is a problem and (2) what I should do about it. (merge origin/master? rebase origin/master?)
&lt;br&gt;&lt;br&gt;After Cedric's reply I cleaned up some quotes left behind and replaced the ones removed in error.
&lt;br&gt;&lt;br&gt;&amp;gt;From 6375a17a0fefbb5cfc55e15c1e940e74f8498d97 Mon Sep 17 00:00:00 2001
&lt;br&gt;From: Isaac Good &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26328231&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pacman@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Date: Thu, 12 Nov 2009 15:07:34 -0500
&lt;br&gt;Subject: [PATCH 1/2] Changing [ to [[ and (( - Part One - Amended to remove quotes
&lt;br&gt;&lt;br&gt;First half of makepkg
&lt;br&gt;This replaces any prior patches of mine
&lt;br&gt;Includes stuff like -o to || and -a to &amp;&amp; etc
&lt;br&gt;if [ $(type .. &amp;nbsp;were preserved due to a bash bug with [[ and set -e and ERR traps
&lt;br&gt;&lt;br&gt;Signed-off-by: Isaac Good &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26328231&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pacman@...&lt;/a&gt;&amp;gt;
&lt;br&gt;---
&lt;br&gt;&amp;nbsp;scripts/makepkg.sh.in | &amp;nbsp;202 ++++++++++++++++++++++++------------------------
&lt;br&gt;&amp;nbsp;1 files changed, 101 insertions(+), 101 deletions(-)
&lt;br&gt;&lt;br&gt;diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
&lt;br&gt;index 25fb8d9..f22b0d0 100644
&lt;br&gt;--- a/scripts/makepkg.sh.in
&lt;br&gt;+++ b/scripts/makepkg.sh.in
&lt;br&gt;@@ -112,7 +112,7 @@ error() {
&lt;br&gt;&amp;nbsp;# the fakeroot call, the error message will be printed by the main call.
&lt;br&gt;&amp;nbsp;##
&lt;br&gt;&amp;nbsp;trap_exit() {
&lt;br&gt;-	if [ &amp;quot;$INFAKEROOT&amp;quot; -eq 0 ]; then
&lt;br&gt;+	if (( ! INFAKEROOT )); then
&lt;br&gt;&amp;nbsp;		echo
&lt;br&gt;&amp;nbsp;		error &amp;quot;$@&amp;quot;
&lt;br&gt;&amp;nbsp;	fi
&lt;br&gt;@@ -126,21 +126,21 @@ trap_exit() {
&lt;br&gt;&amp;nbsp;clean_up() {
&lt;br&gt;&amp;nbsp;	local EXIT_CODE=$?
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-	if [ &amp;quot;$INFAKEROOT&amp;quot; -eq 1 ]; then
&lt;br&gt;+	if (( INFAKEROOT )); then
&lt;br&gt;&amp;nbsp;		# Don't clean up when leaving fakeroot, we're not done yet.
&lt;br&gt;&amp;nbsp;		return
&lt;br&gt;&amp;nbsp;	fi
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-	if [ $EXIT_CODE -eq 0 -a &amp;quot;$CLEANUP&amp;quot; -eq 1 ]; then
&lt;br&gt;+	if (( ! EXIT_CODE &amp;&amp; CLEANUP )); then
&lt;br&gt;&amp;nbsp;		# If it's a clean exit and -c/--clean has been passed...
&lt;br&gt;&amp;nbsp;		msg &amp;quot;$(gettext &amp;quot;Cleaning up...&amp;quot;)&amp;quot;
&lt;br&gt;&amp;nbsp;		rm -rf &amp;quot;$pkgdir&amp;quot; &amp;quot;$srcdir&amp;quot;
&lt;br&gt;-		if [ -n &amp;quot;$pkgbase&amp;quot; ]; then
&lt;br&gt;+		if [[ -n $pkgbase ]]; then
&lt;br&gt;&amp;nbsp;			# Can't do this unless the BUILDSCRIPT has been sourced.
&lt;br&gt;&amp;nbsp;			rm -f &amp;quot;${pkgbase}-${pkgver}-${pkgrel}-${CARCH}-build.log&amp;quot;*
&lt;br&gt;-			if [ &amp;quot;$PKGFUNC&amp;quot; -eq 1 ]; then
&lt;br&gt;+			if (( PKGFUNC )); then
&lt;br&gt;&amp;nbsp;				rm -f &amp;quot;${pkgbase}-${pkgver}-${pkgrel}-${CARCH}-package.log&amp;quot;*
&lt;br&gt;-			elif [ &amp;quot;$SPLITPKG&amp;quot; -eq 1 ]; then
&lt;br&gt;+			elif (( SPLITPKG )); then
&lt;br&gt;&amp;nbsp;				for pkg in ${pkgname[@]}; do
&lt;br&gt;&amp;nbsp;					rm -f &amp;quot;${pkg}-${pkgver}-${pkgrel}-${CARCH}-package.log&amp;quot;*
&lt;br&gt;&amp;nbsp;				done
&lt;br&gt;@@ -190,14 +190,14 @@ get_url() {
&lt;br&gt;&amp;nbsp;##
&lt;br&gt;&amp;nbsp;check_option() {
&lt;br&gt;&amp;nbsp;	local ret=$(in_opt_array &amp;quot;$1&amp;quot; ${options[@]})
&lt;br&gt;-	if [ &amp;quot;$ret&amp;quot; != '?' ]; then
&lt;br&gt;+	if [[ $ret != '?' ]]; then
&lt;br&gt;&amp;nbsp;		echo $ret
&lt;br&gt;&amp;nbsp;		return
&lt;br&gt;&amp;nbsp;	fi
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	# fall back to makepkg.conf options
&lt;br&gt;&amp;nbsp;	ret=$(in_opt_array &amp;quot;$1&amp;quot; ${OPTIONS[@]})
&lt;br&gt;-	if [ &amp;quot;$ret&amp;quot; != '?' ]; then
&lt;br&gt;+	if [[ $ret != '?' ]]; then
&lt;br&gt;&amp;nbsp;		echo $ret
&lt;br&gt;&amp;nbsp;		return
&lt;br&gt;&amp;nbsp;	fi
&lt;br&gt;@@ -231,10 +231,10 @@ in_opt_array() {
&lt;br&gt;&amp;nbsp;	local opt
&lt;br&gt;&amp;nbsp;	for opt in &amp;quot;$@&amp;quot;; do
&lt;br&gt;&amp;nbsp;		opt=&amp;quot;${opt,,}&amp;quot;
&lt;br&gt;-		if [ &amp;quot;$opt&amp;quot; = &amp;quot;$needle&amp;quot; ]; then
&lt;br&gt;+		if [[ $opt = $needle ]]; then
&lt;br&gt;&amp;nbsp;			echo 'y' # Enabled
&lt;br&gt;&amp;nbsp;			return
&lt;br&gt;-		elif [ &amp;quot;$opt&amp;quot; = &amp;quot;!$needle&amp;quot; ]; then
&lt;br&gt;+		elif [[ $opt = &amp;quot;!$needle&amp;quot; ]]; then
&lt;br&gt;&amp;nbsp;			echo 'n' # Disabled
&lt;br&gt;&amp;nbsp;			return
&lt;br&gt;&amp;nbsp;		fi
&lt;br&gt;@@ -251,10 +251,10 @@ in_opt_array() {
&lt;br&gt;&amp;nbsp;##
&lt;br&gt;&amp;nbsp;in_array() {
&lt;br&gt;&amp;nbsp;	local needle=$1; shift
&lt;br&gt;-	[ -z &amp;quot;$1&amp;quot; ] &amp;&amp; return 1 # Not Found
&lt;br&gt;+	[[ -z $1 ]] &amp;&amp; return 1 # Not Found
&lt;br&gt;&amp;nbsp;	local item
&lt;br&gt;&amp;nbsp;	for item in &amp;quot;$@&amp;quot;; do
&lt;br&gt;-		[ &amp;quot;$item&amp;quot; = &amp;quot;$needle&amp;quot; ] &amp;&amp; return 0 # Found
&lt;br&gt;+		[[ $item = $needle ]] &amp;&amp; return 0 # Found
&lt;br&gt;&amp;nbsp;	done
&lt;br&gt;&amp;nbsp;	return 1 # Not Found
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;@@ -268,14 +268,14 @@ get_downloadclient() {
&lt;br&gt;&amp;nbsp;	local i
&lt;br&gt;&amp;nbsp;	for i in &amp;quot;${DLAGENTS[@]}&amp;quot;; do
&lt;br&gt;&amp;nbsp;		local handler=&amp;quot;${i%%::*}&amp;quot;
&lt;br&gt;-		if [ &amp;quot;$proto&amp;quot; = &amp;quot;$handler&amp;quot; ]; then
&lt;br&gt;+		if [[ $proto = $handler ]]; then
&lt;br&gt;&amp;nbsp;			agent=&amp;quot;${i##*::}&amp;quot;
&lt;br&gt;&amp;nbsp;			break
&lt;br&gt;&amp;nbsp;		fi
&lt;br&gt;&amp;nbsp;	done
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	# if we didn't find an agent, return an error
&lt;br&gt;-	if [ -z &amp;quot;$agent&amp;quot; ]; then
&lt;br&gt;+	if [[ -z $agent ]]; then
&lt;br&gt;&amp;nbsp;		error &amp;quot;$(gettext &amp;quot;There is no agent set up to handle %s URLs. Check %s.&amp;quot;)&amp;quot; &amp;quot;$proto&amp;quot; &amp;quot;$MAKEPKG_CONF&amp;quot;
&lt;br&gt;&amp;nbsp;		plain &amp;quot;$(gettext &amp;quot;Aborting...&amp;quot;)&amp;quot;
&lt;br&gt;&amp;nbsp;		exit 1 # $E_CONFIG_ERROR
&lt;br&gt;@@ -283,7 +283,7 @@ get_downloadclient() {
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	# ensure specified program is installed
&lt;br&gt;&amp;nbsp;	local program=&amp;quot;${agent%% *}&amp;quot;
&lt;br&gt;-	if [ ! -x &amp;quot;$program&amp;quot; ]; then
&lt;br&gt;+	if [[ ! -x $program ]]; then
&lt;br&gt;&amp;nbsp;		local baseprog=$(basename $program)
&lt;br&gt;&amp;nbsp;		error &amp;quot;$(gettext &amp;quot;The download program %s is not installed.&amp;quot;)&amp;quot; &amp;quot;$baseprog&amp;quot;
&lt;br&gt;&amp;nbsp;		plain &amp;quot;$(gettext &amp;quot;Aborting...&amp;quot;)&amp;quot;
&lt;br&gt;@@ -317,25 +317,25 @@ download_file() {
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	local ret=0
&lt;br&gt;&amp;nbsp;	eval &amp;quot;$dlcmd || ret=\$?&amp;quot;
&lt;br&gt;-	if [ $ret -gt 0 ]; then
&lt;br&gt;-		[ ! -s &amp;quot;$dlfile&amp;quot; ] &amp;&amp; rm -f -- &amp;quot;$dlfile&amp;quot;
&lt;br&gt;+	if (( ret )); then
&lt;br&gt;+		[[ ! -s $dlfile ]] &amp;&amp; rm -f -- &amp;quot;$dlfile&amp;quot;
&lt;br&gt;&amp;nbsp;		return $ret
&lt;br&gt;&amp;nbsp;	fi
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	# rename the temporary download file to the final destination
&lt;br&gt;-	if [ &amp;quot;$dlfile&amp;quot; != &amp;quot;$file&amp;quot; ]; then
&lt;br&gt;+	if [[ $dlfile != $file ]]; then
&lt;br&gt;&amp;nbsp;		mv -f &amp;quot;$SRCDEST/$dlfile&amp;quot; &amp;quot;$SRCDEST/$file&amp;quot;
&lt;br&gt;&amp;nbsp;	fi
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;check_deps() {
&lt;br&gt;-	[ $# -gt 0 ] || return
&lt;br&gt;+	(( $# )) || return
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	pmout=$(pacman $PACMAN_OPTS -T &amp;quot;$@&amp;quot;)
&lt;br&gt;&amp;nbsp;	ret=$?
&lt;br&gt;-	if [ $ret -eq 127 ]; then #unresolved deps
&lt;br&gt;+	if (( ret == 127 )); then #unresolved deps
&lt;br&gt;&amp;nbsp;		echo &amp;quot;$pmout&amp;quot;
&lt;br&gt;-	elif [ $ret -ne 0 ]; then
&lt;br&gt;+	elif (( ret )); then
&lt;br&gt;&amp;nbsp;		error &amp;quot;$(gettext &amp;quot;Pacman returned a fatal error (%i): %s&amp;quot;)&amp;quot; &amp;quot;$ret&amp;quot; &amp;quot;$pmout&amp;quot;
&lt;br&gt;&amp;nbsp;		exit 1
&lt;br&gt;&amp;nbsp;	fi
&lt;br&gt;@@ -345,26 +345,26 @@ handle_deps() {
&lt;br&gt;&amp;nbsp;	local R_DEPS_SATISFIED=0
&lt;br&gt;&amp;nbsp;	local R_DEPS_MISSING=1
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-	[ $# -eq 0 ] &amp;&amp; return $R_DEPS_SATISFIED
&lt;br&gt;+	(( $# == 0 )) &amp;&amp; return $R_DEPS_SATISFIED
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	local deplist=&amp;quot;$*&amp;quot;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-	if [ &amp;quot;$DEP_BIN&amp;quot; -eq 0 ]; then
&lt;br&gt;+	if (( ! DEP_BIN )); then
&lt;br&gt;&amp;nbsp;		return $R_DEPS_MISSING
&lt;br&gt;&amp;nbsp;	fi
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-	if [ &amp;quot;$DEP_BIN&amp;quot; -eq 1 ]; then
&lt;br&gt;+	if (( DEP_BIN )); then
&lt;br&gt;&amp;nbsp;		# install missing deps from binary packages (using pacman -S)
&lt;br&gt;&amp;nbsp;		msg &amp;quot;$(gettext &amp;quot;Installing missing dependencies...&amp;quot;)&amp;quot;
&lt;br&gt;&amp;nbsp;		local ret=0
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-		if [ &amp;quot;$ASROOT&amp;quot; -eq 0 ]; then
&lt;br&gt;+		if (( ! ASROOT )); then
&lt;br&gt;&amp;nbsp;			sudo pacman $PACMAN_OPTS -S --asdeps $deplist || ret=$?
&lt;br&gt;&amp;nbsp;		else
&lt;br&gt;&amp;nbsp;			pacman $PACMAN_OPTS -S --asdeps $deplist || ret=$?
&lt;br&gt;&amp;nbsp;		fi
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-		if [ $ret -ne 0 ]; then
&lt;br&gt;+		if (( ret )); then
&lt;br&gt;&amp;nbsp;			error &amp;quot;$(gettext &amp;quot;Pacman failed to install missing dependencies.&amp;quot;)&amp;quot;
&lt;br&gt;&amp;nbsp;			exit 1 # TODO: error code
&lt;br&gt;&amp;nbsp;		fi
&lt;br&gt;@@ -385,7 +385,7 @@ resolve_deps() {
&lt;br&gt;&amp;nbsp;	local R_DEPS_MISSING=1
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	local deplist=&amp;quot;$(check_deps $*)&amp;quot;
&lt;br&gt;-	if [ -z &amp;quot;$deplist&amp;quot; ]; then
&lt;br&gt;+	if [[ -z $deplist ]]; then
&lt;br&gt;&amp;nbsp;		return $R_DEPS_SATISFIED
&lt;br&gt;&amp;nbsp;	fi
&lt;br&gt;&amp;nbsp;
&lt;br&gt;@@ -393,8 +393,8 @@ resolve_deps() {
&lt;br&gt;&amp;nbsp;		pkgdeps=&amp;quot;$pkgdeps $deplist&amp;quot;
&lt;br&gt;&amp;nbsp;		# check deps again to make sure they were resolved
&lt;br&gt;&amp;nbsp;		deplist=&amp;quot;$(check_deps $*)&amp;quot;
&lt;br&gt;-		[ -z &amp;quot;$deplist&amp;quot; ] &amp;&amp; return $R_DEPS_SATISFIED
&lt;br&gt;-	elif [ &amp;quot;$DEP_BIN&amp;quot; -eq 1 ]; then
&lt;br&gt;+		[[ -z $deplist ]] &amp;&amp; return $R_DEPS_SATISFIED
&lt;br&gt;+	elif (( DEP_BIN )); then
&lt;br&gt;&amp;nbsp;		error &amp;quot;$(gettext &amp;quot;Failed to install all missing dependencies.&amp;quot;)&amp;quot;
&lt;br&gt;&amp;nbsp;	fi
&lt;br&gt;&amp;nbsp;
&lt;br&gt;@@ -410,8 +410,8 @@ resolve_deps() {
&lt;br&gt;&amp;nbsp;# fix flyspray bug #5923
&lt;br&gt;&amp;nbsp;remove_deps() {
&lt;br&gt;&amp;nbsp;	# $pkgdeps is a GLOBAL variable, set by resolve_deps()
&lt;br&gt;-	[ &amp;quot;$RMDEPS&amp;quot; -eq 0 ] &amp;&amp; return
&lt;br&gt;-	[ -z &amp;quot;$pkgdeps&amp;quot; ] &amp;&amp; return
&lt;br&gt;+	(( ! RMDEPS )) &amp;&amp; return
&lt;br&gt;+	[[ -z $pkgdeps ]] &amp;&amp; return
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	local dep depstrip deplist
&lt;br&gt;&amp;nbsp;	deplist=&amp;quot;&amp;quot;
&lt;br&gt;@@ -422,14 +422,14 @@ remove_deps() {
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	msg &amp;quot;Removing installed dependencies...&amp;quot;
&lt;br&gt;&amp;nbsp;	local ret=0
&lt;br&gt;-	if [ &amp;quot;$ASROOT&amp;quot; -eq 0 ]; then
&lt;br&gt;+	if (( ! ASROOT )); then
&lt;br&gt;&amp;nbsp;		sudo pacman $PACMAN_OPTS -Rns $deplist || ret=$?
&lt;br&gt;&amp;nbsp;	else
&lt;br&gt;&amp;nbsp;		pacman $PACMAN_OPTS -Rns $deplist || ret=$?
&lt;br&gt;&amp;nbsp;	fi
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	# Fixes FS#10039 - exit cleanly as package has built successfully
&lt;br&gt;-	if [ $ret -ne 0 ]; then
&lt;br&gt;+	if (( ret )); then
&lt;br&gt;&amp;nbsp;		warning &amp;quot;$(gettext &amp;quot;Failed to remove installed dependencies.&amp;quot;)&amp;quot;
&lt;br&gt;&amp;nbsp;		return 0
&lt;br&gt;&amp;nbsp;	fi
&lt;br&gt;@@ -438,7 +438,7 @@ remove_deps() {
&lt;br&gt;&amp;nbsp;download_sources() {
&lt;br&gt;&amp;nbsp;	msg &amp;quot;$(gettext &amp;quot;Retrieving Sources...&amp;quot;)&amp;quot;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-	if [ ! -w &amp;quot;$SRCDEST&amp;quot; ] ; then
&lt;br&gt;+	if [[ ! -w $SRCDEST ]] ; then
&lt;br&gt;&amp;nbsp;		error &amp;quot;$(gettext &amp;quot;You do not have write permission to store downloads in %s.&amp;quot;)&amp;quot; &amp;quot;$SRCDEST&amp;quot;
&lt;br&gt;&amp;nbsp;		plain &amp;quot;$(gettext &amp;quot;Aborting...&amp;quot;)&amp;quot;
&lt;br&gt;&amp;nbsp;		exit 1
&lt;br&gt;@@ -450,12 +450,12 @@ download_sources() {
&lt;br&gt;&amp;nbsp;	for netfile in &amp;quot;${source[@]}&amp;quot;; do
&lt;br&gt;&amp;nbsp;		local file=$(get_filename &amp;quot;$netfile&amp;quot;)
&lt;br&gt;&amp;nbsp;		local url=$(get_url &amp;quot;$netfile&amp;quot;)
&lt;br&gt;-		if [ -f &amp;quot;$startdir/$file&amp;quot; ]; then
&lt;br&gt;+		if [[ -f $startdir/$file ]]; then
&lt;br&gt;&amp;nbsp;			msg2 &amp;quot;$(gettext &amp;quot;Found %s in build dir&amp;quot;)&amp;quot; &amp;quot;$file&amp;quot;
&lt;br&gt;&amp;nbsp;			rm -f &amp;quot;$srcdir/$file&amp;quot;
&lt;br&gt;&amp;nbsp;			ln -s &amp;quot;$startdir/$file&amp;quot; &amp;quot;$srcdir/&amp;quot;
&lt;br&gt;&amp;nbsp;			continue
&lt;br&gt;-		elif [ -f &amp;quot;$SRCDEST/$file&amp;quot; ]; then
&lt;br&gt;+		elif [[ -f $SRCDEST/$file ]]; then
&lt;br&gt;&amp;nbsp;			msg2 &amp;quot;$(gettext &amp;quot;Using cached copy of %s&amp;quot;)&amp;quot; &amp;quot;$file&amp;quot;
&lt;br&gt;&amp;nbsp;			rm -f &amp;quot;$srcdir/$file&amp;quot;
&lt;br&gt;&amp;nbsp;			ln -s &amp;quot;$SRCDEST/$file&amp;quot; &amp;quot;$srcdir/&amp;quot;
&lt;br&gt;@@ -463,7 +463,7 @@ download_sources() {
&lt;br&gt;&amp;nbsp;		fi
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;		# if we get here, check to make sure it was a URL, else fail
&lt;br&gt;-		if [ &amp;quot;$file&amp;quot; = &amp;quot;$url&amp;quot; ]; then
&lt;br&gt;+		if [[ $file = $url ]]; then
&lt;br&gt;&amp;nbsp;			error &amp;quot;$(gettext &amp;quot;%s was not found in the build directory and is not a URL.&amp;quot;)&amp;quot; &amp;quot;$file&amp;quot;
&lt;br&gt;&amp;nbsp;			exit 1 # $E_MISSING_FILE
&lt;br&gt;&amp;nbsp;		fi
&lt;br&gt;@@ -475,7 +475,7 @@ download_sources() {
&lt;br&gt;&amp;nbsp;		# fix flyspray bug #3289
&lt;br&gt;&amp;nbsp;		local ret=0
&lt;br&gt;&amp;nbsp;		download_file &amp;quot;$dlclient&amp;quot; &amp;quot;$url&amp;quot; &amp;quot;$file&amp;quot; || ret=$?
&lt;br&gt;-		if [ $ret -gt 0 ]; then
&lt;br&gt;+		if (( ret )); then
&lt;br&gt;&amp;nbsp;			error &amp;quot;$(gettext &amp;quot;Failure while downloading %s&amp;quot;)&amp;quot; &amp;quot;$file&amp;quot;
&lt;br&gt;&amp;nbsp;			plain &amp;quot;$(gettext &amp;quot;Aborting...&amp;quot;)&amp;quot;
&lt;br&gt;&amp;nbsp;			exit 1
&lt;br&gt;@@ -512,7 +512,7 @@ generate_checksums() {
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;		local i=0;
&lt;br&gt;&amp;nbsp;		local indent=''
&lt;br&gt;-		while [ $i -lt $((${#integ}+6)) ]; do
&lt;br&gt;+		while [[ $i -lt $((${#integ}+6)) ]]; do
&lt;br&gt;&amp;nbsp;			indent=&amp;quot;$indent &amp;quot;
&lt;br&gt;&amp;nbsp;			i=$(($i+1))
&lt;br&gt;&amp;nbsp;		done
&lt;br&gt;@@ -521,8 +521,8 @@ generate_checksums() {
&lt;br&gt;&amp;nbsp;		for netfile in &amp;quot;${source[@]}&amp;quot;; do
&lt;br&gt;&amp;nbsp;			local file=&amp;quot;$(get_filename &amp;quot;$netfile&amp;quot;)&amp;quot;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-			if [ ! -f &amp;quot;$file&amp;quot; ] ; then
&lt;br&gt;-				if [ ! -f &amp;quot;$SRCDEST/$file&amp;quot; ] ; then
&lt;br&gt;+			if [[ ! -f $file ]] ; then
&lt;br&gt;+				if [[ ! -f $SRCDEST/$file ]] ; then
&lt;br&gt;&amp;nbsp;					error &amp;quot;$(gettext &amp;quot;Unable to find source file %s to generate checksum.&amp;quot;)&amp;quot; &amp;quot;$file&amp;quot;
&lt;br&gt;&amp;nbsp;					plain &amp;quot;$(gettext &amp;quot;Aborting...&amp;quot;)&amp;quot;
&lt;br&gt;&amp;nbsp;					exit 1
&lt;br&gt;@@ -533,10 +533,10 @@ generate_checksums() {
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;			local sum=&amp;quot;$(openssl dgst -${integ} &amp;quot;$file&amp;quot;)&amp;quot;
&lt;br&gt;&amp;nbsp;			sum=${sum##* }
&lt;br&gt;-			[ $ct -gt 0 ] &amp;&amp; echo -n &amp;quot;$indent&amp;quot;
&lt;br&gt;+			(( ct )) &amp;&amp; echo -n &amp;quot;$indent&amp;quot;
&lt;br&gt;&amp;nbsp;			echo -n &amp;quot;'$sum'&amp;quot;
&lt;br&gt;&amp;nbsp;			ct=$(($ct+1))
&lt;br&gt;-			[ $ct -lt $numsrc ] &amp;&amp; echo
&lt;br&gt;+			(( $ct &amp;lt; $numsrc )) &amp;&amp; echo
&lt;br&gt;&amp;nbsp;		done
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;		echo &amp;quot;)&amp;quot;
&lt;br&gt;@@ -544,7 +544,7 @@ generate_checksums() {
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;check_checksums() {
&lt;br&gt;-	[ ${#source[@]} -eq 0 ] &amp;&amp; return 0
&lt;br&gt;+	(( ! ${#source[@]} )) &amp;&amp; return 0
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	if [ ! $(type -p openssl) ]; then
&lt;br&gt;&amp;nbsp;		error &amp;quot;$(gettext &amp;quot;Cannot find openssl.&amp;quot;)&amp;quot;
&lt;br&gt;@@ -555,7 +555,7 @@ check_checksums() {
&lt;br&gt;&amp;nbsp;	local integ required
&lt;br&gt;&amp;nbsp;	for integ in md5 sha1 sha256 sha384 sha512; do
&lt;br&gt;&amp;nbsp;		local integrity_sums=($(eval echo &amp;quot;\${${integ}sums[@]}&amp;quot;))
&lt;br&gt;-		if [ ${#integrity_sums[@]} -eq ${#source[@]} ]; then
&lt;br&gt;+		if (( ${#integrity_sums[@]} == ${#source[@]} )); then
&lt;br&gt;&amp;nbsp;			msg &amp;quot;$(gettext &amp;quot;Validating source files with %s...&amp;quot;)&amp;quot; &amp;quot;${integ}sums&amp;quot;
&lt;br&gt;&amp;nbsp;			correlation=1
&lt;br&gt;&amp;nbsp;			local errors=0
&lt;br&gt;@@ -566,8 +566,8 @@ check_checksums() {
&lt;br&gt;&amp;nbsp;				file=&amp;quot;$(get_filename &amp;quot;$file&amp;quot;)&amp;quot;
&lt;br&gt;&amp;nbsp;				echo -n &amp;quot; &amp;nbsp; &amp;nbsp;$file ... &amp;quot; &amp;gt;&amp;2
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-				if [ ! -f &amp;quot;$file&amp;quot; ] ; then
&lt;br&gt;-					if [ ! -f &amp;quot;$SRCDEST/$file&amp;quot; ] ; then
&lt;br&gt;+				if [[ ! -f $file ]] ; then
&lt;br&gt;+					if [[ ! -f $SRCDEST/$file ]] ; then
&lt;br&gt;&amp;nbsp;						echo &amp;quot;$(gettext &amp;quot;NOT FOUND&amp;quot;)&amp;quot; &amp;gt;&amp;2
&lt;br&gt;&amp;nbsp;						errors=1
&lt;br&gt;&amp;nbsp;						found=0
&lt;br&gt;@@ -576,11 +576,11 @@ check_checksums() {
&lt;br&gt;&amp;nbsp;					fi
&lt;br&gt;&amp;nbsp;				fi
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-				if [ $found -gt 0 ] ; then
&lt;br&gt;+				if (( $found )) ; then
&lt;br&gt;&amp;nbsp;					local expectedsum=&amp;quot;${integrity_sums[$idx],,}&amp;quot;
&lt;br&gt;&amp;nbsp;					local realsum=&amp;quot;$(openssl dgst -${integ} &amp;quot;$file&amp;quot;)&amp;quot;
&lt;br&gt;&amp;nbsp;					realsum=&amp;quot;${realsum##* }&amp;quot;
&lt;br&gt;-					if [ &amp;quot;$expectedsum&amp;quot; = &amp;quot;$realsum&amp;quot; ]; then
&lt;br&gt;+					if [[ $expectedsum = $realsum ]]; then
&lt;br&gt;&amp;nbsp;						echo &amp;quot;$(gettext &amp;quot;Passed&amp;quot;)&amp;quot; &amp;gt;&amp;2
&lt;br&gt;&amp;nbsp;					else
&lt;br&gt;&amp;nbsp;						echo &amp;quot;$(gettext &amp;quot;FAILED&amp;quot;)&amp;quot; &amp;gt;&amp;2
&lt;br&gt;@@ -591,18 +591,18 @@ check_checksums() {
&lt;br&gt;&amp;nbsp;				idx=$((idx + 1))
&lt;br&gt;&amp;nbsp;			done
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-			if [ $errors -gt 0 ]; then
&lt;br&gt;+			if (( errors )); then
&lt;br&gt;&amp;nbsp;				error &amp;quot;$(gettext &amp;quot;One or more files did not pass the validity check!&amp;quot;)&amp;quot;
&lt;br&gt;&amp;nbsp;				exit 1 # TODO: error code
&lt;br&gt;&amp;nbsp;			fi
&lt;br&gt;-		elif [ ${#integrity_sums[@]} -gt 0 ]; then
&lt;br&gt;+		elif (( ${#integrity_sums[@]} )); then
&lt;br&gt;&amp;nbsp;			error &amp;quot;$(gettext &amp;quot;Integrity checks (%s) differ in size from the source array.&amp;quot;)&amp;quot; &amp;quot;$integ&amp;quot;
&lt;br&gt;&amp;nbsp;			exit 1 # TODO: error code
&lt;br&gt;&amp;nbsp;		fi
&lt;br&gt;&amp;nbsp;	done
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-	if [ $correlation -eq 0 ]; then
&lt;br&gt;-		if [ $SKIPINTEG -eq 1 ]; then
&lt;br&gt;+	if (( ! correlation )); then
&lt;br&gt;+		if (( SKIPINTEG )); then
&lt;br&gt;&amp;nbsp;			warning &amp;quot;$(gettext &amp;quot;Integrity checks are missing.&amp;quot;)&amp;quot;
&lt;br&gt;&amp;nbsp;		else
&lt;br&gt;&amp;nbsp;			error &amp;quot;$(gettext &amp;quot;Integrity checks are missing.&amp;quot;)&amp;quot;
&lt;br&gt;@@ -622,8 +622,8 @@ extract_sources() {
&lt;br&gt;&amp;nbsp;			continue
&lt;br&gt;&amp;nbsp;		fi
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-		if [ ! -f &amp;quot;$file&amp;quot; ] ; then
&lt;br&gt;-			if [ ! -f &amp;quot;$SRCDEST/$file&amp;quot; ] ; then
&lt;br&gt;+		if [[ ! -f $file ]] ; then
&lt;br&gt;+			if [[ ! -f $SRCDEST/$file ]] ; then
&lt;br&gt;&amp;nbsp;				error &amp;quot;$(gettext &amp;quot;Unable to find source file %s for extraction.&amp;quot;)&amp;quot; &amp;quot;$file&amp;quot;
&lt;br&gt;&amp;nbsp;				plain &amp;quot;$(gettext &amp;quot;Aborting...&amp;quot;)&amp;quot;
&lt;br&gt;&amp;nbsp;				exit 1
&lt;br&gt;@@ -662,31 +662,31 @@ extract_sources() {
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;		local ret=0
&lt;br&gt;&amp;nbsp;		msg2 &amp;quot;$(gettext &amp;quot;Extracting %s with %s&amp;quot;)&amp;quot; &amp;quot;$file&amp;quot; &amp;quot;$cmd&amp;quot;
&lt;br&gt;-		if [ &amp;quot;$cmd&amp;quot; = &amp;quot;bsdtar&amp;quot; ]; then
&lt;br&gt;+		if [[ $cmd = bsdtar ]]; then
&lt;br&gt;&amp;nbsp;			$cmd -xf &amp;quot;$file&amp;quot; || ret=?
&lt;br&gt;&amp;nbsp;		else
&lt;br&gt;&amp;nbsp;			rm -f &amp;quot;${file%.*}&amp;quot;
&lt;br&gt;&amp;nbsp;			$cmd -dcf &amp;quot;$file&amp;quot; &amp;gt; &amp;quot;${file%.*}&amp;quot; || ret=?
&lt;br&gt;&amp;nbsp;		fi
&lt;br&gt;-		if [ $ret -ne 0 ]; then
&lt;br&gt;+		if (( ret )); then
&lt;br&gt;&amp;nbsp;			error &amp;quot;$(gettext &amp;quot;Failed to extract %s&amp;quot;)&amp;quot; &amp;quot;$file&amp;quot;
&lt;br&gt;&amp;nbsp;			plain &amp;quot;$(gettext &amp;quot;Aborting...&amp;quot;)&amp;quot;
&lt;br&gt;&amp;nbsp;			exit 1
&lt;br&gt;&amp;nbsp;		fi
&lt;br&gt;&amp;nbsp;	done
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-	if [ $EUID -eq 0 ]; then
&lt;br&gt;+	if (( EUID == 0 )); then
&lt;br&gt;&amp;nbsp;		# change perms of all source files to root user &amp; root group
&lt;br&gt;&amp;nbsp;		chown -R 0:0 &amp;quot;$srcdir&amp;quot;
&lt;br&gt;&amp;nbsp;	fi
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;error_function() {
&lt;br&gt;-	if [ -p &amp;quot;$logpipe&amp;quot; ]; then
&lt;br&gt;+	if [[ -p $logpipe ]]; then
&lt;br&gt;&amp;nbsp;		rm &amp;quot;$logpipe&amp;quot;
&lt;br&gt;&amp;nbsp;	fi
&lt;br&gt;&amp;nbsp;	# first exit all subshells, then print the error
&lt;br&gt;-	if [ $BASH_SUBSHELL -eq 0 ]; then
&lt;br&gt;+	if (( ! BASH_SUBSHELL )); then
&lt;br&gt;&amp;nbsp;		plain &amp;quot;$(gettext &amp;quot;Aborting...&amp;quot;)&amp;quot;
&lt;br&gt;&amp;nbsp;		remove_deps
&lt;br&gt;&amp;nbsp;	fi
&lt;br&gt;@@ -694,13 +694,13 @@ error_function() {
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;run_function() {
&lt;br&gt;-	if [ -z &amp;quot;$1&amp;quot; ]; then
&lt;br&gt;+	if [[ -z $1 ]]; then
&lt;br&gt;&amp;nbsp;		return 1
&lt;br&gt;&amp;nbsp;	fi
&lt;br&gt;&amp;nbsp;	pkgfunc=&amp;quot;$1&amp;quot;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	# clear user-specified makeflags if requested
&lt;br&gt;-	if [ &amp;quot;$(check_option makeflags)&amp;quot; = &amp;quot;n&amp;quot; ]; then
&lt;br&gt;+	if [[ $(check_option makeflags) = &amp;quot;n&amp;quot; ]]; then
&lt;br&gt;&amp;nbsp;		MAKEFLAGS=&amp;quot;&amp;quot;
&lt;br&gt;&amp;nbsp;	fi
&lt;br&gt;&amp;nbsp;
&lt;br&gt;@@ -713,12 +713,12 @@ run_function() {
&lt;br&gt;&amp;nbsp;	local shellopts=$(shopt -p)
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	local ret=0
&lt;br&gt;-	if [ &amp;quot;$LOGGING&amp;quot; -eq 1 ]; then
&lt;br&gt;+	if (( LOGGING )); then
&lt;br&gt;&amp;nbsp;		BUILDLOG=&amp;quot;${startdir}/${pkgname}-${pkgver}-${pkgrel}-${CARCH}-$pkgfunc.log&amp;quot;
&lt;br&gt;-		if [ -f &amp;quot;$BUILDLOG&amp;quot; ]; then
&lt;br&gt;+		if [[ -f $BUILDLOG ]]; then
&lt;br&gt;&amp;nbsp;			local i=1
&lt;br&gt;&amp;nbsp;			while true; do
&lt;br&gt;-				if [ -f &amp;quot;$BUILDLOG.$i&amp;quot; ]; then
&lt;br&gt;+				if [[ -f $BUILDLOG.$i ]]; then
&lt;br&gt;&amp;nbsp;					i=$(($i +1))
&lt;br&gt;&amp;nbsp;				else
&lt;br&gt;&amp;nbsp;					break
&lt;br&gt;@@ -752,24 +752,24 @@ run_function() {
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;run_build() {
&lt;br&gt;&amp;nbsp;	# use distcc if it is requested (check buildenv and PKGBUILD opts)
&lt;br&gt;-	if [ &amp;quot;$(check_buildenv distcc)&amp;quot; = &amp;quot;y&amp;quot; -a &amp;quot;$(check_option distcc)&amp;quot; != &amp;quot;n&amp;quot; ]; then
&lt;br&gt;-		[ -d /usr/lib/distcc/bin ] &amp;&amp; export PATH=&amp;quot;/usr/lib/distcc/bin:$PATH&amp;quot;
&lt;br&gt;+	if [[ $(check_buildenv distcc) = &amp;quot;y&amp;quot; &amp;&amp; $(check_option distcc) != &amp;quot;n&amp;quot; ]]; then
&lt;br&gt;+		[[ -d /usr/lib/distcc/bin ]] &amp;&amp; export PATH=&amp;quot;/usr/lib/distcc/bin:$PATH&amp;quot;
&lt;br&gt;&amp;nbsp;		export DISTCC_HOSTS
&lt;br&gt;-	elif [ &amp;quot;$(check_option distcc)&amp;quot; = &amp;quot;n&amp;quot; ]; then
&lt;br&gt;+	elif [[ $(check_option distcc) = &amp;quot;n&amp;quot; ]]; then
&lt;br&gt;&amp;nbsp;		# if it is not wanted, clear the makeflags too
&lt;br&gt;&amp;nbsp;		MAKEFLAGS=&amp;quot;&amp;quot;
&lt;br&gt;&amp;nbsp;	fi
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	# use ccache if it is requested (check buildenv and PKGBUILD opts)
&lt;br&gt;-	if [ &amp;quot;$(check_buildenv ccache)&amp;quot; = &amp;quot;y&amp;quot; -a &amp;quot;$(check_option ccache)&amp;quot; != &amp;quot;n&amp;quot; ]; then
&lt;br&gt;-		[ -d /usr/lib/ccache/bin ] &amp;&amp; export PATH=&amp;quot;/usr/lib/ccache/bin:$PATH&amp;quot;
&lt;br&gt;+	if [[ $(check_buildenv ccache) = &amp;quot;y&amp;quot; &amp;&amp; $(check_option ccache) != &amp;quot;n&amp;quot; ]]; then
&lt;br&gt;+		[[ -d /usr/lib/ccache/bin ]] &amp;&amp; export PATH=&amp;quot;/usr/lib/ccache/bin:$PATH&amp;quot;
&lt;br&gt;&amp;nbsp;	fi
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	run_function &amp;quot;build&amp;quot;
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;run_package() {
&lt;br&gt;-	if [ -z &amp;quot;$1&amp;quot; ]; then
&lt;br&gt;+	if [[ -z $1 ]]; then
&lt;br&gt;&amp;nbsp;		pkgfunc=&amp;quot;package&amp;quot;
&lt;br&gt;&amp;nbsp;	else
&lt;br&gt;&amp;nbsp;		pkgfunc=&amp;quot;package_$1&amp;quot;
&lt;br&gt;@@ -782,16 +782,16 @@ tidy_install() {
&lt;br&gt;&amp;nbsp;	cd &amp;quot;$pkgdir&amp;quot;
&lt;br&gt;&amp;nbsp;	msg &amp;quot;$(gettext &amp;quot;Tidying install...&amp;quot;)&amp;quot;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-	if [ &amp;quot;$(check_option docs)&amp;quot; = &amp;quot;n&amp;quot; -a -n &amp;quot;${DOC_DIRS[*]}&amp;quot; ]; then
&lt;br&gt;+	if [[ $(check_option docs) = &amp;quot;n&amp;quot; &amp;&amp; -n ${DOC_DIRS[*]} ]]; then
&lt;br&gt;&amp;nbsp;		msg2 &amp;quot;$(gettext &amp;quot;Removing doc files...&amp;quot;)&amp;quot;
&lt;br&gt;&amp;nbsp;		rm -rf ${DOC_DIRS[@]}
&lt;br&gt;&amp;nbsp;	fi
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-	if [ &amp;quot;$(check_option purge)&amp;quot; = &amp;quot;y&amp;quot; -a -n &amp;quot;${PURGE_TARGETS[*]}&amp;quot; ]; then
&lt;br&gt;+	if [[ $(check_option purge) = &amp;quot;y&amp;quot; &amp;&amp; -n ${PURGE_TARGETS[*]} ]]; then
&lt;br&gt;&amp;nbsp;		msg2 &amp;quot;$(gettext &amp;quot;Purging other files...&amp;quot;)&amp;quot;
&lt;br&gt;&amp;nbsp;		local pt
&lt;br&gt;&amp;nbsp;		for pt in &amp;quot;${PURGE_TARGETS[@]}&amp;quot;; do
&lt;br&gt;-			if [ &amp;quot;${pt}&amp;quot; = &amp;quot;${pt//\/}&amp;quot; ]; then
&lt;br&gt;+			if [[ ${pt} = ${pt//\/} ]]; then
&lt;br&gt;&amp;nbsp;				find . -type f -name &amp;quot;${pt}&amp;quot; -exec rm -f -- '{}' \;
&lt;br&gt;&amp;nbsp;			else
&lt;br&gt;&amp;nbsp;				rm -f ${pt}
&lt;br&gt;@@ -799,16 +799,16 @@ tidy_install() {
&lt;br&gt;&amp;nbsp;		done
&lt;br&gt;&amp;nbsp;	fi
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-	if [ &amp;quot;$(check_option zipman)&amp;quot; = &amp;quot;y&amp;quot; -a -n &amp;quot;${MAN_DIRS[*]}&amp;quot; ]; then
&lt;br&gt;+	if [[ $(check_option zipman) = &amp;quot;y&amp;quot; &amp;&amp; -n ${MAN_DIRS[*]} ]]; then
&lt;br&gt;&amp;nbsp;		msg2 &amp;quot;$(gettext &amp;quot;Compressing man and info pages...&amp;quot;)&amp;quot;
&lt;br&gt;&amp;nbsp;		local manpage ext file link hardlinks hl
&lt;br&gt;&amp;nbsp;		find ${MAN_DIRS[@]} -type f 2&amp;gt;/dev/null |
&lt;br&gt;&amp;nbsp;		while read manpage ; do
&lt;br&gt;&amp;nbsp;			# check file still exists (potentially compressed with hard link)
&lt;br&gt;-			if [ -f ${manpage} ]; then
&lt;br&gt;+			if [[ -f ${manpage} ]]; then
&lt;br&gt;&amp;nbsp;				ext=&amp;quot;${manpage##*.}&amp;quot;
&lt;br&gt;&amp;nbsp;				file=&amp;quot;${manpage##*/}&amp;quot;
&lt;br&gt;-				if [ &amp;quot;$ext&amp;quot; != &amp;quot;gz&amp;quot; -a &amp;quot;$ext&amp;quot; != &amp;quot;bz2&amp;quot; ]; then
&lt;br&gt;+				if [[ $ext != gz &amp;&amp; $ext != bz2 ]]; then
&lt;br&gt;&amp;nbsp;					# update symlinks to this manpage
&lt;br&gt;&amp;nbsp;					find ${MAN_DIRS[@]} -lname &amp;quot;$file&amp;quot; 2&amp;gt;/dev/null |
&lt;br&gt;&amp;nbsp;					while read link ; do
&lt;br&gt;@@ -834,7 +834,7 @@ tidy_install() {
&lt;br&gt;&amp;nbsp;		done
&lt;br&gt;&amp;nbsp;	fi
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-	if [ &amp;quot;$(check_option strip)&amp;quot; = &amp;quot;y&amp;quot; -a -n &amp;quot;${STRIP_DIRS[*]}&amp;quot; ]; then
&lt;br&gt;+	if [[ $(check_option strip) = y &amp;&amp; -n ${STRIP_DIRS[*]} ]]; then
&lt;br&gt;&amp;nbsp;		msg2 &amp;quot;$(gettext &amp;quot;Stripping debugging symbols from binaries and libraries...&amp;quot;)&amp;quot;
&lt;br&gt;&amp;nbsp;		local binary
&lt;br&gt;&amp;nbsp;		find ${STRIP_DIRS[@]} -type f 2&amp;gt;/dev/null | while read binary ; do
&lt;br&gt;@@ -851,12 +851,12 @@ tidy_install() {
&lt;br&gt;&amp;nbsp;		done
&lt;br&gt;&amp;nbsp;	fi
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-	if [ &amp;quot;$(check_option libtool)&amp;quot; = &amp;quot;n&amp;quot; ]; then
&lt;br&gt;+	if [[ $(check_option libtool) = &amp;quot;n&amp;quot; ]]; then
&lt;br&gt;&amp;nbsp;		msg2 &amp;quot;$(gettext &amp;quot;Removing libtool .la files...&amp;quot;)&amp;quot;
&lt;br&gt;&amp;nbsp;		find . ! -type d -name &amp;quot;*.la&amp;quot; -exec rm -f -- '{}' \;
&lt;br&gt;&amp;nbsp;	fi
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-	if [ &amp;quot;$(check_option emptydirs)&amp;quot; = &amp;quot;n&amp;quot; ]; then
&lt;br&gt;+	if [[ $(check_option emptydirs) = &amp;quot;n&amp;quot; ]]; then
&lt;br&gt;&amp;nbsp;		msg2 &amp;quot;$(gettext &amp;quot;Removing empty directories...&amp;quot;)&amp;quot;
&lt;br&gt;&amp;nbsp;		find . -depth -type d -empty -delete
&lt;br&gt;&amp;nbsp;	fi
&lt;br&gt;@@ -864,7 +864,7 @@ tidy_install() {
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;write_pkginfo() {
&lt;br&gt;&amp;nbsp;	local builddate=$(date -u &amp;quot;+%s&amp;quot;)
&lt;br&gt;-	if [ -n &amp;quot;$PACKAGER&amp;quot; ]; then
&lt;br&gt;+	if [[ -n $PACKAGER ]]; then
&lt;br&gt;&amp;nbsp;		local packager=&amp;quot;$PACKAGER&amp;quot;
&lt;br&gt;&amp;nbsp;	else
&lt;br&gt;&amp;nbsp;		local packager=&amp;quot;Unknown Packager&amp;quot;
&lt;br&gt;@@ -874,12 +874,12 @@ write_pkginfo() {
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	msg2 &amp;quot;$(gettext &amp;quot;Generating .PKGINFO file...&amp;quot;)&amp;quot;
&lt;br&gt;&amp;nbsp;	echo &amp;quot;# Generated by makepkg $myver&amp;quot; &amp;gt;.PKGINFO
&lt;br&gt;-	if [ &amp;quot;$INFAKEROOT&amp;quot; -eq 1 ]; then
&lt;br&gt;+	if (( INFAKEROOT )); then
&lt;br&gt;&amp;nbsp;		echo &amp;quot;# using $(fakeroot -v)&amp;quot; &amp;gt;&amp;gt;.PKGINFO
&lt;br&gt;&amp;nbsp;	fi
&lt;br&gt;&amp;nbsp;	echo &amp;quot;# $(LC_ALL=C date -u)&amp;quot; &amp;gt;&amp;gt;.PKGINFO
&lt;br&gt;&amp;nbsp;	echo &amp;quot;pkgname = $1&amp;quot; &amp;gt;&amp;gt;.PKGINFO
&lt;br&gt;-	[ &amp;quot;$SPLITPKG&amp;quot; -eq 1 ] &amp;&amp; echo &amp;quot;pkgbase = $pkgbase&amp;quot; &amp;gt;&amp;gt;.PKGINFO
&lt;br&gt;+	(( SPLITPKG )) &amp;&amp; echo pkgbase = $pkgbase &amp;gt;&amp;gt;.PKGINFO
&lt;br&gt;&amp;nbsp;	echo &amp;quot;pkgver = $pkgver-$pkgrel&amp;quot; &amp;gt;&amp;gt;.PKGINFO
&lt;br&gt;&amp;nbsp;	echo &amp;quot;pkgdesc = $pkgdesc&amp;quot; &amp;gt;&amp;gt;.PKGINFO
&lt;br&gt;&amp;nbsp;	echo &amp;quot;url = $url&amp;quot; &amp;gt;&amp;gt;.PKGINFO
&lt;br&gt;@@ -887,7 +887,7 @@ write_pkginfo() {
&lt;br&gt;&amp;nbsp;	echo &amp;quot;packager = $packager&amp;quot; &amp;gt;&amp;gt;.PKGINFO
&lt;br&gt;&amp;nbsp;	echo &amp;quot;size = $size&amp;quot; &amp;gt;&amp;gt;.PKGINFO
&lt;br&gt;&amp;nbsp;	echo &amp;quot;arch = $PKGARCH&amp;quot; &amp;gt;&amp;gt;.PKGINFO
&lt;br&gt;-	if [ &amp;quot;$(check_option force)&amp;quot; = &amp;quot;y&amp;quot; ]; then
&lt;br&gt;+	if [[ $(check_option force) = &amp;quot;y&amp;quot; ]]; then
&lt;br&gt;&amp;nbsp;		echo &amp;quot;force = true&amp;quot; &amp;gt;&amp;gt; .PKGINFO
&lt;br&gt;&amp;nbsp;	fi
&lt;br&gt;&amp;nbsp;
&lt;br&gt;@@ -918,8 +918,8 @@ write_pkginfo() {
&lt;br&gt;&amp;nbsp;	done
&lt;br&gt;&amp;nbsp;	for it in &amp;quot;${packaging_options[@]}&amp;quot;; do
&lt;br&gt;&amp;nbsp;		local ret=&amp;quot;$(check_option $it)&amp;quot;
&lt;br&gt;-		if [ &amp;quot;$ret&amp;quot; != &amp;quot;?&amp;quot; ]; then
&lt;br&gt;-			if [ &amp;quot;$ret&amp;quot; = &amp;quot;y&amp;quot; ]; then
&lt;br&gt;+		if [[ $ret != &amp;quot;?&amp;quot; ]]; then
&lt;br&gt;+			if [[ $ret = y ]]; then
&lt;br&gt;&amp;nbsp;				echo &amp;quot;makepkgopt = $it&amp;quot; &amp;gt;&amp;gt;.PKGINFO
&lt;br&gt;&amp;nbsp;			else
&lt;br&gt;&amp;nbsp;				echo &amp;quot;makepkgopt = !$it&amp;quot; &amp;gt;&amp;gt;.PKGINFO
&lt;br&gt;@@ -929,7 +929,7 @@ write_pkginfo() {
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	# TODO maybe remove this at some point
&lt;br&gt;&amp;nbsp;	# warn if license array is not present or empty
&lt;br&gt;-	if [ -z &amp;quot;$license&amp;quot; ]; then
&lt;br&gt;+	if [[ -z $license ]]; then
&lt;br&gt;&amp;nbsp;		warning &amp;quot;$(gettext &amp;quot;Please add a license line to your %s!&amp;quot;)&amp;quot; &amp;quot;$BUILDSCRIPT&amp;quot;
&lt;br&gt;&amp;nbsp;		plain &amp;quot;$(gettext &amp;quot;Example for GPL\'ed software: license=('GPL').&amp;quot;)&amp;quot;
&lt;br&gt;&amp;nbsp;	fi
&lt;br&gt;@@ -941,14 +941,14 @@ check_package() {
&lt;br&gt;&amp;nbsp;	# check existence of backup files
&lt;br&gt;&amp;nbsp;	local file
&lt;br&gt;&amp;nbsp;	for file in &amp;quot;${backup[@]}&amp;quot;; do
&lt;br&gt;-		if [ ! -f &amp;quot;$file&amp;quot; ]; then
&lt;br&gt;+		if [[ ! -f $file ]]; then
&lt;br&gt;&amp;nbsp;			warning &amp;quot;$(gettext &amp;quot;Invalid backup entry : %s&amp;quot;)&amp;quot; &amp;quot;$file&amp;quot;
&lt;br&gt;&amp;nbsp;		fi
&lt;br&gt;&amp;nbsp;	done
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;create_package() {
&lt;br&gt;-	if [ ! -d &amp;quot;$pkgdir&amp;quot; ]; then
&lt;br&gt;+	if [[ ! -d $pkgdir ]]; then
&lt;br&gt;&amp;nbsp;		error &amp;quot;$(gettext &amp;quot;Missing pkg/ directory.&amp;quot;)&amp;quot;
&lt;br&gt;&amp;nbsp;		plain &amp;quot;$(gettext &amp;quot;Aborting...&amp;quot;)&amp;quot;
&lt;br&gt;&amp;nbsp;		exit 1 # $E_MISSING_PKGDIR
&lt;br&gt;@@ -959,13 +959,13 @@ create_package() {
&lt;br&gt;&amp;nbsp;	cd &amp;quot;$pkgdir&amp;quot;
&lt;br&gt;&amp;nbsp;	msg &amp;quot;$(gettext &amp;quot;Creating package...&amp;quot;)&amp;quot;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-	if [ -z &amp;quot;$1&amp;quot; ]; then
&lt;br&gt;+	if [[ -z $1 ]]; then
&lt;br&gt;&amp;nbsp;		nameofpkg=&amp;quot;$pkgname&amp;quot;
&lt;br&gt;&amp;nbsp;	else
&lt;br&gt;&amp;nbsp;		nameofpkg=&amp;quot;$1&amp;quot;
&lt;br&gt;&amp;nbsp;	fi
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-	if [ &amp;quot;$arch&amp;quot; = &amp;quot;any&amp;quot; ]; then
&lt;br&gt;+	if [[ $arch = &amp;quot;any&amp;quot; ]]; then
&lt;br&gt;&amp;nbsp;		PKGARCH=&amp;quot;any&amp;quot;
&lt;br&gt;&amp;nbsp;	else
&lt;br&gt;&amp;nbsp;		PKGARCH=$CARCH
&lt;br&gt;@@ -976,14 +976,14 @@ create_package() {
&lt;br&gt;&amp;nbsp;	local comp_files=&amp;quot;.PKGINFO&amp;quot;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	# check for an install script
&lt;br&gt;-	if [ -n &amp;quot;$install&amp;quot; ]; then
&lt;br&gt;+	if [[ -n $install ]]; then
&lt;br&gt;&amp;nbsp;		msg2 &amp;quot;$(gettext &amp;quot;Adding install script...&amp;quot;)&amp;quot;
&lt;br&gt;&amp;nbsp;		cp &amp;quot;$startdir/$install&amp;quot; .INSTALL
&lt;br&gt;&amp;nbsp;		comp_files=&amp;quot;$comp_files .INSTALL&amp;quot;
&lt;br&gt;&amp;nbsp;	fi
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	# do we have a changelog?
&lt;br&gt;-	if [ -n &amp;quot;$changelog&amp;quot; ]; then
&lt;br&gt;+	if [[ -n $changelog ]]; then
&lt;br&gt;&amp;nbsp;		msg2 &amp;quot;$(gettext &amp;quot;Adding package changelog...&amp;quot;)&amp;quot;
&lt;br&gt;&amp;nbsp;		cp &amp;quot;$startdir/$changelog&amp;quot; .CHANGELOG
&lt;br&gt;&amp;nbsp;		comp_files=&amp;quot;$comp_files .CHANGELOG&amp;quot;
&lt;br&gt;@@ -1009,7 +1009,7 @@ create_package() {
&lt;br&gt;&amp;nbsp;	bsdtar -cf - $comp_files * &amp;gt; &amp;quot;$pkg_file&amp;quot; || ret=$?
&lt;br&gt;&amp;nbsp;	shopt -u nullglob
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-	if [ $ret -eq 0 ]; then
&lt;br&gt;+	if (( ! ret )); then
&lt;br&gt;&amp;nbsp;		case &amp;quot;$PKGEXT&amp;quot; in
&lt;br&gt;&amp;nbsp;			*tar.gz) &amp;nbsp;gzip -f -n &amp;quot;$pkg_file&amp;quot; ;;
&lt;br&gt;&amp;nbsp;			*tar.bz2) bzip2 -f &amp;quot;$pkg_file&amp;quot; ;;
&lt;br&gt;@@ -1018,7 +1018,7 @@ create_package() {
&lt;br&gt;&amp;nbsp;		ret=$?
&lt;br&gt;&amp;nbsp;	fi
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-	if [ $ret -ne 0 ]; then
&lt;br&gt;+	if (( ret )); then
&lt;br&gt;&amp;nbsp;		error &amp;quot;$(gettext &amp;quot;Failed to create package file.&amp;quot;)&amp;quot;
&lt;br&gt;&amp;nbsp;		exit 1 # TODO: error code
&lt;br&gt;&amp;nbsp;	fi
&lt;br&gt;@@ -1042,8 +1042,8 @@ create_srcpackage() {
&lt;br&gt;&amp;nbsp;	msg2 &amp;quot;$(gettext &amp;quot;Adding %s...&amp;quot;)&amp;quot; &amp;quot;$BUILDSCRIPT&amp;quot;
&lt;br&gt;&amp;nbsp;	ln -s &amp;quot;${BUILDFILE}&amp;quot; &amp;quot;${srclinks}/${pkgbase}/${BUILDSCRIPT}&amp;quot;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-	if [ -n &amp;quot;$install&amp;quot; ]; then
&lt;br&gt;-		if [ -f $install ]; then
&lt;br&gt;+	if [[ -n $install ]]; then
&lt;br&gt;+		if [[ -f $install ]]; then
&lt;br&gt;&amp;nbsp;			msg2 &amp;quot;$(gettext &amp;quot;Adding install script...&amp;quot;)&amp;quot;
&lt;br&gt;&amp;nbsp;			ln -s &amp;quot;${startdir}/$install&amp;quot; &amp;quot;${srclinks}/${pkgbase}/&amp;quot;
&lt;br&gt;&amp;nbsp;		else
&lt;br&gt;@@ -1051,8 +1051,8 @@ create_srcpackage() {
&lt;br&gt;&amp;nbsp;		fi
&lt;br&gt;&amp;nbsp;	fi
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-	if [ -n &amp;quot;$changelog&amp;quot; ]; then
&lt;br&gt;-		if [ -f &amp;quot;$changelog&amp;quot; ]; then
&lt;br&gt;+	if [[ -n $changelog ]]; then
&lt;br&gt;+		if [[ -f $changelog ]]; then
&lt;br&gt;&amp;nbsp;			msg2 &amp;quot;$(gettext &amp;quot;Adding package changelog...&amp;quot;)&amp;quot;
&lt;br&gt;&amp;nbsp;			ln -s &amp;quot;${startdir}/$changelog&amp;quot; &amp;quot;${srclinks}/${pkgbase}/&amp;quot;
&lt;br&gt;&amp;nbsp;		else
&lt;br&gt;@@ -1063,10 +1063,10 @@ create_srcpackage() {
&lt;br&gt;&amp;nbsp;	local netfile
&lt;br&gt;&amp;nbsp;	for netfile in &amp;quot;${source[@]}&amp;quot;; do
&lt;br&gt;&amp;nbsp;		local file=$(get_filename &amp;quot;$netfile&amp;quot;)
&lt;br&gt;-		if [ -f &amp;quot;$netfile&amp;quot; ]; then
&lt;br&gt;+		if [[ -f $netfile ]]; then
&lt;br&gt;&amp;nbsp;			msg2 &amp;quot;$(gettext &amp;quot;Adding %s...&amp;quot;)&amp;quot; &amp;quot;$netfile&amp;quot;
&lt;br&gt;&amp;nbsp;			ln -s &amp;quot;${startdir}/$netfile&amp;quot; &amp;quot;${srclinks}/${pkgbase}&amp;quot;
&lt;br&gt;-		elif [ &amp;quot;$SOURCEONLY&amp;quot; -eq 2 -a -f &amp;quot;$SRCDEST/$file&amp;quot; ]; then
&lt;br&gt;+		elif (( SOURCEONLY == 2 )) &amp;&amp; [[ -f $SRCDEST/$file ]]; then
&lt;br&gt;&amp;nbsp;			msg2 &amp;quot;$(gettext &amp;quot;Adding %s...&amp;quot;)&amp;quot; &amp;quot;$file&amp;quot;
&lt;br&gt;&amp;nbsp;			ln -s &amp;quot;$SRCDEST/$file&amp;quot; &amp;quot;${srclinks}/${pkgbase}/&amp;quot;
&lt;br&gt;&amp;nbsp;		fi
&lt;br&gt;-- 
&lt;br&gt;1.6.5.2
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/pacman-dev-f16443.html&quot; embed=&quot;fixTarget[16443]&quot; target=&quot;_top&quot; &gt;pacman-dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH-2-2--Changing---to----and-%28%28-tp26310576p26328231.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26328203</id>
	<title>Re: [PATCH 1/2] Changing [ to [[ and ((</title>
	<published>2009-11-12T15:07:04Z</published>
	<updated>2009-11-12T15:07:04Z</updated>
	<author>
		<name>Allan McRae-3</name>
	</author>
	<content type="html">Cedric Staniewski wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Isaac Good wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt;From f40b051c1c649889a13f35965fa8f8decd505b47 Mon Sep 17 00:00:00 2001
&lt;br&gt;&amp;gt;&amp;gt; From: Isaac Good &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26328203&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pacman@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Date: Wed, 11 Nov 2009 16:47:43 -0500
&lt;br&gt;&amp;gt;&amp;gt; Subject: [PATCH 1/2] Changing [ to [[ and ((
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; First half of makepkg
&lt;br&gt;&amp;gt;&amp;gt; This replaces any prior patches of mine
&lt;br&gt;&amp;gt;&amp;gt; Includes stuff like -o to || and -a to &amp;&amp; etc
&lt;br&gt;&amp;gt;&amp;gt; if [ $(type .. &amp;nbsp;were preserved due to a bash bug with [[ and set -e and ERR traps
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Signed-off-by: Isaac Good &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26328203&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pacman@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; ---
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I hope your patch do not get lost in this thread.
&lt;/div&gt;&lt;br&gt;I have the patches marked so that they will not be lost.
&lt;br&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;&amp;gt; @@ -450,12 +450,12 @@ download_sources() {
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;	for netfile in &amp;quot;${source[@]}&amp;quot;; do
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;		local file=$(get_filename &amp;quot;$netfile&amp;quot;)
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;		local url=$(get_url &amp;quot;$netfile&amp;quot;)
&lt;br&gt;&amp;gt;&amp;gt; -		if [ -f &amp;quot;$startdir/$file&amp;quot; ]; then
&lt;br&gt;&amp;gt;&amp;gt; +		if [[ -f &amp;quot;$startdir/$file&amp;quot; ]]; then
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;			msg2 &amp;quot;$(gettext &amp;quot;Found %s in build dir&amp;quot;)&amp;quot; &amp;quot;$file&amp;quot;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;			rm -f &amp;quot;$srcdir/$file&amp;quot;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;			ln -s &amp;quot;$startdir/$file&amp;quot; &amp;quot;$srcdir/&amp;quot;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;			continue
&lt;br&gt;&amp;gt;&amp;gt; -		elif [ -f &amp;quot;$SRCDEST/$file&amp;quot; ]; then
&lt;br&gt;&amp;gt;&amp;gt; +		elif [[ -f &amp;quot;$SRCDEST/$file&amp;quot; ]]; then
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;			msg2 &amp;quot;$(gettext &amp;quot;Using cached copy of %s&amp;quot;)&amp;quot; &amp;quot;$file&amp;quot;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;			rm -f &amp;quot;$srcdir/$file&amp;quot;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;			ln -s &amp;quot;$SRCDEST/$file&amp;quot; &amp;quot;$srcdir/&amp;quot;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; We could remove the quotes here, too.
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;Hmmm... &amp;nbsp;can we. &amp;nbsp;I know we can when there are spaces in a single 
&lt;br&gt;variable, but for some reason I thought quotes were needed when joining 
&lt;br&gt;multiple variables like that. &amp;nbsp;I could be wrong...
&lt;br&gt;&lt;br&gt;Allan
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/pacman-dev-f16443.html&quot; embed=&quot;fixTarget[16443]&quot; target=&quot;_top&quot; &gt;pacman-dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH--scripts%3A-replace-test-builtin---with-shell-keywords----and-%28%28-tp26217317p26328203.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26328148</id>
	<title>Re: [PATCH 1/2] Changing [ to [[ and ((</title>
	<published>2009-11-12T15:03:08Z</published>
	<updated>2009-11-12T15:03:08Z</updated>
	<author>
		<name>Allan McRae-3</name>
	</author>
	<content type="html">Isaac Good wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Thu, Nov 12, 2009 at 07:16:41PM +0000, Cedric Staniewski wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; @@ -450,12 +450,12 @@ download_sources() {
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp;	for netfile in &amp;quot;${source[@]}&amp;quot;; do
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp;		local file=$(get_filename &amp;quot;$netfile&amp;quot;)
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp;		local url=$(get_url &amp;quot;$netfile&amp;quot;)
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; -		if [ -f &amp;quot;$startdir/$file&amp;quot; ]; then
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; +		if [[ -f &amp;quot;$startdir/$file&amp;quot; ]]; then
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp;			msg2 &amp;quot;$(gettext &amp;quot;Found %s in build dir&amp;quot;)&amp;quot; &amp;quot;$file&amp;quot;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp;			rm -f &amp;quot;$srcdir/$file&amp;quot;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp;			ln -s &amp;quot;$startdir/$file&amp;quot; &amp;quot;$srcdir/&amp;quot;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp;			continue
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; -		elif [ -f &amp;quot;$SRCDEST/$file&amp;quot; ]; then
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; +		elif [[ -f &amp;quot;$SRCDEST/$file&amp;quot; ]]; then
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp;			msg2 &amp;quot;$(gettext &amp;quot;Using cached copy of %s&amp;quot;)&amp;quot; &amp;quot;$file&amp;quot;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp;			rm -f &amp;quot;$srcdir/$file&amp;quot;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp;			ln -s &amp;quot;$SRCDEST/$file&amp;quot; &amp;quot;$srcdir/&amp;quot;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; What about something like this?
&lt;br&gt;&amp;gt;&amp;gt; if [[ &amp;quot;$(check_option makeflags)&amp;quot; = &amp;quot;n&amp;quot; ]]; then
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; None of the quotes are needed. I'm inclined to replace it with:
&lt;br&gt;&amp;gt;&amp;gt; if [[ $(check_option makeflags) = &amp;quot;n&amp;quot; ]]; then
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; While the quotes around n are not needed, they highlight that n is a string which appeals to me since it looks like a string as found in other languages. Or would you say to drop all the quotes.
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;Aren't the quotes around the string on the right required if it does 
&lt;br&gt;contain spaces? Anyway, I would prefer all such strings to be quoted so 
&lt;br&gt;I am happy with your suggestion.
&lt;br&gt;&lt;br&gt;Allan
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/pacman-dev-f16443.html&quot; embed=&quot;fixTarget[16443]&quot; target=&quot;_top&quot; &gt;pacman-dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH--scripts%3A-replace-test-builtin---with-shell-keywords----and-%28%28-tp26217317p26328148.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26327813</id>
	<title>Re: [PATCH 1/2] Changing [ to [[ and ((</title>
	<published>2009-11-12T14:37:31Z</published>
	<updated>2009-11-12T14:37:31Z</updated>
	<author>
		<name>Cedric Staniewski</name>
	</author>
	<content type="html">Isaac Good wrote:
&lt;br&gt;&amp;gt; On Thu, Nov 12, 2009 at 07:16:41PM +0000, Cedric Staniewski wrote:
&lt;br&gt;&amp;gt;&amp;gt; I hope your patch do not get lost in this thread.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Erm. Yeah, I hope so too. How does it get threaded?
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;I guess you hit the reply button instead of writing a new mail to
&lt;br&gt;pacman-dev. At least, there is the In-Reply-To header field in your mail
&lt;br&gt;header.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; @@ -345,26 +345,26 @@ handle_deps() {
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp;	local R_DEPS_SATISFIED=0
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp;	local R_DEPS_MISSING=1
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; -	[ $# -eq 0 ] &amp;&amp; return $R_DEPS_SATISFIED
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; +	(( $# == 0 )) &amp;&amp; return $R_DEPS_SATISFIED
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Is there a reason why you do not use (( ! $# )) here?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Some variables are used as a boolean flag in which case testing if ((VAR)) and if (( ! VAR )) reads well. The $# (and EUID) are used as integer values so it struck me as more understandable or readable in this form.
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;I am fine with that, but would it not makes sense to use (( $# &amp;gt; 0 ))
&lt;br&gt;instead of just (( $# )) then?
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; @@ -512,7 +512,7 @@ generate_checksums() {
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp;		local i=0;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp;		local indent=''
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; -		while [ $i -lt $((${#integ}+6)) ]; do
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; +		while [[ $i -lt $((${#integ}+6)) ]]; do
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp;			indent=&amp;quot;$indent &amp;quot;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp;			i=$(($i+1))
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp;		done
&lt;br&gt;&amp;gt;&amp;gt; What about &amp;quot;while (( $i &amp;lt; $((${#integ}+6)) )); do&amp;quot;?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I was planning a separate patch switching to a for loop.
&lt;br&gt;&amp;gt; for (( i = 0; i &amp;lt; ${#integ} + 6; i++ ))
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;In this case, I would either get rid of -lt by converting to a for loop
&lt;br&gt;&amp;nbsp;directly or not touch that line at all in this patch.
&lt;br&gt;&lt;br&gt;&amp;gt; Should I implement these changes and resend this patch?
&lt;br&gt;&amp;gt; /me goes looking for git help 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;If you like, but you could also wait for at least Allan's comment. You
&lt;br&gt;can use &amp;quot;git commit --amend&amp;quot; to alter your existing commit in git by the
&lt;br&gt;way.
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/pacman-dev-f16443.html&quot; embed=&quot;fixTarget[16443]&quot; target=&quot;_top&quot; &gt;pacman-dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH--scripts%3A-replace-test-builtin---with-shell-keywords----and-%28%28-tp26217317p26327813.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26327325</id>
	<title>Re: [PATCH 1/2] Changing [ to [[ and ((</title>
	<published>2009-11-12T14:02:21Z</published>
	<updated>2009-11-12T14:02:21Z</updated>
	<author>
		<name>Isaac Good-4</name>
	</author>
	<content type="html">On Thu, Nov 12, 2009 at 07:16:41PM +0000, Cedric Staniewski wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;gt; @@ -450,12 +450,12 @@ download_sources() {
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;	for netfile in &amp;quot;${source[@]}&amp;quot;; do
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;		local file=$(get_filename &amp;quot;$netfile&amp;quot;)
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;		local url=$(get_url &amp;quot;$netfile&amp;quot;)
&lt;br&gt;&amp;gt; &amp;gt; -		if [ -f &amp;quot;$startdir/$file&amp;quot; ]; then
&lt;br&gt;&amp;gt; &amp;gt; +		if [[ -f &amp;quot;$startdir/$file&amp;quot; ]]; then
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;			msg2 &amp;quot;$(gettext &amp;quot;Found %s in build dir&amp;quot;)&amp;quot; &amp;quot;$file&amp;quot;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;			rm -f &amp;quot;$srcdir/$file&amp;quot;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;			ln -s &amp;quot;$startdir/$file&amp;quot; &amp;quot;$srcdir/&amp;quot;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;			continue
&lt;br&gt;&amp;gt; &amp;gt; -		elif [ -f &amp;quot;$SRCDEST/$file&amp;quot; ]; then
&lt;br&gt;&amp;gt; &amp;gt; +		elif [[ -f &amp;quot;$SRCDEST/$file&amp;quot; ]]; then
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;			msg2 &amp;quot;$(gettext &amp;quot;Using cached copy of %s&amp;quot;)&amp;quot; &amp;quot;$file&amp;quot;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;			rm -f &amp;quot;$srcdir/$file&amp;quot;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;			ln -s &amp;quot;$SRCDEST/$file&amp;quot; &amp;quot;$srcdir/&amp;quot;
&lt;/div&gt;&lt;br&gt;What about something like this?
&lt;br&gt;&amp;gt; if [[ &amp;quot;$(check_option makeflags)&amp;quot; = &amp;quot;n&amp;quot; ]]; then
&lt;br&gt;&lt;br&gt;None of the quotes are needed. I'm inclined to replace it with:
&lt;br&gt;&amp;gt; if [[ $(check_option makeflags) = &amp;quot;n&amp;quot; ]]; then
&lt;br&gt;&lt;br&gt;While the quotes around n are not needed, they highlight that n is a string which appeals to me since it looks like a string as found in other languages. Or would you say to drop all the quotes.
&lt;br&gt;&lt;br&gt;Maybe some style guidelines are needed for the bash language...
&lt;br&gt;&lt;br&gt;&amp;nbsp;- Isaac
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/pacman-dev-f16443.html&quot; embed=&quot;fixTarget[16443]&quot; target=&quot;_top&quot; &gt;pacman-dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH--scripts%3A-replace-test-builtin---with-shell-keywords----and-%28%28-tp26217317p26327325.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26326233</id>
	<title>Re: C++ problem with conflicting declarations</title>
	<published>2009-11-12T12:55:03Z</published>
	<updated>2009-11-12T12:55:03Z</updated>
	<author>
		<name>Eric Bélanger-2</name>
	</author>
	<content type="html">On Thu, Nov 12, 2009 at 2:21 PM, Stefan Husmann
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26326233&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;stefan-husmann@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hello,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; when I try to compile xaralx I get
&lt;br&gt;&amp;gt; In file included from /usr/include/glib-2.0/gio/gio.h:28,
&lt;br&gt;&amp;gt;                from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
&lt;br&gt;&amp;gt;                from /usr/include/gtk-2.0/gdk/gdk.h:32,
&lt;br&gt;&amp;gt;                from /usr/include/gtk-2.0/gtk/gtk.h:32,
&lt;br&gt;&amp;gt;                from ftfonts.cpp:125:
&lt;br&gt;&amp;gt; /usr/include/glib-2.0/gio/giotypes.h:120: error: conflicting declaration
&lt;br&gt;&amp;gt; 'typedef struct _GSocket GSocket'
&lt;br&gt;&amp;gt; /usr/include/wx-2.8/wx/unix/gsockunx.h:41: error: 'class GSocket' has a
&lt;br&gt;&amp;gt; previous declaration as 'class GSocket'
&lt;br&gt;&amp;gt; ftfonts.cpp: In static member function 'static BOOL
&lt;br&gt;&amp;gt; FTFontMan::CacheFontCore(String_64*, BOOL)':
&lt;br&gt;&amp;gt; ftfonts.cpp:262: warning: deprecated conversion from string constant to
&lt;br&gt;&amp;gt; 'char*'
&lt;br&gt;&amp;gt; ftfonts.cpp:262: warning: deprecated conversion from string constant to
&lt;br&gt;&amp;gt; 'TCHAR*'
&lt;br&gt;&amp;gt; ftfonts.cpp:288: warning: deprecated conversion from string constant to
&lt;br&gt;&amp;gt; 'char*'
&lt;br&gt;&amp;gt; ftfonts.cpp:288: warning: deprecated conversion from string constant to
&lt;br&gt;&amp;gt; 'TCHAR*'
&lt;br&gt;&amp;gt; ftfonts.cpp: In static member function 'static FTFont*
&lt;br&gt;&amp;gt; FTFontMan::CreateNewFont(String_64*, FontClass)':
&lt;br&gt;&amp;gt; ftfonts.cpp:703: warning: deprecated conversion from string constant to
&lt;br&gt;&amp;gt; 'char*'
&lt;br&gt;&amp;gt; ftfonts.cpp:703: warning: deprecated conversion from string constant to
&lt;br&gt;&amp;gt; 'TCHAR*'
&lt;br&gt;&amp;gt; make[2]: *** [libwxOil_a-ftfonts.o] Error 1
&lt;br&gt;&amp;gt; make[2]: Leaving directory
&lt;br&gt;&amp;gt; `/home/haawda/paketierung/maintained_by_me/xaralx/src/XaraLX-0.7r1785/wxOil'
&lt;br&gt;&amp;gt; make[1]: *** [all] Error 2
&lt;br&gt;&amp;gt; make[1]: Leaving directory
&lt;br&gt;&amp;gt; `/home/haawda/paketierung/maintained_by_me/xaralx/src/XaraLX-0.7r1785/wxOil'
&lt;br&gt;&amp;gt; make: *** [all-recursive] Error 1
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; /usr/include/glib-2.0/gio/giotypes.h is included in glib2,
&lt;br&gt;&amp;gt; /usr/include/wx-2.8/wx/unix/gsockunx.h is included in wxgtk.
&lt;br&gt;&amp;gt; What is to do in such cases? Is this a bug in glib2 or in wxgtk?
&lt;br&gt;&amp;gt; Regards Stefan
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;wxgtk 2.8.10.1-5 is supposed to be patched for that. Is your system up-to-date?
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/tur-users-f16440.html&quot; embed=&quot;fixTarget[16440]&quot; target=&quot;_top&quot; &gt;tur-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/C%2B%2B-problem-with-conflicting-declarations-tp26325075p26326233.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26325988</id>
	<title>Re: perl-libwww duplicates</title>
	<published>2009-11-12T12:41:18Z</published>
	<updated>2009-11-12T12:41:18Z</updated>
	<author>
		<name>Daenyth Blank</name>
	</author>
	<content type="html">On Thu, Nov 12, 2009 at 15:16, Xyne &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26325988&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;xyne@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; What exactly are you removing by hand? If you're actually talking about
&lt;br&gt;&amp;gt; the provides array, you'll be happy to learn that pacpan no longer
&lt;br&gt;&amp;gt; includes standard CPAN names in that array.
&lt;br&gt;&lt;br&gt;You're right, it was the provides array. I need to update my version I
&lt;br&gt;guess, I must be outdated. I'd also suggest looking at makepkg's new
&lt;br&gt;&amp;quot;purge&amp;quot; option if the new version doesn't already.
&lt;br&gt;&lt;br&gt;In any case, thanks for the good tool :)
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/tur-users-f16440.html&quot; embed=&quot;fixTarget[16440]&quot; target=&quot;_top&quot; &gt;tur-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/perl-libwww-duplicates-tp26289882p26325988.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26325789</id>
	<title>Re: C++ problem with conflicting declarations</title>
	<published>2009-11-12T12:28:26Z</published>
	<updated>2009-11-12T12:28:26Z</updated>
	<author>
		<name>Smartboy</name>
	</author>
	<content type="html">On Thu, Nov 12, 2009 at 11:21 AM, Stefan Husmann &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26325789&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;stefan-husmann@...&lt;/a&gt;
&lt;br&gt;&amp;gt; wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hello,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; when I try to compile xaralx I get
&lt;br&gt;&amp;gt; In file included from /usr/include/glib-2.0/gio/gio.h:28,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;from /usr/include/gtk-2.0/gdk/gdk.h:32,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;from /usr/include/gtk-2.0/gtk/gtk.h:32,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;from ftfonts.cpp:125:
&lt;br&gt;&amp;gt; /usr/include/glib-2.0/gio/giotypes.h:120: error: conflicting declaration
&lt;br&gt;&amp;gt; 'typedef struct _GSocket GSocket'
&lt;br&gt;&amp;gt; /usr/include/wx-2.8/wx/unix/gsockunx.h:41: error: 'class GSocket' has a
&lt;br&gt;&amp;gt; previous declaration as 'class GSocket'
&lt;br&gt;&amp;gt; ftfonts.cpp: In static member function 'static BOOL
&lt;br&gt;&amp;gt; FTFontMan::CacheFontCore(String_64*, BOOL)':
&lt;br&gt;&amp;gt; ftfonts.cpp:262: warning: deprecated conversion from string constant to
&lt;br&gt;&amp;gt; 'char*'
&lt;br&gt;&amp;gt; ftfonts.cpp:262: warning: deprecated conversion from string constant to
&lt;br&gt;&amp;gt; 'TCHAR*'
&lt;br&gt;&amp;gt; ftfonts.cpp:288: warning: deprecated conversion from string constant to
&lt;br&gt;&amp;gt; 'char*'
&lt;br&gt;&amp;gt; ftfonts.cpp:288: warning: deprecated conversion from string constant to
&lt;br&gt;&amp;gt; 'TCHAR*'
&lt;br&gt;&amp;gt; ftfonts.cpp: In static member function 'static FTFont*
&lt;br&gt;&amp;gt; FTFontMan::CreateNewFont(String_64*, FontClass)':
&lt;br&gt;&amp;gt; ftfonts.cpp:703: warning: deprecated conversion from string constant to
&lt;br&gt;&amp;gt; 'char*'
&lt;br&gt;&amp;gt; ftfonts.cpp:703: warning: deprecated conversion from string constant to
&lt;br&gt;&amp;gt; 'TCHAR*'
&lt;br&gt;&amp;gt; make[2]: *** [libwxOil_a-ftfonts.o] Error 1
&lt;br&gt;&amp;gt; make[2]: Leaving directory
&lt;br&gt;&amp;gt; `/home/haawda/paketierung/maintained_by_me/xaralx/src/XaraLX-0.7r1785/wxOil'
&lt;br&gt;&amp;gt; make[1]: *** [all] Error 2
&lt;br&gt;&amp;gt; make[1]: Leaving directory
&lt;br&gt;&amp;gt; `/home/haawda/paketierung/maintained_by_me/xaralx/src/XaraLX-0.7r1785/wxOil'
&lt;br&gt;&amp;gt; make: *** [all-recursive] Error 1
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; /usr/include/glib-2.0/gio/giotypes.h is included in glib2,
&lt;br&gt;&amp;gt; /usr/include/wx-2.8/wx/unix/gsockunx.h is included in wxgtk.
&lt;br&gt;&amp;gt; What is to do in such cases? Is this a bug in glib2 or in wxgtk?
&lt;br&gt;&amp;gt; Regards Stefan
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;The problem may be bitrot. The latest Xara Linux package was released 3
&lt;br&gt;years ago, and since then not much has been done to maintain it.
&lt;br&gt;&lt;br&gt;Smartboy
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/tur-users-f16440.html&quot; embed=&quot;fixTarget[16440]&quot; target=&quot;_top&quot; &gt;tur-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/C%2B%2B-problem-with-conflicting-declarations-tp26325075p26325789.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26325595</id>
	<title>Re: perl-libwww duplicates</title>
	<published>2009-11-12T12:16:34Z</published>
	<updated>2009-11-12T12:16:34Z</updated>
	<author>
		<name>xyne</name>
	</author>
	<content type="html">Daenyth Blank wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; Personally I've always found the current behavior very annoying. Why
&lt;br&gt;&amp;gt; not just generate the arch standard names for the depends array and
&lt;br&gt;&amp;gt; let the packager work it out if that isn't correct? Defaulting to the
&lt;br&gt;&amp;gt; standard seems better than defaulting to print everything, most of
&lt;br&gt;&amp;gt; which gets removed by hand. It's the single biggest peeve I have with
&lt;br&gt;&amp;gt; pacpan. (Not to say that I don't find it useful.)
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;I don't understand what you mean. Pacpan is quite good at detecting
&lt;br&gt;dependencies. It checks if necessary CPAN modules are already installed
&lt;br&gt;and if they are it determines which pacman package they belong to. If
&lt;br&gt;the dependency isn't already installed, it checks pacman's database for
&lt;br&gt;a package which provides the dependency. The only way it produces a
&lt;br&gt;dependency list which is superfluous is if either the metadata on CPAN
&lt;br&gt;is incorrect, which is the module author's fault, or if existing
&lt;br&gt;packages fail to correctly list all of the packages/modules which they
&lt;br&gt;provide, which is then the packager's fault. 
&lt;br&gt;&lt;br&gt;The only case in which this might be an issue would be when recursively
&lt;br&gt;building packages to satisfy dependencies. It can't know a priori if
&lt;br&gt;two packages specified in CPAN's metadata are actually provided by the
&lt;br&gt;same package if that package doesn't &amp;nbsp;yet exist. That's not really an
&lt;br&gt;issue though because once that package exists, it will provide both of
&lt;br&gt;the required packages and thus satisfy the dependencies.
&lt;br&gt;&lt;br&gt;What exactly are you removing by hand? If you're actually talking about
&lt;br&gt;the provides array, you'll be happy to learn that pacpan no longer
&lt;br&gt;includes standard CPAN names in that array. I had originally included
&lt;br&gt;them because I had seen other perl packages which did so and I didn't
&lt;br&gt;think it would hurt to be thorough.
&lt;br&gt;&lt;br&gt;Sorry if this doesn't address your issue, but in the context of
&lt;br&gt;the &amp;quot;depends array&amp;quot; I really don't know what you mean by &amp;quot;defaulting to
&lt;br&gt;print everything&amp;quot;.
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Xyne
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/tur-users-f16440.html&quot; embed=&quot;fixTarget[16440]&quot; target=&quot;_top&quot; &gt;tur-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/perl-libwww-duplicates-tp26289882p26325595.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26325124</id>
	<title>Re: [PATCH 1/2] Changing [ to [[ and ((</title>
	<published>2009-11-12T11:47:03Z</published>
	<updated>2009-11-12T11:47:03Z</updated>
	<author>
		<name>Isaac Good-4</name>
	</author>
	<content type="html">On Thu, Nov 12, 2009 at 07:16:41PM +0000, Cedric Staniewski wrote:
&lt;br&gt;&amp;gt; I hope your patch do not get lost in this thread.
&lt;br&gt;&lt;br&gt;Erm. Yeah, I hope so too. How does it get threaded?
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; @@ -345,26 +345,26 @@ handle_deps() {
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;	local R_DEPS_SATISFIED=0
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;	local R_DEPS_MISSING=1
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;gt; -	[ $# -eq 0 ] &amp;&amp; return $R_DEPS_SATISFIED
&lt;br&gt;&amp;gt; &amp;gt; +	(( $# == 0 )) &amp;&amp; return $R_DEPS_SATISFIED
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Is there a reason why you do not use (( ! $# )) here?
&lt;/div&gt;&lt;br&gt;Some variables are used as a boolean flag in which case testing if ((VAR)) and if (( ! VAR )) reads well. The $# (and EUID) are used as integer values so it struck me as more understandable or readable in this form.
&lt;br&gt;&amp;nbsp;
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;gt; @@ -450,12 +450,12 @@ download_sources() {
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;	for netfile in &amp;quot;${source[@]}&amp;quot;; do
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;		local file=$(get_filename &amp;quot;$netfile&amp;quot;)
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;		local url=$(get_url &amp;quot;$netfile&amp;quot;)
&lt;br&gt;&amp;gt; &amp;gt; -		if [ -f &amp;quot;$startdir/$file&amp;quot; ]; then
&lt;br&gt;&amp;gt; &amp;gt; +		if [[ -f &amp;quot;$startdir/$file&amp;quot; ]]; then
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;			msg2 &amp;quot;$(gettext &amp;quot;Found %s in build dir&amp;quot;)&amp;quot; &amp;quot;$file&amp;quot;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;			rm -f &amp;quot;$srcdir/$file&amp;quot;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;			ln -s &amp;quot;$startdir/$file&amp;quot; &amp;quot;$srcdir/&amp;quot;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;			continue
&lt;br&gt;&amp;gt; &amp;gt; -		elif [ -f &amp;quot;$SRCDEST/$file&amp;quot; ]; then
&lt;br&gt;&amp;gt; &amp;gt; +		elif [[ -f &amp;quot;$SRCDEST/$file&amp;quot; ]]; then
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;			msg2 &amp;quot;$(gettext &amp;quot;Using cached copy of %s&amp;quot;)&amp;quot; &amp;quot;$file&amp;quot;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;			rm -f &amp;quot;$srcdir/$file&amp;quot;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;			ln -s &amp;quot;$SRCDEST/$file&amp;quot; &amp;quot;$srcdir/&amp;quot;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; We could remove the quotes here, too.
&lt;/div&gt;&lt;br&gt;I was lax with some of the quotes when doing concatenation and parameter expansion...
&lt;br&gt;&amp;nbsp;
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;gt; @@ -512,7 +512,7 @@ generate_checksums() {
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;		local i=0;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;		local indent=''
&lt;br&gt;&amp;gt; &amp;gt; -		while [ $i -lt $((${#integ}+6)) ]; do
&lt;br&gt;&amp;gt; &amp;gt; +		while [[ $i -lt $((${#integ}+6)) ]]; do
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;			indent=&amp;quot;$indent &amp;quot;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;			i=$(($i+1))
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;		done
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; What about &amp;quot;while (( $i &amp;lt; $((${#integ}+6)) )); do&amp;quot;?
&lt;/div&gt;&lt;br&gt;I was planning a separate patch switching to a for loop.
&lt;br&gt;for (( i = 0; i &amp;lt; ${#integ} + 6; i++ ))
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;gt; @@ -521,8 +521,8 @@ generate_checksums() {
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;		for netfile in &amp;quot;${source[@]}&amp;quot;; do
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;			local file=&amp;quot;$(get_filename &amp;quot;$netfile&amp;quot;)&amp;quot;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;gt; -			if [ ! -f &amp;quot;$file&amp;quot; ] ; then
&lt;br&gt;&amp;gt; &amp;gt; -				if [ ! -f &amp;quot;$SRCDEST/$file&amp;quot; ] ; then
&lt;br&gt;&amp;gt; &amp;gt; +			if [[ ! -f $file ]] ; then
&lt;br&gt;&amp;gt; &amp;gt; +				if [[ ! -f &amp;quot;$SRCDEST/$file&amp;quot; ]] ; then
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;					error &amp;quot;$(gettext &amp;quot;Unable to find source file %s to generate checksum.&amp;quot;)&amp;quot; &amp;quot;$file&amp;quot;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;					plain &amp;quot;$(gettext &amp;quot;Aborting...&amp;quot;)&amp;quot;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;					exit 1
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Same as above. Quotes are not necessary.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; @@ -533,10 +533,10 @@ generate_checksums() {
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;			local sum=&amp;quot;$(openssl dgst -${integ} &amp;quot;$file&amp;quot;)&amp;quot;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;			sum=${sum##* }
&lt;br&gt;&amp;gt; &amp;gt; -			[ $ct -gt 0 ] &amp;&amp; echo -n &amp;quot;$indent&amp;quot;
&lt;br&gt;&amp;gt; &amp;gt; +			(( ct )) &amp;&amp; echo -n $indent
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;			echo -n &amp;quot;'$sum'&amp;quot;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I do not think we want to remove the quotes here.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; $ indent=&amp;quot; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;
&lt;br&gt;&amp;gt; $ echo -n $indent; echo asdf
&lt;br&gt;&amp;gt; asdf
&lt;br&gt;&amp;gt; $ echo -n &amp;quot;$indent&amp;quot;; echo asdf
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; asdf
&lt;br&gt;&amp;gt; $
&lt;/div&gt;&lt;br&gt;That'd be a careless use of s/&amp;quot;// in a macro on my behalf. Thanks for catching.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;gt; @@ -566,8 +566,8 @@ check_checksums() {
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;				file=&amp;quot;$(get_filename &amp;quot;$file&amp;quot;)&amp;quot;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;				echo -n &amp;quot; &amp;nbsp; &amp;nbsp;$file ... &amp;quot; &amp;gt;&amp;2
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;gt; -				if [ ! -f &amp;quot;$file&amp;quot; ] ; then
&lt;br&gt;&amp;gt; &amp;gt; -					if [ ! -f &amp;quot;$SRCDEST/$file&amp;quot; ] ; then
&lt;br&gt;&amp;gt; &amp;gt; +				if [[ ! -f $file ]] ; then
&lt;br&gt;&amp;gt; &amp;gt; +					if [[ ! -f &amp;quot;$SRCDEST/$file&amp;quot; ]] ; then
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;						echo &amp;quot;$(gettext &amp;quot;NOT FOUND&amp;quot;)&amp;quot; &amp;gt;&amp;2
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;						errors=1
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;						found=0
&lt;br&gt;&amp;gt; &amp;gt; @@ -622,8 +622,8 @@ extract_sources() {
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;			continue
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;		fi
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;gt; -		if [ ! -f &amp;quot;$file&amp;quot; ] ; then
&lt;br&gt;&amp;gt; &amp;gt; -			if [ ! -f &amp;quot;$SRCDEST/$file&amp;quot; ] ; then
&lt;br&gt;&amp;gt; &amp;gt; +		if [[ ! -f $file ]] ; then
&lt;br&gt;&amp;gt; &amp;gt; +			if [[ ! -f &amp;quot;$SRCDEST/$file&amp;quot; ]] ; then
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;				error &amp;quot;$(gettext &amp;quot;Unable to find source file %s for extraction.&amp;quot;)&amp;quot; &amp;quot;$file&amp;quot;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;				plain &amp;quot;$(gettext &amp;quot;Aborting...&amp;quot;)&amp;quot;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;				exit 1
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Quotes are not necessary.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; @@ -662,31 +662,31 @@ extract_sources() {
&lt;br&gt;&amp;gt; &amp;gt; ...
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;		fi
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;	done
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;gt; -	if [ $EUID -eq 0 ]; then
&lt;br&gt;&amp;gt; &amp;gt; +	if (( EUID == 0 )); then
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;		# change perms of all source files to root user &amp; root group
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;		chown -R 0:0 &amp;quot;$srcdir&amp;quot;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;	fi
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;}
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;gt; ...
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; (( ! EUID )) ?
&lt;/div&gt;&lt;br&gt;As above
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; @@ -713,12 +713,12 @@ run_function() {
&lt;br&gt;&amp;gt; &amp;gt; ...
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;			local i=1
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;			while true; do
&lt;br&gt;&amp;gt; &amp;gt; -				if [ -f &amp;quot;$BUILDLOG.$i&amp;quot; ]; then
&lt;br&gt;&amp;gt; &amp;gt; +				if [[ -f &amp;quot;$BUILDLOG.$i&amp;quot; ]]; then
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;					i=$(($i +1))
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;				else
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;					break
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Quotes again? There are several other places where quotes or the dollar
&lt;br&gt;&amp;gt; signs (in e.g. (( $found )) ) are not needed. Maybe you want to remove
&lt;br&gt;&amp;gt; them, maybe not.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Cedric
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;Should I implement these changes and resend this patch?
&lt;br&gt;/me goes looking for git help 
&lt;br&gt;&lt;br&gt;Thanks for the feedback!
&lt;br&gt;&amp;nbsp;- Isaac
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/pacman-dev-f16443.html&quot; embed=&quot;fixTarget[16443]&quot; target=&quot;_top&quot; &gt;pacman-dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH--scripts%3A-replace-test-builtin---with-shell-keywords----and-%28%28-tp26217317p26325124.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26325075</id>
	<title>C++ problem with conflicting declarations</title>
	<published>2009-11-12T11:21:44Z</published>
	<updated>2009-11-12T11:21:44Z</updated>
	<author>
		<name>Stefan Husmann</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;br&gt;when I try to compile xaralx I get 
&lt;br&gt;&lt;br&gt;In file included from /usr/include/glib-2.0/gio/gio.h:28,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;from /usr/include/gtk-2.0/gdk/gdk.h:32,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;from /usr/include/gtk-2.0/gtk/gtk.h:32,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;from ftfonts.cpp:125:
&lt;br&gt;/usr/include/glib-2.0/gio/giotypes.h:120: error: conflicting declaration 'typedef struct _GSocket GSocket'
&lt;br&gt;/usr/include/wx-2.8/wx/unix/gsockunx.h:41: error: 'class GSocket' has a previous declaration as 'class GSocket'
&lt;br&gt;ftfonts.cpp: In static member function 'static BOOL FTFontMan::CacheFontCore(String_64*, BOOL)':
&lt;br&gt;ftfonts.cpp:262: warning: deprecated conversion from string constant to 'char*'
&lt;br&gt;ftfonts.cpp:262: warning: deprecated conversion from string constant to 'TCHAR*'
&lt;br&gt;ftfonts.cpp:288: warning: deprecated conversion from string constant to 'char*'
&lt;br&gt;ftfonts.cpp:288: warning: deprecated conversion from string constant to 'TCHAR*'
&lt;br&gt;ftfonts.cpp: In static member function 'static FTFont* FTFontMan::CreateNewFont(String_64*, FontClass)':
&lt;br&gt;ftfonts.cpp:703: warning: deprecated conversion from string constant to 'char*'
&lt;br&gt;ftfonts.cpp:703: warning: deprecated conversion from string constant to 'TCHAR*'
&lt;br&gt;make[2]: *** [libwxOil_a-ftfonts.o] Error 1
&lt;br&gt;make[2]: Leaving directory `/home/haawda/paketierung/maintained_by_me/xaralx/src/XaraLX-0.7r1785/wxOil'
&lt;br&gt;make[1]: *** [all] Error 2
&lt;br&gt;make[1]: Leaving directory `/home/haawda/paketierung/maintained_by_me/xaralx/src/XaraLX-0.7r1785/wxOil'
&lt;br&gt;make: *** [all-recursive] Error 1
&lt;br&gt;&lt;br&gt;/usr/include/glib-2.0/gio/giotypes.h is included in glib2, /usr/include/wx-2.8/wx/unix/gsockunx.h is included in wxgtk. 
&lt;br&gt;&lt;br&gt;What is to do in such cases? Is this a bug in glib2 or in wxgtk? 
&lt;br&gt;&lt;br&gt;Regards Stefan
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/tur-users-f16440.html&quot; embed=&quot;fixTarget[16440]&quot; target=&quot;_top&quot; &gt;tur-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/C%2B%2B-problem-with-conflicting-declarations-tp26325075p26325075.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26324700</id>
	<title>Re: (groff+)ghostscript/us letter/paper size problems</title>
	<published>2009-11-12T11:19:07Z</published>
	<updated>2009-11-12T11:19:07Z</updated>
	<author>
		<name>Mike Bishop</name>
	</author>
	<content type="html">On Thu, Nov 12, 2009 at 09:49:13AM -0500, Louis Guillaume wrote:
&lt;br&gt;&amp;gt; Mike Bishop wrote:
&lt;br&gt;&amp;lt;snip&amp;gt;
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;The problem is that recent versions of ghostscript will (often)
&lt;br&gt;&amp;gt; &amp;gt;assume a4 paper size, regardless of /etc/paper. &amp;nbsp;This applies
&lt;br&gt;&amp;gt; &amp;gt;after ghostscript 8.64-5 but I am not sure which version (8.70 has
&lt;br&gt;&amp;gt; &amp;gt;the problem).
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I don't know much about how this is &amp;quot;supposed&amp;quot; to work with
&lt;br&gt;&amp;gt; /etc/paper or /etc/papersize. I always thought those were
&lt;br&gt;&amp;gt; ghostscript or grops things.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; If you need to explicitly define a paper size for groff to use (that
&lt;br&gt;&amp;gt; isn't the default) I think you need: `-dpaper=letter' in addition to
&lt;br&gt;&amp;gt; `-P-pletter'. The latter is for grops.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Louis
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;Actually, I screwed up. &amp;nbsp;The file on Arch at
&lt;br&gt;/usr/share/groff/1.20.1/font/devps/DESC
&lt;br&gt;has &amp;quot;papersize a4&amp;quot; while a more usual entry is
&lt;br&gt;&amp;quot;papersize /etc/papersize a4&amp;quot; ... so my
&lt;br&gt;settings in /etc/papersize were ignored.
&lt;br&gt;&lt;br&gt;I looked for a complicated answer and found it!
&lt;br&gt;&lt;br&gt;Rgds,
&lt;br&gt;--
&lt;br&gt;Mike Bishop 
&lt;br&gt;Willow, Alaska
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/arch-general-f16441.html&quot; embed=&quot;fixTarget[16441]&quot; target=&quot;_top&quot; &gt;arch general&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/%28groff%2B%29ghostscript-us-letter-paper-size-problems-tp26262451p26324700.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26324670</id>
	<title>Re: [PATCH 1/2] Changing [ to [[ and ((</title>
	<published>2009-11-12T11:16:41Z</published>
	<updated>2009-11-12T11:16:41Z</updated>
	<author>
		<name>Cedric Staniewski</name>
	</author>
	<content type="html">Isaac Good wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;From f40b051c1c649889a13f35965fa8f8decd505b47 Mon Sep 17 00:00:00 2001
&lt;br&gt;&amp;gt; From: Isaac Good &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26324670&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pacman@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; Date: Wed, 11 Nov 2009 16:47:43 -0500
&lt;br&gt;&amp;gt; Subject: [PATCH 1/2] Changing [ to [[ and ((
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; First half of makepkg
&lt;br&gt;&amp;gt; This replaces any prior patches of mine
&lt;br&gt;&amp;gt; Includes stuff like -o to || and -a to &amp;&amp; etc
&lt;br&gt;&amp;gt; if [ $(type .. &amp;nbsp;were preserved due to a bash bug with [[ and set -e and ERR traps
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Signed-off-by: Isaac Good &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26324670&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pacman@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---
&lt;/div&gt;&lt;br&gt;I hope your patch do not get lost in this thread.
&lt;br&gt;&lt;br&gt;&amp;gt; @@ -345,26 +345,26 @@ handle_deps() {
&lt;br&gt;&amp;gt; &amp;nbsp;	local R_DEPS_SATISFIED=0
&lt;br&gt;&amp;gt; &amp;nbsp;	local R_DEPS_MISSING=1
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; -	[ $# -eq 0 ] &amp;&amp; return $R_DEPS_SATISFIED
&lt;br&gt;&amp;gt; +	(( $# == 0 )) &amp;&amp; return $R_DEPS_SATISFIED
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;Is there a reason why you do not use (( ! $# )) here?
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; @@ -450,12 +450,12 @@ download_sources() {
&lt;br&gt;&amp;gt; &amp;nbsp;	for netfile in &amp;quot;${source[@]}&amp;quot;; do
&lt;br&gt;&amp;gt; &amp;nbsp;		local file=$(get_filename &amp;quot;$netfile&amp;quot;)
&lt;br&gt;&amp;gt; &amp;nbsp;		local url=$(get_url &amp;quot;$netfile&amp;quot;)
&lt;br&gt;&amp;gt; -		if [ -f &amp;quot;$startdir/$file&amp;quot; ]; then
&lt;br&gt;&amp;gt; +		if [[ -f &amp;quot;$startdir/$file&amp;quot; ]]; then
&lt;br&gt;&amp;gt; &amp;nbsp;			msg2 &amp;quot;$(gettext &amp;quot;Found %s in build dir&amp;quot;)&amp;quot; &amp;quot;$file&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp;			rm -f &amp;quot;$srcdir/$file&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp;			ln -s &amp;quot;$startdir/$file&amp;quot; &amp;quot;$srcdir/&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp;			continue
&lt;br&gt;&amp;gt; -		elif [ -f &amp;quot;$SRCDEST/$file&amp;quot; ]; then
&lt;br&gt;&amp;gt; +		elif [[ -f &amp;quot;$SRCDEST/$file&amp;quot; ]]; then
&lt;br&gt;&amp;gt; &amp;nbsp;			msg2 &amp;quot;$(gettext &amp;quot;Using cached copy of %s&amp;quot;)&amp;quot; &amp;quot;$file&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp;			rm -f &amp;quot;$srcdir/$file&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp;			ln -s &amp;quot;$SRCDEST/$file&amp;quot; &amp;quot;$srcdir/&amp;quot;
&lt;/div&gt;&lt;br&gt;We could remove the quotes here, too.
&lt;br&gt;&lt;br&gt;&amp;gt; @@ -512,7 +512,7 @@ generate_checksums() {
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;		local i=0;
&lt;br&gt;&amp;gt; &amp;nbsp;		local indent=''
&lt;br&gt;&amp;gt; -		while [ $i -lt $((${#integ}+6)) ]; do
&lt;br&gt;&amp;gt; +		while [[ $i -lt $((${#integ}+6)) ]]; do
&lt;br&gt;&amp;gt; &amp;nbsp;			indent=&amp;quot;$indent &amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp;			i=$(($i+1))
&lt;br&gt;&amp;gt; &amp;nbsp;		done
&lt;br&gt;&lt;br&gt;What about &amp;quot;while (( $i &amp;lt; $((${#integ}+6)) )); do&amp;quot;?
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; @@ -521,8 +521,8 @@ generate_checksums() {
&lt;br&gt;&amp;gt; &amp;nbsp;		for netfile in &amp;quot;${source[@]}&amp;quot;; do
&lt;br&gt;&amp;gt; &amp;nbsp;			local file=&amp;quot;$(get_filename &amp;quot;$netfile&amp;quot;)&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; -			if [ ! -f &amp;quot;$file&amp;quot; ] ; then
&lt;br&gt;&amp;gt; -				if [ ! -f &amp;quot;$SRCDEST/$file&amp;quot; ] ; then
&lt;br&gt;&amp;gt; +			if [[ ! -f $file ]] ; then
&lt;br&gt;&amp;gt; +				if [[ ! -f &amp;quot;$SRCDEST/$file&amp;quot; ]] ; then
&lt;br&gt;&amp;gt; &amp;nbsp;					error &amp;quot;$(gettext &amp;quot;Unable to find source file %s to generate checksum.&amp;quot;)&amp;quot; &amp;quot;$file&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp;					plain &amp;quot;$(gettext &amp;quot;Aborting...&amp;quot;)&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp;					exit 1
&lt;/div&gt;&lt;br&gt;Same as above. Quotes are not necessary.
&lt;br&gt;&lt;br&gt;&amp;gt; @@ -533,10 +533,10 @@ generate_checksums() {
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;			local sum=&amp;quot;$(openssl dgst -${integ} &amp;quot;$file&amp;quot;)&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp;			sum=${sum##* }
&lt;br&gt;&amp;gt; -			[ $ct -gt 0 ] &amp;&amp; echo -n &amp;quot;$indent&amp;quot;
&lt;br&gt;&amp;gt; +			(( ct )) &amp;&amp; echo -n $indent
&lt;br&gt;&amp;gt; &amp;nbsp;			echo -n &amp;quot;'$sum'&amp;quot;
&lt;br&gt;&lt;br&gt;I do not think we want to remove the quotes here.
&lt;br&gt;&lt;br&gt;$ indent=&amp;quot; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;
&lt;br&gt;$ echo -n $indent; echo asdf
&lt;br&gt;asdf
&lt;br&gt;$ echo -n &amp;quot;$indent&amp;quot;; echo asdf
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; asdf
&lt;br&gt;$
&lt;br&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; @@ -566,8 +566,8 @@ check_checksums() {
&lt;br&gt;&amp;gt; &amp;nbsp;				file=&amp;quot;$(get_filename &amp;quot;$file&amp;quot;)&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp;				echo -n &amp;quot; &amp;nbsp; &amp;nbsp;$file ... &amp;quot; &amp;gt;&amp;2
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; -				if [ ! -f &amp;quot;$file&amp;quot; ] ; then
&lt;br&gt;&amp;gt; -					if [ ! -f &amp;quot;$SRCDEST/$file&amp;quot; ] ; then
&lt;br&gt;&amp;gt; +				if [[ ! -f $file ]] ; then
&lt;br&gt;&amp;gt; +					if [[ ! -f &amp;quot;$SRCDEST/$file&amp;quot; ]] ; then
&lt;br&gt;&amp;gt; &amp;nbsp;						echo &amp;quot;$(gettext &amp;quot;NOT FOUND&amp;quot;)&amp;quot; &amp;gt;&amp;2
&lt;br&gt;&amp;gt; &amp;nbsp;						errors=1
&lt;br&gt;&amp;gt; &amp;nbsp;						found=0
&lt;br&gt;&amp;gt; @@ -622,8 +622,8 @@ extract_sources() {
&lt;br&gt;&amp;gt; &amp;nbsp;			continue
&lt;br&gt;&amp;gt; &amp;nbsp;		fi
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; -		if [ ! -f &amp;quot;$file&amp;quot; ] ; then
&lt;br&gt;&amp;gt; -			if [ ! -f &amp;quot;$SRCDEST/$file&amp;quot; ] ; then
&lt;br&gt;&amp;gt; +		if [[ ! -f $file ]] ; then
&lt;br&gt;&amp;gt; +			if [[ ! -f &amp;quot;$SRCDEST/$file&amp;quot; ]] ; then
&lt;br&gt;&amp;gt; &amp;nbsp;				error &amp;quot;$(gettext &amp;quot;Unable to find source file %s for extraction.&amp;quot;)&amp;quot; &amp;quot;$file&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp;				plain &amp;quot;$(gettext &amp;quot;Aborting...&amp;quot;)&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp;				exit 1
&lt;/div&gt;&lt;br&gt;Quotes are not necessary.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; @@ -662,31 +662,31 @@ extract_sources() {
&lt;br&gt;&amp;gt; ...
&lt;br&gt;&amp;gt; &amp;nbsp;		fi
&lt;br&gt;&amp;gt; &amp;nbsp;	done
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; -	if [ $EUID -eq 0 ]; then
&lt;br&gt;&amp;gt; +	if (( EUID == 0 )); then
&lt;br&gt;&amp;gt; &amp;nbsp;		# change perms of all source files to root user &amp; root group
&lt;br&gt;&amp;gt; &amp;nbsp;		chown -R 0:0 &amp;quot;$srcdir&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp;	fi
&lt;br&gt;&amp;gt; &amp;nbsp;}
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; ...
&lt;/div&gt;&lt;br&gt;(( ! EUID )) ?
&lt;br&gt;&lt;br&gt;&amp;gt; @@ -713,12 +713,12 @@ run_function() {
&lt;br&gt;&amp;gt; ...
&lt;br&gt;&amp;gt; &amp;nbsp;			local i=1
&lt;br&gt;&amp;gt; &amp;nbsp;			while true; do
&lt;br&gt;&amp;gt; -				if [ -f &amp;quot;$BUILDLOG.$i&amp;quot; ]; then
&lt;br&gt;&amp;gt; +				if [[ -f &amp;quot;$BUILDLOG.$i&amp;quot; ]]; then
&lt;br&gt;&amp;gt; &amp;nbsp;					i=$(($i +1))
&lt;br&gt;&amp;gt; &amp;nbsp;				else
&lt;br&gt;&amp;gt; &amp;nbsp;					break
&lt;br&gt;&lt;br&gt;Quotes again? There are several other places where quotes or the dollar
&lt;br&gt;signs (in e.g. (( $found )) ) are not needed. Maybe you want to remove
&lt;br&gt;them, maybe not.
&lt;br&gt;&lt;br&gt;Cedric
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/pacman-dev-f16443.html&quot; embed=&quot;fixTarget[16443]&quot; target=&quot;_top&quot; &gt;pacman-dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH--scripts%3A-replace-test-builtin---with-shell-keywords----and-%28%28-tp26217317p26324670.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26323978</id>
	<title>Re: аrch x86_64 and i686 performance comparison</title>
	<published>2009-11-12T10:34:41Z</published>
	<updated>2009-11-12T10:34:41Z</updated>
	<author>
		<name>Robert Howard-3</name>
	</author>
	<content type="html">I find the 64 bit version to be on par with the 32 bit version. I do think
&lt;br&gt;64 bit is faster when using it for GIS with large datasets. I have been
&lt;br&gt;using 64 bit for years without remorse. &amp;nbsp;Now, no 64 bit Windows OS has ever
&lt;br&gt;been worth using.
&lt;br&gt;&lt;br&gt;On Nov 11, 2009 11:19 PM, &amp;quot;Sergey Manucharian&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26323978&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sergeym@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;br&gt;Excerpts from Smith Dhumbumroong's message of Thursday 12-Nov-09
&lt;br&gt;10:49am:
&lt;br&gt;&lt;br&gt;&amp;gt; Better to install both Arch 32-bit and 64-bit on the same machine &amp;gt; (dual
&lt;br&gt;boot) and run the tests...
&lt;br&gt;I've already did it.
&lt;br&gt;&lt;br&gt;&amp;gt; from my personal experience certain operations, such as video/music &amp;gt;
&lt;br&gt;encoding, is a _lot_ faster...
&lt;br&gt;Well, in my ThinkPad R61 (Core2 Duo CPU T9300 @ 2.50GHz) I got 1.1
&lt;br&gt;times difference (in favour of 64-bit) with couple of videofiles
&lt;br&gt;encoded. (By the way, it means that VM performs almost 1.5 worse then
&lt;br&gt;the real HW).
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Sergey
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/arch-general-f16441.html&quot; embed=&quot;fixTarget[16441]&quot; target=&quot;_top&quot; &gt;arch general&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/%D0%B0rch-x86_64-and-i686-performance-comparison-tp26303968p26323978.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26323843</id>
	<title>Re: Deletion request for mumble-11x-git</title>
	<published>2009-11-12T10:27:55Z</published>
	<updated>2009-11-12T10:27:55Z</updated>
	<author>
		<name>Evangelos Foutras-2</name>
	</author>
	<content type="html">On Thu, Nov 12, 2009 at 8:21 PM, Lauri Niskanen &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26323843&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ape@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; The AUR package for mumble-11x-git [1] provides a compatibility client
&lt;br&gt;&amp;gt; for older mumble versions, but uses new code from git. However, it is
&lt;br&gt;&amp;gt; currently fully obsoleted by mumble-git [2] that provides the latest
&lt;br&gt;&amp;gt; git version of the application (1.2.0-git) and the compatibility
&lt;br&gt;&amp;gt; client. The 11x-client part in mumble-git is exactly the same as in
&lt;br&gt;&amp;gt; mumble-11x-git.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I think mumble-11x-git should be removed as obsoleted.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; [1] &lt;a href=&quot;http://aur.archlinux.org/packages.php?ID=30578&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://aur.archlinux.org/packages.php?ID=30578&lt;/a&gt;&lt;br&gt;&amp;gt; [2] &lt;a href=&quot;http://aur.archlinux.org/packages.php?ID=26865&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://aur.archlinux.org/packages.php?ID=26865&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -- Ape &amp;lt;Lauri Niskanen&amp;gt;
&lt;/div&gt;&lt;br&gt;mumble-11x-git is no more. :)
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/tur-users-f16440.html&quot; embed=&quot;fixTarget[16440]&quot; target=&quot;_top&quot; &gt;tur-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Deletion-request-for-mumble-11x-git-tp26323726p26323843.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26323726</id>
	<title>Deletion request for mumble-11x-git</title>
	<published>2009-11-12T10:21:36Z</published>
	<updated>2009-11-12T10:21:36Z</updated>
	<author>
		<name>Lauri Niskanen</name>
	</author>
	<content type="html">The AUR package for mumble-11x-git [1] provides a compatibility client
&lt;br&gt;for older mumble versions, but uses new code from git. However, it is
&lt;br&gt;currently fully obsoleted by mumble-git [2] that provides the latest
&lt;br&gt;git version of the application (1.2.0-git) and the compatibility
&lt;br&gt;client. The 11x-client part in mumble-git is exactly the same as in
&lt;br&gt;mumble-11x-git.
&lt;br&gt;&lt;br&gt;I think mumble-11x-git should be removed as obsoleted.
&lt;br&gt;&lt;br&gt;[1] &lt;a href=&quot;http://aur.archlinux.org/packages.php?ID=30578&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://aur.archlinux.org/packages.php?ID=30578&lt;/a&gt;&lt;br&gt;[2] &lt;a href=&quot;http://aur.archlinux.org/packages.php?ID=26865&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://aur.archlinux.org/packages.php?ID=26865&lt;/a&gt;&lt;br&gt;&lt;br&gt;-- Ape &amp;lt;Lauri Niskanen&amp;gt;
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/tur-users-f16440.html&quot; embed=&quot;fixTarget[16440]&quot; target=&quot;_top&quot; &gt;tur-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Deletion-request-for-mumble-11x-git-tp26323726p26323726.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26323465</id>
	<title>Re: perl-libwww duplicates</title>
	<published>2009-11-12T10:06:51Z</published>
	<updated>2009-11-12T10:06:51Z</updated>
	<author>
		<name>Daenyth Blank</name>
	</author>
	<content type="html">On Thu, Nov 12, 2009 at 12:54, Xyne &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26323465&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;xyne@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; Pacpan generates a comprehensive &amp;quot;provides&amp;quot; list by cross-referencing all the
&lt;br&gt;&amp;gt; names and sources and thus includes all alternative names which rely on
&lt;br&gt;&amp;gt; the same source files. The user has to select the &amp;quot;main&amp;quot; module though
&lt;br&gt;&amp;gt; and include the comprehensive provides string to avoid overlap, which
&lt;br&gt;&amp;gt; is why I've sent the full &amp;quot;provides&amp;quot; array for Bundle::LWP to the
&lt;br&gt;&amp;gt; perl-libwww packager (which should be named perl-bundle-lwp).
&lt;br&gt;&lt;br&gt;Personally I've always found the current behavior very annoying. Why
&lt;br&gt;not just generate the arch standard names for the depends array and
&lt;br&gt;let the packager work it out if that isn't correct? Defaulting to the
&lt;br&gt;standard seems better than defaulting to print everything, most of
&lt;br&gt;which gets removed by hand. It's the single biggest peeve I have with
&lt;br&gt;pacpan. (Not to say that I don't find it useful.)
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/tur-users-f16440.html&quot; embed=&quot;fixTarget[16440]&quot; target=&quot;_top&quot; &gt;tur-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/perl-libwww-duplicates-tp26289882p26323465.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26323271</id>
	<title>Re: perl-libwww duplicates</title>
	<published>2009-11-12T09:54:52Z</published>
	<updated>2009-11-12T09:54:52Z</updated>
	<author>
		<name>xyne</name>
	</author>
	<content type="html">Cedric Staniewski wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Thanks. I thought about that again and am curious if there is a name
&lt;br&gt;&amp;gt; convention for CPAN source files. It might make sense to set pkgname to
&lt;br&gt;&amp;gt; 'perl-' the name of the source file (lowercase and without version and
&lt;br&gt;&amp;gt; suffix, of course) by default in pacpan generated PKGBUILDs, even though
&lt;br&gt;&amp;gt; libwww is an exception again.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; They should definitely look at the PKGBUILD before uploading them. I
&lt;br&gt;&amp;gt; have seen provide arrays with items like 'modulename=undef' and there is
&lt;br&gt;&amp;gt; a new license introduced by these PKGBUILDs called '~'. But that is the
&lt;br&gt;&amp;gt; drawback of such tools; they make it so easy to generate PKGBUILDs and
&lt;br&gt;&amp;gt; thus you get quantity but often less quality.
&lt;/div&gt;&lt;br&gt;There is a naming convention but the problem is that several modules on
&lt;br&gt;CPAN use the same source and install the same component modules. Pacpan
&lt;br&gt;generates a comprehensive &amp;quot;provides&amp;quot; list by cross-referencing all the
&lt;br&gt;names and sources and thus includes all alternative names which rely on
&lt;br&gt;the same source files. The user has to select the &amp;quot;main&amp;quot; module though
&lt;br&gt;and include the comprehensive provides string to avoid overlap, which
&lt;br&gt;is why I've sent the full &amp;quot;provides&amp;quot; array for Bundle::LWP to the
&lt;br&gt;perl-libwww packager (which should be named perl-bundle-lwp).
&lt;br&gt;&lt;br&gt;The inclusion of &amp;quot;undef&amp;quot; was due to a bug in pacpan where I had used a
&lt;br&gt;simplified version check, which I've now fixed. Even so, you're right
&lt;br&gt;that pacpan is incapable of always producing perfect PKGBUILDs and it
&lt;br&gt;was never intended to be used without inspection of the results. It
&lt;br&gt;relies on correct and complete meta information on CPAN (some module
&lt;br&gt;authors don't bother) and a standard build function. In most cases
&lt;br&gt;it works as expected and in others it usuallyl provides a good starting
&lt;br&gt;point, but sometimes it's assumptions are horribly wrong and it fails
&lt;br&gt;miserably.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Xyne
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/tur-users-f16440.html&quot; embed=&quot;fixTarget[16440]&quot; target=&quot;_top&quot; &gt;tur-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/perl-libwww-duplicates-tp26289882p26323271.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26323019</id>
	<title>Re: apt-get style information for users in pacman</title>
	<published>2009-11-12T09:41:25Z</published>
	<updated>2009-11-12T09:41:25Z</updated>
	<author>
		<name>Bhargav Prasanna</name>
	</author>
	<content type="html">2009/11/12 Xavier &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26323019&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;shiningxc@...&lt;/a&gt;&amp;gt;:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Thu, Nov 12, 2009 at 7:31 AM, Allan McRae &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26323019&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;allan@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; An an FYI, there is a really old bug report requesting this:
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://bugs.archlinux.org/task/833&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://bugs.archlinux.org/task/833&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 1 got lost !
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://bugs.archlinux.org/task/8331&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://bugs.archlinux.org/task/8331&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;yes it did.. and I figured it out by searching.. =)
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Bhargav Prasanna
&lt;br&gt;&lt;a href=&quot;http://muftmukt.wordpress.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://muftmukt.wordpress.com/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/pacman-dev-f16443.html&quot; embed=&quot;fixTarget[16443]&quot; target=&quot;_top&quot; &gt;pacman-dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/apt-get-style-information-for-users-in-pacman-tp26313301p26323019.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26322015</id>
	<title>Re: Frustrated with Crappy looking Firefox and OpenOffice GTK &amp; QT themes?</title>
	<published>2009-11-12T08:42:22Z</published>
	<updated>2009-11-12T08:42:22Z</updated>
	<author>
		<name>Partha Chowdhury-2</name>
	</author>
	<content type="html">On Thu, Nov 12, 2009 at 01:08:04AM -0600, David C. Rankin wrote:
&lt;br&gt;&amp;gt; After mucking around trying to get firefox and openoffice to look right, I 
&lt;br&gt;&amp;gt; thought I would pass on a few tips. For those of you that know already, just 
&lt;br&gt;&amp;gt; hit delete.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The dull boxy appearance of both GTK and some Qt apps left me scratching my 
&lt;br&gt;&amp;gt; head for the right tools to fix the look. The normal qtconfig and gtk2_prefs 
&lt;br&gt;&amp;gt; just didn't do it for all applications (like basket and other kde3 now sort of 
&lt;br&gt;&amp;gt; kde4 apps) Trial and error and google helped. The main tools are:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;i faced a similar problem (gtk application looking horrible in kde) and
&lt;br&gt;applied this fix [1]. Now gtk apps look nice in kde.
&lt;br&gt;&lt;br&gt;[1] &lt;a href=&quot;http://wiki.archlinux.org/index.php/Kde#KDE_4_Theme_Integration_with_GTK_Applications&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wiki.archlinux.org/index.php/Kde#KDE_4_Theme_Integration_with_GTK_Applications&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/arch-general-f16441.html&quot; embed=&quot;fixTarget[16441]&quot; target=&quot;_top&quot; &gt;arch general&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Frustrated-with-Crappy-looking-Firefox-and-OpenOffice-GTK---QT-themes--tp26314386p26322015.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26319368</id>
	<title>Re: [PATCH 1/2] makepkg: move pacman calls to a	function</title>
	<published>2009-11-12T06:13:11Z</published>
	<updated>2009-11-12T06:13:11Z</updated>
	<author>
		<name>Cedric Staniewski</name>
	</author>
	<content type="html">Xavier wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Thu, Nov 12, 2009 at 2:51 PM, Dan McGee &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26319368&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dpmcgee@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt; Doesn't look undocumented to me:
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; -T, --deptest
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Check dependencies; this is useful in scripts such as makepkg to
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; check installed packages. This operation will check each dependency
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; specified and return a list of those which are not currently
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; satisfied on the system. This operation accepts no other options.
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Example usage: pacman -T qt &amp;quot;bash&amp;gt;=3.2&amp;quot;.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Ahah ok. Well I am still not sure what a wrapper could add to that
&lt;br&gt;&amp;gt; functionality, besides breaking it. But if everyone is against me,
&lt;br&gt;&amp;gt; then I will shut up :) It is not a big deal.
&lt;/div&gt;&lt;br&gt;It would be possible to get rid of -T and depend on vercmp for the
&lt;br&gt;installed dependency check. I am not sure if this is any better though
&lt;br&gt;(probably rather worse).
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/pacman-dev-f16443.html&quot; embed=&quot;fixTarget[16443]&quot; target=&quot;_top&quot; &gt;pacman-dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH-1-2--makepkg%3A-move-pacman-calls-to-a-function-tp26237691p26319368.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26319136</id>
	<title>Re: [PATCH 1/2] makepkg: move pacman calls to a	function</title>
	<published>2009-11-12T06:00:01Z</published>
	<updated>2009-11-12T06:00:01Z</updated>
	<author>
		<name>Cedric Staniewski</name>
	</author>
	<content type="html">Xavier wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Thu, Nov 12, 2009 at 2:08 PM, Cedric Staniewski &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26319136&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cedric@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I have been thinking about this and its companion patch. &amp;nbsp;I like the
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; refactoring of the pacman call into the function but dislike not
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; replacing the &amp;quot;pacman -T&amp;quot; call with it.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; If there is a config option for setting the &amp;quot;pacman&amp;quot; binary, and I have
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; program that replaces pacman (e.g. the one based on the python alpm
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; wrapper should work), then I should not need pacman on my system at all.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; So I prefer the original version where the &amp;quot;pacman -T&amp;quot; call was replaced
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; too.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; And leave it to the pacman wrapper authors to fix their programs? Sounds
&lt;br&gt;&amp;gt;&amp;gt; good. :)
&lt;br&gt;&amp;gt;&amp;gt; I also prefer the original patch, mainly because it seems 'cleaner' to
&lt;br&gt;&amp;gt;&amp;gt; me, but being able to replace pacman completely on a system is a valid
&lt;br&gt;&amp;gt;&amp;gt; reason, too.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Well, I am still not convinced.
&lt;br&gt;&amp;gt; Why would any wrapper have to care about pacman -T ?
&lt;br&gt;&amp;gt; This is a hidden / undocumented / internal argument just for the usage
&lt;br&gt;&amp;gt; of makepkg.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; In the best case, a wrapper will just forward it correctly. In the
&lt;br&gt;&amp;gt; worst case, it will break it.
&lt;/div&gt;&lt;br&gt;Since pacman 3.3 it is not that hidden anymore[1].
&lt;br&gt;&lt;br&gt;[1]
&lt;br&gt;&lt;a href=&quot;http://projects.archlinux.org/pacman.git/commit/?id=9af9c0f328094228fa363d842ddc9b2a605f0d22&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://projects.archlinux.org/pacman.git/commit/?id=9af9c0f328094228fa363d842ddc9b2a605f0d22&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/pacman-dev-f16443.html&quot; embed=&quot;fixTarget[16443]&quot; target=&quot;_top&quot; &gt;pacman-dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH-1-2--makepkg%3A-move-pacman-calls-to-a-function-tp26237691p26319136.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26319078</id>
	<title>Re: [PATCH 1/2] makepkg: move pacman calls to a function</title>
	<published>2009-11-12T05:56:52Z</published>
	<updated>2009-11-12T05:56:52Z</updated>
	<author>
		<name>Xavier Chantry-2</name>
	</author>
	<content type="html">On Thu, Nov 12, 2009 at 2:51 PM, Dan McGee &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26319078&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dpmcgee@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Doesn't look undocumented to me:
&lt;br&gt;&amp;gt;       -T, --deptest
&lt;br&gt;&amp;gt;           Check dependencies; this is useful in scripts such as makepkg to
&lt;br&gt;&amp;gt;           check installed packages. This operation will check each dependency
&lt;br&gt;&amp;gt;           specified and return a list of those which are not currently
&lt;br&gt;&amp;gt;           satisfied on the system. This operation accepts no other options.
&lt;br&gt;&amp;gt;           Example usage: pacman -T qt &amp;quot;bash&amp;gt;=3.2&amp;quot;.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;Ahah ok. Well I am still not sure what a wrapper could add to that
&lt;br&gt;functionality, besides breaking it. But if everyone is against me,
&lt;br&gt;then I will shut up :) It is not a big deal.
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/pacman-dev-f16443.html&quot; embed=&quot;fixTarget[16443]&quot; target=&quot;_top&quot; &gt;pacman-dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH-1-2--makepkg%3A-move-pacman-calls-to-a-function-tp26237691p26319078.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26318983</id>
	<title>Re: [PATCH 1/2] makepkg: move pacman calls to a function</title>
	<published>2009-11-12T05:51:30Z</published>
	<updated>2009-11-12T05:51:30Z</updated>
	<author>
		<name>Dan McGee</name>
	</author>
	<content type="html">On Thu, Nov 12, 2009 at 7:48 AM, Xavier &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26318983&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;shiningxc@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Thu, Nov 12, 2009 at 2:08 PM, Cedric Staniewski &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26318983&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cedric@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I have been thinking about this and its companion patch.  I like the
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; refactoring of the pacman call into the function but dislike not
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; replacing the &amp;quot;pacman -T&amp;quot; call with it.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; If there is a config option for setting the &amp;quot;pacman&amp;quot; binary, and I have
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; program that replaces pacman (e.g. the one based on the python alpm
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; wrapper should work), then I should not need pacman on my system at all.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; So I prefer the original version where the &amp;quot;pacman -T&amp;quot; call was replaced
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; too.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; And leave it to the pacman wrapper authors to fix their programs? Sounds
&lt;br&gt;&amp;gt;&amp;gt; good. :)
&lt;br&gt;&amp;gt;&amp;gt; I also prefer the original patch, mainly because it seems 'cleaner' to
&lt;br&gt;&amp;gt;&amp;gt; me, but being able to replace pacman completely on a system is a valid
&lt;br&gt;&amp;gt;&amp;gt; reason, too.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Well, I am still not convinced.
&lt;br&gt;&amp;gt; Why would any wrapper have to care about pacman -T ?
&lt;br&gt;&amp;gt; This is a hidden / undocumented / internal argument just for the usage
&lt;br&gt;&amp;gt; of makepkg.
&lt;/div&gt;&lt;br&gt;Doesn't look undocumented to me:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-T, --deptest
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Check dependencies; this is useful in scripts such as makepkg to
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;check installed packages. This operation will check each dependency
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;specified and return a list of those which are not currently
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;satisfied on the system. This operation accepts no other options.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Example usage: pacman -T qt &amp;quot;bash&amp;gt;=3.2&amp;quot;.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;gt; In the best case, a wrapper will just forward it correctly. In the
&lt;br&gt;&amp;gt; worst case, it will break it.
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/pacman-dev-f16443.html&quot; embed=&quot;fixTarget[16443]&quot; target=&quot;_top&quot; &gt;pacman-dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH-1-2--makepkg%3A-move-pacman-calls-to-a-function-tp26237691p26318983.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26318943</id>
	<title>Re: [PATCH 1/2] makepkg: move pacman calls to a function</title>
	<published>2009-11-12T05:48:22Z</published>
	<updated>2009-11-12T05:48:22Z</updated>
	<author>
		<name>Xavier Chantry-2</name>
	</author>
	<content type="html">On Thu, Nov 12, 2009 at 2:08 PM, Cedric Staniewski &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26318943&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cedric@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I have been thinking about this and its companion patch.  I like the
&lt;br&gt;&amp;gt;&amp;gt; refactoring of the pacman call into the function but dislike not
&lt;br&gt;&amp;gt;&amp;gt; replacing the &amp;quot;pacman -T&amp;quot; call with it.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; If there is a config option for setting the &amp;quot;pacman&amp;quot; binary, and I have
&lt;br&gt;&amp;gt;&amp;gt; program that replaces pacman (e.g. the one based on the python alpm
&lt;br&gt;&amp;gt;&amp;gt; wrapper should work), then I should not need pacman on my system at all.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; So I prefer the original version where the &amp;quot;pacman -T&amp;quot; call was replaced
&lt;br&gt;&amp;gt;&amp;gt; too.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; And leave it to the pacman wrapper authors to fix their programs? Sounds
&lt;br&gt;&amp;gt; good. :)
&lt;br&gt;&amp;gt; I also prefer the original patch, mainly because it seems 'cleaner' to
&lt;br&gt;&amp;gt; me, but being able to replace pacman completely on a system is a valid
&lt;br&gt;&amp;gt; reason, too.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;Well, I am still not convinced.
&lt;br&gt;Why would any wrapper have to care about pacman -T ?
&lt;br&gt;This is a hidden / undocumented / internal argument just for the usage
&lt;br&gt;of makepkg.
&lt;br&gt;&lt;br&gt;In the best case, a wrapper will just forward it correctly. In the
&lt;br&gt;worst case, it will break it.
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/pacman-dev-f16443.html&quot; embed=&quot;fixTarget[16443]&quot; target=&quot;_top&quot; &gt;pacman-dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH-1-2--makepkg%3A-move-pacman-calls-to-a-function-tp26237691p26318943.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26318336</id>
	<title>Re: [PATCH 1/2] makepkg: move pacman calls to	a	function</title>
	<published>2009-11-12T05:08:12Z</published>
	<updated>2009-11-12T05:08:12Z</updated>
	<author>
		<name>Cedric Staniewski</name>
	</author>
	<content type="html">Allan McRae wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Dan McGee wrote:
&lt;br&gt;&amp;gt;&amp;gt; On Fri, Nov 6, 2009 at 2:20 PM, Cedric Staniewski &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26318336&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cedric@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Signed-off-by: Cedric Staniewski &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26318336&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cedric@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; ---
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Seems pretty reasonable to me; Allan, is this OK?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I have been thinking about this and its companion patch. &amp;nbsp;I like the
&lt;br&gt;&amp;gt; refactoring of the pacman call into the function but dislike not
&lt;br&gt;&amp;gt; replacing the &amp;quot;pacman -T&amp;quot; call with it.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; If there is a config option for setting the &amp;quot;pacman&amp;quot; binary, and I have
&lt;br&gt;&amp;gt; program that replaces pacman (e.g. the one based on the python alpm
&lt;br&gt;&amp;gt; wrapper should work), then I should not need pacman on my system at all.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; So I prefer the original version where the &amp;quot;pacman -T&amp;quot; call was replaced
&lt;br&gt;&amp;gt; too.
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;And leave it to the pacman wrapper authors to fix their programs? Sounds
&lt;br&gt;good. :)
&lt;br&gt;I also prefer the original patch, mainly because it seems 'cleaner' to
&lt;br&gt;me, but being able to replace pacman completely on a system is a valid
&lt;br&gt;reason, too.
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/pacman-dev-f16443.html&quot; embed=&quot;fixTarget[16443]&quot; target=&quot;_top&quot; &gt;pacman-dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH-1-2--makepkg%3A-move-pacman-calls-to-a-function-tp26237691p26318336.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26318187</id>
	<title>Re: [PATCH 2/2] makepkg: add a config file option for the pacman binary to be used</title>
	<published>2009-11-12T04:57:03Z</published>
	<updated>2009-11-12T04:57:03Z</updated>
	<author>
		<name>Cedric Staniewski</name>
	</author>
	<content type="html">Dan McGee wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Tue, Nov 10, 2009 at 4:36 PM, Allan McRae &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26318187&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;allan@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt; Cedric Staniewski wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Dan McGee wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; On Fri, Nov 6, 2009 at 2:51 PM, Cedric Staniewski &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26318187&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cedric@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Implements FS#13028.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Signed-off-by: Cedric Staniewski &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26318187&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cedric@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; ---
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Oops... forgot to adjust the documentation. -T support is not required
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; anymore for the pacman wrappers.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; I think I'd rather see this as an environment variable- wouldn't that
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; make more sense, as we wouldn't require it to be specified by the vast
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; majority of people that just want to use the default?
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; PACMAN=${PACMAN:-pacman} or whatever it is.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; -Dan
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Sorry Dan, but I do not get your point. This patch makes it possible to
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; specify a pacman command in one of the makepkg.conf files, but it is not
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; mandatory because of the reason you mentioned. I already use your line in my
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; patch:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; +# set pacman command if not defined in config files
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; +PACMAN=${PACMAN:-pacman}
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; +
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; It is, however, not possible to provide a pacman command via environment
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; variable, because I think it makes more sense to store it in a config file.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; So do you mean it should be possible to use an environment variable as
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; well?
&lt;br&gt;&amp;gt;&amp;gt; I think Dan wants it to only be available through and environmental variable
&lt;br&gt;&amp;gt;&amp;gt; and not in the makepkg.conf. &amp;nbsp;That should already be possible with your
&lt;br&gt;&amp;gt;&amp;gt; patch (as you point out, the line Dan suggested is already there).
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I have no real preference but am leaning towards it not being included in
&lt;br&gt;&amp;gt;&amp;gt; pacman.conf given the usage is expected to be low. &amp;nbsp;If we are wrong and it
&lt;br&gt;&amp;gt;&amp;gt; becomes very popular to use some wrapper, then we can always add the config
&lt;br&gt;&amp;gt;&amp;gt; option later.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; My suggestion was as Allan says; only do it in the environment. Of
&lt;br&gt;&amp;gt; course, since makepkg.conf is just sourced anyway, then to each his
&lt;br&gt;&amp;gt; own, but I'd rather not advertise it there at all.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Why? Things like $BROWSER, $EDITOR, etc. are pretty standard and
&lt;br&gt;&amp;gt; accepted variables. There is no reason that on an Arch system, $PACMAN
&lt;br&gt;&amp;gt; shouldn't join that list. This would address other things, such as
&lt;br&gt;&amp;gt; people always wanting to have it run with a certain command line flag,
&lt;br&gt;&amp;gt; or perhaps always use a pacman.static binary, or anything like that.
&lt;br&gt;&amp;gt; Maybe I'm making orange juice out of bananas, but yeah.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; -Dan
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;I'm fine with your approach and it would definitely have some
&lt;br&gt;advantages, however I prefer documenting it somewhere. My worry is that
&lt;br&gt;we run into side-effects when someone has set this variable to something
&lt;br&gt;weird for some obscure reasons, but perhaps I am a bit too pessimistic here.
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/pacman-dev-f16443.html&quot; embed=&quot;fixTarget[16443]&quot; target=&quot;_top&quot; &gt;pacman-dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH-1-2--makepkg%3A-move-pacman-calls-to-a-function-tp26237691p26318187.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26318037</id>
	<title>Re: perl-libwww duplicates</title>
	<published>2009-11-12T04:45:41Z</published>
	<updated>2009-11-12T04:45:41Z</updated>
	<author>
		<name>Cedric Staniewski</name>
	</author>
	<content type="html">Xyne wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Tue, 10 Nov 2009 17:19:08 -0500
&lt;br&gt;&amp;gt; Daenyth Blank &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26318037&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;daenyth+arch@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; On Tue, Nov 10, 2009 at 14:36, Cedric Staniewski &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26318037&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cedric@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; There are several packages in the AUR which provides exactly the same package as perl-libwww from extra does. Apparently, it is a pacpan related issue and therefore these packages are required by other ones. Deleting them is likely no solution as they will get uploaded again by another pacpan user.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Cedric
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; =&amp;gt; perl-http-headers
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://aur.archlinux.org/packages.php?ID=25730&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://aur.archlinux.org/packages.php?ID=25730&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; =&amp;gt; perl-http-request
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://aur.archlinux.org/packages.php?ID=25736&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://aur.archlinux.org/packages.php?ID=25736&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; =&amp;gt; perl-http-response
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://aur.archlinux.org/packages.php?ID=25735&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://aur.archlinux.org/packages.php?ID=25735&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; =&amp;gt; perl-lwp-simple
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://aur.archlinux.org/packages.php?ID=27566&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://aur.archlinux.org/packages.php?ID=27566&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; =&amp;gt; perl-lwp-useragent
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://aur.archlinux.org/packages.php?ID=25734&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://aur.archlinux.org/packages.php?ID=25734&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I'm going to cc this to xyne
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; This is because perl-libwww only provides libwww-perl in the PKGBUILD
&lt;br&gt;&amp;gt; when in it actually provides over 50 modules/packages. I'll open a
&lt;br&gt;&amp;gt; ticket on the bug tracker and then take care of the listed pacakges in
&lt;br&gt;&amp;gt; the AUR.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I'll post any updates here.
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;Thanks. I thought about that again and am curious if there is a name
&lt;br&gt;convention for CPAN source files. It might make sense to set pkgname to
&lt;br&gt;'perl-' the name of the source file (lowercase and without version and
&lt;br&gt;suffix, of course) by default in pacpan generated PKGBUILDs, even though
&lt;br&gt;libwww is an exception again.
&lt;br&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Perhaps this would be a good opportunity to ask everyone packaging CPAN
&lt;br&gt;&amp;gt; modules to at least look at the provides string generated by pacpan. It
&lt;br&gt;&amp;gt; cross-references all names with their associated source files to
&lt;br&gt;&amp;gt; generate a comprehensive list.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;They should definitely look at the PKGBUILD before uploading them. I
&lt;br&gt;have seen provide arrays with items like 'modulename=undef' and there is
&lt;br&gt;a new license introduced by these PKGBUILDs called '~'. But that is the
&lt;br&gt;drawback of such tools; they make it so easy to generate PKGBUILDs and
&lt;br&gt;thus you get quantity but often less quality.
&lt;br&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Regards,
&lt;br&gt;&amp;gt; Xyne
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/tur-users-f16440.html&quot; embed=&quot;fixTarget[16440]&quot; target=&quot;_top&quot; &gt;tur-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/perl-libwww-duplicates-tp26289882p26318037.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26317180</id>
	<title>Re: Deletion request: gdata-provider</title>
	<published>2009-11-12T03:36:05Z</published>
	<updated>2009-11-12T03:36:05Z</updated>
	<author>
		<name>Evangelos Foutras-2</name>
	</author>
	<content type="html">Dave wrote:
&lt;br&gt;&amp;gt; My package, will create a new one. Thanks!
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://aur.archlinux.org/packages.php?ID=31305&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://aur.archlinux.org/packages.php?ID=31305&lt;/a&gt;&lt;br&gt;&lt;br&gt;Done.
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/tur-users-f16440.html&quot; embed=&quot;fixTarget[16440]&quot; target=&quot;_top&quot; &gt;tur-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Deletion-request%3A-gdata-provider-tp26316903p26317180.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26317086</id>
	<title>Re: No sound after hal update</title>
	<published>2009-11-12T03:28:22Z</published>
	<updated>2009-11-12T03:28:22Z</updated>
	<author>
		<name>Magnus Therning</name>
	</author>
	<content type="html">On Wed, Nov 11, 2009 at 8:40 AM, Magnus Therning &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26317086&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;magnus@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; On Tue, Nov 10, 2009 at 5:11 PM, Christopher Daley &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26317086&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;crdaley@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt; Have you tried running pulseaudio as a daemon?  e.g. &amp;quot;/etc/rc.d/pulseaudio
&lt;br&gt;&amp;gt;&amp;gt; start'
&lt;br&gt;&amp;gt;&amp;gt; This would likely be a fix for now...
&lt;br&gt;[..]
&lt;br&gt;&amp;gt; I noticed there's a new HAL package available, I'll upgrade to see if
&lt;br&gt;&amp;gt; things improve.
&lt;br&gt;&lt;br&gt;Seems to have been fixed with the recent set of updates... thanks!
&lt;br&gt;&lt;br&gt;/M
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Magnus Therning &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;(OpenPGP: 0xAB4DFBA4)
&lt;br&gt;magnus＠therning．org &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Jabber: magnus＠therning．org
&lt;br&gt;&lt;a href=&quot;http://therning.org/magnus&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://therning.org/magnus&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;identi.ca|twitter: magthe
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/arch-general-f16441.html&quot; embed=&quot;fixTarget[16441]&quot; target=&quot;_top&quot; &gt;arch general&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/No-sound-after-hal-update-tp26281346p26317086.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26317040</id>
	<title>Re: No sound after hal update</title>
	<published>2009-11-12T03:25:03Z</published>
	<updated>2009-11-12T03:25:03Z</updated>
	<author>
		<name>oss@larstennstedt.de</name>
	</author>
	<content type="html">Magnus Therning wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Tue, Nov 10, 2009 at 5:11 PM, Christopher Daley &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26317040&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;crdaley@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt; Have you tried running pulseaudio as a daemon? &amp;nbsp;e.g. &amp;quot;/etc/rc.d/pulseaudio
&lt;br&gt;&amp;gt;&amp;gt; start'
&lt;br&gt;&amp;gt;&amp;gt; This would likely be a fix for now...
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; First, it's not recommended to run pulseaudio in system mode. &amp;nbsp;Second it fails:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Nov 11 08:35:27 bryma pulseaudio[19871]: main.c: Running in system
&lt;br&gt;&amp;gt; mode, but --disallow-exit not set!
&lt;br&gt;&amp;gt; Nov 11 08:35:27 bryma pulseaudio[19871]: main.c: Running in system
&lt;br&gt;&amp;gt; mode, but --disallow-module-loading not set!
&lt;br&gt;&amp;gt; Nov 11 08:35:27 bryma pulseaudio[19871]: main.c: Running in system
&lt;br&gt;&amp;gt; mode, forcibly disabling SHM mode!
&lt;br&gt;&amp;gt; Nov 11 08:35:27 bryma pulseaudio[19871]: main.c: Running in system
&lt;br&gt;&amp;gt; mode, forcibly disabling exit idle time!
&lt;br&gt;&amp;gt; Nov 11 08:35:28 bryma pulseaudio[19872]: main.c: OK, so you are
&lt;br&gt;&amp;gt; running PA in system mode. Please note that you most likely shouldn't
&lt;br&gt;&amp;gt; be doing that.
&lt;br&gt;&amp;gt; Nov 11 08:35:28 bryma pulseaudio[19872]: main.c: If you do it
&lt;br&gt;&amp;gt; nonetheless then it's your own fault if things don't work as expected.
&lt;br&gt;&amp;gt; Nov 11 08:35:28 bryma pulseaudio[19872]: main.c: Please read
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://pulseaudio.org/wiki/WhatIsWrongWithSystemMode&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://pulseaudio.org/wiki/WhatIsWrongWithSystemMode&lt;/a&gt;&amp;nbsp;for an
&lt;br&gt;&amp;gt; explanation why system mode is usually a bad idea.
&lt;br&gt;&amp;gt; Nov 11 08:35:28 bryma pulseaudio[19872]: module.c: module-hal-detect
&lt;br&gt;&amp;gt; is deprecated: Please use module-udev-detect instead of
&lt;br&gt;&amp;gt; module-hal-detect!
&lt;br&gt;&amp;gt; Nov 11 08:35:28 bryma pulseaudio[19872]: module.c:
&lt;br&gt;&amp;gt; module-volume-restore is deprecated: Please use module-stream-restore
&lt;br&gt;&amp;gt; instead of module-volume-restore!
&lt;br&gt;&amp;gt; Nov 11 08:35:28 bryma pulseaudio[19872]: module-volume-restore.c: We
&lt;br&gt;&amp;gt; will now load module-stream-restore. Please make sure to remove
&lt;br&gt;&amp;gt; module-volume-restore from your configuration.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I noticed there's a new HAL package available, I'll upgrade to see if
&lt;br&gt;&amp;gt; things improve.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; /M
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Hello,
&lt;br&gt;&lt;br&gt;my sound card did not work after hal update. I added the user to the 
&lt;br&gt;audio group and now it works.
&lt;br&gt;&lt;br&gt;Thanks for the help!
&lt;br&gt;&lt;br&gt;&lt;br&gt;Bye
&lt;br&gt;Lars
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/arch-general-f16441.html&quot; embed=&quot;fixTarget[16441]&quot; target=&quot;_top&quot; &gt;arch general&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/No-sound-after-hal-update-tp26281346p26317040.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26316903</id>
	<title>Deletion request: gdata-provider</title>
	<published>2009-11-12T03:14:14Z</published>
	<updated>2009-11-12T03:14:14Z</updated>
	<author>
		<name>Dave-420</name>
	</author>
	<content type="html">My package, will create a new one. Thanks!
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://aur.archlinux.org/packages.php?ID=31305&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://aur.archlinux.org/packages.php?ID=31305&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/tur-users-f16440.html&quot; embed=&quot;fixTarget[16440]&quot; target=&quot;_top&quot; &gt;tur-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Deletion-request%3A-gdata-provider-tp26316903p26316903.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26316097</id>
	<title>Re: apt-get style information for users in pacman</title>
	<published>2009-11-12T02:00:13Z</published>
	<updated>2009-11-12T02:00:13Z</updated>
	<author>
		<name>Xavier Chantry-2</name>
	</author>
	<content type="html">On Thu, Nov 12, 2009 at 7:31 AM, Allan McRae &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26316097&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;allan@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; An an FYI, there is a really old bug report requesting this:
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://bugs.archlinux.org/task/833&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://bugs.archlinux.org/task/833&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;1 got lost !
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://bugs.archlinux.org/task/8331&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://bugs.archlinux.org/task/8331&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/pacman-dev-f16443.html&quot; embed=&quot;fixTarget[16443]&quot; target=&quot;_top&quot; &gt;pacman-dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/apt-get-style-information-for-users-in-pacman-tp26313301p26316097.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26315861</id>
	<title>Re: Reset password of AUR account?</title>
	<published>2009-11-12T01:39:32Z</published>
	<updated>2009-11-12T01:39:32Z</updated>
	<author>
		<name>Evangelos Foutras-2</name>
	</author>
	<content type="html">On Thu, Nov 12, 2009 at 11:37 AM, Evangelos Foutras &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26315861&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;foutrelis@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; On Thu, Nov 12, 2009 at 11:21 AM, Magnus Therning &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26315861&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;magnus@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt; I seem to have lost my AUR account password.  Looking at the site
&lt;br&gt;&amp;gt;&amp;gt; there's no obvious way to get it back, or reset it.  What do I do?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Username: magus
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; /M
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Laszlo is correct. You'll be receiving a new password t shortly. :)
&lt;br&gt;&lt;br&gt;* You'll be receiving a new password via email from me shortly.
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/tur-users-f16440.html&quot; embed=&quot;fixTarget[16440]&quot; target=&quot;_top&quot; &gt;tur-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Reset-password-of-AUR-account--tp26315665p26315861.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26315860</id>
	<title>Re: Reset password of AUR account?</title>
	<published>2009-11-12T01:39:29Z</published>
	<updated>2009-11-12T01:39:29Z</updated>
	<author>
		<name>Magnus Therning</name>
	</author>
	<content type="html">On Thu, Nov 12, 2009 at 9:37 AM, Evangelos Foutras &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26315860&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;foutrelis@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; On Thu, Nov 12, 2009 at 11:21 AM, Magnus Therning &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26315860&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;magnus@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt; I seem to have lost my AUR account password.  Looking at the site
&lt;br&gt;&amp;gt;&amp;gt; there's no obvious way to get it back, or reset it.  What do I do?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Username: magus
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; /M
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Laszlo is correct. You'll be receiving a new password t shortly. :)
&lt;br&gt;&lt;br&gt;Thanks. &amp;nbsp;I'll try to take better care of this one, to avoid having to
&lt;br&gt;bother you again with this :-)
&lt;br&gt;&lt;br&gt;/M
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Magnus Therning &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;(OpenPGP: 0xAB4DFBA4)
&lt;br&gt;magnus＠therning．org &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Jabber: magnus＠therning．org
&lt;br&gt;&lt;a href=&quot;http://therning.org/magnus&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://therning.org/magnus&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;identi.ca|twitter: magthe
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/tur-users-f16440.html&quot; embed=&quot;fixTarget[16440]&quot; target=&quot;_top&quot; &gt;tur-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Reset-password-of-AUR-account--tp26315665p26315860.html" />
</entry>

</feed>
