Ticket #7249: libsigc++.patch

File libsigc++.patch, 5.8 KB (added by sav, 8 years ago)

Update libsigc++ to 2.6

  • Makefile

    diff -durN libsigc++.old/Makefile libsigc++/Makefile
    old new  
    88include $(TOPDIR)/rules.mk 
    99 
    1010PKG_NAME:=libsigc++ 
    11 PKG_VERSION:=2.2.4.2 
    12 PKG_RELEASE:=2 
     11PKG_VERSION:=2.2.6 
     12PKG_RELEASE:=1 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 
    1515PKG_SOURCE_URL:=@GNOME/libsigc++/2.2 
    16 PKG_MD5SUM:=545edbb7b54eec4f723323d3158c0e0c 
     16PKG_MD5SUM:=d216ef85785e0d17eda9b0326cfdcf71 
    1717 
    1818PKG_FIXUP = libtool 
    1919 
  • patches/.svn/entries

    diff -durN libsigc++.old/patches/.svn/entries libsigc++/patches/.svn/entries
    old new  
    1 8 
    2  
    3 dir 
    4 21249 
    5 svn://svn.openwrt.org/openwrt/packages/libs/libsigc++/patches 
    6 svn://svn.openwrt.org/openwrt 
    7  
    8  
    9  
    10 2009-11-23T00:11:45.292278Z 
    11 18488 
    12 florian 
    13  
    14  
    15 svn:special svn:externals svn:needs-lock 
    16  
    17  
    18  
    19  
    20  
    21  
    22  
    23  
    24  
    25  
    26  
    27 3c298f89-4303-0410-b956-a3cf2f4a3e73 
    28  
    290 
    30 001-no_doc_tests_examples.patch 
    31 file 
    32  
    33  
    34  
    35  
    36 2010-04-29T10:01:27.000000Z 
    37 3c9765599a162ad1e80ad0d542339ede 
    38 2009-11-23T00:11:45.292278Z 
    39 18488 
    40 florian 
  • patches/.svn/format

    -
    
    diff -durN libsigc++.old/patches/.svn/format libsigc++/patches/.svn/format
    old new  
    1 8 
  • patches/.svn/text-base/001-no_doc_tests_examples.patch.svn-base

    diff -durN libsigc++.old/patches/.svn/text-base/001-no_doc_tests_examples.patch.svn-base libsigc++/patches/.svn/text-base/001-no_doc_tests_examples.patch.svn-base
    old new  
    1 diff -urN libsigc++-2.2.3/Makefile.am libsigc++-2.2.3.new/Makefile.am 
    2 --- a/Makefile.am       2009-08-20 14:32:40.000000000 +0400 
    3 +++ b/Makefile.am       2009-11-13 10:26:01.000000000 +0300 
    4 @@ -22,7 +22,7 @@ 
    5  else 
    6  doc_subdirs = 
    7  endif 
    8 -SUBDIRS = sigc++ tests examples $(doc_subdirs) 
    9 +SUBDIRS = sigc++ 
    10   
    11  sigc_configdir = $(libdir)/$(SIGCXX_MODULE_NAME)/include 
    12  nodist_sigc_config_HEADERS = sigc++config.h 
    13 diff -urN libsigc++-2.2.3/Makefile.in libsigc++-2.2.3.new/Makefile.in 
    14 --- a/Makefile.in       2009-09-02 19:55:19.000000000 +0400 
    15 +++ b/Makefile.in       2009-11-13 10:29:43.000000000 +0300 
    16 @@ -89,7 +89,7 @@ 
    17    distclean-recursive maintainer-clean-recursive 
    18  ETAGS = etags 
    19  CTAGS = ctags 
    20 -DIST_SUBDIRS = sigc++ tests examples docs 
    21 +DIST_SUBDIRS = sigc++ 
    22  DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 
    23  distdir = $(PACKAGE)-$(VERSION) 
    24  top_distdir = $(distdir) 
  • .svn/entries

    diff -durN libsigc++.old/.svn/entries libsigc++/.svn/entries
    old new  
    1 8 
    2  
    3 dir 
    4 21249 
    5 svn://svn.openwrt.org/openwrt/packages/libs/libsigc++ 
    6 svn://svn.openwrt.org/openwrt 
    7  
    8  
    9  
    10 2010-03-21T07:54:43.427434Z 
    11 20330 
    12 swalker 
    13  
    14  
    15 svn:special svn:externals svn:needs-lock 
    16  
    17  
    18  
    19  
    20  
    21  
    22  
    23  
    24  
    25  
    26  
    27 3c298f89-4303-0410-b956-a3cf2f4a3e73 
    28  
    290 
    30 patches 
    31 dir 
    32  
    331 
    34 Makefile 
    35 file 
    36  
    37  
    38  
    39  
    40 2010-04-29T10:01:27.000000Z 
    41 cef3f1604d99457aa26dbd4574d64e89 
    42 2010-03-21T07:54:43.427434Z 
    43 20330 
    44 swalker 
  • .svn/format

    -has-props
    -
    
    diff -durN libsigc++.old/.svn/format libsigc++/.svn/format
    old new  
    1 8 
  • .svn/prop-base/Makefile.svn-base

    diff -durN libsigc++.old/.svn/prop-base/Makefile.svn-base libsigc++/.svn/prop-base/Makefile.svn-base
    old new  
    1 K 9 
    2 copyright 
    3 V 30 
    4 Copyright (C) 2006 OpenWrt.org 
    5 K 13 
    6 svn:eol-style 
    7 V 6 
    8 native 
    9 END 
  • .svn/text-base/Makefile.svn-base

    diff -durN libsigc++.old/.svn/text-base/Makefile.svn-base libsigc++/.svn/text-base/Makefile.svn-base
    old new  
    1 #  
    2 # Copyright (C) 2006-2010 OpenWrt.org 
    3 # 
    4 # This is free software, licensed under the GNU General Public License v2. 
    5 # See /LICENSE for more information. 
    6 # 
    7  
    8 include $(TOPDIR)/rules.mk 
    9  
    10 PKG_NAME:=libsigc++ 
    11 PKG_VERSION:=2.2.4.2 
    12 PKG_RELEASE:=2 
    13  
    14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 
    15 PKG_SOURCE_URL:=@GNOME/libsigc++/2.2 
    16 PKG_MD5SUM:=545edbb7b54eec4f723323d3158c0e0c 
    17  
    18 PKG_FIXUP = libtool 
    19  
    20 include $(INCLUDE_DIR)/package.mk 
    21  
    22 define Package/libsigcxx 
    23   SECTION:=libs 
    24   CATEGORY:=Libraries 
    25   TITLE:=typesafe callback system for standard C++ 
    26   URL:=http://libsigc.sourceforge.net/ 
    27   DEPENDS:=+libstdcpp 
    28 endef 
    29  
    30 define Package/libsigcxx/description 
    31  It allows you to define signals and to connect those signals to any  
    32  callback function, either global or a member function, regardless of  
    33  whether it is static or virtual. 
    34 endef 
    35  
    36 TARGET_CFLAGS += $(FPIC) 
    37  
    38 TARGET_CPPFLAGS +=  \ 
    39         -fno-strict-aliasing -fno-inline \ 
    40  
    41 CONFIGURE_ARGS += \ 
    42         --enable-shared \ 
    43         --enable-static \ 
    44  
    45 define Build/Compile 
    46         $(MAKE) -C $(PKG_BUILD_DIR) \ 
    47                 DESTDIR="$(PKG_INSTALL_DIR)" \ 
    48                 all install 
    49 endef 
    50  
    51 define Build/InstallDev 
    52         $(INSTALL_DIR) $(1)/usr/include 
    53         $(CP) $(PKG_INSTALL_DIR)/usr/include/sigc++-2.0 $(1)/usr/include/ 
    54         $(INSTALL_DIR) $(1)/usr/lib 
    55         $(CP) $(PKG_INSTALL_DIR)/usr/lib/libsigc-2.0.{a,so*} $(1)/usr/lib/ 
    56         $(CP) $(PKG_INSTALL_DIR)/usr/lib/sigc++-2.0 $(1)/usr/lib/ 
    57         $(INSTALL_DIR) $(1)/usr/lib/pkgconfig 
    58         $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/sigc++-2.0.pc $(1)/usr/lib/pkgconfig/ 
    59 endef 
    60  
    61 define Package/libsigcxx/install 
    62         $(INSTALL_DIR) $(1)/usr/lib 
    63         $(CP) $(PKG_INSTALL_DIR)/usr/lib/libsigc-2.0.so.* $(1)/usr/lib/ 
    64 endef 
    65  
    66 $(eval $(call BuildPackage,libsigcxx)) 
    67