[mdk] Bumped mdk to the latest version. Added patch to enable deprecated functions in GLIB

Stjepan Gros sgros at fedoraproject.org
Tue Feb 26 08:46:29 UTC 2013


commit 6ee0167917da08de1ecacd3de713b0b50aeb64ce
Author: Stjepan Groš <stjepan.gros at gmail.com>
Date:   Tue Feb 26 09:46:03 2013 +0100

    Bumped mdk to the latest version.
    Added patch to enable deprecated functions in GLIB

 .gitignore            |    1 +
 glib-deprecated.patch |   12 ++++++++++++
 mdk.spec              |   14 +++++++++++---
 sources               |    2 +-
 4 files changed, 25 insertions(+), 4 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 4c90439..412b180 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 mdk-1.2.5.tar.gz
+/mdk-1.2.7.tar.gz
diff --git a/glib-deprecated.patch b/glib-deprecated.patch
new file mode 100644
index 0000000..46cc5e7
--- /dev/null
+++ b/glib-deprecated.patch
@@ -0,0 +1,12 @@
+diff -urN mdk-1.2.7.orig/configure.ac mdk-1.2.7/configure.ac
+--- mdk-1.2.7.orig/configure.ac	2013-02-18 05:34:58.000000000 +0100
++++ mdk-1.2.7/configure.ac	2013-02-26 09:22:55.832638350 +0100
+@@ -105,7 +105,7 @@
+ PKG_CHECK_MODULES(GLIB,glib-2.0 >= 2.0)
+ 
+ LIBS="$LIBS $GLIB_LIBS"
+-AM_CFLAGS="$AM_CFLAGS $GLIB_CFLAGS -DG_DISABLE_DEPRECATED"
++AM_CFLAGS="$AM_CFLAGS $GLIB_CFLAGS"
+ 
+ dnl Check if the gtk gui is required
+ AC_ARG_ENABLE(gui,
diff --git a/mdk.spec b/mdk.spec
index 698b3eb..eb3bf7f 100644
--- a/mdk.spec
+++ b/mdk.spec
@@ -1,6 +1,6 @@
 Name:		mdk
-Version:	1.2.5
-Release:	7%{?dist}
+Version:	1.2.7
+Release:	1%{?dist}
 Summary:	GNU MIX Development Kit
 
 Group:		Applications/Emulators
@@ -8,6 +8,7 @@ License:	GPLv3+ and GFDL
 URL:		http://www.gnu.org/software/mdk/
 Source0:	http://ftp.gnu.org/gnu/mdk/v1.2.5/%{name}-%{version}.tar.gz
 Source1:	mdk.desktop
+Patch0:		glib-deprecated.patch
 Requires(post):	/sbin/install-info
 Requires(preun): /sbin/install-info
 BuildRequires:	guile-devel
@@ -46,6 +47,8 @@ Samples and documentation for the MDK package.
 
 %prep
 %setup -q
+%patch0 -p1
+autoconf
 
 %build
 %configure
@@ -75,7 +78,7 @@ fi
 
 %files -f %{name}.lang
 %defattr(-,root,root,-)
-%doc AUTHORS COPYING README TODO THANKS
+%doc AUTHORS COPYING README THANKS
 %{_bindir}/mixasm
 %{_bindir}/mixvm
 %{_bindir}/gmixvm
@@ -89,6 +92,11 @@ fi
 %doc samples doc
 
 %changelog
+* Tue Feb 26 2013 Stjepan Gros <stjepan.gros at gmail.com> - 1.2.7-1
+- Bump to a new upstream version
+- GCompletition is deprecated and disabled by default so a flag was added to enable it
+- Removed TODO packaging
+
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.2.5-7
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 
diff --git a/sources b/sources
index 60916f5..33dc2b0 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-7dce75b47695ef90ff3abfaf4e3d77fc  mdk-1.2.5.tar.gz
+ab5ceb4363958261fd5e0614c9c11701  mdk-1.2.7.tar.gz


More information about the scm-commits mailing list