Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
QPxTool 0.7.1_002 - CD/DVD Quality Check with gui
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4  
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
piewie
Guru
Guru


Joined: 26 Sep 2002
Posts: 489
Location: old Europe

PostPosted: Tue Sep 12, 2006 6:40 pm    Post subject: Reply with quote

QPxTool 0.6 released

This is just a workaround until automatic QT-Path detection is working:

emerge scons
tar xjvf qpxtool-0.6
cd qpxtool-0.6
vi SConstruct
Code:
env = Environment( ENV = os.environ,
                   CCFLAGS = [ '-Wall', '-O2' ],
                   CXXFLAGS = [ '-Wall', '-O2' ],
                   CPPPATH = [ '/usr/qt/3/include', '/usr/local/include', '/usr/X11R6/include' ],
                   LIBS = [ ],
                   LIBPATH = [ '/usr/local/lib', '/usr/X11R6/lib' ],
                   tools = [ 'default', 'qt' ] );

vi qpxtool/SConscript
Code:
if sys.platform.startswith('linux'):
        env.Append(CPPATH = ['/usr/qt/3/include', '/usr/X11R6/include' ],
                LINKFLAGS = [ '-Wl,-rpath,/usr/qt/3/lib' ],
                LIBPATH = [ '/usr/X11R6/lib', '/usr/lib/qt/lib', '/usr/qt/3/lib' ] )

make
make install
Back to top
View user's profile Send private message
piewie
Guru
Guru


Joined: 26 Sep 2002
Posts: 489
Location: old Europe

PostPosted: Wed Sep 13, 2006 8:34 pm    Post subject: Reply with quote

You can find an ebuild and a patch here

https://bugs.gentoo.org/show_bug.cgi?id=145445
Back to top
View user's profile Send private message
piewie
Guru
Guru


Joined: 26 Sep 2002
Posts: 489
Location: old Europe

PostPosted: Wed Oct 04, 2006 5:23 am    Post subject: Reply with quote

ebubuild for QPxTool 0.6.0.2

ebuild:
https://bugs.gentoo.org/attachment.cgi?id=98714

patches - (copy to app-cdr/qpxtool/files):
https://bugs.gentoo.org/attachment.cgi?id=96895
https://bugs.gentoo.org/attachment.cgi?id=98716
Code:
ebuild qpxtool-0.6.02 digest
emerge -uv qpxtool
Back to top
View user's profile Send private message
piewie
Guru
Guru


Joined: 26 Sep 2002
Posts: 489
Location: old Europe

PostPosted: Sun Feb 25, 2007 3:35 pm    Post subject: Reply with quote

qpxtool-0.6.0.9 - no-scons-version.
Get the ebuild here:
https://bugs.gentoo.org/attachment.cgi?id=111200
Back to top
View user's profile Send private message
dj_farid
l33t
l33t


Joined: 14 Jun 2004
Posts: 613

PostPosted: Thu Mar 01, 2007 10:14 pm    Post subject: Reply with quote

Why aren't these new versions added to portage?
Would be nice.
Back to top
View user's profile Send private message
piewie
Guru
Guru


Joined: 26 Sep 2002
Posts: 489
Location: old Europe

PostPosted: Thu Mar 01, 2007 10:33 pm    Post subject: Reply with quote

I don't know. I have been waiting for an answer from the maintainer for four days now.
Back to top
View user's profile Send private message
piewie
Guru
Guru


Joined: 26 Sep 2002
Posts: 489
Location: old Europe

PostPosted: Sat Mar 03, 2007 9:38 am    Post subject: Reply with quote

Ok, got an answer. Problem is the addwrite option. After contacting the developer, there is now some modification in looking for libraries. So get the new ebuild and two patches from here:

ebuild: https://bugs.gentoo.org/attachment.cgi?id=111895
set-qt3-path.patch: https://bugs.gentoo.org/attachment.cgi?id=111893
set-lib-path.patch: https://bugs.gentoo.org/attachment.cgi?id=111894
Back to top
View user's profile Send private message
piewie
Guru
Guru


Joined: 26 Sep 2002
Posts: 489
Location: old Europe

PostPosted: Sun Mar 11, 2007 8:20 pm    Post subject: Reply with quote

Time for an improved ebuild.

https://bugs.gentoo.org/attachment.cgi?id=112994&action=view

necessary patches (copy to /usr/local/portage/app-cdr/qpxtool/files/)
set-qt3-path.patch: https://bugs.gentoo.org/attachment.cgi?id=111893
set-lib-path.patch: https://bugs.gentoo.org/attachment.cgi?id=111894
Back to top
View user's profile Send private message
piewie
Guru
Guru


Joined: 26 Sep 2002
Posts: 489
Location: old Europe

PostPosted: Mon Mar 19, 2007 10:39 pm    Post subject: Reply with quote

qpxtool-0.6.0.9 is in portage now. Much thanks to vapier for his great work on the install system.
Back to top
View user's profile Send private message
piewie
Guru
Guru


Joined: 26 Sep 2002
Posts: 489
Location: old Europe

PostPosted: Thu Jun 14, 2007 11:15 pm    Post subject: Reply with quote

qpxtool-0.6.1_rc2.ebuild

Code:

# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# qpxtool-0.6.1rc2.ebuild,v 1.0 2007/05/15 01:10:44 piewie (thanks to vapier)

inherit kde-functions qt3 multilib

DESCRIPTION="cd/dvd quality checker for a variety of drives"
HOMEPAGE="http://qpxtool.sourceforge.net/"
SRC_URI="mirror://sourceforge/qpxtool/qpxtool-0.6.1rc2.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND="=x11-libs/qt-3*"

S=${WORKDIR}/qpxtool-0.6.1rc2

src_unpack() {
    unpack ${A}
    cd "${S}"
}

src_install() {
    emake install DESTDIR="${D}" || die
    dodoc AUTHORS ChangeLog README TODO
}
Back to top
View user's profile Send private message
dj_farid
l33t
l33t


Joined: 14 Jun 2004
Posts: 613

PostPosted: Sat Jun 16, 2007 10:30 am    Post subject: Reply with quote

What's new in this version?
Back to top
View user's profile Send private message
piewie
Guru
Guru


Joined: 26 Sep 2002
Posts: 489
Location: old Europe

PostPosted: Sat Jun 16, 2007 11:48 am    Post subject: Reply with quote

deadreader
pxfw 0.3
ASDB file export PX-755/PX-760 (experimental)

http://qpxtool.sourceforge.net/
Back to top
View user's profile Send private message
piewie
Guru
Guru


Joined: 26 Sep 2002
Posts: 489
Location: old Europe

PostPosted: Sun Aug 19, 2007 3:59 pm    Post subject: Reply with quote

QPxTool 0.6.1 released and in portage now.
Changelog:
http://qpxtool.sourceforge.net
Back to top
View user's profile Send private message
piewie
Guru
Guru


Joined: 26 Sep 2002
Posts: 489
Location: old Europe

PostPosted: Mon Oct 22, 2007 7:43 pm    Post subject: Reply with quote

qpxtool-0.6.1 patch for fixing compiling termination with linux-headers 2.6.23:
https://bugs.gentoo.org/attachment.cgi?id=134129

qpxtool-0.6.1-r1.ebuild
https://bugs.gentoo.org/attachment.cgi?id=134131
Back to top
View user's profile Send private message
piewie
Guru
Guru


Joined: 26 Sep 2002
Posts: 489
Location: old Europe

PostPosted: Tue Jan 08, 2008 9:53 pm    Post subject: Reply with quote

The problem with the linux-headers is fixed now. Now, you can use the default ebuild as usually.
Back to top
View user's profile Send private message
marschw
n00b
n00b


Joined: 04 Jun 2003
Posts: 51

PostPosted: Sat Feb 09, 2008 12:37 am    Post subject: Reply with quote

The current ebuild wasn't working for me 712SA, ever since I moved over to libata. The patch at http://groups.google.co.uk/group/linux.debian.bugs.dist/browse_thread/thread/9613ed773541781e/1983c6b74230bf11 fixed it for me.
Back to top
View user's profile Send private message
piewie
Guru
Guru


Joined: 26 Sep 2002
Posts: 489
Location: old Europe

PostPosted: Sat Feb 09, 2008 10:31 pm    Post subject: Reply with quote

qpxtool-0.6.1-r2.ebuild
Code:
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-cdr/qpxtool/qpxtool-0.6.1.ebuild,v 1.3 2007/10/08 20:22:39 coldwind Exp $

inherit kde-functions qt3 multilib eutils

DESCRIPTION="cd/dvd quality checker for a variety of drives"
HOMEPAGE="http://qpxtool.sourceforge.net/"
SRC_URI="mirror://sourceforge/qpxtool/${P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND="=x11-libs/qt-3*"

src_unpack() {
    unpack ${A}
    cd "${S}"

    epatch "${FILESDIR}"/qpxtool-0.6.1-libata.patch

    sed -i \
        -e '/^PREFIX/s:/usr/local:/usr:' \
        -e "/^LIBDIR/s:/lib:/$(get_libdir):" \
        Makefile || die
}

src_install() {
    emake install DESTDIR="${D}" || die
    newicon qpxtool-gui/img/q.xpm ${PN}.xpm
    make_desktop_entry ${PN} Qpxtool ${PN}.xpm "Utility;Qt;DiscBurning"
    dodoc AUTHORS ChangeLog README TODO
}


qpxtool-0.6.1-libata.patch http://groups.google.co.uk/group/linux.debian.bugs.dist/attach/1983c6b74230bf11/qpxtool.diff?part=2
Code:
--- lib/qpxtransport/qpx_transport.cpp.orig     2008-02-03 00:56:14.000000000 +0100
+++ lib/qpxtransport/qpx_transport.cpp  2008-02-03 01:14:09.000000000 +0100
@@ -215,6 +215,21 @@
 #define KERNEL_BROKEN 0
        if (use_sg_io)
        {
+               /* see linux-2.6.23/block/scsi_ioctl.c:36 */
+               static const unsigned char scsi_command_size[8] =
+               {
+                               6, 10, 10, 12,
+                               16, 12, 10, 10
+               };
+               char cmdsize, opcode;
+
+               opcode = cgc.cmd[0];
+               /* see linux-2.6.23/include/scsi/scsi.h:25 */
+               cmdsize = scsi_command_size[((opcode) >> 5) & 7];
+               if ((sg_io.cmd_len > 0) && (sg_io.cmd_len < cmdsize)) {
+                       sg_io.cmd_len = cmdsize;
+               }
+
                sg_io.dxferp            = buf;
                sg_io.dxfer_len         = sz;
                sg_io.dxfer_direction   = use_sg_io[dir];
Back to top
View user's profile Send private message
piewie
Guru
Guru


Joined: 26 Sep 2002
Posts: 489
Location: old Europe

PostPosted: Mon Aug 24, 2009 11:57 pm    Post subject: Reply with quote

download QPxTool-0.7pre1:
http://sourceforge.net/projects/qpxt...r.bz2/download

QPxTool can now be compiled for console (cli: command line interface), as well as with gui (needs qt4)

$ tar xjvf qpxtool-0.7pre1.tar.bz2
$ cd qpxtool-0.7pre1
$ make cli
# make cli_install

$ make gui
# make gui_install

Example:
qscan -l
qscan -d /dev/sr1 -t errc -s 8
man qscan
qpxtool


also check:
man cdvdcontrol
man qscan
qscand (for network device control)
Back to top
View user's profile Send private message
piewie
Guru
Guru


Joined: 26 Sep 2002
Posts: 489
Location: old Europe

PostPosted: Sat Dec 26, 2009 11:18 am    Post subject: Reply with quote

QPxTool 0.7.0 is portage now.
Back to top
View user's profile Send private message
piewie
Guru
Guru


Joined: 26 Sep 2002
Posts: 489
Location: old Europe

PostPosted: Wed Nov 10, 2010 10:37 pm    Post subject: Reply with quote

ebuild and patches for qpxtool-0.7.1_002 (thanx to Marcel Partap):
https://bugs.gentoo.org/show_bug.cgi?id=341769
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Goto page Previous  1, 2, 3, 4
Page 4 of 4

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum