[arch-commits] Commit in easytag/repos (16 files)
Guillaume Alaux
guillaume at nymeria.archlinux.org
Fri Jan 10 22:37:23 UTC 2014
Date: Friday, January 10, 2014 @ 23:37:23
Author: guillaume
Revision: 203446
archrelease: copy trunk to extra-i686, extra-x86_64
Added:
easytag/repos/extra-i686/PKGBUILD
(from rev 203445, easytag/trunk/PKGBUILD)
easytag/repos/extra-i686/easytag-2.1.8-fix_mime_directory_association.patch
(from rev 203445, easytag/trunk/easytag-2.1.8-fix_mime_directory_association.patch)
easytag/repos/extra-i686/easytag-2.1.8-fix_mixed_declarations_and_code.patch
(from rev 203445, easytag/trunk/easytag-2.1.8-fix_mixed_declarations_and_code.patch)
easytag/repos/extra-i686/easytag.install
(from rev 203445, easytag/trunk/easytag.install)
easytag/repos/extra-x86_64/PKGBUILD
(from rev 203445, easytag/trunk/PKGBUILD)
easytag/repos/extra-x86_64/easytag-2.1.8-fix_mime_directory_association.patch
(from rev 203445, easytag/trunk/easytag-2.1.8-fix_mime_directory_association.patch)
easytag/repos/extra-x86_64/easytag-2.1.8-fix_mixed_declarations_and_code.patch
(from rev 203445, easytag/trunk/easytag-2.1.8-fix_mixed_declarations_and_code.patch)
easytag/repos/extra-x86_64/easytag.install
(from rev 203445, easytag/trunk/easytag.install)
Deleted:
easytag/repos/extra-i686/PKGBUILD
easytag/repos/extra-i686/easytag-2.1.8-fix_mime_directory_association.patch
easytag/repos/extra-i686/easytag-2.1.8-fix_mixed_declarations_and_code.patch
easytag/repos/extra-i686/easytag.install
easytag/repos/extra-x86_64/PKGBUILD
easytag/repos/extra-x86_64/easytag-2.1.8-fix_mime_directory_association.patch
easytag/repos/extra-x86_64/easytag-2.1.8-fix_mixed_declarations_and_code.patch
easytag/repos/extra-x86_64/easytag.install
------------------------------------------------------------------+
/PKGBUILD | 70 ++++++++
/easytag-2.1.8-fix_mime_directory_association.patch | 22 ++
/easytag-2.1.8-fix_mixed_declarations_and_code.patch | 86 ++++++++++
/easytag.install | 24 ++
extra-i686/PKGBUILD | 47 -----
extra-i686/easytag-2.1.8-fix_mime_directory_association.patch | 11 -
extra-i686/easytag-2.1.8-fix_mixed_declarations_and_code.patch | 43 -----
extra-i686/easytag.install | 12 -
extra-x86_64/PKGBUILD | 47 -----
extra-x86_64/easytag-2.1.8-fix_mime_directory_association.patch | 11 -
extra-x86_64/easytag-2.1.8-fix_mixed_declarations_and_code.patch | 43 -----
extra-x86_64/easytag.install | 12 -
12 files changed, 202 insertions(+), 226 deletions(-)
Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD 2014-01-10 22:35:38 UTC (rev 203445)
+++ extra-i686/PKGBUILD 2014-01-10 22:37:23 UTC (rev 203446)
@@ -1,47 +0,0 @@
-# $Id$
-# Maintainer: Guillaume ALAUX <guillaume at archlinux.org>
-# Contributor: Kevin Piche <kevin at archlinux.org>
-# Contributor: Aaron Griffin <aaron at archlinux.org>
-# Contributor: dorphell <dorphell at archlinux.org>
-
-pkgname=easytag
-pkgver=2.1.8
-pkgrel=2
-pkgdesc='Utility for viewing and editing tags for most audio formats'
-arch=('i686' 'x86_64')
-license=('GPL')
-url='http://easytag.sourceforge.net/'
-makedepends=('intltool')
-depends=('id3lib' 'libid3tag' 'gtk2' 'libvorbis' 'flac' 'speex' 'wavpack' 'taglib'
- 'desktop-file-utils' 'hicolor-icon-theme')
-install=${pkgname}.install
-source=(http://download.gnome.org/sources/${pkgname}/${pkgver:0:3}/${pkgname}-${pkgver}.tar.xz
- easytag-2.1.8-fix_mixed_declarations_and_code.patch
- easytag-2.1.8-fix_mime_directory_association.patch)
-sha256sums=('1a2f75c9a70aeb7a404dfaa96e0df0eaaa325df301c58f0f708d0da4c08e65a9'
- '453d2a102cf482d6d1586b11e531bf267f302aab3ee6b8c43b6bcc61cfa2ede5'
- '693da67f0c96d51ad363bb9e70a22b402bc7c5058d648981919a115381700cd3')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- # Already fixed upstream
- # http://git.gnome.org/browse/easytag/commit/src/wavpack_tag.c?id=17a33964c32035f6b9986e13726ae3582a126244
- patch -p0 -i ${srcdir}/easytag-2.1.8-fix_mixed_declarations_and_code.patch
-
- # Bad Easytag! Bad! You don't know your place!
- patch -p0 -i ${srcdir}/easytag-2.1.8-fix_mime_directory_association.patch
-
- ./configure --prefix=/usr
- make
-}
-
-check() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make -k check
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
-}
Copied: easytag/repos/extra-i686/PKGBUILD (from rev 203445, easytag/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD (rev 0)
+++ extra-i686/PKGBUILD 2014-01-10 22:37:23 UTC (rev 203446)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Guillaume ALAUX <guillaume at archlinux.org>
+# Contributor: Kevin Piche <kevin at archlinux.org>
+# Contributor: Aaron Griffin <aaron at archlinux.org>
+# Contributor: dorphell <dorphell at archlinux.org>
+
+pkgname=easytag
+pkgver=2.1.9
+pkgrel=1
+pkgdesc='Utility for viewing and editing tags for most audio formats'
+arch=('i686' 'x86_64')
+license=('GPL')
+url='http://easytag.sourceforge.net/'
+makedepends=('intltool' 'itstool')
+depends=('id3lib' 'libid3tag' 'gtk2' 'libvorbis' 'flac' 'speex' 'wavpack' 'taglib'
+ 'desktop-file-utils' 'hicolor-icon-theme')
+install=${pkgname}.install
+source=(http://download.gnome.org/sources/${pkgname}/${pkgver:0:3}/${pkgname}-${pkgver}.tar.xz)
+sha256sums=('f5a6e742a458ef6f48f2d5e98a24182a9c87a213e847fcce75c757ac90273501')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr
+ make
+}
+
+check() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make -k check
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
Deleted: extra-i686/easytag-2.1.8-fix_mime_directory_association.patch
===================================================================
--- extra-i686/easytag-2.1.8-fix_mime_directory_association.patch 2014-01-10 22:35:38 UTC (rev 203445)
+++ extra-i686/easytag-2.1.8-fix_mime_directory_association.patch 2014-01-10 22:37:23 UTC (rev 203446)
@@ -1,11 +0,0 @@
---- easytag.desktop.in.orig 2013-02-21 21:34:14.651046456 +0100
-+++ easytag.desktop.in 2013-02-21 21:34:29.327914099 +0100
-@@ -6,7 +6,7 @@
- Type=Application
- Icon=easytag
- Categories=GTK;AudioVideo;AudioVideoEditing;
--MimeType=x-directory/normal;inode/directory;audio/x-mp3;audio/x-mpeg;audio/mpeg;application/ogg;audio/x-vorbis+ogg;audio/x-flac;audio/x-musepack;audio/x-ape;
-+MimeType=audio/x-mp3;audio/x-mpeg;audio/mpeg;application/ogg;audio/x-vorbis+ogg;audio/x-flac;audio/x-musepack;audio/x-ape;
- Exec=easytag %F
- Terminal=false
- StartupNotify=true
Copied: easytag/repos/extra-i686/easytag-2.1.8-fix_mime_directory_association.patch (from rev 203445, easytag/trunk/easytag-2.1.8-fix_mime_directory_association.patch)
===================================================================
--- extra-i686/easytag-2.1.8-fix_mime_directory_association.patch (rev 0)
+++ extra-i686/easytag-2.1.8-fix_mime_directory_association.patch 2014-01-10 22:37:23 UTC (rev 203446)
@@ -0,0 +1,11 @@
+--- easytag.desktop.in.orig 2013-02-21 21:34:14.651046456 +0100
++++ easytag.desktop.in 2013-02-21 21:34:29.327914099 +0100
+@@ -6,7 +6,7 @@
+ Type=Application
+ Icon=easytag
+ Categories=GTK;AudioVideo;AudioVideoEditing;
+-MimeType=x-directory/normal;inode/directory;audio/x-mp3;audio/x-mpeg;audio/mpeg;application/ogg;audio/x-vorbis+ogg;audio/x-flac;audio/x-musepack;audio/x-ape;
++MimeType=audio/x-mp3;audio/x-mpeg;audio/mpeg;application/ogg;audio/x-vorbis+ogg;audio/x-flac;audio/x-musepack;audio/x-ape;
+ Exec=easytag %F
+ Terminal=false
+ StartupNotify=true
Deleted: extra-i686/easytag-2.1.8-fix_mixed_declarations_and_code.patch
===================================================================
--- extra-i686/easytag-2.1.8-fix_mixed_declarations_and_code.patch 2014-01-10 22:35:38 UTC (rev 203445)
+++ extra-i686/easytag-2.1.8-fix_mixed_declarations_and_code.patch 2014-01-10 22:37:23 UTC (rev 203446)
@@ -1,43 +0,0 @@
---- src/wavpack_tag.c
-+++ src/wavpack_tag.c
-@@ -82,15 +82,15 @@ gboolean Wavpack_Tag_Write_File (FILE *file_in, gchar *filename_in, vcedit_state
- */
- gboolean Wavpack_Tag_Read_File_Tag (gchar *filename, File_Tag *FileTag)
- {
-- if (!filename || !FileTag)
-- return FALSE;
--
- WavpackContext *wpc;
- gchar *field, *field2;
- guint length;
-
- int open_flags = OPEN_TAGS;
-
-+ if (!filename || !FileTag)
-+ return FALSE;
-+
- wpc = WavpackOpenFileInput(filename, NULL, open_flags, 0);
-
- if ( wpc == NULL ) {
-@@ -271,9 +271,6 @@ gboolean Wavpack_Tag_Read_File_Tag (gchar *filename, File_Tag *FileTag)
-
- gboolean Wavpack_Tag_Write_File_Tag (ET_File *ETFile)
- {
-- if (!ETFile || !ETFile->FileTag)
-- return FALSE;
--
- WavpackContext *wpc;
-
- gchar *filename = ((File_Name *)((GList *)ETFile->FileNameCur)->data)->value;
-@@ -282,6 +279,9 @@ gboolean Wavpack_Tag_Write_File_Tag (ET_File *ETFile)
-
- int open_flags = OPEN_EDIT_TAGS;
-
-+ if (!ETFile || !ETFile->FileTag)
-+ return FALSE;
-+
- wpc = WavpackOpenFileInput(filename, NULL, open_flags, 0);
-
- if ( wpc == NULL ) {
---
-cgit v0.9.1
Copied: easytag/repos/extra-i686/easytag-2.1.8-fix_mixed_declarations_and_code.patch (from rev 203445, easytag/trunk/easytag-2.1.8-fix_mixed_declarations_and_code.patch)
===================================================================
--- extra-i686/easytag-2.1.8-fix_mixed_declarations_and_code.patch (rev 0)
+++ extra-i686/easytag-2.1.8-fix_mixed_declarations_and_code.patch 2014-01-10 22:37:23 UTC (rev 203446)
@@ -0,0 +1,43 @@
+--- src/wavpack_tag.c
++++ src/wavpack_tag.c
+@@ -82,15 +82,15 @@ gboolean Wavpack_Tag_Write_File (FILE *file_in, gchar *filename_in, vcedit_state
+ */
+ gboolean Wavpack_Tag_Read_File_Tag (gchar *filename, File_Tag *FileTag)
+ {
+- if (!filename || !FileTag)
+- return FALSE;
+-
+ WavpackContext *wpc;
+ gchar *field, *field2;
+ guint length;
+
+ int open_flags = OPEN_TAGS;
+
++ if (!filename || !FileTag)
++ return FALSE;
++
+ wpc = WavpackOpenFileInput(filename, NULL, open_flags, 0);
+
+ if ( wpc == NULL ) {
+@@ -271,9 +271,6 @@ gboolean Wavpack_Tag_Read_File_Tag (gchar *filename, File_Tag *FileTag)
+
+ gboolean Wavpack_Tag_Write_File_Tag (ET_File *ETFile)
+ {
+- if (!ETFile || !ETFile->FileTag)
+- return FALSE;
+-
+ WavpackContext *wpc;
+
+ gchar *filename = ((File_Name *)((GList *)ETFile->FileNameCur)->data)->value;
+@@ -282,6 +279,9 @@ gboolean Wavpack_Tag_Write_File_Tag (ET_File *ETFile)
+
+ int open_flags = OPEN_EDIT_TAGS;
+
++ if (!ETFile || !ETFile->FileTag)
++ return FALSE;
++
+ wpc = WavpackOpenFileInput(filename, NULL, open_flags, 0);
+
+ if ( wpc == NULL ) {
+--
+cgit v0.9.1
Deleted: extra-i686/easytag.install
===================================================================
--- extra-i686/easytag.install 2014-01-10 22:35:38 UTC (rev 203445)
+++ extra-i686/easytag.install 2014-01-10 22:37:23 UTC (rev 203446)
@@ -1,12 +0,0 @@
-post_install() {
- xdg-icon-resource forceupdate --theme hicolor 2> /dev/null
- update-desktop-database -q
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- post_install
-}
Copied: easytag/repos/extra-i686/easytag.install (from rev 203445, easytag/trunk/easytag.install)
===================================================================
--- extra-i686/easytag.install (rev 0)
+++ extra-i686/easytag.install 2014-01-10 22:37:23 UTC (rev 203446)
@@ -0,0 +1,12 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor 2> /dev/null
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD 2014-01-10 22:35:38 UTC (rev 203445)
+++ extra-x86_64/PKGBUILD 2014-01-10 22:37:23 UTC (rev 203446)
@@ -1,47 +0,0 @@
-# $Id$
-# Maintainer: Guillaume ALAUX <guillaume at archlinux.org>
-# Contributor: Kevin Piche <kevin at archlinux.org>
-# Contributor: Aaron Griffin <aaron at archlinux.org>
-# Contributor: dorphell <dorphell at archlinux.org>
-
-pkgname=easytag
-pkgver=2.1.8
-pkgrel=2
-pkgdesc='Utility for viewing and editing tags for most audio formats'
-arch=('i686' 'x86_64')
-license=('GPL')
-url='http://easytag.sourceforge.net/'
-makedepends=('intltool')
-depends=('id3lib' 'libid3tag' 'gtk2' 'libvorbis' 'flac' 'speex' 'wavpack' 'taglib'
- 'desktop-file-utils' 'hicolor-icon-theme')
-install=${pkgname}.install
-source=(http://download.gnome.org/sources/${pkgname}/${pkgver:0:3}/${pkgname}-${pkgver}.tar.xz
- easytag-2.1.8-fix_mixed_declarations_and_code.patch
- easytag-2.1.8-fix_mime_directory_association.patch)
-sha256sums=('1a2f75c9a70aeb7a404dfaa96e0df0eaaa325df301c58f0f708d0da4c08e65a9'
- '453d2a102cf482d6d1586b11e531bf267f302aab3ee6b8c43b6bcc61cfa2ede5'
- '693da67f0c96d51ad363bb9e70a22b402bc7c5058d648981919a115381700cd3')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- # Already fixed upstream
- # http://git.gnome.org/browse/easytag/commit/src/wavpack_tag.c?id=17a33964c32035f6b9986e13726ae3582a126244
- patch -p0 -i ${srcdir}/easytag-2.1.8-fix_mixed_declarations_and_code.patch
-
- # Bad Easytag! Bad! You don't know your place!
- patch -p0 -i ${srcdir}/easytag-2.1.8-fix_mime_directory_association.patch
-
- ./configure --prefix=/usr
- make
-}
-
-check() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make -k check
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
-}
Copied: easytag/repos/extra-x86_64/PKGBUILD (from rev 203445, easytag/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD (rev 0)
+++ extra-x86_64/PKGBUILD 2014-01-10 22:37:23 UTC (rev 203446)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Guillaume ALAUX <guillaume at archlinux.org>
+# Contributor: Kevin Piche <kevin at archlinux.org>
+# Contributor: Aaron Griffin <aaron at archlinux.org>
+# Contributor: dorphell <dorphell at archlinux.org>
+
+pkgname=easytag
+pkgver=2.1.9
+pkgrel=1
+pkgdesc='Utility for viewing and editing tags for most audio formats'
+arch=('i686' 'x86_64')
+license=('GPL')
+url='http://easytag.sourceforge.net/'
+makedepends=('intltool' 'itstool')
+depends=('id3lib' 'libid3tag' 'gtk2' 'libvorbis' 'flac' 'speex' 'wavpack' 'taglib'
+ 'desktop-file-utils' 'hicolor-icon-theme')
+install=${pkgname}.install
+source=(http://download.gnome.org/sources/${pkgname}/${pkgver:0:3}/${pkgname}-${pkgver}.tar.xz)
+sha256sums=('f5a6e742a458ef6f48f2d5e98a24182a9c87a213e847fcce75c757ac90273501')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr
+ make
+}
+
+check() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make -k check
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
Deleted: extra-x86_64/easytag-2.1.8-fix_mime_directory_association.patch
===================================================================
--- extra-x86_64/easytag-2.1.8-fix_mime_directory_association.patch 2014-01-10 22:35:38 UTC (rev 203445)
+++ extra-x86_64/easytag-2.1.8-fix_mime_directory_association.patch 2014-01-10 22:37:23 UTC (rev 203446)
@@ -1,11 +0,0 @@
---- easytag.desktop.in.orig 2013-02-21 21:34:14.651046456 +0100
-+++ easytag.desktop.in 2013-02-21 21:34:29.327914099 +0100
-@@ -6,7 +6,7 @@
- Type=Application
- Icon=easytag
- Categories=GTK;AudioVideo;AudioVideoEditing;
--MimeType=x-directory/normal;inode/directory;audio/x-mp3;audio/x-mpeg;audio/mpeg;application/ogg;audio/x-vorbis+ogg;audio/x-flac;audio/x-musepack;audio/x-ape;
-+MimeType=audio/x-mp3;audio/x-mpeg;audio/mpeg;application/ogg;audio/x-vorbis+ogg;audio/x-flac;audio/x-musepack;audio/x-ape;
- Exec=easytag %F
- Terminal=false
- StartupNotify=true
Copied: easytag/repos/extra-x86_64/easytag-2.1.8-fix_mime_directory_association.patch (from rev 203445, easytag/trunk/easytag-2.1.8-fix_mime_directory_association.patch)
===================================================================
--- extra-x86_64/easytag-2.1.8-fix_mime_directory_association.patch (rev 0)
+++ extra-x86_64/easytag-2.1.8-fix_mime_directory_association.patch 2014-01-10 22:37:23 UTC (rev 203446)
@@ -0,0 +1,11 @@
+--- easytag.desktop.in.orig 2013-02-21 21:34:14.651046456 +0100
++++ easytag.desktop.in 2013-02-21 21:34:29.327914099 +0100
+@@ -6,7 +6,7 @@
+ Type=Application
+ Icon=easytag
+ Categories=GTK;AudioVideo;AudioVideoEditing;
+-MimeType=x-directory/normal;inode/directory;audio/x-mp3;audio/x-mpeg;audio/mpeg;application/ogg;audio/x-vorbis+ogg;audio/x-flac;audio/x-musepack;audio/x-ape;
++MimeType=audio/x-mp3;audio/x-mpeg;audio/mpeg;application/ogg;audio/x-vorbis+ogg;audio/x-flac;audio/x-musepack;audio/x-ape;
+ Exec=easytag %F
+ Terminal=false
+ StartupNotify=true
Deleted: extra-x86_64/easytag-2.1.8-fix_mixed_declarations_and_code.patch
===================================================================
--- extra-x86_64/easytag-2.1.8-fix_mixed_declarations_and_code.patch 2014-01-10 22:35:38 UTC (rev 203445)
+++ extra-x86_64/easytag-2.1.8-fix_mixed_declarations_and_code.patch 2014-01-10 22:37:23 UTC (rev 203446)
@@ -1,43 +0,0 @@
---- src/wavpack_tag.c
-+++ src/wavpack_tag.c
-@@ -82,15 +82,15 @@ gboolean Wavpack_Tag_Write_File (FILE *file_in, gchar *filename_in, vcedit_state
- */
- gboolean Wavpack_Tag_Read_File_Tag (gchar *filename, File_Tag *FileTag)
- {
-- if (!filename || !FileTag)
-- return FALSE;
--
- WavpackContext *wpc;
- gchar *field, *field2;
- guint length;
-
- int open_flags = OPEN_TAGS;
-
-+ if (!filename || !FileTag)
-+ return FALSE;
-+
- wpc = WavpackOpenFileInput(filename, NULL, open_flags, 0);
-
- if ( wpc == NULL ) {
-@@ -271,9 +271,6 @@ gboolean Wavpack_Tag_Read_File_Tag (gchar *filename, File_Tag *FileTag)
-
- gboolean Wavpack_Tag_Write_File_Tag (ET_File *ETFile)
- {
-- if (!ETFile || !ETFile->FileTag)
-- return FALSE;
--
- WavpackContext *wpc;
-
- gchar *filename = ((File_Name *)((GList *)ETFile->FileNameCur)->data)->value;
-@@ -282,6 +279,9 @@ gboolean Wavpack_Tag_Write_File_Tag (ET_File *ETFile)
-
- int open_flags = OPEN_EDIT_TAGS;
-
-+ if (!ETFile || !ETFile->FileTag)
-+ return FALSE;
-+
- wpc = WavpackOpenFileInput(filename, NULL, open_flags, 0);
-
- if ( wpc == NULL ) {
---
-cgit v0.9.1
Copied: easytag/repos/extra-x86_64/easytag-2.1.8-fix_mixed_declarations_and_code.patch (from rev 203445, easytag/trunk/easytag-2.1.8-fix_mixed_declarations_and_code.patch)
===================================================================
--- extra-x86_64/easytag-2.1.8-fix_mixed_declarations_and_code.patch (rev 0)
+++ extra-x86_64/easytag-2.1.8-fix_mixed_declarations_and_code.patch 2014-01-10 22:37:23 UTC (rev 203446)
@@ -0,0 +1,43 @@
+--- src/wavpack_tag.c
++++ src/wavpack_tag.c
+@@ -82,15 +82,15 @@ gboolean Wavpack_Tag_Write_File (FILE *file_in, gchar *filename_in, vcedit_state
+ */
+ gboolean Wavpack_Tag_Read_File_Tag (gchar *filename, File_Tag *FileTag)
+ {
+- if (!filename || !FileTag)
+- return FALSE;
+-
+ WavpackContext *wpc;
+ gchar *field, *field2;
+ guint length;
+
+ int open_flags = OPEN_TAGS;
+
++ if (!filename || !FileTag)
++ return FALSE;
++
+ wpc = WavpackOpenFileInput(filename, NULL, open_flags, 0);
+
+ if ( wpc == NULL ) {
+@@ -271,9 +271,6 @@ gboolean Wavpack_Tag_Read_File_Tag (gchar *filename, File_Tag *FileTag)
+
+ gboolean Wavpack_Tag_Write_File_Tag (ET_File *ETFile)
+ {
+- if (!ETFile || !ETFile->FileTag)
+- return FALSE;
+-
+ WavpackContext *wpc;
+
+ gchar *filename = ((File_Name *)((GList *)ETFile->FileNameCur)->data)->value;
+@@ -282,6 +279,9 @@ gboolean Wavpack_Tag_Write_File_Tag (ET_File *ETFile)
+
+ int open_flags = OPEN_EDIT_TAGS;
+
++ if (!ETFile || !ETFile->FileTag)
++ return FALSE;
++
+ wpc = WavpackOpenFileInput(filename, NULL, open_flags, 0);
+
+ if ( wpc == NULL ) {
+--
+cgit v0.9.1
Deleted: extra-x86_64/easytag.install
===================================================================
--- extra-x86_64/easytag.install 2014-01-10 22:35:38 UTC (rev 203445)
+++ extra-x86_64/easytag.install 2014-01-10 22:37:23 UTC (rev 203446)
@@ -1,12 +0,0 @@
-post_install() {
- xdg-icon-resource forceupdate --theme hicolor 2> /dev/null
- update-desktop-database -q
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- post_install
-}
Copied: easytag/repos/extra-x86_64/easytag.install (from rev 203445, easytag/trunk/easytag.install)
===================================================================
--- extra-x86_64/easytag.install (rev 0)
+++ extra-x86_64/easytag.install 2014-01-10 22:37:23 UTC (rev 203446)
@@ -0,0 +1,12 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor 2> /dev/null
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
More information about the arch-commits
mailing list