Github messages for voidlinux
 help / color / mirror / Atom feed
From: Bnyro <Bnyro@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: linux-wifi-hotspot-4.5.0
Date: Thu, 01 Jun 2023 17:42:38 +0200	[thread overview]
Message-ID: <20230601154238.Ozbiq2vlxr2Pex0bk2y5womT4j2Xol8iBJbpNnoSe1k@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-44210@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 1003 bytes --]

There is an updated pull request by Bnyro against master on the void-packages repository

https://github.com/Bnyro/void-packages linux-wifi-hotspot
https://github.com/void-linux/void-packages/pull/44210

New package: linux-wifi-hotspot-4.5.0
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

`linux-wifi-hotspot` is the successor of `create_ap`, which got discontinued in 2021.
`linux-wifi-hotspot` additionally provides a gtk interface for creating hotspots, but it does contain a more updated version of `create_ap` too.


A patch file from https://github.com/void-linux/void-packages/pull/44210.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-linux-wifi-hotspot-44210.patch --]
[-- Type: text/x-diff, Size: 2385 bytes --]

From 812da012d47c8236464377474331d4177d2514c9 Mon Sep 17 00:00:00 2001
From: Bnyro <bnyro@tutanota.com>
Date: Thu, 1 Jun 2023 17:42:52 +0200
Subject: [PATCH] New package: linux-wifi-hotspot-4.5.0

---
 .../linux-wifi-hotspot/patches/makefile.patch | 24 +++++++++++++++++++
 srcpkgs/linux-wifi-hotspot/template           | 19 +++++++++++++++
 2 files changed, 43 insertions(+)
 create mode 100644 srcpkgs/linux-wifi-hotspot/patches/makefile.patch
 create mode 100644 srcpkgs/linux-wifi-hotspot/template

diff --git a/srcpkgs/linux-wifi-hotspot/patches/makefile.patch b/srcpkgs/linux-wifi-hotspot/patches/makefile.patch
new file mode 100644
index 000000000000..9391043aae17
--- /dev/null
+++ b/srcpkgs/linux-wifi-hotspot/patches/makefile.patch
@@ -0,0 +1,24 @@
+--- a/src/Makefile
++++ b/src/Makefile
+@@ -1,7 +1,7 @@
+ CC=gcc
+ PKGCONFIG = $(shell which pkg-config)
+
+-CFLAGS=`pkg-config --cflags gtk+-3.0`
++CFLAGS_PKGCONF=`pkg-config --cflags gtk+-3.0`
+ LIBS=`pkg-config --libs gtk+-3.0 --libs x11` -lstdc++ -lpng -lqrencode
+
+ APP_NAME="wihotspot"
+@@ -32,10 +32,10 @@ resources.c: ui/glade/wifih.gresource.xml ui/glade/wifih.ui
+ 	@$(MAKE) -f $(THIS_FILE) wihotspot-gui
+
+ $(ODIR)/%.o: ui/%.c
+-	$(CC) -c -o $@ $< $(CFLAGS)
++	$(CC) -c -o $@ $< $(CFLAGS) $(CFLAGS_PKGCONF)
+
+ $(ODIR)/%.o: ui/%.cpp
+-	g++ -c -o $@ $<
++	$(CXX) -c -o $@ $< $(CFLAGS)
+
+ wihotspot-gui: $(OBJ)
+ 	$(CC) -o $(ODIR)/$@ $^ $(CFLAGS) $(LIBS)
\ No newline at end of file
diff --git a/srcpkgs/linux-wifi-hotspot/template b/srcpkgs/linux-wifi-hotspot/template
new file mode 100644
index 000000000000..a2c03b268264
--- /dev/null
+++ b/srcpkgs/linux-wifi-hotspot/template
@@ -0,0 +1,19 @@
+# Template file for 'linux-wifi-hotspot'
+pkgname=linux-wifi-hotspot
+version=4.5.0
+revision=1
+build_style=gnu-makefile
+hostmakedepends="pkg-config which glib-devel"
+makedepends="gtk+3-devel libpng-devel qrencode-devel"
+depends="bash dnsmasq hostapd iproute2 iptables iw procps-ng util-linux"
+short_desc="Feature-rich wifi hotspot creator"
+maintainer="Bnyro <bnyro@tutanota.com>"
+license="BSD-2-Clause"
+homepage="https://github.com/lakinduakash/linux-wifi-hotspot"
+distfiles="https://github.com/lakinduakash/linux-wifi-hotspot/archive/refs/tags/v${version}.tar.gz"
+checksum=9e4222b7d3129347b01eef711911ec87c9a04e20efd12d88565f682a14eb91da
+conflicts="create_ap"
+
+post_install() {
+	vlicense LICENSE
+}

  parent reply	other threads:[~2023-06-01 15:42 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-01 13:00 [PR PATCH] " Bnyro
2023-06-01 13:05 ` [PR PATCH] [Updated] " Bnyro
2023-06-01 13:07 ` Bnyro
2023-06-01 13:36 ` [PR REVIEW] " Duncaen
2023-06-01 13:38 ` Duncaen
2023-06-01 13:53 ` Bnyro
2023-06-01 13:54 ` Bnyro
2023-06-01 14:21 ` Duncaen
2023-06-01 14:34 ` Duncaen
2023-06-01 14:34 ` Duncaen
2023-06-01 15:42 ` Bnyro [this message]
2023-06-01 15:43 ` Bnyro
2023-06-08 14:43 ` unrealjo
2023-06-08 15:35 ` [PR REVIEW] " Duncaen
2023-06-08 15:40 ` [PR PATCH] [Updated] " Bnyro
2023-06-08 20:16 ` [PR REVIEW] " unrealjo
2023-06-08 20:26 ` unrealjo
2023-06-15 18:35 ` [PR PATCH] [Merged]: " Duncaen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230601154238.Ozbiq2vlxr2Pex0bk2y5womT4j2Xol8iBJbpNnoSe1k@z \
    --to=bnyro@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).