From: Motsyo Gennadi aka Drool <motsyo@gmail.com>
To: ALT Linux Community <community@lists.altlinux.org>
Subject: Re: [Comm] ALT Linux 4.0 Desktop
Date: Tue, 29 May 2007 18:41:41 +0300
Message-ID: <465C49B5.4040209@gmail.com> (raw)
In-Reply-To: <7377431a0705290829x7691f6c5s6a02ae74fc718e77@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 356 bytes --]
Yuriy Al. Shirokov пишет:
> 29.05.07, Pavlov Konstantin<thresh@altlinux.ru> написал(а):
>>> Только вот не собирается он:
>>> /usr/include/ffmpeg/avformat.h:62: error: `INT64_C' was not declared
>>> in this scope
>> Это элементарно гуглится.
>
> Н-да? У меня вот ничего не нагуглилось. В чём проблема-то?
Прилагаю спек и патч, подсказанный автором QMMP.
[-- Attachment #2: qmmp.spec --]
[-- Type: text/plain, Size: 2469 bytes --]
%define qmake %_qt4dir/bin/qmake
Version: 0.1
Name: qmmp
Release: alt0.M24.1
Summary: QMMP - Qt-based multimedia player
License: GPL
Group: Sound
Url: http://qmmp.ylsoftware.com/
Source: http://qmmp.ylsoftware.com/files/%name-%version.tar.bz2
Patch0: %name-0.1-mad_fix.diff
# Automatically added by buildreq on Tue May 29 2007 (-bi)
# manually removed qt4-settings
BuildRequires: ImageMagick XFree86-libs fontconfig freetype2 gcc-c++ glib2 jackit-devel libalsa-devel libfaac-devel libfaad-devel libffmpeg-devel libflac-devel liblame-devel libmad-devel libmpcdec-devel libogg-devel libqt4-core libqt4-devel libqt4-gui libqt4-network libqt4-xml libsamplerate-devel libstdc++-devel libtag-devel libtheora-devel libvorbis-devel libxvid-devel pkgconfig zlib-devel
%description
QMMP is an audio-player, written with help of Qt library.
Main opportunities:
- unpacked winamp skins support
- plugins support
- MPEG1 layer 1/2/3 support
- Ogg Vorbis support
- native FLAC support
- Musepack support
- AlSA sound output
- JACK sound output
%prep
%setup -q
%__subst 's|/usr/local|/usr|g' %name.pro
%patch0 -p1
%build
%qmake %name.pro
# #%__subst 's|-pipe -D_REENTRANT -Wall -W -fPIC $(DEFINES)|%optflags $(DEFINES)|g' lib/Makefile
# #%__subst 's|-pipe -Wall -W -D_REENTRANT $(DEFINES)|%optflags $(DEFINES)|g' src/Makefile
# #%__subst 's|-pipe -Wall -W -D_REENTRANT -fPIC $(DEFINES)|%optflags $(DEFINES)|g' lib/libqmmp/Input/mad/Makefile
# #%__subst 's|taglib -Wall -W -D_REENTRANT -fPIC $(DEFINES)|taglib %optflags $(DEFINES)|g' lib/libqmmp/Input/mad/Makefile
%make_build
%install
%makeinstall INSTALL_ROOT=%buildroot/usr
# Menu
%__mkdir -p %buildroot/%_menudir/
cat << EOF > %buildroot%_menudir/%name
?package(%name): needs=x11 icon="%name.png" section="Multimedia/Sound" \
title="QMMP - Qt-based multimedia player" command=%_bindir/%name
EOF
# Icons
%__mkdir -p %buildroot%_menudir %buildroot%_liconsdir %buildroot%_miconsdir
convert -resize 48x48 src/images/%name.xpm %buildroot%_liconsdir/%name.png
convert -resize 32x32 src/images/%name.xpm %buildroot%_iconsdir/%name.png
convert -resize 16x16 src/images/%name.xpm %buildroot%_miconsdir/%name.png
%post
%update_menus
%post_ldconfig
%preun
%clean_menus
%postun_ldconfig
%files
%_bindir/*
%_menudir/*
%_libdir/*.so*
%_libdir/lib%name
%_iconsdir/%name.png
%_liconsdir/%name.png
%_miconsdir/%name.png
%changelog
* Tue May 29 2007 Motsyo Gennadi <drool@altlinux.ru> 0.1-alt0.M24.1
- test build for ALM2.4
[-- Attachment #3: qmmp-0.1-mad_fix.diff --]
[-- Type: text/x-patch, Size: 372 bytes --]
--- qmmp-0.1/lib/libqmmp/Input/mad/mad.pro.orig 2007-05-18 19:51:48 +0400
+++ qmmp-0.1/lib/libqmmp/Input/mad/mad.pro 2007-05-29 19:06:39 +0400
@@ -24,7 +24,7 @@
link_pkgconfig
TEMPLATE = lib
QMAKE_LIBDIR += ../../../
-LIBS += -lqmmp
+LIBS += -lqmmp -lmad
PKGCONFIG += taglib mad
TRANSLATIONS = translations/mad_plugin_ru.ts
RESOURCES = translations/translations.qrc
next prev parent reply other threads:[~2007-05-29 15:41 UTC|newest]
Thread overview: 68+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-25 11:26 Андрей Черепанов
2007-05-26 7:05 ` Artem Zolochevskiy
2007-05-28 16:06 ` Victor
2007-05-28 16:27 ` Андрей Черепанов
2007-05-28 20:16 ` Olvin
2007-05-29 3:53 ` Astakhov Andrey
2007-05-29 4:07 ` Хихин Руслан
2007-06-05 20:20 ` Michael Shigorin
2007-06-06 10:20 ` Andrii Dobrovol`s`kii
2007-06-06 10:33 ` Michael Shigorin
2007-06-06 10:45 ` Андрей Черепанов
2007-06-07 9:30 ` Владимир Гусев
2007-06-07 9:54 ` Андрей Черепанов
2007-06-07 9:56 ` Anatol B. Bazyukin
2007-06-07 10:08 ` Michael Shigorin
2007-06-07 10:24 ` Anatol B. Bazyukin
2007-06-07 10:44 ` Michael Shigorin
2007-06-07 12:52 ` Владимир Гусев
2007-06-07 22:17 ` Michael Shigorin
2007-05-29 7:07 ` Андрей Черепанов
2007-05-29 7:21 ` Motsyo Gennadi aka Drool
2007-05-29 9:35 ` Roman Savochenko
2007-05-29 11:16 ` Motsyo Gennadi aka Drool
2007-05-29 7:54 ` ALT Linux User
2007-05-29 8:02 ` Yuriy Al. Shirokov
2007-05-29 8:17 ` Denis G. Samsonenko
2007-05-29 8:50 ` Yuriy Al. Shirokov
2007-05-29 13:04 ` Pavlov Konstantin
2007-05-29 13:43 ` [Comm] QMMP - " Motsyo Gennadi aka Drool
2007-05-29 15:29 ` [Comm] " Yuriy Al. Shirokov
2007-05-29 15:36 ` Pavlov Konstantin
2007-05-29 15:41 ` Motsyo Gennadi aka Drool [this message]
2007-05-29 15:45 ` Pavlov Konstantin
2007-05-29 16:20 ` Motsyo Gennadi aka Drool
2007-05-29 17:58 ` [Comm] QMMP for Sisyphus - " Motsyo Gennadi aka Drool
2007-05-29 9:24 ` [Comm] " Sergey
2007-05-29 9:55 ` Bogaevskiy Jurij
2007-05-29 10:14 ` Андрей Черепанов
2007-05-29 11:04 ` Bogaevskiy Jurij
2007-05-29 19:27 ` Хихин Руслан
2007-06-05 20:27 ` Michael Shigorin
2007-05-29 8:37 ` Motsyo Gennadi aka Drool
2007-05-29 15:05 ` Maxim Tyurin
2007-05-29 15:15 ` Motsyo Gennadi aka Drool
2007-05-29 15:30 ` ALT Linux User
2007-05-29 15:34 ` Pavlov Konstantin
2007-05-29 15:39 ` ALT Linux User
2007-05-29 15:43 ` Pavlov Konstantin
2007-05-29 15:50 ` Андрей Черепанов
2007-05-30 7:42 ` Maxim Tyurin
2007-05-30 8:28 ` Motsyo Gennadi aka Drool
2007-05-29 15:39 ` Yuriy Al. Shirokov
2007-05-29 15:39 ` Andrey Rahmatullin
2007-05-29 13:05 ` Pavlov Konstantin
2007-05-29 13:31 ` Alexey Morsov
2007-05-29 13:45 ` ALT Linux User
2007-05-29 13:55 ` Alexey Morsov
2007-06-05 20:23 ` Michael Shigorin
2007-05-28 17:21 ` Хихин Руслан
2007-05-28 17:40 ` Michael Shigorin
2007-05-28 18:39 ` Хихин Руслан
2007-05-29 18:37 ` Faizov Alisher
2007-05-29 19:32 ` Хихин Руслан
2007-05-29 20:22 ` Хихин Руслан
2007-05-29 20:31 ` Motsyo Gennadi aka Drool
2007-05-30 3:17 ` Евгений
2007-05-30 3:22 ` ALT Linux User
2007-05-30 6:19 ` Oleg Poteev
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=465C49B5.4040209@gmail.com \
--to=motsyo@gmail.com \
--cc=community@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
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