ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] DVDStyler
@ 2006-10-18 13:31 Motsyo Gennadi aka Drool
  2006-10-18 13:51 ` Damir Shayhutdinov
  0 siblings, 1 reply; 6+ messages in thread
From: Motsyo Gennadi aka Drool @ 2006-10-18 13:31 UTC (permalink / raw)
  To: ALT Linux Community

[-- Attachment #1: Type: text/plain, Size: 787 bytes --]

	Привет всем!

	Вот снова меня дернуло на эту прогу :-) Никто ее не заставил работать на
АЛМ-2.4? Пытаюсь собрать - нужен dvdauthor, собираю dvdauthor-0.6.12-alt2.2.1.src.rpm:
-Wall -g -O2 -MT dvdunauthor.o -MD -MP -MF
".deps/dvdunauthor.Tpo" -c -o dvdunauthor.o dvdunauthor.c; \ then mv -f
".deps/dvdunauthor.Tpo" ".deps/dvdunauthor.Po"; else rm -f
".deps/dvdunauthor.Tpo"; exit 1; fi dvdunauthor.c: In function `dump_attr':
dvdunauthor.c:262: error: structure has no member named `code_extension'
dvdunauthor.c:263: error: structure has no member named `code_extension'
dvdunauthor.c:269: error: structure has no member named `code_extension'
dvdunauthor.c:270: error: structure has no member named `code_extension'
make[2]: *** [dvdunauthor.o] Error 1

	Кто подскажет?

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Comm] DVDStyler
  2006-10-18 13:31 [Comm] DVDStyler Motsyo Gennadi aka Drool
@ 2006-10-18 13:51 ` Damir Shayhutdinov
  2006-10-19  6:28   ` Motsyo Gennadi aka Drool
  0 siblings, 1 reply; 6+ messages in thread
From: Damir Shayhutdinov @ 2006-10-18 13:51 UTC (permalink / raw)
  To: ALT Linux Community

>         Вот снова меня дернуло на эту прогу :-) Никто ее не заставил работать на
> АЛМ-2.4? Пытаюсь собрать - нужен dvdauthor, собираю dvdauthor-0.6.12-alt2.2.1.src.rpm:
> -Wall -g -O2 -MT dvdunauthor.o -MD -MP -MF
> ".deps/dvdunauthor.Tpo" -c -o dvdunauthor.o dvdunauthor.c; \ then mv -f
> ".deps/dvdunauthor.Tpo" ".deps/dvdunauthor.Po"; else rm -f
> ".deps/dvdunauthor.Tpo"; exit 1; fi dvdunauthor.c: In function `dump_attr':
> dvdunauthor.c:262: error: structure has no member named `code_extension'
> dvdunauthor.c:263: error: structure has no member named `code_extension'
> dvdunauthor.c:269: error: structure has no member named `code_extension'
> dvdunauthor.c:270: error: structure has no member named `code_extension'
> make[2]: *** [dvdunauthor.o] Error 1
>
>         Кто подскажет?

А что там в dvdunauthor.c на 262 строчке?

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Comm] DVDStyler
  2006-10-18 13:51 ` Damir Shayhutdinov
@ 2006-10-19  6:28   ` Motsyo Gennadi aka Drool
  2006-10-19  6:51     ` Damir Shayhutdinov
  0 siblings, 1 reply; 6+ messages in thread
From: Motsyo Gennadi aka Drool @ 2006-10-19  6:28 UTC (permalink / raw)
  To: ALT Linux Community

[-- Attachment #1: Type: text/plain, Size: 1448 bytes --]

"Damir Shayhutdinov" <lost404@gmail.com> wrote:

> >         Вот снова меня дернуло на эту прогу :-) Никто ее не заставил
> >         работать на
> > АЛМ-2.4? Пытаюсь собрать - нужен dvdauthor, собираю
> > dvdauthor-0.6.12-alt2.2.1.src.rpm: -Wall -g -O2 -MT dvdunauthor.o -MD -MP
> > -MF ".deps/dvdunauthor.Tpo" -c -o dvdunauthor.o dvdunauthor.c; \ then mv -f
> > ".deps/dvdunauthor.Tpo" ".deps/dvdunauthor.Po"; else rm -f
> > ".deps/dvdunauthor.Tpo"; exit 1; fi dvdunauthor.c: In function `dump_attr':
> > dvdunauthor.c:262: error: structure has no member named `code_extension'
> > dvdunauthor.c:263: error: structure has no member named `code_extension'
> > dvdunauthor.c:269: error: structure has no member named `code_extension'
> > dvdunauthor.c:270: error: structure has no member named `code_extension'
> > make[2]: *** [dvdunauthor.o] Error 1


> А что там в dvdunauthor.c на 262 строчке?

	Начиная с 262-й строчки по 270-ю:

        if( audio_type[ab->audio_attr[i].code_extension] )
            xmlNewProp( newNode, "content",
audio_type[ab->audio_attr[i].code_extension] );    }

    for(i = 0; i < ab->numsubp; i++) {
        xmlNodePtr newNode = xmlNewTextChild( node, NULL, "subpicture", NULL );
        addLangAttr( newNode, ab->subp_attr[i].lang_code);
        if( subp_type[ab->subp_attr[i].code_extension] )
            xmlNewProp( newNode, "content",
subp_type[ab->subp_attr[i].code_extension] ); 

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Comm] DVDStyler
  2006-10-19  6:28   ` Motsyo Gennadi aka Drool
@ 2006-10-19  6:51     ` Damir Shayhutdinov
  2006-10-19  7:13       ` Motsyo Gennadi aka Drool
  0 siblings, 1 reply; 6+ messages in thread
From: Damir Shayhutdinov @ 2006-10-19  6:51 UTC (permalink / raw)
  To: ALT Linux Community

>         Начиная с 262-й строчки по 270-ю:
>
>         if( audio_type[ab->audio_attr[i].code_extension] )
>             xmlNewProp( newNode, "content",
> audio_type[ab->audio_attr[i].code_extension] );    }
>
>     for(i = 0; i < ab->numsubp; i++) {
>         xmlNodePtr newNode = xmlNewTextChild( node, NULL, "subpicture", NULL );
>         addLangAttr( newNode, ab->subp_attr[i].lang_code);
>         if( subp_type[ab->subp_attr[i].code_extension] )
>             xmlNewProp( newNode, "content",
> subp_type[ab->subp_attr[i].code_extension] );

Ну видимо в структуре ab->audio_attr[i] нету этого поля - значит API
изменился. Надо посмотреть, в какой библиотеке объявлена эта
структура, и сбэкпортить эту библиотеку из Сизифа.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Comm] DVDStyler
  2006-10-19  6:51     ` Damir Shayhutdinov
@ 2006-10-19  7:13       ` Motsyo Gennadi aka Drool
  2006-10-19  7:28         ` Damir Shayhutdinov
  0 siblings, 1 reply; 6+ messages in thread
From: Motsyo Gennadi aka Drool @ 2006-10-19  7:13 UTC (permalink / raw)
  To: ALT Linux Community

[-- Attachment #1: Type: text/plain, Size: 298 bytes --]

"Damir Shayhutdinov" <lost404@gmail.com> wrote:

> Ну видимо в структуре ab->audio_attr[i] нету этого поля - значит API
> изменился. Надо посмотреть, в какой библиотеке объявлена эта
> структура, и сбэкпортить эту библиотеку из Сизифа.

	Я на АЛМ-2.4 это не могу выяснить. Дамир, подсобишь?

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Comm] DVDStyler
  2006-10-19  7:13       ` Motsyo Gennadi aka Drool
@ 2006-10-19  7:28         ` Damir Shayhutdinov
  0 siblings, 0 replies; 6+ messages in thread
From: Damir Shayhutdinov @ 2006-10-19  7:28 UTC (permalink / raw)
  To: ALT Linux Community

> > Ну видимо в структуре ab->audio_attr[i] нету этого поля - значит API
> > изменился. Надо посмотреть, в какой библиотеке объявлена эта
> > структура, и сбэкпортить эту библиотеку из Сизифа.
>
>         Я на АЛМ-2.4 это не могу выяснить. Дамир, подсобишь?

Это libdvdread (/usr/include/dvdread/ifo_types.h).
Видимо надо ее сначала бэкпортить.

Объясняю, как искал:
1. В гугле по code_extension audio все ссылки в основном связаны с dvd.

2. apt-cache showpkg dvdauthor показал в зависимостях libdvdread.so.3
Больше никаких аудио-библиотек в зависимостях не найдено.

3. Установил libdvdread-devel
Дальше
rpm -ql libdvdread-devel | xargs grep code_extension
/usr/include/dvdread/ifo_types.h:  uint8_t  code_extension;
/usr/include/dvdread/ifo_types.h:  uint8_t  code_extension;

Грепанье по libdvdread-devel в Master 2.4 оставляю в качестве
самостоятельного упражнения.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-10-19  7:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-10-18 13:31 [Comm] DVDStyler Motsyo Gennadi aka Drool
2006-10-18 13:51 ` Damir Shayhutdinov
2006-10-19  6:28   ` Motsyo Gennadi aka Drool
2006-10-19  6:51     ` Damir Shayhutdinov
2006-10-19  7:13       ` Motsyo Gennadi aka Drool
2006-10-19  7:28         ` Damir Shayhutdinov

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git