Skip to contentSkip to conversation

Rename package/libsigc to package/libsigc2

PATCH Superseded H Hartley Sweeten 2 participants 4 messages Oct 3, 2011 – Oct 4, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Rename package/libsigc to package/libsigc2

Rename the libsigc package to libsigc2 so that the older 1.2 version of libsigc++ can also be added to packages/.

---

package/Config.in +1 -1
index 8b9c816..d77c29f 100644
@@ -351,7 +351,7 @@ source "package/libffi/Config.in"
 source "package/libglib2/Config.in"
 source "package/libnspr/Config.in"
 source "package/liboil/Config.in"
-source "package/libsigc/Config.in"
+source "package/libsigc2/Config.in"
 source "package/orc/Config.in"
 source "package/startup-notification/Config.in"
 endmenu
package/libsigc/Config.in deleted +0 -13
deleted file mode 100644
index 93fa3f4..0000000
@@ -1,13 +0,0 @@
-config BR2_PACKAGE_LIBSIGC
-	bool "libsigc++"
-	depends on BR2_INSTALL_LIBSTDCPP
-	help
-	  libsigc++ implements a typesafe callback system for standard C++.
-	  It allows you to define signals and to connect those signals to
-	  any callback function, either global or a member function,
-	  regardless of whether it is static or virtual.
-
-	  http://libsigc.sourceforge.net/
-
-comment "libsigc++ requires a toolchain with C++ support enabled"
-	depends on !BR2_INSTALL_LIBSTDCPP
package/libsigc/libsigc.mk deleted +0 -11
deleted file mode 100644
index 4c443eb..0000000
@@ -1,11 +0,0 @@
-#############################################################
-#
-# libsigc++
-#
-#############################################################
-LIBSIGC_VERSION = 2.2.8
-LIBSIGC_SOURCE = libsigc++-$(LIBSIGC_VERSION).tar.bz2
-LIBSIGC_SITE = http://ftp.gnome.org/pub/GNOME/sources/libsigc++/2.2
-LIBSIGC_INSTALL_STAGING = YES
-
-$(eval $(call AUTOTARGETS))
package/libsigc2/Config.in new file +13 -0
new file mode 100644
index 0000000..cae8da1
@@ -0,0 +1,13 @@
+config BR2_PACKAGE_LIBSIGC
+	bool "libsigc++ 2.2"
+	depends on BR2_INSTALL_LIBSTDCPP
+	help
+	  libsigc++ implements a typesafe callback system for standard C++.
+	  It allows you to define signals and to connect those signals to
+	  any callback function, either global or a member function,
+	  regardless of whether it is static or virtual.
+
+	  http://libsigc.sourceforge.net/
+
+comment "libsigc++ requires a toolchain with C++ support enabled"
+	depends on !BR2_INSTALL_LIBSTDCPP
package/libsigc2/libsigc2.mk new file +11 -0
new file mode 100644
index 0000000..72fff07
@@ -0,0 +1,11 @@
+#############################################################
+#
+# libsigc++ 2.2
+#
+#############################################################
+LIBSIGC_VERSION = 2.2.8
+LIBSIGC_SOURCE = libsigc++-$(LIBSIGC_VERSION).tar.bz2
+LIBSIGC_SITE = http://ftp.gnome.org/pub/GNOME/sources/libsigc++/2.2
+LIBSIGC_INSTALL_STAGING = YES
+
+$(eval $(call AUTOTARGETS))
#1 lore raw

PATCH 1/1 Rename package/libsigc to package/libsigc2

Quoted 62 lines · H Hartley Sweeten

Rename the libsigc package to libsigc2 so that the older 1.2 version of libsigc++ can also be added to packages/.

---

package/Config.in +1 -1
index 8b9c816..d77c29f 100644
@@ -351,7 +351,7 @@ source "package/libffi/Config.in"
 source "package/libglib2/Config.in"
 source "package/libnspr/Config.in"
 source "package/liboil/Config.in"
-source "package/libsigc/Config.in"
+source "package/libsigc2/Config.in"
 source "package/orc/Config.in"
 source "package/startup-notification/Config.in"
 endmenu
package/libsigc/Config.in deleted +0 -13
deleted file mode 100644
index 93fa3f4..0000000
@@ -1,13 +0,0 @@
-config BR2_PACKAGE_LIBSIGC
-	bool "libsigc++"
-	depends on BR2_INSTALL_LIBSTDCPP
-	help
-	  libsigc++ implements a typesafe callback system for standard C++.
-	  It allows you to define signals and to connect those signals to
-	  any callback function, either global or a member function,
-	  regardless of whether it is static or virtual.
-
-	  http://libsigc.sourceforge.net/
-
-comment "libsigc++ requires a toolchain with C++ support enabled"
-	depends on !BR2_INSTALL_LIBSTDCPP
package/libsigc/libsigc.mk deleted +0 -11
deleted file mode 100644
index 4c443eb..0000000
@@ -1,11 +0,0 @@
-#############################################################
-#
-# libsigc++
-#
-#############################################################
-LIBSIGC_VERSION = 2.2.8
-LIBSIGC_SOURCE = libsigc++-$(LIBSIGC_VERSION).tar.bz2
-LIBSIGC_SITE = http://ftp.gnome.org/pub/GNOME/sources/libsigc++/2.2
-LIBSIGC_INSTALL_STAGING = YES
-
-$(eval $(call AUTOTARGETS))
package/libsigc2/Config.in new file +0 -0
new file mode 100644
index 0000000..cae8da1

package/libsigc2/Config.in line 1

Quoted 1 line
package/libsigc2/Config.in new file +1 -0
@@ -0,0 +1,13 @@
+config BR2_PACKAGE_LIBSIGC

Shouldn't it be renamed BR2_PACKAGE_LIBSIGC2 then?

Perhaps adding a hidden BR2_PACKAGE_LIBSIGC for backwards compatibility, like
so (untested):

bool BR2_PACKAGE_LIBSIGC
select BR2_PACKAGE_LIBSIGC2

Quoted 33 lines
package/libsigc2/Config.in new file +12 -0
+	bool "libsigc++ 2.2"
+	depends on BR2_INSTALL_LIBSTDCPP
+	help
+	  libsigc++ implements a typesafe callback system for standard C++.
+	  It allows you to define signals and to connect those signals to
+	  any callback function, either global or a member function,
+	  regardless of whether it is static or virtual.
+
+	  http://libsigc.sourceforge.net/
+
+comment "libsigc++ requires a toolchain with C++ support enabled"
+	depends on !BR2_INSTALL_LIBSTDCPP
package/libsigc2/libsigc2.mk new file +11 -0
new file mode 100644
index 0000000..72fff07
@@ -0,0 +1,11 @@
+#############################################################
+#
+# libsigc++ 2.2
+#
+#############################################################
+LIBSIGC_VERSION = 2.2.8
+LIBSIGC_SOURCE = libsigc++-$(LIBSIGC_VERSION).tar.bz2
+LIBSIGC_SITE = http://ftp.gnome.org/pub/GNOME/sources/libsigc++/2.2
+LIBSIGC_INSTALL_STAGING = YES
+
+$(eval $(call AUTOTARGETS))

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

Signature · 6 lines
Arnout Vandecappelle                               arnout at mind be
Senior Embedded Software Architect                 +32-16-286540
Essensium/Mind                                     http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium                BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  31BB CF53 8660 6F88 345D  54CC A836 5879 20D7 CF43
#2 lore raw

PATCH 1/1 Rename package/libsigc to package/libsigc2

Quoted 7 lines · Arnout Vandecappelle
Quoted 6 lines · H Hartley Sweeten

Rename the libsigc package to libsigc2 so that the older 1.2 version of libsigc++ can also be added to packages/.

---

[...]

Quoted 9 lines

package/libsigc2/Config.in line 1

Quoted 7 lines
package/libsigc2/Config.in new file +1 -0
new file mode 100644
index 0000000..cae8da1
@@ -0,0 +1,13 @@
+config BR2_PACKAGE_LIBSIGC

Shouldn't it be renamed BR2_PACKAGE_LIBSIGC2 then?

Yes, it should be... I missed that, sorry. I just posted a new patch.

Quoted 5 lines

Perhaps adding a hidden BR2_PACKAGE_LIBSIGC for backwards compatibility, like
so (untested):

bool BR2_PACKAGE_LIBSIGC
select BR2_PACKAGE_LIBSIGC2

No. Nothing in Buildroot currently has this version of libsigc++ as a dependency so there shouldn't be any backward compatibility issues.

Thanks,
Hartley

#3 lore raw

PATCH v2 1/1 Rename package/libsigc to package/libsigc2

In reply to H Hartley Sweeten

Rename the libsigc package to libsigc2 so that the older 1.2 version of libsigc++ can also be added to packages/.

---

package/Config.in +1 -1
index 8b9c816..d77c29f 100644
@@ -351,7 +351,7 @@ source "package/libffi/Config.in"
 source "package/libglib2/Config.in"
 source "package/libnspr/Config.in"
 source "package/liboil/Config.in"
-source "package/libsigc/Config.in"
+source "package/libsigc2/Config.in"
 source "package/orc/Config.in"
 source "package/startup-notification/Config.in"
 endmenu
package/libsigc/libsigc.mk deleted +0 -11
deleted file mode 100644
index 4c443eb..0000000
@@ -1,11 +0,0 @@
-#############################################################
-#
-# libsigc++
-#
-#############################################################
-LIBSIGC_VERSION = 2.2.8
-LIBSIGC_SOURCE = libsigc++-$(LIBSIGC_VERSION).tar.bz2
-LIBSIGC_SITE = http://ftp.gnome.org/pub/GNOME/sources/libsigc++/2.2
-LIBSIGC_INSTALL_STAGING = YES
-
-$(eval $(call AUTOTARGETS))
package/libsigc2/Config.in renamed from package/libsigc/Config.in +2 -2
similarity index 89%
rename from package/libsigc/Config.in
rename to package/libsigc2/Config.in
index 93fa3f4..433d0b7 100644
@@ -1,5 +1,5 @@
-config BR2_PACKAGE_LIBSIGC
-	bool "libsigc++"
+config BR2_PACKAGE_LIBSIGC2
+	bool "libsigc++ 2.2"
 	depends on BR2_INSTALL_LIBSTDCPP
 	help
 	  libsigc++ implements a typesafe callback system for standard C++.
package/libsigc2/libsigc2.mk new file +11 -0
new file mode 100644
index 0000000..036ac6a
@@ -0,0 +1,11 @@
+#############################################################
+#
+# libsigc++ 2.2
+#
+#############################################################
+LIBSIGC2_VERSION = 2.2.8
+LIBSIGC2_SOURCE = libsigc++-$(LIBSIGC2_VERSION).tar.bz2
+LIBSIGC2_SITE = http://ftp.gnome.org/pub/GNOME/sources/libsigc++/2.2
+LIBSIGC2_INSTALL_STAGING = YES
+
+$(eval $(call AUTOTARGETS))