Overview
Features
Download
Documentation
Community
Add-Ons & Services

OpenWrt package

General discussion regarding the development of POCO for contributors.

OpenWrt package

Postby nleonard » 10 Sep 2010, 10:45

Hello,

Poco is now part of the openwrt package repository. (https://dev.openwrt.org/browser/packages/libs/poco)

I just applied the following patch, to allow shared memory module to be disabled at configure time (not supported by uClibc). It could be relevant to applied it to the main source tree.

Code: Select all
Index: configure
===================================================================
--- a/configure
+++ b/configure
@@ -50,6 +50,11 @@
     Useful if your C++ compiler has incomplete floating-point support
     (such as uClibc-based systems).
 
+  --no-sharedmemory
+    Compile with -DPOCO_NO_SHAREDMEMORY
+    Useful if your C++ compiler has incomplete shared memory support
+    (such as uClibc-based systems).
+
   --omit=<component>{,<component>}
     Do not build the specified component(s).
     Example: --omit=Data/MySQL,Data/ODBC,Zip
@@ -140,6 +145,10 @@
                 flags="$flags -DPOCO_NO_FPENVIRONMENT"
         fi
 
+        if [ "$1" = "--no-sharedmemory" ] ; then
+                flags="$flags -DPOCO_NO_SHAREDMEMORY"
+        fi
+
         if [ "$1" = "--poquito" ] ; then
                 flags="$flags -DPOCO_NO_FILECHANNEL -DPOCO_NO_SPLITTERCHANNEL -DPOCO_NO_SYSLOGCHANNEL -DPOCO_UTIL_NO_INIFILECONFIGURATION -DPOCO_UTIL_NO_XMLCONFIGURATION"
         fi
nleonard
 
Posts: 2
Joined: 10 Sep 2010, 10:37

Re: OpenWrt package

Postby guenter » 10 Sep 2010, 12:44

Hey, that's great, thanks. I've already used POCO on OpenWRT myself, but never got around to building a package.
I'll incorporate the patch into the next release.
guenter
 
Posts: 1157
Joined: 11 Jul 2006, 16:27
Location: Austria

Re: OpenWrt package

Postby philipp » 11 Apr 2012, 00:49

Has this been tried with eglibc? I run OpenWRT on various x86 platforms (Alix2, Geos, net5501, etc) because I need the g.729 CODECs out there for use with Freeswitch and Asterisk...

Getting packages that build with uClibc to also build with eglibc is usually fairly straightforward, and indeed eglibc preserves more glibc semantics...

-Philip
philipp
 
Posts: 16
Joined: 08 Dec 2011, 03:59


Return to Contributors

Who is online

Users browsing this forum: No registered users and 0 guests

cron