[Easytag-mailing] Patch for EasyTAG 0.26 ( -> 0.26a )
- From: Jérôme Couderc <j couderc ifrance com>
- To: easytag-mailing lists sourceforge net
- Subject: [Easytag-mailing] Patch for EasyTAG 0.26 ( -> 0.26a )
- Date: Thu Jan 9 10:18:04 2003
Hi,
Here is a patch to fix the detection of id3lib version in the
'configure' script. By default, it detects version 3.8.0 for each case.
And this is not a problem for the compilation, if you are using a
version of id3lib equal or superior to 3.8.0.
Jerome
--
EasyTAG - Tag editor for MP3 and OGG files
http://easytag.sourceforge.net
--
Jerome COUDERC <j couderc ifrance com>
diff -ruN easytag-0.26/configure easytag-0.26a/configure
--- easytag-0.26/configure Tue Dec 31 14:24:37 2002
+++ easytag-0.26a/configure Thu Jan 9 18:36:02 2003
@@ -1373,7 +1373,7 @@
PACKAGE=easytag
-VERSION=0.26
+VERSION=0.26a
ALL_LINGUAS="cs de es fr hu it ja nl pl ro ru sv uk"
@@ -8312,8 +8312,7 @@
main ()
{
FILE *output;
- dnl output=fopen("conftest.id3","w"); dnl doesn't work on NetBSD.
- output=fopen("/tmp/conftest.id3","w");
+ output=fopen("conftest.id3","w");
fprintf(output,"ID3LIB_MAJOR=%d\nID3LIB_MINOR=%d\nID3LIB_PATCH=%d\n",ID3LIB_MAJOR_VERSION,ID3LIB_MINOR_VERSION,ID3LIB_PATCH_VERSION);
fclose(output);
exit(0);
@@ -8331,7 +8330,7 @@
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
- . conftest.id3; echo "${ID3LIB_MAJOR}.${ID3LIB_MINOR}.${ID3LIB_PATCH}"
+ . ./conftest.id3; echo "${ID3LIB_MAJOR}.${ID3LIB_MINOR}.${ID3LIB_PATCH}"
else
echo "$as_me: program exited with status $ac_status" >&5
echo "$as_me: failed program was:" >&5
diff -ruN easytag-0.26/configure.in easytag-0.26a/configure.in
--- easytag-0.26/configure.in Tue Dec 31 14:01:27 2002
+++ easytag-0.26a/configure.in Thu Jan 9 18:35:24 2003
@@ -3,7 +3,7 @@
dnl from gettext
PACKAGE=easytag
-VERSION=0.26
+VERSION=0.26a
dnl -------------------------------
dnl Translation files
@@ -141,13 +141,12 @@
main ()
{
FILE *output;
- dnl output=fopen("conftest.id3","w"); dnl doesn't work on NetBSD.
- output=fopen("/tmp/conftest.id3","w");
+ output=fopen("conftest.id3","w");
fprintf(output,"ID3LIB_MAJOR=%d\nID3LIB_MINOR=%d\nID3LIB_PATCH=%d\n",ID3LIB_MAJOR_VERSION,ID3LIB_MINOR_VERSION,ID3LIB_PATCH_VERSION);
fclose(output);
exit(0);
}
-], . conftest.id3; echo "${ID3LIB_MAJOR}.${ID3LIB_MINOR}.${ID3LIB_PATCH}", AC_MSG_WARN(could not determine id3lib version),[echo $ac_n "cross compiling; assuming ${ID3LIB_MAJOR}.${ID3LIB_MINOR}.${ID3LIB_PATCH} $ac_c"])
+], . ./conftest.id3; echo "${ID3LIB_MAJOR}.${ID3LIB_MINOR}.${ID3LIB_PATCH}", AC_MSG_WARN(could not determine id3lib version),[echo $ac_n "cross compiling; assuming ${ID3LIB_MAJOR}.${ID3LIB_MINOR}.${ID3LIB_PATCH} $ac_c"])
AC_DEFINE_UNQUOTED(ID3LIB_MAJOR, $ID3LIB_MAJOR)
AC_DEFINE_UNQUOTED(ID3LIB_MINOR, $ID3LIB_MINOR)
AC_DEFINE_UNQUOTED(ID3LIB_PATCH, $ID3LIB_PATCH)
diff -ruN easytag-0.26/easytag.spec easytag-0.26a/easytag.spec
--- easytag-0.26/easytag.spec Tue Dec 31 14:25:13 2002
+++ easytag-0.26a/easytag.spec Thu Jan 9 18:36:33 2003
@@ -1,5 +1,5 @@
%define name easytag
-%define version 0.26
+%define version 0.26a
%define release 1
%define prefix /usr
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]