You are not logged in.

#1 2011-05-01 12:08:22

Rasi
Member
From: Germany
Registered: 2007-08-14
Posts: 1,914
Website

Request for working PKGBUILD of flactag

This is the homepage of this beast:
http://software.gently.org.uk/flactag-1.1/
problem is that at least one dependency is not available for arch linux and i wasnt able to build this one either:
http://www.nongnu.org/unac/

Having this thing would make it possible to use flacs with embedded cuesheets in mpd without sacrificing tags.


He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.

Douglas Adams

Offline

#2 2011-05-01 17:56:44

Stebalien
Member
Registered: 2010-04-27
Posts: 1,237
Website

Re: Request for working PKGBUILD of flactag

I have packaged it but can't test it.
Here is the package http://aur.archlinux.org/packages.php?ID=48632.
Please tell me if it works.


Steven [ web : git ]
GPG:  327B 20CE 21EA 68CF A7748675 7C92 3221 5899 410C
Do not email: honeypot@stebalien.com

Offline

#3 2011-05-02 14:04:36

Rasi
Member
From: Germany
Registered: 2007-08-14
Posts: 1,914
Website

Re: Request for working PKGBUILD of flactag

It builds and starts, thank you very much, sadly it seems to be buggy too smile


He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.

Douglas Adams

Offline

#4 2011-05-02 14:11:24

Stebalien
Member
Registered: 2010-04-27
Posts: 1,237
Website

Re: Request for working PKGBUILD of flactag

I had to patch a few things to get it to build so I am not surprised. Also, unac is pretty old and Debian appears to have a newer version than the one I packaged. I could not find where they got it and didn't want to pull the debian sources if I could help it.


Steven [ web : git ]
GPG:  327B 20CE 21EA 68CF A7748675 7C92 3221 5899 410C
Do not email: honeypot@stebalien.com

Offline

#5 2011-12-24 05:40:07

curlynostrill
Member
Registered: 2008-07-23
Posts: 11

Re: Request for working PKGBUILD of flactag

It doesn't build for me with packer.  I'm wondering if anyone would be willing to help me fix what needs to be fixed since my AUR/src skills are next to zero. 

...
FileNameBuilder.o: In function `CFileNameBuilder::FixString(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const':
FileNameBuilder.cc:(.text+0xc5f): undefined reference to `unac_string'
CoverArt.o: In function `CCoverArt::JPEGMemorySource(jpeg_decompress_struct*, unsigned char const*, unsigned int)':
CoverArt.cc:(.text+0x485): undefined reference to `jpeg_resync_to_restart'
CoverArt.o: In function `CCoverArt::GetDimensions()':
CoverArt.cc:(.text+0x4d5): undefined reference to `jpeg_std_error'
CoverArt.cc:(.text+0x519): undefined reference to `jpeg_destroy_decompress'
CoverArt.cc:(.text+0x539): undefined reference to `jpeg_CreateDecompress'
CoverArt.cc:(.text+0x570): undefined reference to `jpeg_read_header'
CoverArt.cc:(.text+0x59a): undefined reference to `jpeg_destroy_decompress'
UTF8Tag.o: In function `CUTF8Tag::Convert()':
UTF8Tag.cc:(.text+0x392): undefined reference to `unac_string'
collect2: ld returned 1 exit status
make: *** [flactag] Error 1
==> ERROR: A failure occurred in build().
    Aborting...
The build failed.

I looked in

/tmp/packerbuild-0/flactag/flactag/src/flactag-1.1/UTF8Tag.cc

and found the reference but I have no idea how to fix it.
-----------------------------------------
if (m_DisplayValue.empty())
                {
                        char *out=0;
                        size_t out_length=0;
                        m_DisplayValue=m_UTF8Value;
                               
                        if (0==unac_string("UTF-8",m_DisplayValue.c_str(),m_DisplayValue.length(),&out,&out_length))
                                m_DisplayValue=out;
                        else
                                perror("unac_string");
               
                        if (out)
                                free(out);
--------------------------------------------
I'm guessing the fix might be fairly simple and could then be applied to the other "undefined referrences".

Last edited by curlynostrill (2011-12-24 05:51:56)

Offline

Board footer

Powered by FluxBB