Bladeren bron

README.md hinzugefügt

Rind 5 jaren geleden
bovenliggende
commit
9f4becc8e4
6 gewijzigde bestanden met toevoegingen van 40 en 55 verwijderingen
  1. 0 14
      .gitignore
  2. 3 3
      CppTest/CppTest.pro
  3. 0 11
      QmlTest/.gitignore
  4. 37 0
      README.md
  5. 0 11
      libnetinterfaces/.gitignore
  6. 0 16
      libnetinterfaces/pdump.sh

+ 0 - 14
.gitignore

@@ -1,14 +0,0 @@
-# git ls-files --others --exclude-from=.git/info/exclude
-# Lines that start with '#' are comments.
-# For a project mostly in C, the following would be a good set of
-# exclude patterns (uncomment them if you want to use them):
-# *.[oa]
-# *~
-
-Debug/
-Release/
-res/
-install/
-*.user
-*.bak
-buildall.sh

+ 3 - 3
CppTest/CppTest.pro

@@ -7,6 +7,9 @@ QMAKE_CXXFLAGS_DEBUG += -Wno-unused-parameter -Wno-unused-but-set-variable
 QMAKE_CXXFLAGS += -Wstrict-aliasing=0
 QMAKE_LIBS += -lm -lstdc++ -pthread
 
+QMAKE_LIBDIR += $$[QT_SYSROOT]/usr/lib/gfa
+QMAKE_RPATHDIR += /usr/lib/gfa
+
 CONFIG(debug, debug|release) {
 	QMAKE_CXXFLAGS -= -Os
 	QMAKE_CFLAGS -= -Os
@@ -23,9 +26,6 @@ CONFIG(release, debug|release) {
 
 SOURCES += main.cpp
 
-#INCLUDEPATH += ../../../libgfanet
-#message($$OUT_PWD)
-
 linux-buildroot-g++ {
     target.path = /opt/GfA/net
     INSTALLS += target

+ 0 - 11
QmlTest/.gitignore

@@ -1,11 +0,0 @@
-# git ls-files --others --exclude-from=.git/info/exclude
-# Lines that start with '#' are comments.
-# For a project mostly in C, the following would be a good set of
-# exclude patterns (uncomment them if you want to use them):
-# *.[oa]
-# *~
-
-Debug/
-Release/
-res/
-*.user

+ 37 - 0
README.md

@@ -0,0 +1,37 @@
+## libgfanet
+
+Tools zur Bearbeitung und Verwaltung der Netzwerkkonfiguration.
+
+---
+
+***Version:***  
+libgfanet.so.1.0.0  
+
+***SO-Name:***  
+libgfanet.so.1
+
+***Linker-Name:***  
+libgfanet.so (-lgfanet)
+
+***Header:***  
+#include \<gfa/gfanet.h\>
+
+
+---
+
+**Implementiert:**
+
+* Funktionen zur Konfiguration der Datei /etc/network/interfaces
+* Funktionen zum Starten/Stoppen von Netzwerkinterfaces
+
+---
+
+**Installation:**
+
+* Wird durch die [GfaLibs-Installers](https://gogs.reru.org/GfA/GfaLibs-Installers) mitinstalliert.
+
+---
+
+## libnetinterfaces
+
+QML-Plugin. Kapselt die Funktionalität von **libgfanet** für QML-Anwendungen.

+ 0 - 11
libnetinterfaces/.gitignore

@@ -1,11 +0,0 @@
-# git ls-files --others --exclude-from=.git/info/exclude
-# Lines that start with '#' are comments.
-# For a project mostly in C, the following would be a good set of
-# exclude patterns (uncomment them if you want to use them):
-# *.[oa]
-# *~
-
-Debug/
-Release/
-res/
-*.user

+ 0 - 16
libnetinterfaces/pdump.sh

@@ -1,16 +0,0 @@
-#!/bin/bash
-set -e
-
-PDUMP="/home/wrk/Qt5.7.0/5.7/gcc_64/bin/qmlplugindump"
-URI="gfa.plugins.qml.net"
-VERSION=1.0
-
-# Desktop:
-OUTFILE="/home/wrk/Qt5.7.0/5.7/gcc_64/qml/gfa/plugins/qml/net/net.qmltypes"
-IMPORTPATH="/home/wrk/Qt5.7.0/5.7/gcc_64/qml/gfa/plugins/qml/net"
-
-# Target:
-#OUTFILE="$SITARA_TOOLCHAIN_ROOT/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/qml/gfa/plugins/qml/net/net.qmltypes"
-#IMPORTPATH="$SITARA_TOOLCHAIN_ROOT/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/qml/gfa/plugins/qml/net"
-
-$PDUMP $URI $VERSION $IMPORTPATH > $OUTFILE