From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <465C49B5.4040209@gmail.com> Date: Tue, 29 May 2007 18:41:41 +0300 From: Motsyo Gennadi aka Drool User-Agent: Thunderbird 1.5.0.8 (X11/20070219) MIME-Version: 1.0 To: ALT Linux Community References: <200705251526.15526.cas@altlinux.ru> <200705282027.24047.cas@altlinux.ru> <465B389A.9030806@rambler.ru> <200705291107.02379.cas@altlinux.ru> <40babb620705290054w3e5b7125ne33fe9f243d2ae93@mail.gmail.com> <7377431a0705290102x378b3cd8saf389ee8da2ee8eb@mail.gmail.com> <957265820705290117m2c67efedwbf4c5d51e7ce6f07@mail.gmail.com> <7377431a0705290150i4affa4dcif9fd4661e4ecca4e@mail.gmail.com> <20070529130435.GA2781@cryo.net.ru> <7377431a0705290829x7691f6c5s6a02ae74fc718e77@mail.gmail.com> In-Reply-To: <7377431a0705290829x7691f6c5s6a02ae74fc718e77@mail.gmail.com> Content-Type: multipart/mixed; boundary="------------030006090601060507010809" Subject: Re: [Comm] ALT Linux 4.0 Desktop X-BeenThere: community@lists.altlinux.org X-Mailman-Version: 2.1.9rc1 Precedence: list Reply-To: ALT Linux Community List-Id: ALT Linux Community List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 May 2007 15:42:06 -0000 Archived-At: List-Archive: List-Post: This is a multi-part message in MIME format. --------------030006090601060507010809 Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 8bit Yuriy Al. Shirokov пишет: > 29.05.07, Pavlov Konstantin написал(а): >>> Только вот не собирается он: >>> /usr/include/ffmpeg/avformat.h:62: error: `INT64_C' was not declared >>> in this scope >> Это элементарно гуглится. > > Н-да? У меня вот ничего не нагуглилось. В чём проблема-то? Прилагаю спек и патч, подсказанный автором QMMP. --------------030006090601060507010809 Content-Type: text/plain; name="qmmp.spec" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="qmmp.spec" %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 0.1-alt0.M24.1 - test build for ALM2.4 --------------030006090601060507010809 Content-Type: text/x-patch; name="qmmp-0.1-mad_fix.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="qmmp-0.1-mad_fix.diff" --- 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 --------------030006090601060507010809--