diff options
author | Alexandre Rostovtsev <tetromino@gentoo.org> | 2013-06-17 04:17:57 +0000 |
---|---|---|
committer | Alexandre Rostovtsev <tetromino@gentoo.org> | 2013-06-17 04:17:57 +0000 |
commit | 792e2f966b2174ae827c51411e84ec8cc56a7af2 (patch) | |
tree | 03192d018cb8dd5536acb6f025e74e583d282c06 /dev-libs/libmirage | |
parent | Migrate to distutils-r1, remove old. (diff) | |
download | gentoo-2-792e2f966b2174ae827c51411e84ec8cc56a7af2.tar.gz gentoo-2-792e2f966b2174ae827c51411e84ec8cc56a7af2.tar.bz2 gentoo-2-792e2f966b2174ae827c51411e84ec8cc56a7af2.zip |
Version bump, adds support for hard disk images and Apple .SMI (NDIF) images (bug #472784, thanks to Henrik Stokseth and Rafał Mużyło).
(Portage version: 2.2.0_alpha180/cvs/Linux x86_64, signed Manifest commit with key CF0ADD61)
Diffstat (limited to 'dev-libs/libmirage')
-rw-r--r-- | dev-libs/libmirage/ChangeLog | 9 | ||||
-rw-r--r-- | dev-libs/libmirage/files/libmirage-2.1.0-DISABLE_DEPRECATED.patch | 35 | ||||
-rw-r--r-- | dev-libs/libmirage/libmirage-2.1.0.ebuild | 57 |
3 files changed, 100 insertions, 1 deletions
diff --git a/dev-libs/libmirage/ChangeLog b/dev-libs/libmirage/ChangeLog index 90c3f9b54be9..d7dec0cf42c5 100644 --- a/dev-libs/libmirage/ChangeLog +++ b/dev-libs/libmirage/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-libs/libmirage # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libmirage/ChangeLog,v 1.27 2013/02/02 22:03:29 tetromino Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libmirage/ChangeLog,v 1.28 2013/06/17 04:17:57 tetromino Exp $ + +*libmirage-2.1.0 (17 Jun 2013) + + 17 Jun 2013; Alexandre Rostovtsev <tetromino@gentoo.org> + +libmirage-2.1.0.ebuild, +files/libmirage-2.1.0-DISABLE_DEPRECATED.patch: + Version bump, adds support for hard disk images and Apple .SMI (NDIF) images + (bug #472784, thanks to Henrik Stokseth and Rafał Mużyło). 02 Feb 2013; Alexandre Rostovtsev <tetromino@gentoo.org> libmirage-2.0.0.ebuild: diff --git a/dev-libs/libmirage/files/libmirage-2.1.0-DISABLE_DEPRECATED.patch b/dev-libs/libmirage/files/libmirage-2.1.0-DISABLE_DEPRECATED.patch new file mode 100644 index 000000000000..679a5f17d4c6 --- /dev/null +++ b/dev-libs/libmirage/files/libmirage-2.1.0-DISABLE_DEPRECATED.patch @@ -0,0 +1,35 @@ +From 0d9ce2618014c41b5aefce8355af95b0d1119d85 Mon Sep 17 00:00:00 2001 +From: Henrik Stokseth <hstokset@users.sourceforge.net> +Date: Mon, 10 Jun 2013 03:42:49 +0200 +Subject: [PATCH] All: Stop defining G_DISABLE_DEPRECATED. + +Defining G_DISABLE_DEPRECATED is a bad idea. For one it means deprecated +functions etc. is effectively removed by the preprocessor. This breaks +compilation on certain setups (read: Launchpad compiler farm), since +the functions are not declared and therefore you get warnings about +the calls being implicit. And on setups that compiles the code, the +resulting code might result in undefined behaviour, in particular on +64-bit platforms. + +Note that on supported compilers such as GCC, you will still get warnings +about calling deprecated functions without this define in place. +--- + libmirage/CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/libmirage/CMakeLists.txt b/libmirage/CMakeLists.txt +index 6d33b40..c5a8728 100644 +--- a/libmirage/CMakeLists.txt ++++ b/libmirage/CMakeLists.txt +@@ -84,7 +84,7 @@ configure_file ( + + # Global definitions + add_definitions (-std=c99) # We're compiling using C99 +-add_definitions (-DHAVE_CONFIG_H -DG_DISABLE_DEPRECATED) ++add_definitions (-DHAVE_CONFIG_H) + + if (CMAKE_COMPILER_IS_GNUCC) + add_definitions (-Wall -Wextra -Wshadow -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align) +-- +1.8.2.1 + diff --git a/dev-libs/libmirage/libmirage-2.1.0.ebuild b/dev-libs/libmirage/libmirage-2.1.0.ebuild new file mode 100644 index 000000000000..c5a2a54e75bd --- /dev/null +++ b/dev-libs/libmirage/libmirage-2.1.0.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libmirage/libmirage-2.1.0.ebuild,v 1.1 2013/06/17 04:17:57 tetromino Exp $ + +EAPI="5" + +CMAKE_MIN_VERSION="2.8.5" + +inherit cmake-utils eutils fdo-mime toolchain-funcs versionator + +DESCRIPTION="CD and DVD image access library" +HOMEPAGE="http://cdemu.org" +SRC_URI="mirror://sourceforge/cdemu/${P}.tar.bz2" + +LICENSE="GPL-2+" +SLOT="0/8" # subslot = libmirage soname version +KEYWORDS="~amd64 ~hppa ~x86" +IUSE="doc +introspection" + +RDEPEND=">=app-arch/bzip2-1:= + >=app-arch/xz-utils-5:= + >=dev-libs/glib-2.24:2 + >=media-libs/libsamplerate-0.1:= + >=media-libs/libsndfile-1.0:= + sys-libs/zlib:= + introspection? ( >=dev-libs/gobject-introspection-1.30 )" +DEPEND="${RDEPEND} + dev-util/desktop-file-utils + virtual/pkgconfig + doc? ( dev-util/gtk-doc )" + +src_prepare() { + PATCHES=( "${FILESDIR}/${P}-DISABLE_DEPRECATED.patch" ) + cmake-utils_src_prepare +} + +src_configure() { + local mycmakeargs=( + $(cmake-utils_use doc GTKDOC_ENABLED) + $(cmake-utils_use introspection INTROSPECTION_ENABLED) + ) + cmake-utils_src_configure +} + +src_install() { + DOCS="AUTHORS README" + cmake-utils_src_install + prune_libtool_files --modules +} + +pkg_postinst() { + fdo-mime_mime_database_update +} + +pkg_postrm() { + fdo-mime_mime_database_update +} |