GNU EasyTag编译

EasyTag 是开源软件,用于编辑常用音频文件的属性,比如专辑、封面、风格等信息。

类似软件还有  tageditor, 但是  tageditor 对视频文件不支持。

EasyTag网站:https://wiki.gnome.org/Apps/EasyTAG

编译步骤:

1. 从 gitlab 下载代码

git clone https://gitlab.gnome.org/GNOME/easytag.git

2. cd easytag

3. ./autogen.sh

这一步会提示有些依赖库没有安装,按照下面要求安装依赖库:

### Requirements


* GLib version greater than 2.38.0 (http://www.gtk.org)
* GTK+ version greater than 3.14.0 (http://www.gtk.org)
* libid3tag (http://www.underbit.com/products/mad) (if not deactivated by './configure --disable-mp3')
* id3lib version greater than 3.7.12 (http://id3lib.sourceforge.net) (Recommended: id3lib-3.8.3) (if not deactivated by './configure --disable-id3v23')
* flac (http://flac.sourceforge.net) (if not deactivated by './configure --disable-flac')
* libogg and libvorbis (http://www.vorbis.com) (if not deactivated by './configure --disable-ogg')
* libnautilus-extension (https://wiki.gnome.org/Apps/Nautilus) (if not deactivated by ./configure --disable-nautilus-actions')
* libsoup (https://wiki.gnome.org/Projects/libsoup) (if not deactivated for './configure --disable-cddb')
* opus and opusfile (http://www.opus-codec.org/) (if not deactivated by './configure --disable-opus')
* taglib (http://taglib.github.com/) (if not deactivated by './configure --disable-mp4')
* wavpack (http://www.wavpack.com/) (if not deactivated by './configure --disable-wavpack')
* yelp (https://wiki.gnome.org/Apps/Yelp) is required at runtime for showing the user help
* yelp-tools (https://git.gnome.org/browse/yelp-tools)
* libc 6 (glibc 2.1) or greater
* appdata-tools (https://github.com/hughsie/appdata-tools)
* intltool (if not deactivated by './configure --disable-nls')

回到 easytag目录再次执行./autogen.sh,这时候没问题了,结果如下:

Linker ..................: gcc
CDDB support ............: yes
MP3 file support ........: no
ID3v2.3 tags support ....: no
Ogg Vorbis file support .: yes
Ogg Speex file support ..: yes
Ogg Opus file support ...: no
FLAC file support .......: yes
MP4 file support ........: no
WavPack support .........: no
NLS/gettext .............: yes
Nautilus actions ........: no
Tests during make check .: yes

结果缺很多不支持的,这就要下载安装相关的音频格式包了。

easytag文档提到需求:

EasyTAG depends on GTK+ and optionally flac, vorbisfile, ogg, opusfile, speex, id3tag, id3lib, taglib and wavpack libraries.


则安装依赖包:

1. libid3tag 0.15.1b   https://sourceforge.net/projects/mad/files/libid3tag/

2. id3lib 3.8.3  https://sourceforge.net/projects/id3lib/files/

   编译问题: configure: error: Missing a vital header file for id3lib   

   解决:将configure文件中的iomanip.h改为iomanip即可configure通过

错误2:
    include/id3/id3lib_strings.h:87:72: error: 'memmove' was not declared in this scope
解决方案:
    在include/id3/id3lib_strings.h中添加#include <cstring>

错误3:
    include/id3/writers.h:171:5: error: '::memcpy' has not been declared
解决方案:
    在include/id3/writers.h中添加#include <cstring>



评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值