[arch-commits] Commit in teensy-loader-cli/repos/community-x86_64 (4 files)

Bruno Pagani archange at archlinux.org
Sun Sep 1 06:38:15 UTC 2019


    Date: Sunday, September 1, 2019 @ 06:38:14
  Author: archange
Revision: 505875

archrelease: copy trunk to community-x86_64

Added:
  teensy-loader-cli/repos/community-x86_64/49-teensy.rules
    (from rev 505874, teensy-loader-cli/trunk/49-teensy.rules)
  teensy-loader-cli/repos/community-x86_64/PKGBUILD
    (from rev 505874, teensy-loader-cli/trunk/PKGBUILD)
Deleted:
  teensy-loader-cli/repos/community-x86_64/49-teensy.rules
  teensy-loader-cli/repos/community-x86_64/PKGBUILD

-----------------+
 49-teensy.rules |   76 +++++++++++++++++++++++++++---------------------------
 PKGBUILD        |   57 +++++++++++++++++++---------------------
 2 files changed, 66 insertions(+), 67 deletions(-)

Deleted: 49-teensy.rules
===================================================================
--- 49-teensy.rules	2019-09-01 06:37:59 UTC (rev 505874)
+++ 49-teensy.rules	2019-09-01 06:38:14 UTC (rev 505875)
@@ -1,38 +0,0 @@
-# UDEV Rules for Teensy boards, http://www.pjrc.com/teensy/
-#
-# The latest version of this file may be found at:
-#   http://www.pjrc.com/teensy/49-teensy.rules
-#
-# This file must be placed at:
-#
-# /etc/udev/rules.d/49-teensy.rules    (preferred location)
-#   or
-# /lib/udev/rules.d/49-teensy.rules    (req'd on some broken systems)
-#
-# To install, type this command in a terminal:
-#   sudo cp 49-teensy.rules /etc/udev/rules.d/49-teensy.rules
-#
-# Or use the alternate way (from this forum message) to download and install:
-#   https://forum.pjrc.com/threads/45595?p=150445&viewfull=1#post150445
-#
-# After this file is installed, physically unplug and reconnect Teensy.
-#
-ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789B]?", ENV{ID_MM_DEVICE_IGNORE}="1"
-ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789A]?", ENV{MTP_NO_PROBE}="1"
-SUBSYSTEMS=="usb", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789ABCD]?", MODE:="0666"
-KERNEL=="ttyACM*", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789B]?", MODE:="0666"
-#
-# If you share your linux system with other users, or just don't like the
-# idea of write permission for everybody, you can replace MODE:="0666" with
-# OWNER:="yourusername" to create the device owned by you, or with
-# GROUP:="somegroupname" and mange access using standard unix groups.
-#
-#
-# If using USB Serial you get a new device each time (Ubuntu 9.10)
-# eg: /dev/ttyACM0, ttyACM1, ttyACM2, ttyACM3, ttyACM4, etc
-#    apt-get remove --purge modemmanager     (reboot may be necessary)
-#
-# Older modem proding (eg, Ubuntu 9.04) caused very slow serial device detection.
-# To fix, add this near top of /lib/udev/rules.d/77-nm-probe-modem-capabilities.rules
-#   SUBSYSTEMS=="usb", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789]?", GOTO="nm_modem_probe_end" 
-#

Copied: teensy-loader-cli/repos/community-x86_64/49-teensy.rules (from rev 505874, teensy-loader-cli/trunk/49-teensy.rules)
===================================================================
--- 49-teensy.rules	                        (rev 0)
+++ 49-teensy.rules	2019-09-01 06:38:14 UTC (rev 505875)
@@ -0,0 +1,38 @@
+# UDEV Rules for Teensy boards, http://www.pjrc.com/teensy/
+#
+# The latest version of this file may be found at:
+#   http://www.pjrc.com/teensy/49-teensy.rules
+#
+# This file must be placed at:
+#
+# /etc/udev/rules.d/49-teensy.rules    (preferred location)
+#   or
+# /lib/udev/rules.d/49-teensy.rules    (req'd on some broken systems)
+#
+# To install, type this command in a terminal:
+#   sudo cp 49-teensy.rules /etc/udev/rules.d/49-teensy.rules
+#
+# Or use the alternate way (from this forum message) to download and install:
+#   https://forum.pjrc.com/threads/45595?p=150445&viewfull=1#post150445
+#
+# After this file is installed, physically unplug and reconnect Teensy.
+#
+ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789B]?", ENV{ID_MM_DEVICE_IGNORE}="1"
+ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789A]?", ENV{MTP_NO_PROBE}="1"
+SUBSYSTEMS=="usb", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789ABCD]?", MODE:="0666"
+KERNEL=="ttyACM*", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789B]?", MODE:="0666"
+#
+# If you share your linux system with other users, or just don't like the
+# idea of write permission for everybody, you can replace MODE:="0666" with
+# OWNER:="yourusername" to create the device owned by you, or with
+# GROUP:="somegroupname" and mange access using standard unix groups.
+#
+#
+# If using USB Serial you get a new device each time (Ubuntu 9.10)
+# eg: /dev/ttyACM0, ttyACM1, ttyACM2, ttyACM3, ttyACM4, etc
+#    apt-get remove --purge modemmanager     (reboot may be necessary)
+#
+# Older modem proding (eg, Ubuntu 9.04) caused very slow serial device detection.
+# To fix, add this near top of /lib/udev/rules.d/77-nm-probe-modem-capabilities.rules
+#   SUBSYSTEMS=="usb", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789]?", GOTO="nm_modem_probe_end" 
+#

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-09-01 06:37:59 UTC (rev 505874)
+++ PKGBUILD	2019-09-01 06:38:14 UTC (rev 505875)
@@ -1,29 +0,0 @@
-# Maintainer: Kyle Keen <keenerd at gmail.com>
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-# Creator: Peter Feigl <craven at gmx.net>
-# Modified: Josh Kropf <josh at slashdev.ca>
-
-pkgname=teensy-loader-cli
-pkgver=2.1
-pkgrel=2
-pkgdesc="Command line loader for the teensy microprocessor boards"
-arch=('x86_64')
-url="https://www.pjrc.com/teensy/loader_cli.html"
-license=('GPL2')
-depends=('libusb-compat')
-source=(
-  "https://www.pjrc.com/teensy/${pkgname//-/_}.${pkgver}.zip"
-  "https://www.pjrc.com/teensy/49-teensy.rules")
-sha256sums=('dafd040d6748b52e0d4a01846d4136f3354ca27ddc36a55ed00d0a0af0902d46'
-            '031de0b26991b5a3b19c497d9c0a17f86c40c55d925b9d07d19ab89f2286469d')
-
-build() {
-  cd ${pkgname//-/_}
-  make
-}
-
-package() {
-  cd ${pkgname//-/_}
-  install -Dm755 teensy_loader_cli "${pkgdir}"/usr/bin/teensy-loader-cli
-  install -Dm644 "${srcdir}"/49-teensy.rules -t "${pkgdir}"/usr/lib/udev/rules.d/
-}

Copied: teensy-loader-cli/repos/community-x86_64/PKGBUILD (from rev 505874, teensy-loader-cli/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-09-01 06:38:14 UTC (rev 505875)
@@ -0,0 +1,28 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+# Creator: Peter Feigl <craven at gmx.net>
+# Modified: Josh Kropf <josh at slashdev.ca>
+
+pkgname=teensy-loader-cli
+pkgver=2.1
+pkgrel=3
+pkgdesc="Command line loader for the teensy microprocessor boards"
+arch=(x86_64)
+url="https://www.pjrc.com/teensy/loader_cli.html"
+license=(GPL2)
+depends=(libusb-compat)
+source=(https://github.com/PaulStoffregen/${pkgname//-/_}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz
+        https://www.pjrc.com/teensy/49-teensy.rules)
+sha256sums=('5c36fe45b9a3a71ac38848b076cd692bf7ca8826a69941c249daac3a1d95e388'
+            '031de0b26991b5a3b19c497d9c0a17f86c40c55d925b9d07d19ab89f2286469d')
+
+build() {
+  cd ${pkgname//-/_}-${pkgver}
+  make
+}
+
+package() {
+  cd ${pkgname//-/_}-${pkgver}
+  install -Dm755 teensy_loader_cli "${pkgdir}"/usr/bin/teensy-loader-cli
+  install -Dm644 "${srcdir}"/49-teensy.rules -t "${pkgdir}"/usr/lib/udev/rules.d/
+}



More information about the arch-commits mailing list