[arch-commits] Commit in wpa_supplicant_gui/repos (6 files)

Jan Steffens heftig at archlinux.org
Mon Jun 25 10:11:08 UTC 2012


    Date: Monday, June 25, 2012 @ 06:11:07
  Author: heftig
Revision: 162332

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  wpa_supplicant_gui/repos/testing-i686/
  wpa_supplicant_gui/repos/testing-i686/PKGBUILD
    (from rev 162331, wpa_supplicant_gui/trunk/PKGBUILD)
  wpa_supplicant_gui/repos/testing-i686/compile-fix.patch
    (from rev 162331, wpa_supplicant_gui/trunk/compile-fix.patch)
  wpa_supplicant_gui/repos/testing-x86_64/
  wpa_supplicant_gui/repos/testing-x86_64/PKGBUILD
    (from rev 162331, wpa_supplicant_gui/trunk/PKGBUILD)
  wpa_supplicant_gui/repos/testing-x86_64/compile-fix.patch
    (from rev 162331, wpa_supplicant_gui/trunk/compile-fix.patch)

----------------------------------+
 testing-i686/PKGBUILD            |   32 ++++++++++++++++++++++++++++++++
 testing-i686/compile-fix.patch   |   14 ++++++++++++++
 testing-x86_64/PKGBUILD          |   32 ++++++++++++++++++++++++++++++++
 testing-x86_64/compile-fix.patch |   14 ++++++++++++++
 4 files changed, 92 insertions(+)

Copied: wpa_supplicant_gui/repos/testing-i686/PKGBUILD (from rev 162331, wpa_supplicant_gui/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2012-06-25 10:11:07 UTC (rev 162332)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Thomas Bächler <thomas at archlinux.org>
+
+pkgname=wpa_supplicant_gui
+pkgver=1.0
+pkgrel=1
+pkgdesc="A Qt frontend to wpa_supplicant"
+url="http://hostap.epitest.fi/wpa_supplicant"
+arch=('i686' 'x86_64')
+depends=('qt' "wpa_supplicant=$pkgver")
+license=('GPL')
+source=("http://hostap.epitest.fi/releases/wpa_supplicant-$pkgver.tar.gz"
+        compile-fix.patch)
+sha256sums=('91d41d473a5aafa2e25dd6577ebda975c4d4a3188850a53e31feaf7c04482b9c'
+            '044be1032faf93c5f0abf22d7ae77dc0d1d1fef0c2c30646d54950b86601709f')
+
+build() {
+  cd wpa_supplicant-${pkgver}
+  patch -p1 <../compile-fix.patch
+  cd wpa_supplicant/wpa_gui-qt4
+  qmake
+  make
+}
+
+package() {
+  cd "${srcdir}/wpa_supplicant-${pkgver}/wpa_supplicant/wpa_gui-qt4"
+  install -Dm755 wpa_gui "${pkgdir}/usr/sbin/wpa_gui"
+  install -Dm644 icons/wpa_gui.svg "${pkgdir}/usr/share/pixmaps/wpa_gui.svg"
+  install -Dm644 wpa_gui.desktop "${pkgdir}/usr/share/applications/wpa_gui.desktop"
+  install -Dm644 "${srcdir}/wpa_supplicant-${pkgver}/wpa_supplicant/doc/docbook/wpa_gui.8" \
+     "${pkgdir}/usr/share/man/man8/wpa_gui.8"
+}

Copied: wpa_supplicant_gui/repos/testing-i686/compile-fix.patch (from rev 162331, wpa_supplicant_gui/trunk/compile-fix.patch)
===================================================================
--- testing-i686/compile-fix.patch	                        (rev 0)
+++ testing-i686/compile-fix.patch	2012-06-25 10:11:07 UTC (rev 162332)
@@ -0,0 +1,14 @@
+diff -u -r wpa_supplicant-1.0/wpa_supplicant/wpa_gui-qt4/wpagui.cpp wpa_supplicant-1.0-fix/wpa_supplicant/wpa_gui-qt4/wpagui.cpp
+--- wpa_supplicant-1.0/wpa_supplicant/wpa_gui-qt4/wpagui.cpp	2012-05-09 23:56:09.000000000 +0200
++++ wpa_supplicant-1.0-fix/wpa_supplicant/wpa_gui-qt4/wpagui.cpp	2012-06-25 12:06:46.045261398 +0200
+@@ -12,10 +12,8 @@
+  * See README and COPYING for more details.
+  */
+ 
+-#ifdef __MINGW32__
+ /* Need to get getopt() */
+ #include <unistd.h>
+-#endif
+ 
+ #ifdef CONFIG_NATIVE_WINDOWS
+ #include <windows.h>

Copied: wpa_supplicant_gui/repos/testing-x86_64/PKGBUILD (from rev 162331, wpa_supplicant_gui/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2012-06-25 10:11:07 UTC (rev 162332)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Thomas Bächler <thomas at archlinux.org>
+
+pkgname=wpa_supplicant_gui
+pkgver=1.0
+pkgrel=1
+pkgdesc="A Qt frontend to wpa_supplicant"
+url="http://hostap.epitest.fi/wpa_supplicant"
+arch=('i686' 'x86_64')
+depends=('qt' "wpa_supplicant=$pkgver")
+license=('GPL')
+source=("http://hostap.epitest.fi/releases/wpa_supplicant-$pkgver.tar.gz"
+        compile-fix.patch)
+sha256sums=('91d41d473a5aafa2e25dd6577ebda975c4d4a3188850a53e31feaf7c04482b9c'
+            '044be1032faf93c5f0abf22d7ae77dc0d1d1fef0c2c30646d54950b86601709f')
+
+build() {
+  cd wpa_supplicant-${pkgver}
+  patch -p1 <../compile-fix.patch
+  cd wpa_supplicant/wpa_gui-qt4
+  qmake
+  make
+}
+
+package() {
+  cd "${srcdir}/wpa_supplicant-${pkgver}/wpa_supplicant/wpa_gui-qt4"
+  install -Dm755 wpa_gui "${pkgdir}/usr/sbin/wpa_gui"
+  install -Dm644 icons/wpa_gui.svg "${pkgdir}/usr/share/pixmaps/wpa_gui.svg"
+  install -Dm644 wpa_gui.desktop "${pkgdir}/usr/share/applications/wpa_gui.desktop"
+  install -Dm644 "${srcdir}/wpa_supplicant-${pkgver}/wpa_supplicant/doc/docbook/wpa_gui.8" \
+     "${pkgdir}/usr/share/man/man8/wpa_gui.8"
+}

Copied: wpa_supplicant_gui/repos/testing-x86_64/compile-fix.patch (from rev 162331, wpa_supplicant_gui/trunk/compile-fix.patch)
===================================================================
--- testing-x86_64/compile-fix.patch	                        (rev 0)
+++ testing-x86_64/compile-fix.patch	2012-06-25 10:11:07 UTC (rev 162332)
@@ -0,0 +1,14 @@
+diff -u -r wpa_supplicant-1.0/wpa_supplicant/wpa_gui-qt4/wpagui.cpp wpa_supplicant-1.0-fix/wpa_supplicant/wpa_gui-qt4/wpagui.cpp
+--- wpa_supplicant-1.0/wpa_supplicant/wpa_gui-qt4/wpagui.cpp	2012-05-09 23:56:09.000000000 +0200
++++ wpa_supplicant-1.0-fix/wpa_supplicant/wpa_gui-qt4/wpagui.cpp	2012-06-25 12:06:46.045261398 +0200
+@@ -12,10 +12,8 @@
+  * See README and COPYING for more details.
+  */
+ 
+-#ifdef __MINGW32__
+ /* Need to get getopt() */
+ #include <unistd.h>
+-#endif
+ 
+ #ifdef CONFIG_NATIVE_WINDOWS
+ #include <windows.h>




More information about the arch-commits mailing list