Skip to contentSkip to conversation

package/oatpp:: new package

PATCH In review Alessandro Partesotti 2 participants 3 messages Jan 27, 2023 – Jan 28, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/oatpp:: new package

This package introduce oatpp in BR buildsystem. oatpp must be used as static linkable library in $(STAGING_DIR)/usr/include/oatpp-$(OATPP_VERSION)/oatpp for user that want to build therir own application by linking oatpp in a buildroot build system.

---
 package/Config.in       |  3 +++
 package/oatpp/Config.in | 14 ++++++++++++++
 package/oatpp/oatpp.mk  | 16 ++++++++++++++++
 3 files changed, 33 insertions(+)
 create mode 100644 package/oatpp/Config.in
 create mode 100644 package/oatpp/oatpp.mk
package/Config.in +3 -0
index 995dae2c57..481876a278 100644
@@ -1941,6 +1941,7 @@ menu "Networking"
 	source "package/nss-mdns/Config.in"
 	source "package/nss-myhostname/Config.in"
 	source "package/nss-pam-ldapd/Config.in"
+	source "package/oatpp/Config.in"
 	source "package/omniorb/Config.in"
 	source "package/open-isns/Config.in"
 	source "package/open62541/Config.in"
@@ -2702,4 +2703,6 @@ menu "Text editors and viewers"
 	source "package/vim/Config.in"
 endmenu
 
+
 endmenu
+
package/oatpp/Config.in new file +14 -0
new file mode 100644
index 0000000000..3cf6bf3ef5
@@ -0,0 +1,14 @@
+comment "Oat++ needs a toolchain w/ C++, threads and Paranoid Unsafe Path compiler flag disabled"
+        depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || BR2_COMPILER_PARANOID_UNSAFE_PATH
+
+config BR2_PACKAGE_OATPP
+	bool "Oat++"
+	depends on BR2_INSTALL_LIBSTDCPP
+	depends on BR2_TOOLCHAIN_HAS_THREADS
+	depends on !BR2_COMPILER_PARANOID_UNSAFE_PATH
+	help
+		Oat++ is an open-source C++ web framework for highly scalable and resource-efficient web applications.
+		It provides all the necessary components for production-grade development.
+		This package allows you to use oatpp to statically build this a project inside the staging directory.
+		See https://oatpp.io/docs/
+
package/oatpp/oatpp.mk new file +16 -0
new file mode 100644
index 0000000000..7abdeb6de5
@@ -0,0 +1,16 @@
+################################################################################
+#
+# oatpp
+#
+################################################################################
+
+OATPP_VERSION= 1.3.0
+OATPP_SOURCE= $(OATPP_VERSION).tar.gz
+OATPP_SITE= https://github.com/oatpp/oatpp/archive/refs/tags
+#OATPP_SITE= git://github.com/oatpp/oatpp.git
+OATPP_INSTALL_STAGING= YES
+OATPP_INSTALL_TARGET= NO
+OATPP_MAKE=make
+
+$(eval $(cmake-package))
+
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

For https://oatpp.io/docs/, I get:

server=oatpp/1.3.0
code=500
description=Internal Server Error
message=Page not found

It looks like it doesn't like trimming the URL, and
https://oatpp.io/docs/start looks better.

<>< <>< <><
Bryce Schober

Quoted 86 lines · Alessandro Partesotti

This package introduce oatpp in BR buildsystem. oatpp must be used as static linkable library in $(STAGING_DIR)/usr/include/oatpp-$(OATPP_VERSION)/oatpp for user that want to build therir own application by linking oatpp in a buildroot build system.

---
 package/Config.in       |  3 +++
 package/oatpp/Config.in | 14 ++++++++++++++
 package/oatpp/oatpp.mk  | 16 ++++++++++++++++
 3 files changed, 33 insertions(+)
 create mode 100644 package/oatpp/Config.in
 create mode 100644 package/oatpp/oatpp.mk
package/Config.in +3 -0
index 995dae2c57..481876a278 100644
@@ -1941,6 +1941,7 @@ menu "Networking"
        source "package/nss-mdns/Config.in"
        source "package/nss-myhostname/Config.in"
        source "package/nss-pam-ldapd/Config.in"
+       source "package/oatpp/Config.in"
        source "package/omniorb/Config.in"
        source "package/open-isns/Config.in"
        source "package/open62541/Config.in"
@@ -2702,4 +2703,6 @@ menu "Text editors and viewers"
        source "package/vim/Config.in"
 endmenu
 
+
 endmenu
+
package/oatpp/Config.in new file +1 -0
new file mode 100644
index 0000000000..3cf6bf3ef5
@@ -0,0 +1,14 @@
+comment "Oat++ needs a toolchain w/ C++, threads and Paranoid Unsafe Path

compiler flag disabled"
+ depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
|| BR2_COMPILER_PARANOID_UNSAFE_PATH

package/oatpp/Config.in new file +8 -0
+
+config BR2_PACKAGE_OATPP
+       bool "Oat++"
+       depends on BR2_INSTALL_LIBSTDCPP
+       depends on BR2_TOOLCHAIN_HAS_THREADS
+       depends on !BR2_COMPILER_PARANOID_UNSAFE_PATH
+       help
+               Oat++ is an open-source C++ web framework for highly

scalable and resource-efficient web applications.
+ It provides all the necessary components for
production-grade development.
+ This package allows you to use oatpp to statically build
this a project inside the staging directory.

package/oatpp/Config.in new file +2 -0
+               See https://oatpp.io/docs/
+
package/oatpp/oatpp.mk new file +16 -1
new file mode 100644
index 0000000000..7abdeb6de5
@@ -0,0 +1,16 @@
 
+################################################################################
+#
+# oatpp
+#
 
+################################################################################
+
+OATPP_VERSION= 1.3.0
+OATPP_SOURCE= $(OATPP_VERSION).tar.gz
+OATPP_SITE= https://github.com/oatpp/oatpp/archive/refs/tags
+#OATPP_SITE= git://github.com/oatpp/oatpp.git
+OATPP_INSTALL_STAGING= YES
+OATPP_INSTALL_TARGET= NO
+OATPP_MAKE=make
+
+$(eval $(cmake-package))
+
--

2.25.1

Quoted 5 lines

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#2 lore raw

Fixed! but maybe i made i mistake by submitting a new patch [image: image.png]

Il giorno sab 28 gen 2023 alle ore 01:17 <[email protected]> ha scritto:

Quoted 103 lines

For https://oatpp.io/docs/, I get:

server=oatpp/1.3.0
code=500
description=Internal Server Error
message=Page not found

It looks like it doesn't like trimming the URL, and
https://oatpp.io/docs/start looks better.

<>< <>< <><
Bryce Schober

Quoted 86 lines · Alessandro Partesotti

This package introduce oatpp in BR buildsystem. oatpp must be used as static linkable library in $(STAGING_DIR)/usr/include/oatpp-$(OATPP_VERSION)/oatpp for user that want to build therir own application by linking oatpp in a buildroot build system.

---
 package/Config.in       |  3 +++
 package/oatpp/Config.in | 14 ++++++++++++++
 package/oatpp/oatpp.mk  | 16 ++++++++++++++++
 3 files changed, 33 insertions(+)
 create mode 100644 package/oatpp/Config.in
 create mode 100644 package/oatpp/oatpp.mk
package/Config.in +3 -0
index 995dae2c57..481876a278 100644
@@ -1941,6 +1941,7 @@ menu "Networking"
        source "package/nss-mdns/Config.in"
        source "package/nss-myhostname/Config.in"
        source "package/nss-pam-ldapd/Config.in"
+       source "package/oatpp/Config.in"
        source "package/omniorb/Config.in"
        source "package/open-isns/Config.in"
        source "package/open62541/Config.in"
@@ -2702,4 +2703,6 @@ menu "Text editors and viewers"
        source "package/vim/Config.in"
 endmenu
 
+
 endmenu
+
package/oatpp/Config.in new file +1 -0
new file mode 100644
index 0000000000..3cf6bf3ef5
@@ -0,0 +1,14 @@
+comment "Oat++ needs a toolchain w/ C++, threads and Paranoid Unsafe

Path compiler flag disabled"
+ depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
|| BR2_COMPILER_PARANOID_UNSAFE_PATH

package/oatpp/Config.in new file +8 -0
+
+config BR2_PACKAGE_OATPP
+       bool "Oat++"
+       depends on BR2_INSTALL_LIBSTDCPP
+       depends on BR2_TOOLCHAIN_HAS_THREADS
+       depends on !BR2_COMPILER_PARANOID_UNSAFE_PATH
+       help
+               Oat++ is an open-source C++ web framework for highly

scalable and resource-efficient web applications.
+ It provides all the necessary components for
production-grade development.
+ This package allows you to use oatpp to statically build
this a project inside the staging directory.

package/oatpp/Config.in new file +2 -0
+               See https://oatpp.io/docs/
+
package/oatpp/oatpp.mk new file +16 -1
new file mode 100644
index 0000000000..7abdeb6de5
@@ -0,0 +1,16 @@
 
+################################################################################
+#
+# oatpp
+#
 
+################################################################################
+
+OATPP_VERSION= 1.3.0
+OATPP_SOURCE= $(OATPP_VERSION).tar.gz
+OATPP_SITE= https://github.com/oatpp/oatpp/archive/refs/tags
+#OATPP_SITE= git://github.com/oatpp/oatpp.git
+OATPP_INSTALL_STAGING= YES
+OATPP_INSTALL_TARGET= NO
+OATPP_MAKE=make
+
+$(eval $(cmake-package))
+
--

2.25.1

Quoted 6 lines
Quoted 5 lines

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot