Bug#682349: gcc-4.4: please drop Objective C support
Source: gcc-4.4
Version: 4.4.7-1
Severity: important
Justification: http://bugs.debian.org/675431#47
Control: block 675431 by -1
Tags: patch
Hi,
I had been wondering why gcc-4.5 was still in the archive.
It seems that one reason is gobjc-4.4's dependency on
libgobjc2 which is currently built from the gcc-4.5 source
package. Luckily we already have gobjc-4.6 and -4.7 in the
archive so the -4.4 version is not really needed.
Filing this bug so others can learn the same more quickly.
How about this patch?
Thanks,
Jonathan
Index: debian/rules.conf
===================================================================
--- debian/rules.conf (revision 6085)
+++ debian/rules.conf (working copy)
@@ -569,13 +569,13 @@
addons += libgcc gccxbase
endif
else
-languages = c c++ fortran objc objpp
+languages = c c++ fortran # objc objpp
ifeq ($(DEB_CROSS),yes)
addons = gccxbase
else
addons = gccbase
endif
-addons += cdev c++dev fdev objcdev source objppdev multilib
+addons += cdev c++dev fdev source multilib # objcdev objppdev
ifneq (,$(filter yes,$(with_libgcc) $(keep_in_control)))
addons += libgcc lib4gcc lib32gcc lib64gcc libn32gcc
endif
Index: debian/changelog
===================================================================
--- debian/changelog (revision 6085)
+++ debian/changelog (working copy)
@@ -1,3 +1,9 @@
+gcc-4.4 (4.4.7-2) UNRELEASED; urgency=low
+
+ * Disable ObjC and Obj-C++ packages.
+
+ -- Jonathan Nieder <jrnieder@gmail.com> Sat, 21 Jul 2012 16:23:43 -0500
+
gcc-4.4 (4.4.7-1) unstable; urgency=low
* GCC 4.4.7 release.
Index: debian/rules.defs
===================================================================
--- debian/rules.defs (revision 6085)
+++ debian/rules.defs (working copy)
@@ -731,6 +731,7 @@
ifeq ($(objc_no_cross)-$(DEB_CROSS),yes-yes)
with_objc := diasbled for cross compiler package
endif
+with_objc := disabled for gcc-4.4/wheezy
with_objc := $(call envfilt, objc, obj-c++, , $(with_objc))
ifeq ($(with_objc),yes)
@@ -769,6 +770,7 @@
ifeq ($(objcxx_no_cross)-$(DEB_CROSS),yes-yes)
with_objcxx := diasbled for cross compiler package
endif
+with_objcxx := disabled for gcc-4.4/wheezy
with_objcxx := $(call envfilt, obj-c++, , c++ objc, $(with_objcxx))
ifeq ($(with_objcxx),yes)
Reply to: