Oops, je vois que je n'ai pas présenté ce que c'était !
J'édite mon premier message.
C'est un logiciel de sous-titrage.
J'édite mon premier message.
C'est un logiciel de sous-titrage.
A mon avis tout simplement les dépendances nécessaires sont que dans rpmfusion...madko wrote:si c'est libre pourquoi ne pas demander à l'intégrer dans les dépôts fedora officiels?
Effectivement, gnome-subtitles est beaucoup plus limité.madko wrote:merci pour l'info, je connaissais que gnome-subtitles qui a l'avantage d'etre ultra simple.
En fait il n'est pas nécessaire d'installer les x264/libbut/ffmpeg pour faire marcher Aegisub.MarbolanGos wrote:Moi qui possède une machine virtuelle Windows pour "timer" mes sub avec SubStationAlpha je vais voir ce que ça donne sous Linux. Merci pour le paquet j'essaye !
Par contre si c'est libre pourquoi ne pas demander à l'intégrer dans le dépôt rpmfusion ?
[edit]
Avant installation :
* Peux-tu nous fournir le srpm ?
* Pourquoi a-t'on besoin des paquets x264 et autres ?
--- ffmpeg-0.6/libavutil/common.h.thomas_ext 2010-08-22 04:02:22.059437967 +0900
+++ ffmpeg-0.6/libavutil/common.h 2010-08-22 04:02:52.651204680 +0900
@@ -26,6 +26,17 @@
#ifndef AVUTIL_COMMON_H
#define AVUTIL_COMMON_H
+#define INT8_C(value) ((int8_t) value)
+#define UINT8_C(value) ((uint8_t) __CONCAT(value, U))
+#define INT16_C(value) value
+#define UINT16_C(value) __CONCAT(value, U)
+#define INT32_C(value) __CONCAT(value, L)
+#define UINT32_C(value) __CONCAT(value, UL)
+#define INT64_C(value) __CONCAT(value, LL)
+#define UINT64_C(value) __CONCAT(value, ULL)
+#define INTMAX_C(value) __CONCAT(value, LL)
+#define UINTMAX_C(value) __CONCAT(value, ULL)
+
#include <ctype.h>
#include <errno.h>
#include <inttypes.h>
(j'ajoute des définitions)Effectivement, ils ne pourraient pas être intégrés aux dépôts officiels car ont des dépéndances dans rpmfusion ET libnut (qui n'est même pas dans rpmfusion).MarbolanGos wrote:A mon avis tout simplement les dépendances nécessaires sont que dans rpmfusion...madko wrote:si c'est libre pourquoi ne pas demander à l'intégrer dans les dépôts fedora officiels?
Effectivement j'ai pris les versions SVN (git en fait mais bon c'est pareil).Pikachu_2014 wrote:Un point extrêmement grave : les sources embarquées dans le RPM source ne correspondent pas à celles disponibles sur le site du projet. Aurais-tu repackagé une version SVN ?
Pour le coup du git il est possible de renommer le paquet spécialement par rapport au git (c'est quelque part sur le site anglais).%setup -q -n le_nom_bizarre_choisi
$ cat aegisub.spec
%define shortversion 2.1
%define shortversion2 21
Name: aegisub
Version: 2.1.8
Release: 2%{?dist}
Summary: Subtitle editor
Group: Applications/Multimedia
License: GPLv2+
URL: http://www.aegisub.org
Source0: http://ftp.%{name}.org/pub/releases/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: alsa-lib-devel
BuildRequires: ffmpeg-devel
BuildRequires: hunspell-devel
BuildRequires: libass-devel
BuildRequires: lua-devel
BuildRequires: openal-soft-devel
BuildRequires: portaudio-devel
BuildRequires: pulseaudio-libs-devel
BuildRequires: wxGTK-devel
BuildRequires: gettext
Requires: ffmpeg
Requires: fontconfig
Requires: hunspell
Requires: iconv
%description
Aegisub was originally created as a tool to make typesetting,
particularly in anime fansubs, a less painful experience. At
the time of the start of the project, many other programs
that supported the Advanced Substation Alpha format lacked
(and in many cases, still lack; development on several
competing programs have since been dropped for various
reasons completely unrelated to Aegisub) many vital functions,
or were too buggy and/or unreliable to be really useful.
%prep
%setup -q
%build
%configure \
--enable-shared \
--enable-static \
LDFLAGS=-lz
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
# This does not work... %find_lang %{name}
%clean
rm -rf $RPM_BUILD_ROOT
# Lang are not detected... %files -f %{name}.lang
%files
%defattr(-,root,root,-)
%{_bindir}/%{name}-%{shortversion}
%{_datadir}/%{name}/%{shortversion}/automation/autoload/*.lua
%{_datadir}/%{name}/%{shortversion}/automation/include/*.lua
%{_datadir}/%{name}/%{shortversion}/automation/include/Aegisub/*.pm
%{_datadir}/%{name}/%{shortversion}/automation/include/*.pm
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/16x16/apps/%{name}.png
%{_datadir}/icons/hicolor/22x22/apps/%{name}.png
%{_datadir}/icons/hicolor/24x24/apps/%{name}.png
%{_datadir}/icons/hicolor/32x32/apps/%{name}.png
%{_datadir}/icons/hicolor/48x48/apps/%{name}.png
%{_datadir}/icons/hicolor/64x64/apps/%{name}.png
%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
%{_datadir}/doc/%{name}/%{shortversion}/demos/*.lua
%{_datadir}/doc/%{name}/%{shortversion}/demos/*.ass
%lang(ca) %{_datadir}/locale/ca/LC_MESSAGES/%{name}%{shortversion2}.mo
%lang(cs) %{_datadir}/locale/cs/LC_MESSAGES/%{name}%{shortversion2}.mo
%lang(da) %{_datadir}/locale/da/LC_MESSAGES/%{name}%{shortversion2}.mo
%lang(de) %{_datadir}/locale/de/LC_MESSAGES/%{name}%{shortversion2}.mo
%lang(el) %{_datadir}/locale/el/LC_MESSAGES/%{name}%{shortversion2}.mo
%lang(es) %{_datadir}/locale/es/LC_MESSAGES/%{name}%{shortversion2}.mo
%lang(fi) %{_datadir}/locale/fi/LC_MESSAGES/%{name}%{shortversion2}.mo
%lang(fr_FR) %{_datadir}/locale/fr_FR/LC_MESSAGES/%{name}%{shortversion2}.mo
%lang(hu) %{_datadir}/locale/hu/LC_MESSAGES/%{name}%{shortversion2}.mo
%lang(it) %{_datadir}/locale/it/LC_MESSAGES/%{name}%{shortversion2}.mo
%lang(ja) %{_datadir}/locale/ja/LC_MESSAGES/%{name}%{shortversion2}.mo
%lang(ko) %{_datadir}/locale/ko/LC_MESSAGES/%{name}%{shortversion2}.mo
%lang(pt_BR) %{_datadir}/locale/pt_BR/LC_MESSAGES/%{name}%{shortversion2}.mo
%lang(ru) %{_datadir}/locale/ru/LC_MESSAGES/%{name}%{shortversion2}.mo
%lang(vi) %{_datadir}/locale/vi/LC_MESSAGES/%{name}%{shortversion2}.mo
%lang(zh_CN) %{_datadir}/locale/zh_CN/LC_MESSAGES/%{name}%{shortversion2}.mo
%lang(zh_TW) %{_datadir}/locale/zh_TW/LC_MESSAGES/%{name}%{shortversion2}.mo
%doc
%{_datadir}/doc/%{name}/%{shortversion}/v4-docs/*.txt
%{_datadir}/doc/%{name}/%{shortversion}/v4-docs/*.ass
%{_datadir}/doc/%{name}/%{shortversion}/automation3.txt
%changelog
* Fri Aug 28 2010 MarbolanGos <marbolangos@gmail.com> 2.1.8-2
- Adaptation of the spec file
* Sun Aug 22 2010 $p00ky <$p00ky> 2.1.8-1
- Creation of version 2.1.8 version
Par contre j'ai rencontré un problème à la construction des langues comme indiqué dans la doc pour construire... (voir partie commentée)# yum install mock-rpmfusion\*
Package mock-rpmfusion-nonfree-13.0-1.fc13.noarch already installed and latest version
Package mock-rpmfusion-free-13.0-1.fc13.noarch already installed and latest version
Nothing to do
Je lance la commande suivante :
mock -r fedora-13-x86_64 /home/builder/rpmbuild/SRPMS/aegisub-2.1.8-2.fc13.src.rpm
Et dans la doc : http://doc.fedora-fr.org/wiki/La_cr%C3%A9ation_de_RPM_pour_les_nuls_:_Cr%C3%A9ation_du_fichier_SPEC_et_du_Paquetage