Package Details: cdcat 2.3.1-1

Package Base: cdcat
Description: CD/DVD/Media catalog software (Qt based)
Upstream URL: http://cdcat.sourceforge.net/
Category: multimedia
Licenses: GPL
Submitter: None
Maintainer: speps
Last Packager: None
Votes: 29
First Submitted: 2006-08-04 03:19
Last Updated: 2013-11-09 20:00

Latest Comments

Comment by speps

2013-03-23 00:28

@uzsolt Thanks for reporting, fixed without bumping release.

Comment by uzsolt

2013-03-22 07:30

Alain2:
/usr/bin/lrelease-qt4: symbolic link to `/usr/lib/qt4/bin/lrelease'
/usr/bin/lrelease-qt4 is owned by qt4 4.8.4-13

Try:
find / -name lrelease-qt4

And check:
https://www.archlinux.org/news/qt4-replaces-qt/

Comment by Alain2

2013-03-21 20:47

@uzsolt:

# find / -name lrelease
/usr/lib/qt4/bin/lrelease

# pacman -Qo /usr/lib/qt4/bin/lrelease
/usr/lib/qt4/bin/lrelease is owned by qt4 4.8.4-13

I don't have qt5-tools installed on my system

Comment by uzsolt

2013-03-21 05:57

@Alain2: lrelease is part of qt5-tools, lrelease-qt4 is part of qt4 so PKGBUILD should change lrelease-qt4.

Comment by Alain2

2013-03-20 21:19

@uzsolt
Thanks for pointing out lrelease! I should have thought about it myself from the log, and indeed the issue was with it...
On my system lrelease was first found in /opt/qt/bin/lrelease, which belonged to qt3 package. Looking through the dependencies I noticed I needed qt3 because of kdelibs3, because of ksensors... So I removed ksensors and dependencies, qt3 now gone I noticed the next instance of lrelease is in /usr/lib/qt4/bin/lrelease which does belong to qt4 (lrelease-qt4 being in /usr/bin).
Now I retried to install cdcat and this time no issue !

So using lrelease is OK as long as there is not an old version taking precedence ; I guess it is better to use lrelease-qt4 though to avoid issues like mine (and maybe with qt5 later ?)

Thanks again for directing me on lrelease, I was waiting before upgrading my desktop computer to make sure cdcat would still work on it as I do need it there :)
By the way if someone knows of a good alternative with more support (community repo or above), please let me know :)

Comment by uzsolt

2013-03-20 19:29

@speps please change lrelease to lrelease-qt4!

Comment by uzsolt

2013-03-20 08:48

@Alain2: works me well without error.
Are you sure you use correct PKGBUILD? Do you use customizepkg? Did you run 'yaourt -Syu'?

It seems lrelease works wrong.

Comment by Alain2

2013-03-19 23:05

@uzsolt, not sure what is relevant to paste here.. I use yaourt -S cdcat to install cdcat, I copy below the last lines of the log during the compilation, I can provide the whole log if that helps more ?

[...]
/usr/lib/qt4/bin/moc -DUSE_LIB7ZIP -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4 -I. -Imoc_files colorsettings.h -o moc_files/moc_colorsettings.cpp
g++ -c -m64 -pipe -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -D_REENTRANT -Wall -W -DUSE_LIB7ZIP -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4 -I. -Imoc_files -o obj_files/moc_colorsettings.o moc_files/moc_colorsettings.cpp
In file included from moc_files/../colorsettings.h:24:0,
from moc_files/moc_colorsettings.cpp:10:
moc_files/../config.h:282:14: warning: ‘DEBUG_INFO_ENABLED’ defined but not used [-Wunused-variable]
g++ -m64 -Wl,-O1,--sort-common,--as-needed,-z,relro -Wl,-O1 -o cdcat obj_files/adddialog.o obj_files/cdcat.o obj_files/commwidget.o obj_files/config.o obj_files/dbase.o obj_files/dirview.o obj_files/find.o obj_files/guibase.o obj_files/hdirview.o obj_files/icons.o obj_files/import.o obj_files/importdialog.o obj_files/mainwidget.o obj_files/mp3tag.o obj_files/cdcatmediainfo.o obj_files/cdcatexif.o obj_files/newdbdialog.o obj_files/wdbfile.o obj_files/info.o obj_files/exportcdcatdb.o obj_files/showcontent.o obj_files/selreadable.o obj_files/colorsettings.o obj_files/borrow.o obj_files/tparser.o obj_files/misc.o obj_files/dmetaph.o obj_files/moc_adddialog.o obj_files/moc_commwidget.o obj_files/moc_config.o obj_files/moc_dbase.o obj_files/moc_dirview.o obj_files/moc_find.o obj_files/moc_guibase.o obj_files/moc_hdirview.o obj_files/moc_mainwidget.o obj_files/moc_newdbdialog.o obj_files/moc_import.o obj_files/moc_importdialog.o obj_files/moc_info.o obj_files/moc_exportcdcatdb.o obj_files/moc_showcontent.o obj_files/moc_selreadable.o obj_files/moc_borrow.o obj_files/moc_colorsettings.o -L/usr/lib -l7zip /usr/lib/libtar.a -lz -lbz2 -ldl -lQtXml -lQtGui -lQtCore -lpthread
==> Entering fakeroot environment...
==> Starting package()...
install -m 755 -p "cdcat" "/tmp/yaourt-tmp-alain/aur-cdcat/pkg/usr/bin/cdcat"
strip "/tmp/yaourt-tmp-alain/aur-cdcat/pkg/usr/bin/cdcat"
install -m 644 -p /tmp/yaourt-tmp-alain/aur-cdcat/src/cdcat-2.2/Authors /tmp/yaourt-tmp-alain/aur-cdcat/pkg/usr/share/cdcat/
install -m 644 -p /tmp/yaourt-tmp-alain/aur-cdcat/src/cdcat-2.2/README /tmp/yaourt-tmp-alain/aur-cdcat/pkg/usr/share/cdcat/
install -m 644 -p /tmp/yaourt-tmp-alain/aur-cdcat/src/cdcat-2.2/ChangeLog /tmp/yaourt-tmp-alain/aur-cdcat/pkg/usr/share/cdcat/
install -m 644 -p /tmp/yaourt-tmp-alain/aur-cdcat/src/cdcat-2.2/COPYING /tmp/yaourt-tmp-alain/aur-cdcat/pkg/usr/share/cdcat/
install -m 644 -p /tmp/yaourt-tmp-alain/aur-cdcat/src/cdcat-2.2/TRANSLATORS_README /tmp/yaourt-tmp-alain/aur-cdcat/pkg/usr/share/cdcat/
install -m 644 -p /tmp/yaourt-tmp-alain/aur-cdcat/src/cdcat-2.2/cdcat.png /tmp/yaourt-tmp-alain/aur-cdcat/pkg/usr/share/cdcat/
Usage:
lrelease [options] project-file
lrelease [options] ts-files [-qm qm-file]
Options:
-help Display this information and exit
-nocompress
Do not compress the .qm files
-verbose
Explain what is being done
-version
Display the version of lrelease and exit
==> ERROR: A failure occurred in package().
Aborting...
==> ERROR: Makepkg was unable to build cdcat.
==> Restart building cdcat ? [y/N]
==> ------------------------------
==>

Anonymous comment

2013-03-18 10:32

@Alain2
I've just installed cdcat.
It works fine for me... Sorry... for you :)

Comment by uzsolt

2013-03-18 08:52

@Alain2: please provide more message, this isn't enought to solve your problem.
The second error is trivially: the built binary uses different libraries (version difference, etc.) as in Arch.
So please give more details :)

Comment by Alain2

2013-03-17 21:15

This doesn't build on my system as per my previous comment, am I the only one with this issue ?

I also tried to download directly the bin package at http://cdcat.sourceforge.net/web/uk/download.html, but I have the same issue as mentionned by tmoorman below: "[...]/cdcat-2.2-linux-bin-x64/cdcat: error while loading shared libraries: libtar.so.0: cannot open shared object file: No such file or directory"

Comment by Alain2

2013-03-13 19:59

Error during build:


==> ERROR: A failure occurred in package().
Aborting...
==> ERROR: Makepkg was unable to build cdcat.

Comment by pablokal

2013-03-03 14:48

Thanks Yugro for the tip!

Comment by yugrotavele

2013-03-03 01:43

You also need to update line 53: lrelease needs to be changed to lrelease-qt4

Comment by mrbit

2013-03-01 15:30

please change qt4 and qmake4
thanks

Comment by eugenez

2013-01-13 05:04

cdcat 2.1 & cdcat 2.2 (compiled with PKGBUILD by khampf):

$ cdcat
DEBUG_INFO_ENABLED: false
QFont::setPointSize: Point size <= 0 (0), must be greater than 0
terminate called after throwing an instance of 'std::runtime_error'
what(): locale::facet::_S_create_c_locale name not valid
Аварийный останов (core dumped)

cdcat 2.2 from http://cdcat.sourceforge.net/web/uk/index.html in Kubuntu Linux works fine.

Comment by khampf

2013-01-11 14:56

I made a 2.2 PKGBUILD on http://pastebin.com/LSz8GS03

Comment by mrbit

2013-01-04 19:46

please update cdcat 2.2
thanks

Comment by uzsolt

2013-01-04 19:16

@kozaki you've discovered and report the bug, not me. So thanks to yourself :)

Comment by kozaki

2013-01-04 16:34

cdcat's developer was able to found the reason of that bug (1). Its a bug in lib7zip-1.6.3 (1.6.0 works fine). Patching lib7zip (aur) with the patch he provided (2) and reinstalling cdcat 2.1-1 resolved the issue (currently scanning my photos backup directories with it :)
Thank you uzsolt.
URLs:
(1) https://sourceforge.net/tracker/index.php?func=detail&aid=3599021&group_id=89530&atid=590426
(2) http://sourceforge.net/projects/cdcat/files/lib7zip/patches/1.6.3/03_locale.patch/download

Comment by kozaki

2012-12-31 17:08

Done #3599021. thank you uzsolt
btw, tried with KDE-4.9.4, as well as cdcat-svn with same result.

Comment by uzsolt

2012-12-30 07:28

@kozaki
Imho it's a bug in cdcat. I think would be better to report a bug to cdcat :)

Comment by kozaki

2012-12-29 14:06

@mrbit, do you read speps's answer?

On Arch x86_64, up-to-date, wm = i3. Can't use cdcat :(

1. Had the same issue reported by tmoorman (with cdcat not starting); solved by following the wiki:
https://wiki.archlinux.org/index.php/Uniform_Look_for_Qt_and_GTK_Applications#Qt_applications_do_not_use_QGtkStyle

2. In cdcat configuration > Choose readable components (i.e. "Choisir les éléments supplémentaires à lire" in French):
---
Qt has caught an exception thrown from an event handler. Throwing
exceptions from an event handler is not supported in Qt. You must
reimplement QApplication::notify() and catch all exceptions there.

Qt has caught an exception thrown from an event handler. Throwing
exceptions from an event handler is not supported in Qt. You must
reimplement QApplication::notify() and catch all exceptions there.

terminate called after throwing an instance of 'std::runtime_error'
what(): locale::facet::_S_create_c_locale name not valid
Abandon (core dumped)
---

3. In cdcat, "Add a media" where I fill the Category field then save:
---
Qt has caught an exception thrown from an event handler. Throwing
exceptions from an event handler is not supported in Qt. You must
reimplement QApplication::notify() and catch all exceptions there.

terminate called after throwing an instance of 'std::runtime_error'
what(): locale::facet::_S_create_c_locale name not valid
Abandon (core dumped)
---

Comment by mrbit

2012-08-03 13:28

update please...2.1

Anonymous comment

2012-05-16 22:49

Thanks for the new version.
I upgraded from 1.9 and got the following:

Unknown key found: find_checkbox_content
Unknown key found: find_checkbox_date_start
Unknown key found: find_checkbox_date_end
DEBUG_INFO_ENABLED: false
QFont::setPointSize: Point size <= 0 (0), must be greater than 0
Segmentation fault

I renamed .cdcatconf and it ran fine.

The font size in the comment dock needs work.
On "Configure CdCat" diaglogue, select "Use own font size" check box and change font size to 9.
From the file list (middle list) select a file with a comment.
The Comment dock displays a distorted comment (font way too big).
Select another file and the comment is displayed properly.
Restarting cdcat results in same behaviour (i.e. config unchanged from last change).

Other than that, 2.0 seems to be an improvement over 1.9. Subjectively, on my system, it seems alot faster.

Comment by speps

2012-05-13 23:07

@mrbit Done, thanks. P.S.: Flagging is enough :)

Comment by mrbit

2012-05-13 22:29

update... please , thanks

Comment by speps

2012-04-13 04:12

@mrbit Thanks for reporting. Unfortunately the issue depends on the mediainfo header, since gcc 4.7 introduced some severe rules.
I've submitted a patch upstream that solves the issue [1] and to the mediainfo maintainer (trough the flag, since is outdated too).
Actually to build cdcat you need to rebuild libmediainfo by yourself by applying this patch http://paste.pocoo.org/raw/580561/ Cheers

[1] https://sourceforge.net/tracker/?func=detail&aid=3517374&group_id=86862&atid=581183

Comment by mrbit

2012-04-10 15:49

In file included from cdcatmediainfo.h:30:0,
from dbase.h:34,
from adddialog.cpp:12:
/usr/include/MediaInfoDLL/MediaInfoDLL.h: In function ‘size_t MediaInfoDLL_Load()’:
/usr/include/MediaInfoDLL/MediaInfoDLL.h:320:37: error: unable to find string literal operator ‘operator"" MEDIAINFODLL_NAME’
/usr/include/MediaInfoDLL/MediaInfoDLL.h:322:37: error: unable to find string literal operator ‘operator"" MEDIAINFODLL_NAME’
/usr/include/MediaInfoDLL/MediaInfoDLL.h:324:37: error: unable to find string literal operator ‘operator"" MEDIAINFODLL_NAME’
/usr/include/MediaInfoDLL/MediaInfoDLL.h:326:37: error: unable to find string literal operator ‘operator"" MEDIAINFODLL_NAME’
/usr/include/MediaInfoDLL/MediaInfoDLL.h:328:37: error: unable to find string literal operator ‘operator"" MEDIAINFODLL_NAME’
/usr/include/MediaInfoDLL/MediaInfoDLL.h:334:5: error: inconsistent user-defined literal suffixes ‘MEDIAINFO_Ansi’ and ‘_Name2’ in string literal
/usr/include/MediaInfoDLL/MediaInfoDLL.h:334:5: error: unable to find string literal operator ‘operator"" MEDIAINFO_Ansi’
/usr/include/MediaInfoDLL/MediaInfoDLL.h:335:5: error: inconsistent user-defined literal suffixes ‘MEDIAINFO_Ansi’ and ‘_Name2’ in string literal
/usr/include/MediaInfoDLL/MediaInfoDLL.h:335:5: error: unable to find string literal operator ‘operator"" MEDIAINFO_Ansi’
/usr/include/MediaInfoDLL/MediaInfoDLL.h:336:5: error: inconsistent user-defined literal suffixes ‘MEDIAINFO_Ansi’ and ‘_Name2’ in string literal
/usr/include/MediaInfoDLL/MediaInfoDLL.h:336:5: error: unable to find string literal operator ‘operator"" MEDIAINFO_Ansi’
/usr/include/MediaInfoDLL/MediaInfoDLL.h:337:5: error: inconsistent user-defined literal suffixes ‘MEDIAINFO_Ansi’ and ‘_Name2’ in string literal

Anonymous comment

2012-04-02 19:08

Version 1.9-1 seems to have fixed the "Comment Page/MediaInfo" problem.
Thanks.

Comment by uzsolt

2012-04-02 08:24

SVN version here: https://aur.archlinux.org/packages.php?ID=58132

Comment by speps

2012-03-28 15:35

@deadhorse https://wiki.archlinux.org/index.php/AUR_User_Guidelines#Prerequisites

Anonymous comment

2012-03-28 14:45

Hi, I think the PKGBUILD is missing 'make' and 'pkg-config' as build dependencies.

Anonymous comment

2012-03-08 23:34

@speps
1.8-2 successfully compiles on my system with "gnome-vfs-2.24.4-6" installed, thanks.
However, I still get the blank comment page.

Below is a copy of what I posted on the cdcat SourceForge.net bug tracker:
==========================
Create a new empty catalog
Add new media to the catalog
The comment page (what I called the "details panel" below) shows the
comments for the top level node in the default yellow background color.
When I select a file node (eg. an avi file) the comment page turns white
with no text.
However, when I right click the file node and select "View/Edit comment",
the comment appears to be edited.
The top level node now has a white blank comment page.

When run from the command line, I get these messages:
QPainter::begin: A paint device can only be painted by one painter at a
time.
QPainter::setFont: Painter not active
QPainter::setPen: Painter not active
QPainter::drawRects: Painter not active
QPainter::setClipRect: Painter not active
QPainter::setPen: Painter not active {this is repeated many times}
QPainter::font: Painter not active
QPainter::setFont: Painter not active
QLayout: Attempting to add QLayout "" to SelReadable "runri", which already
has a layout
QPainter::begin: A paint device can only be painted by one painter at a
time.
==================
For 1.8-2, this only happens when I select the "Read some technical info use mediainfo" check box on the "Select readable items" dialogue box.
When it is not selected then the comment page appears with text and I do not get the QPainter messages. I have libmediainfo-0.7.51-1 installed.

I have a minor issue with the comment page. The font used is very small.
Is there a way to increase the size of the font?

Thanks

Comment by speps

2012-03-08 16:52

@tmoorman Hi, sorry for the long delay (completely forgotten about this) and thanks for pointing this out.
I never realized this, since i have no gnome-vfs on my system, and you're right that its presence cause a conflict
since gnome-vfs provides a libtar.so that cdcat erroneously links against to.
This is now fixed in 1.8-2 (please test with gnome-vfs installed) by forcedly link against the static lib provided
by libtar (/usr/lib/libtar.a). I cannot reproduce the "blank detail panel" issue, a better explanation may help. Cheers.

Anonymous comment

2012-03-07 00:10

I successfully compiled it on another arch box I have. A difference of the
other box is that it does not have the "gnome-vfs-2.24.4-6" package
installed.
However, when I run it I get blank a detail panel (the far right panel).

Anonymous comment

2012-02-26 02:34

I uninstalled libtar 1.2.11-3 (from the pacman repo)
Compiled libtar 1.2.11 from source I got from http://www.feep.net/libtar/
Installed libtar (make install), recompiled cdcat and got the same result in the same place.
I got the binary for 1.4 from http://cdcat.sourceforge.net/web/uk/download.html which runs fiine.
However, the binary for 1.7 and 1.8 complain about a missing libtar.so.0 which is not true since it does exist at
/usr/lib/. But, /usr/lib/libtar.so.0 is a symlink to /usr/lib/gnome-vfs-2.0/modules/libtar.so which is part of the pacman package called "gnome-vfs-2.24.4-6".
I would like to use 1.8 for the mediainfo capability but will stick with 1.4 until this is fixed.

Anonymous comment

2012-02-23 02:33

My ArchLinux install is fully patched as of today.
I have all the required dependencies installed:
qt-4.8.0-4, expat-2.0.1-7, pcre-8.30-1, bzip2-1.0.6-3, zlib-1.2.6-1, libtar-1.2.11-2
and the optional:
p7zip-9.20.1-6, lib7zip-1.4.1-1, libmediainfo-0.7.51-1\

$ makepkg aborts at the following:

g++ -m64 -Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu -Wl,-O1 -o cdcat obj_files/adddialog.o obj_files/cdcat.o obj_files/commwidget.o obj_files/config.o obj_files/dbase.o obj_files/dirview.o obj_files/find.o obj_files/guibase.o obj_files/hdirview.o obj_files/icons.o obj_files/import.o obj_files/importdialog.o obj_files/mainwidget.o obj_files/mp3tag.o obj_files/cdcatmediainfo.o obj_files/newdbdialog.o obj_files/wdbfile.o obj_files/info.o obj_files/exportcdcatdb.o obj_files/showcontent.o obj_files/selreadable.o obj_files/colorsettings.o obj_files/borrow.o obj_files/tparser.o obj_files/misc.o obj_files/dmetaph.o obj_files/moc_adddialog.o obj_files/moc_commwidget.o obj_files/moc_config.o obj_files/moc_dbase.o obj_files/moc_dirview.o obj_files/moc_find.o obj_files/moc_guibase.o obj_files/moc_hdirview.o obj_files/moc_mainwidget.o obj_files/moc_newdbdialog.o obj_files/moc_import.o obj_files/moc_importdialog.o obj_files/moc_info.o obj_files/moc_exportcdcatdb.o obj_files/moc_showcontent.o obj_files/moc_selreadable.o obj_files/moc_borrow.o obj_files/moc_colorsettings.o -L/usr/lib /usr/lib/lib7zip.a -ltar -lbz2 -ldl -lmediainfo -lzen -lz -lQt3Support -lQtXml -lQtGui -lQtCore -lpthread
obj_files/dbase.o: In function `DataBase::scanArchive(QString, DataBase::ArchiveType)':
/z-data/compile/cdcat/src/cdcat-1.8/src/dbase.cpp:1594: undefined reference to `oct_to_int'
/z-data/compile/cdcat/src/cdcat-1.8/src/dbase.cpp:1594: undefined reference to `oct_to_int'
/z-data/compile/cdcat/src/cdcat-1.8/src/dbase.cpp:1596: undefined reference to `oct_to_int'
/z-data/compile/cdcat/src/cdcat-1.8/src/dbase.cpp:1598: undefined reference to `oct_to_int'
/z-data/compile/cdcat/src/cdcat-1.8/src/dbase.cpp:1602: undefined reference to `th_get_pathname'
/z-data/compile/cdcat/src/cdcat-1.8/src/dbase.cpp:1620: undefined reference to `oct_to_int'
/z-data/compile/cdcat/src/cdcat-1.8/src/dbase.cpp:1541: undefined reference to `th_read'
/z-data/compile/cdcat/src/cdcat-1.8/src/dbase.cpp:1573: undefined reference to `th_get_uid'
/z-data/compile/cdcat/src/cdcat-1.8/src/dbase.cpp:1580: undefined reference to `th_get_gid'
/z-data/compile/cdcat/src/cdcat-1.8/src/dbase.cpp:1586: undefined reference to `th_get_mode'
/z-data/compile/cdcat/src/cdcat-1.8/src/dbase.cpp:1592: undefined reference to `oct_to_int'
/z-data/compile/cdcat/src/cdcat-1.8/src/dbase.cpp:1592: undefined reference to `oct_to_int'
/z-data/compile/cdcat/src/cdcat-1.8/src/dbase.cpp:1620: undefined reference to `tar_skip_regfile'
/z-data/compile/cdcat/src/cdcat-1.8/src/dbase.cpp:1605: undefined reference to `oct_to_int'
/z-data/compile/cdcat/src/cdcat-1.8/src/dbase.cpp:1606: undefined reference to `oct_to_int'
/z-data/compile/cdcat/src/cdcat-1.8/src/dbase.cpp:1527: undefined reference to `tar_open'
/z-data/compile/cdcat/src/cdcat-1.8/src/dbase.cpp:1531: undefined reference to `tar_open'
/z-data/compile/cdcat/src/cdcat-1.8/src/dbase.cpp:1529: undefined reference to `tar_open'
collect2: ld returned 1 exit status
make: *** [cdcat] Error 1
==> ERROR: A failure occurred in build().
Aborting...

Any advice would be appreciated.
Thanks

Comment by speps

2011-08-31 19:45

@lssjbrolli Tnx, added libmediainfo as build dependency in release 2.

Comment by lssjbrolli

2011-08-27 18:05

please add libmediainfo as dependecy.