Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 411619 - media-sound/rockbox-utility - Graphical utility for automating Rockbox firmware installation and management
Summary: media-sound/rockbox-utility - Graphical utility for automating Rockbox firmwa...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement with 1 vote (vote)
Assignee: James Le Cuirot
URL: http://www.rockbox.org/wiki/RockboxUt...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-11 17:59 UTC by Jared B.
Modified: 2018-03-02 21:13 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
media-sound/rockbox-utility-1.2.13.ebuild (rockbox-utility-1.2.13.ebuild,763 bytes, text/plain)
2012-04-11 18:00 UTC, Jared B.
Details
old - media-sound/rockbox-utility-bin-1.2.13.ebuild (rockbox-utility-bin-1.2.13.ebuild,760 bytes, text/plain)
2012-04-11 18:00 UTC, Jared B.
Details
media-sound/rockbox-utility-1.2.13.ebuild (rockbox-utility-1.2.13.ebuild,805 bytes, text/plain)
2012-04-12 03:23 UTC, Jared B.
Details
media-sound/rockbox-utility-1.2.13.ebuild (rockbox-utility-1.2.13.ebuild,837 bytes, text/plain)
2012-06-01 05:58 UTC, Jared B.
Details
app-misc/rbutil-1.4.0.ebuild (rbutil-1.4.0.ebuild,1.01 KB, text/plain)
2017-08-15 04:56 UTC, Wicher Minnaard
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jared B. 2012-04-11 17:59:51 UTC
Attached is an ebuild for Rockbox Utility, the automated installation utility for Rockbox firmware.  This actually contains two ebuild:  one for the source version, and one for the prebuilt binary version (which I created before I found the source download link).  Going forward, unless there's demand, I'll probably only update the source version.
Comment 1 Jared B. 2012-04-11 18:00:28 UTC
Created attachment 308551 [details]
media-sound/rockbox-utility-1.2.13.ebuild
Comment 2 Jared B. 2012-04-11 18:00:44 UTC
Created attachment 308553 [details]
old - media-sound/rockbox-utility-bin-1.2.13.ebuild
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2012-04-11 19:38:41 UTC
HOMEPAGE is left empty in both cases - I guess the [URL] will do?
Comment 4 Jared B. 2012-04-11 19:42:53 UTC
no, that's an omission.  The homepage is http://www.rockbox.org/wiki/RockboxUtility.  I'll get this corrected tonight.

Thanks for pointing that out.
Comment 5 Jared B. 2012-04-12 03:23:22 UTC
Created attachment 308599 [details]
media-sound/rockbox-utility-1.2.13.ebuild

corrected missing HOMEPAGE value.  Only updating the source version; again, I only uploaded the -bin version in case anyone really wants it, but the source version is, in my opinion, the best way to go.
Comment 6 Vladimir 2012-05-24 07:53:01 UTC
  Hello!
(In reply to comment #5)
> Created attachment 308599 [details]
> media-sound/rockbox-utility-1.2.13.ebuild
  It doesn't build on my system. Here is the error message I get:

x86_64-pc-linux-gnu-g++ -c -pipe -march=k8 -O2 -pipe -D_REENTRANT -Wall -W -DNODEBUG -DRBUTIL -D_LARGEFILE64_SOURCE -DLIBUSB1 -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I../rbutil/rbutilqt -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../rbutil/rbutilqt -I../rbutil/rbutilqt/irivertools -I../rbutil/rbutilqt/zlib -I../rbutil/rbutilqt/base -I../rbutil/rbutilqt/zlib -I../rbutil/rbutilqt/gui -I../rbutil/ipodpatcher -I../rbutil/sansapatcher -I../tools/rbspeex -I../tools -Ibuild/moc -Ibuild/ui -I. -o build/o/ttsbase.o ../rbutil/rbutilqt/base/ttsbase.cpp
../rbutil/rbutilqt/encttscfggui.cpp: In member function 'QWidget* EncTtsCfgGui::createWidgets(EncTtsSetting*)':
../rbutil/rbutilqt/encttscfggui.cpp:108:22: error: 'class QDoubleSpinBox' has no member named 'setAccessibleName'
../rbutil/rbutilqt/encttscfggui.cpp:120:22: error: 'class QSpinBox' has no member named 'setAccessibleName'
../rbutil/rbutilqt/encttscfggui.cpp:131:23: error: 'class QLineEdit' has no member named 'setAccessibleName'
../rbutil/rbutilqt/encttscfggui.cpp:145:23: error: 'class QComboBox' has no member named 'setAccessibleName'
../rbutil/rbutilqt/encttscfggui.cpp:156:23: error: 'class QCheckBox' has no member named 'setAccessibleName'
make: *** [build/o/encttscfggui.o] Error 1
make: *** Waiting for unfinished jobs....
emake failed
Comment 7 Jared B. 2012-06-01 05:57:37 UTC
Based on some searching, it appears that function is provided by 'accessibility' support in qt-gui.  This is enabled by default in Gentoo, which is why I didn't see it.

I've updated the ebuild to depend on this.  Can you test it out?
Comment 8 Jared B. 2012-06-01 05:58:09 UTC
Created attachment 313789 [details]
media-sound/rockbox-utility-1.2.13.ebuild
Comment 9 Vladimir 2013-04-15 20:33:52 UTC
Emerge gives an error regarding the use of 'qt4' eclass in this ebuild:

ERROR: media-sound/rockbox-utility-1.2.13 failed (depend phase):
 *   qt4.eclass could not be found by inherit()
 * 
 * Call stack:
 *                       ebuild.sh, line 551:  Called source '/usr/local/overlays/media-sound/rockbox-utility/rockbox-utility-1.2.13.ebuild'
 *   rockbox-utility-1.2.13.ebuild, line   7:  Called inherit 'qt4'
 *                       ebuild.sh, line 261:  Called die
 * The specific snippet of code:
 *   		[ ! -e "$location" ] && die "${1}.eclass could not be found by inherit()"
 * 
 * If you need support, post the output of `emerge --info '=media-sound/rockbox-utility-1.2.13'`,
 * the complete build log and the output of `emerge -pqv '=media-sound/rockbox-utility-1.2.13'`.
 * This ebuild is from an overlay named 'local': '/usr/local/overlays/'
 * Working directory: '/home/vova'
 * S: '/var/tmp/portage/media-sound/rockbox-utility-1.2.13/work/rockbox-utility-1.2.13'
Comment 10 Jared B. 2013-04-15 20:44:22 UTC
I haven't messed with rockbox in over a year, so I'm not maintaining this anymore.  Might want to try changing the inherit from qt4 to qt4-r2, though.  That seems to be required now, but I'm not sure if anything else needs to be updated.
Comment 11 Vladimir 2013-04-15 21:25:58 UTC
A quick try gave the following result:

../rbutil/rbutilqt/encttscfggui.cpp: In member function 'QWidget* EncTtsCfgGui::createWidgets(EncTtsSetting*)':
../rbutil/rbutilqt/encttscfggui.cpp:108:22: error: 'class QDoubleSpinBox' has no member named 'setAccessibleName'
../rbutil/rbutilqt/encttscfggui.cpp:120:22: error: 'class QSpinBox' has no member named 'setAccessibleName'
../rbutil/rbutilqt/encttscfggui.cpp:131:23: error: 'class QLineEdit' has no member named 'setAccessibleName'
../rbutil/rbutilqt/encttscfggui.cpp:145:23: error: 'class QComboBox' has no member named 'setAccessibleName'
../rbutil/rbutilqt/encttscfggui.cpp:156:23: error: 'class QCheckBox' has no member named 'setAccessibleName'
Comment 12 Michal Plichta 2013-09-26 21:56:02 UTC
this one works fine for me:
http://data.gpo.zugaina.org/xmw/media-sound/rbutil/
Comment 13 Wicher Minnaard 2017-08-15 04:56:27 UTC
Created attachment 489100 [details]
app-misc/rbutil-1.4.0.ebuild

Updated ebuild for app-misc/rbutil-1.4.0
Comment 14 Wicher Minnaard 2017-08-15 04:57:58 UTC
Comment on attachment 489100 [details]
app-misc/rbutil-1.4.0.ebuild

># Copyright 1999-2012 Gentoo Foundation
># Distributed under the terms of the GNU General Public License v2
># $Header: $
>
>EAPI=2
>LANGS="cs de fi fr he it ja nl pl pt pt_BR ru tr zh_CN zh_TW"
>
>inherit eutils qt4-r2
>
>MY_P=RockboxUtility-v${PV}
>
>DESCRIPTION="Rockbox opensource firmware manager for mp3 players"
>HOMEPAGE="http://www.rockbox.org/wiki/RockboxUtility"
>SRC_URI="http://download.rockbox.org/${PN}/source/RockboxUtility-v${PV}-src.tar.bz2"
>LICENSE="GPL-2"
>SLOT="0"
>KEYWORDS="~amd64 ~x86"
>IUSE="debug"
>
>RDEPEND="media-libs/speex
>	dev-qt/qtcore:4
>	dev-qt/qtgui:4
>	virtual/libusb:0"
>DEPEND="${RDEPEND}"
>
>S=${WORKDIR}/${MY_P}/${PN}/${PN}qt
>
>src_configure() {
>	# generate binary translations
>	lrelease ${PN}qt.pro || die
>
>	# noccache is required in order to call the correct compiler
>	eqmake4 CONFIG+=noccache
>}
>
>src_install() {
>	newbin RockboxUtility ${PN} || die
>	newicon icons/rockbox-48.png ${PN}.png || die
>	make_desktop_entry ${PN} "Rockbox Utility"
>}
Comment 15 Larry the Git Cow gentoo-dev 2018-03-02 21:12:44 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9391f29090a6db15cc5ce41a3cf5003af9d8d5df

commit 9391f29090a6db15cc5ce41a3cf5003af9d8d5df
Author:     James Le Cuirot <chewi@gentoo.org>
AuthorDate: 2018-03-02 21:11:49 +0000
Commit:     James Le Cuirot <chewi@gentoo.org>
CommitDate: 2018-03-02 21:12:26 +0000

    app-misc/rbutil: New package
    
    Closes: https://bugs.gentoo.org/411619
    Package-Manager: Portage-2.3.24, Repoman-2.3.6

 app-misc/rbutil/Manifest            |  1 +
 app-misc/rbutil/files/quazip.patch  | 88 +++++++++++++++++++++++++++++++++++++
 app-misc/rbutil/metadata.xml        |  8 ++++
 app-misc/rbutil/rbutil-1.4.0.ebuild | 62 ++++++++++++++++++++++++++
 4 files changed, 159 insertions(+)