By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.
Bug 791 - Akode: add the akode arts plugin to the Trinity repository
Summary: Akode: add the akode arts plugin to the Trinity repository
Status: RESOLVED FIXED
Alias: None
Product: TDE
Classification: Unclassified
Component: other (any) (show other bugs)
Version: R14.0.0 [Trinity]
Hardware: Other Other
: P5 needs packaging
Assignee: Timothy Pearson
URL:
Depends on:
Blocks: R14.1.0
  Show dependency treegraph
 
Reported: 2012-01-12 23:13 CST by Darrell
Modified: 2015-10-25 08:10 CDT (History)
4 users (show)

See Also:
Compiler Version:
TDE Version String:
Application Version:
Application Name:


Attachments
Akode 2.0.2: adds pulseaudio support (patch from Fedora 9) (18.84 KB, patch)
2012-08-03 02:42 CDT, Francois Andriot
Details | Diff
Akode 2.0.2: adds multilib support (patch from Fedora 9) (1.89 KB, patch)
2012-08-03 02:42 CDT, Francois Andriot
Details | Diff
Akode 2.0.2: fix flac 1.1.3 support (patch from Fedora 9) (533 bytes, patch)
2012-08-03 02:43 CDT, Francois Andriot
Details | Diff
Akode 2.0.2: fix compilation with GCC 4.3 (patch from Fedora 9) (1.64 KB, patch)
2012-08-03 02:43 CDT, Francois Andriot
Details | Diff
Akode 2.0.2: fix autotool >= 1.10 detection + 1 CXXFLAGS (896 bytes, patch)
2012-08-03 02:45 CDT, Francois Andriot
Details | Diff
Akode 2.0.2 : fix ffmpeg include (not sure about this patch ?) (483 bytes, patch)
2013-07-25 04:13 CDT, Francois Andriot
Details | Diff
akode 14.0.0: update for build issues (6.66 KB, patch)
2015-07-26 11:23 CDT, Francois Andriot
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Darrell 2012-01-12 23:13:06 CST
At least two packages, tdemultimedia and tdeaccessibility, look for the akode arts plugin to build respective support.

At least one person recently built akode:

http://trinity-devel.pearsoncomputing.net/?0::4705

Per discussion on the dev mailing list, this enhancement request is being submitted.
Comment 1 Francois Andriot 2012-08-03 02:42:06 CDT
Created attachment 734 [details]
Akode 2.0.2: adds pulseaudio support (patch from Fedora 9)

Hello, in case you still want to build akode for your distro, here are the patches I'm using to do so.
Comment 2 Francois Andriot 2012-08-03 02:42:34 CDT
Created attachment 735 [details]
Akode 2.0.2: adds multilib support (patch from Fedora 9)
Comment 3 Francois Andriot 2012-08-03 02:43:11 CDT
Created attachment 736 [details]
Akode 2.0.2: fix flac 1.1.3 support (patch from Fedora 9)
Comment 4 Francois Andriot 2012-08-03 02:43:54 CDT
Created attachment 737 [details]
Akode 2.0.2: fix compilation with GCC 4.3 (patch from Fedora 9)
Comment 5 Francois Andriot 2012-08-03 02:45:20 CDT
Created attachment 738 [details]
Akode 2.0.2: fix autotool >= 1.10 detection + 1 CXXFLAGS
Comment 6 Francois Andriot 2012-08-03 02:50:38 CDT
FYI, my build sequence for Akode 2.0.2 is as follow:
(replace %{} macros with target directories path, e.g /opt/trinity/xxx)

##########

sed -i "admin/acinclude.m4.in" \
  -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
  -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"

_cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
_cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
_make -f admin/Makefile.common cvs

./configure \
  --bindir=%{tde_bindir} \
  --libdir=%{tde_libdir} \
  --includedir=%{tde_includedir} \
  --datadir=%{tde_datadir} \
  --disable-static \
  --enable-shared \
  --disable-debug --disable-warnings --disable-dependency-tracking \
  --with-libltdl \
  --with-alsa \
  --with-oss \
  --with-flac \
  --with-jack \
  --with-libsamplerate \
  --with-pulseaudio \
  --with-speex \
  --with-vorbis \
  --without-ffmpeg \
  --without-libmad \
  --enable-closure \
  --enable-new-ldflags \
  --enable-final

make -j4 LIBTOOL=$(which libtool)

##########

Note: the last command with "LIBTOOL=$(which libtool)" is a hack indicating that there is a problem with akode-provided autotools configuration files (they are surely deprecated). But it works this way.
Comment 7 Francois Andriot 2013-07-25 04:13:53 CDT
Created attachment 1415 [details]
Akode 2.0.2 : fix ffmpeg include (not sure about this patch ?)
Comment 8 Francois Andriot 2015-07-26 11:23:09 CDT
Created attachment 2537 [details]
akode 14.0.0: update for build issues

Hello, the attached patch applies to Akode 14.0.0 in Trinity GIT.

1) Convert POLYP support to PulseAudio support (polyp was early version of pulseaudio)

2) Fix incorrect OGG detection in openSUSE
Comment 9 Slávek Banko 2015-07-28 13:24:31 CDT
For your information: akode is already incorporated into the GIT tree == will be part R14.1.0 and later:

http://git.trinitydesktop.org/cgit/akode/

There was also a conversion into CMake. Please can you test building from these source code?
Comment 10 Francois Andriot 2015-07-28 14:21:54 CDT
Hello, the latest patch applies to the Akode already imported in GIT, which does FTBFS on my computer compared to original Akode + attached patches.

The Akode GIT repository is lacking at least 2 patches that  are mandatory to have a working Akode

1) The polyp=>pulseaudio conversion
2) Missing "akode.pc" file generation (created from "akode.pc.in"), needed for tdemultimedia to detect Akode during "./configure".

Please, review the attached patches, check those that are missing, and apply them in GIT repository.
Comment 11 Slávek Banko 2015-07-28 19:23:52 CDT
(In reply to Francois Andriot from comment #10)
> Hello, the latest patch applies to the Akode already imported in GIT, which
> does FTBFS on my computer compared to original Akode + attached patches.
> 
> The Akode GIT repository is lacking at least 2 patches that  are mandatory
> to have a working Akode
> 
> 1) The polyp=>pulseaudio conversion
> 2) Missing "akode.pc" file generation (created from "akode.pc.in"), needed
> for tdemultimedia to detect Akode during "./configure".
> 
> Please, review the attached patches, check those that are missing, and apply
> them in GIT repository.

Ad 1) yes, it is a good idea - I'm sure it will be incorporated within R14.0.2.

Ad 2) tdemultimedia uses binary 'akode-config', rather than pkg-config file. Therefore missing pkg-config file for akode for now can not cause FTBFS in tdemultimedia. However, creating a pkg-config file is definitely a good idea and I'm sure it also will be incorporated within R14.0.2.
Comment 12 Francois Andriot 2015-07-29 03:45:42 CDT
Hello,
yes, I've seen that tdemultimedia uses "akode-config" command to detect akode, but on all distro I build on, without the "akode.pc" patch, tdemultimedia does not detect akode and akode support is not built at all ...
The original patch is called "add multilib support", which in Fedora world means "add support for separated /usr/lib64 and /usr/lib directories". I bet the problem was related to having a "/usr/lib64" directory. Maybe you don't have this scenario.
Comment 13 Slávek Banko 2015-10-14 17:27:03 CDT
Comment on attachment 736 [details]
Akode 2.0.2: fix flac 1.1.3 support (patch from Fedora 9)

Already included in GIT hash 583884cc.
Comment 14 Slávek Banko 2015-10-14 17:30:02 CDT
Comment on attachment 737 [details]
Akode 2.0.2: fix compilation with GCC 4.3 (patch from Fedora 9)

Already included in GIT hash 48eea5b2 and 4ef4f179.
Comment 15 Slávek Banko 2015-10-14 17:31:21 CDT
Comment on attachment 738 [details]
Akode 2.0.2: fix autotool >= 1.10 detection + 1 CXXFLAGS

Admin folder was replaced by common admin submodule.
Comment 16 Slávek Banko 2015-10-15 09:58:29 CDT
Comment on attachment 734 [details]
Akode 2.0.2: adds pulseaudio support (patch from Fedora 9)

After merging with parts from attachment 2537 [details] pushed to GIT in hash cf18d66a.
Comment 17 Slávek Banko 2015-10-15 09:59:41 CDT
Comment on attachment 735 [details]
Akode 2.0.2: adds multilib support (patch from Fedora 9)

Added the necessary code for CMake build and pushed to GIT in hash d67c4c24.
Comment 18 Slávek Banko 2015-10-15 10:00:47 CDT
Comment on attachment 2537 [details]
akode 14.0.0: update for build issues

The rest of the patch pushed to GIT in hash 386d5647.
Comment 19 Slávek Banko 2015-10-15 10:01:37 CDT
From my previous testing showed that ffmpeg decoder is now broken and would require further work. Therefore I propose for now to close this bug report, because the subject of this bug report was fulfilled.

François, thank you for your good work on this!
Comment 20 Michele Calgaro 2015-10-17 21:57:54 CDT
>Therefore I propose for now to close this bug report, because the subject of >this bug report was fulfilled.
Sounds good to me.