Bug#498294: easytag: diff for NMU version 2.1.4-1.1

2009-04-20 Thread Michal Čihař
Hi

Dne Sun, 19 Apr 2009 15:13:54 +0200
Benjamin Drung benjamin.dr...@gmail.com napsal(a):

 Version: 2.1.4-1.1
 
 The non-maintainer upload was done on 2008-09-08.

Please do not close bug of package you do not maintain.

Also NMU bugs should be closed when maintainer acknowledges the NMU.

-- 
Michal Čihař | http://cihar.com | http://blog.cihar.com


signature.asc
Description: PGP signature


Bug#498294: easytag: diff for NMU version 2.1.4-1.1

2009-01-29 Thread Javier Serrano Polo
Thanks. Your reply is enough for me.

El dj 29 de 01 de 2009 a les 21:00 +0100, en/na Michal Čihař va
escriure:
 Also unfortunately NMU goal was not achieved as release team did not
 want to accept easytag back after it has been so long out of testing

easytag did reach lenny on 27.




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#498294: easytag: diff for NMU version 2.1.4-1.1

2009-01-27 Thread Javier Serrano Polo
Your NMU has restricted the license from GPL 2+ to GPL 2 only. Is this
intentional?




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#498294: easytag: diff for NMU version 2.1.4-1.1

2008-09-08 Thread Michal Čihař
Package: easytag
Version: 2.1.4-1
Severity: normal
Tags: patch

Hi,

Attached is the diff for my easytag 2.1.4-1.1 NMU.

-- 
Michal Čihař | http://cihar.com | http://blog.cihar.com
diff -u easytag-2.1.4/debian/changelog easytag-2.1.4/debian/changelog
--- easytag-2.1.4/debian/changelog
+++ easytag-2.1.4/debian/changelog
@@ -1,3 +1,18 @@
+easytag (2.1.4-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Warn user when ogg vorbis tags will be lost, fix handling of multiple same
+ogg vorbis tags (Closes: #460247).
+  * Fix lintian warnings:
+- Add watch file.
+- Install icon for menu file (Closes: #477456).
+- Fix section in menu file.
+- Drop version from NAME section of man page to `apropos' and `whatis'
+  happy.
+- Include copyright information in debian/copyright.
+
+ -- Michal Čihař [EMAIL PROTECTED]  Mon, 08 Sep 2008 21:44:11 +0200
+
 easytag (2.1.4-1) unstable; urgency=low
 
   * New upstream version
only in patch2:
unchanged:
--- easytag-2.1.4.orig/src/ogg_tag.c
+++ easytag-2.1.4/src/ogg_tag.c
@@ -271,6 +271,8 @@
 if ( (string = vorbis_comment_query(vc,DATE,0)) != NULL  g_utf8_strlen(string, -1)  0 )
 {
 FileTag-year = g_strdup(string);
+	if(g_utf8_strlen(FileTag-year, -1)  4)
+		Log_Print(LOG_ERROR,_(Warning in %s :- Year of album %s seems to be invalid. The information will be lost while saving Tags.),filename_utf8,FileTag-year);
 }
 
 /*
@@ -564,6 +566,23 @@
 }
 
 
+static gboolean Ogg_Write_DelimeteredTag(vorbis_comment *vc,const gchar *tag,gchar *values){
+	gchar **strings = g_strsplit(values,MULTIFIELD_SEPARATOR,255);
+	unsigned int i=0;
+
+	for(i=0;ig_strv_length(strings);i++)
+	{
+		if(strlen(strings[i])0)
+		{
+		char *string = g_strconcat(tag,strings[i],NULL);
+			vorbis_comment_add(vc,string);
+			g_free(string);
+		}
+	}
+g_strfreev(strings);
+	return TRUE;
+}
+
 
 gboolean Ogg_Tag_Write_File_Tag (ET_File *ETFile)
 {
@@ -646,9 +665,7 @@
  */
 if ( FileTag-title )
 {
-string = g_strconcat(TITLE=,FileTag-title,NULL);
-vorbis_comment_add(vc,string);
-g_free(string);
+	Ogg_Write_DelimeteredTag(vc,TITLE=,FileTag-title);
 }
 
 /**
@@ -656,9 +673,7 @@
  **/
 if ( FileTag-artist )
 {
-string = g_strconcat(ARTIST=,FileTag-artist,NULL);
-vorbis_comment_add(vc,string);
-g_free(string);
+	Ogg_Write_DelimeteredTag(vc,ARTIST=,FileTag-artist);
 }
 
 /*
@@ -666,9 +681,7 @@
  */
 if ( FileTag-album )
 {
-string = g_strconcat(ALBUM=,FileTag-album,NULL);
-vorbis_comment_add(vc,string);
-g_free(string);
+	Ogg_Write_DelimeteredTag(vc,ALBUM=,FileTag-album);
 }
 
 /***
@@ -712,9 +725,7 @@
  */
 if ( FileTag-genre )
 {
-string = g_strconcat(GENRE=,FileTag-genre,NULL);
-vorbis_comment_add(vc,string);
-g_free(string);
+	Ogg_Write_DelimeteredTag(vc,GENRE=,FileTag-genre);
 }
 
 /***
@@ -724,21 +735,17 @@
 if ( FileTag-comment )
 {
 // Format of new specification
-string = g_strconcat(DESCRIPTION=,FileTag-comment,NULL);
-vorbis_comment_add(vc,string);
-g_free(string);
+	Ogg_Write_DelimeteredTag(vc,DESCRIPTION=,FileTag-comment);
+
 
 // Format used in winamp plugin
-string = g_strconcat(COMMENT=,FileTag-comment,NULL);
-vorbis_comment_add(vc,string);
-g_free(string);
+	Ogg_Write_DelimeteredTag(vc,COMMENT=,FileTag-comment);
+
 
 if (OGG_TAG_WRITE_XMMS_COMMENT)
 {
 // Format used into xmms-1.2.5
-string = g_strconcat(=,FileTag-comment,NULL);
-vorbis_comment_add(vc,string);
-g_free(string);
+		Ogg_Write_DelimeteredTag(vc,=,FileTag-comment);
 }
 }
 
@@ -747,9 +754,7 @@
  /
 if ( FileTag-composer )
 {
-string = g_strconcat(COMPOSER=,FileTag-composer,NULL);
-vorbis_comment_add(vc,string);
-g_free(string);
+	Ogg_Write_DelimeteredTag(vc,COMPOSER=,FileTag-composer);
 }
 
 /***
@@ -757,9 +762,7 @@
  ***/
 if ( FileTag-orig_artist )
 {
-string = g_strconcat(PERFORMER=,FileTag-orig_artist,NULL);
-vorbis_comment_add(vc,string);
-g_free(string);
+	Ogg_Write_DelimeteredTag(vc,PERFORMER=,FileTag-orig_artist);
 }
 
 /*
only in patch2:
unchanged:
--- easytag-2.1.4.orig/src/misc.c
+++ easytag-2.1.4/src/misc.c
@@ -463,7 +463,7 @@
 /* Get the current date */
 memcpy(t0, localtime(t), sizeof(struct tm));
 /* Put the current year in 'current_year' tab */
-sprintf(current_year,%d,1900+t0.tm_year);
+sprintf(current_year,%04d,1900+t0.tm_year);
 
 tmp = current_year[4-strlen(year)];
 if ( atoi(year) = atoi(tmp) )
only in patch2:
unchanged:
--- 

Bug#498294: easytag: diff for NMU version 2.1.4-1.1

2008-09-08 Thread Sebastien Bacher
Le lundi 08 septembre 2008 à 21:48 +0200, Michal Čihař a écrit :
 Package: easytag
 Version: 2.1.4-1
 Severity: normal
 Tags: patch
 
 Hi,
 
 Attached is the diff for my easytag 2.1.4-1.1 NMU.

Hi,

the upload has quite some changes which are not required and there is a
new version fixing the bug listed there, I'll do the update so there is
no need to NMU this package now

Sebastien Bacher




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#498294: easytag: diff for NMU version 2.1.4-1.1

2008-09-08 Thread Michal Čihař
Hi

Dne Mon, 08 Sep 2008 22:42:55 +0200
Sebastien Bacher [EMAIL PROTECTED] napsal(a):

 the upload has quite some changes which are not required and there is a
 new version fixing the bug listed there, I'll do the update so there is
 no need to NMU this package now

The package is not in Lenny because of #460247, which has been open for
several months without an action. I made NMU to attempt to get the
package into Lenny. You are of course free to upload 2.1.6, but as
a new upstream version it probably won't be accepted for Lenny.

-- 
Michal Čihař | http://cihar.com | http://blog.cihar.com


signature.asc
Description: PGP signature