Package Base Details: bcompare

Git Clone URL: https://aur.archlinux.org/bcompare.git (read-only)
Keywords: compare diff
Submitter: Musikolo
Maintainer: Musikolo
Last Packager: Musikolo
Votes: 76
Popularity: 0.857399
First Submitted: 2011-07-27 22:54
Last Updated: 2019-06-01 02:51

Latest Comments

« First ‹ Previous ... 5 6 7 8 9 10 11 12 13 14 15 Next › Last »

Musikolo commented on 2014-03-08 00:56

Version 4 is beta, not final. Unflagging.

shura commented on 2014-02-16 20:29

Your PKGBUILD doesn't work on i686 installations. Please substitute it with:
# Maintainer: Musikolo <musikolo {at} hotmail [dot] com>
# Contributor: Magician <magician21 ett lycos daht com>
# Contributor: Petrovo https://aur.archlinux.org/account.php?Action=AccountInfo&ID=33361
# Contributor: Pierre-François Gomez https://aur.archlinux.org/account/pef/
# Original PKGBUILD file from:
# - https://bbs.archlinux.org/viewtopic.php?pid=757428#p757428
# - http://www.scootersoftware.com/vbulletin/showpost.php?s=3c1f289bc76655230b49f440dbe17b53&p=26449&postcount=7

pkgname=bcompare
pkgver=3.3.8.16340
pkgrel=3
pkgdesc="Beyond Compare 3: Compare, sync, and merge files and folders"
arch=('i686' 'x86_64')
url="http://www.scootersoftware.com"
license=('custom')
groups=('utility')
makedepends=('sed')
if test "$CARCH" == x86_64; then
depends+=(lib32-glibc lib32-expat lib32-fontconfig lib32-freetype2
lib32-gcc-libs lib32-libice lib32-libsm lib32-libstdc++5
lib32-libxcb lib32-libx11 lib32-libxau lib32-libxcursor lib32-libxext
lib32-libxfixes lib32-libxft lib32-libxinerama lib32-libxrandr
lib32-libxrender lib32-zlib)
else
depends+=(glibc expat fontconfig freetype2
gcc-libs libice libsm libstdc++5
libxcb libx11 libxau libxcursor libxext
libxfixes libxft libxinerama libxrandr
libxrender zlib)
fi
source=("http://www.scootersoftware.com/${pkgname}-${pkgver}.tar.gz")
md5sums=('7a974ed65ecf6eaedfa072c5f34a38d4')
options=('!strip') # Do not strip binaries because it breaks them down
optdepends=()
backup=()

package() {

# Prepare the directory skeleton needed for install.sh
mkdir -p "${pkgdir}/usr/share/applications"
mkdir -p "${pkgdir}/usr/share/doc"
mkdir -p "${pkgdir}/usr/share/mime/packages"
mkdir -p "${pkgdir}/usr/share/pixmaps"

# Set up service menus
echo -n "Do you want to install KDE service menus globally? [Y/n] "
read key
if [ "$key" != "n" -a "$key" != "N" ]; then
echo -n "Including KDE service menus in the package..."
mkdir -p "${pkgdir}/usr/lib/kde4"
mkdir -p "${pkgdir}/usr/share/kde4/services/"
echo " Done!"
else
echo "KDE service menus will NOT be included in the package."
fi

# Apply some fixes on install.sh before run it
cd ${pkgname}-${pkgver}
sed -i 's|/usr/|${PREFIX}/usr/|g' install.sh
./install.sh --prefix="${pkgdir}"

# Move some directories to usr
cd "${pkgdir}"
mv bin usr/
if test "$CARCH" == x86_64; then
mv lib32 usr/
else
mv lib usr/
fi

# Fix wrong path
sed -i "s|"${pkgdir}"|/usr|g" usr/bin/bcompare

#Clean unneded files
if test "$CARCH" == x86_64; then
pushd usr/lib32/beyondcompare/ > /dev/null
else
pushd usr/lib/beyondcompare/ > /dev/null
fi
rm -f uninstall.sh RPM-GPG-KEY-scootersoftware scootersoftware.repo kde_context_menu
mv help "${pkgdir}/usr/share/doc/beyondcompare"
mv README "${pkgdir}/usr/share/doc/beyondcompare/"
rm -rf ext
popd > /dev/null

# Clean some mime files
pushd usr/share > /dev/null
mv mime/packages .
rm -rf mime/*
mv packages mime/
popd > /dev/null

}

Thanks.

petrovo commented on 2014-01-04 05:47

Hello, I don't need for my system dependency lib32-libstdc++5.
I have in usr/lib32/ version 6 from https://www.archlinux.org/packages/multilib/x86_64/lib32-gcc-libs/

Peter

cconrad commented on 2013-12-01 13:33

Thanks for packaging this! Great product.

pef commented on 2013-11-14 19:32

Ok, I was just missing some 32bit libs from multilib.
Here is the patch : it adds the libraries listed in the README file.

--- PKGBUILD 2013-11-14 20:27:03.860790508 +0100
+++ PKGBUILD.new 2013-11-14 20:28:46.000000000 +0100
@@ -14,6 +14,9 @@
license=('custom')
groups=('utility')
makedepends=('sed')
+if test "$CARCH" == x86_64; then
+ depends+=(lib32-glibc lib32-expat lib32-fontconfig lib32-freetype2 lib32-glibc lib32-gcc-libs lib32-libice lib32-libsm lib32-libstdc++5 lib32-libxcb lib32-libx11 lib32-libxau lib32-libxcursor lib32-libxext lib32-libxfixes lib32-libxft lib32-libxinerama lib32-libxrandr lib32-libxrender lib32-zlib)
+fi
source=("http://www.scootersoftware.com/${pkgname}-${pkgver}.tar.gz")
md5sums=('7a974ed65ecf6eaedfa072c5f34a38d4')
options=('!strip') # Do not strip binaries because it breaks them down

pef commented on 2013-11-14 18:41

@Musikolo
Hello, I have exactely the same error as @oman002 when run from the command line. x86_64 as well. I did follow your advice and used makepkg instead of yaourt, to no avail.

[pef@pefix bcompare]$ curl -so pastebin http://pastebin.com/raw.php?i=fF2AUp7c
[pef@pefix bcompare]$ pacman -Ql bcompare |diff -u pastebin -
--- pastebin 2013-11-14 19:38:04.096386301 +0100
+++ - 2013-11-14 19:38:08.279542637 +0100
@@ -1,4 +1,3 @@
-[musikolo@MyPC ~]$ pacman -Ql bcompare
bcompare /usr/
bcompare /usr/bin/
bcompare /usr/bin/bcompare
[pef@pefix bcompare]$ bcompare
/usr/bin/bcompare: /usr/lib32/beyondcompare/BCompare: No such file or directory

fantab commented on 2013-09-23 16:32

I get the following when I run bcompare 3.3.8 on my Arch 64bit:
$ bcompare
Some Shared Libraries were not found
linux-gate.so.1 (0xf772c000)
libz.so.1 => /usr/lib32/libz.so.1 (0xf76e8000)
libqtc.so.1 => /usr/lib32/beyondcompare/libqtc.so.1 (0xf71d2000)
libX11.so.6 => /usr/lib32/libX11.so.6 (0xf709b000)
librt.so.1 => /usr/lib32/librt.so.1 (0xf7092000)
libpthread.so.0 => /usr/lib32/libpthread.so.0 (0xf7075000)
libdl.so.2 => /usr/lib32/libdl.so.2 (0xf7070000)
libc.so.6 => /usr/lib32/libc.so.6 (0xf6ec1000)
libqt-mt.so.3 => /usr/lib32/beyondcompare/libqt-mt.so.3 (0xf67ae000)
libXext.so.6 => /usr/lib32/libXext.so.6 (0xf679b000)
libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0xf66b1000)
libm.so.6 => /usr/lib32/libm.so.6 (0xf666b000)
libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf6651000)
libxcb.so.1 => /usr/lib32/libxcb.so.1 (0xf662f000)
/lib/ld-linux.so.2 (0xf772d000)
libXrender.so.1 => /usr/lib32/libXrender.so.1 (0xf6624000)
libXrandr.so.2 => /usr/lib32/libXrandr.so.2 (0xf6618000)
libXcursor.so.1 => /usr/lib32/libXcursor.so.1 (0xf660d000)
libXinerama.so.1 => not found
libXft.so.2 => not found
libfreetype.so.6 => /usr/lib32/libfreetype.so.6 (0xf656e000)
libfontconfig.so.1 => /usr/lib32/libfontconfig.so.1 (0xf6532000)
libSM.so.6 => /usr/lib32/libSM.so.6 (0xf6529000)
libICE.so.6 => /usr/lib32/libICE.so.6 (0xf650f000)
libXau.so.6 => /usr/lib32/libXau.so.6 (0xf650b000)
libXdmcp.so.6 => /usr/lib32/libXdmcp.so.6 (0xf6504000)
libXfixes.so.3 => /usr/lib32/libXfixes.so.3 (0xf64fd000)
libbz2.so.1.0 => /usr/lib32/libbz2.so.1.0 (0xf64ed000)
libexpat.so.1 => /usr/lib32/libexpat.so.1 (0xf64c4000)
libuuid.so.1 => /usr/lib32/libuuid.so.1 (0xf64be000)

I have checked the /usr/lib32 and all the above are in there.
The installed bcompare is not working on my computer. I have reinstalled but the same, above errors ensue.
Any ideas what could be going on?

Musikolo commented on 2013-08-23 09:33

@oman002:
I do have this file since it is part of the package. Are you sure you built the package fine with no errors? You should have exactly these files: http://pastebin.com/fF2AUp7c If you used yaourt to build the package, try using makepkg instead.

Regards.

oman002 commented on 2013-07-13 22:57

When I run bcompare on my x86_64 system I get:

/usr/bin/bcompare: /usr/lib32/beyondcompare/BCompare: No such file or directory

/usr/lib32/beyondcompare/BCompare does exist. Any ideas?

Musikolo commented on 2013-06-21 20:43

@loki: Updated to version 3.3.8.

Enjoy!

@ericjxc: Can you please tell where you get the statement that lib32 has been renamed to lib from? Just want to know... What's your PC architecture: i686 or x86_64?