release: remove packaging directory as it is not maintained

This commit is contained in:
Peter F. Patel-Schneider 2020-05-02 12:52:21 -04:00 committed by Filipe Laíns
parent f641554ed5
commit 66dc0bd285
27 changed files with 1 additions and 790 deletions

View File

@ -1,4 +1,5 @@
1.0.2rc2:
* Remove packaging directory tree as it is not maintained
* Pip installs udev rule and solaar autostart when not doing --user install
* Use only standard icons for battery levels. Symbolic icons do not change to white in dark themes because of problems external to Solaar.
* Better reporting of battery levels when charging for some devices.

View File

@ -1,8 +0,0 @@
The debian/ folder is maintained by me and used for all releases for Debian
and Ubuntu.
The rest of the files serve as samples/guidelines for packaging Solaar.
They may be out-of-date or simply wrong, and are not necessarily used to build
the official packages.
See README.md for links to official packages for various distributions.

View File

@ -1,29 +0,0 @@
# Maintainer: Arnaud Taffanel <dev@taffanel.org>
pkgname=solaar
pkgver=0.8.8.1
pkgrel=1
pkgdesc="Device manager for Logitech's Unifying receiver peripherals"
url="http://pwr.github.com/Solaar/"
license=('GPL2')
groups=()
arch=('any')
depends=('python' 'python-pyudev' 'python-gobject' 'pygtk')
makedepends=('python')
provides=('solaar')
conflicts=('solaar')
options=(!emptydirs)
install=solaar.install
source=("https://github.com/pwr/Solaar/archive/${pkgver}.tar.gz"
'solaar.install')
md5sums=('2fee5353702b32e6958a51c2e603178f'
'2416fcb58a4c24da5bbb94a9207799b4')
package() {
cd "$srcdir/Solaar-${pkgver}/"
python3 setup.py install --root="$pkgdir/" --optimize=1
install -D -m0644 rules.d/99-logitech-unifying-receiver.rules \
"$pkgdir/etc/udev/rules.d/99-logitech-unifying-receiver.rules"
}
# vim:set ts=2 sw=2 et:

View File

@ -1,10 +0,0 @@
pre_install() {
if ! getent group plugdev >/dev/null; then
groupadd --system plugdev
fi
}
post_install() {
udevadm control --reload-rules
echo "To be able to use this application, user must be in the plugdev group."
}

View File

@ -1,128 +0,0 @@
#!/bin/sh
set -e
if test "$DEBSIGN_KEYID"; then
# only build a source package, and sign it
DPKG_BUILPACKAGE_OPTS="-sa -S -k$DEBSIGN_KEYID"
BUILDER_ROLE='Uploaders'
test "$DEBEMAIL"
test "$DEBFULLNAME"
DEBCHANGE_OPTIONS="$@"
else
# build an unsigned binary package
DPKG_BUILPACKAGE_OPTS="-b -us -uc"
BUILDER_ROLE='Changed-By'
export DEBFULLNAME="$(/usr/bin/getent passwd "$USER" | \
/usr/bin/cut --delimiter=: --fields=5 | /usr/bin/cut --delimiter=, --fields=1)"
export DEBEMAIL="${EMAIL:-$USER@$(/bin/hostname --long)}"
DEBCHANGE_OPTIONS="--fromdirname"
fi
export DEBMAIL="$DEBEMAIL"
export DEBCHANGE_VENDOR=${DEBCHANGE_VENDOR:-$(/usr/bin/dpkg-vendor --query vendor | /usr/bin/tr 'A-Z' 'a-z')}
test "$DEBCHANGE_VENDOR"
DISTRIBUTION=${DISTRIBUTION:-UNRELEASED}
test "$DISTRIBUTION"
cd "$(dirname "$0")/.."
DEBIAN_FILES="$PWD/packaging/debian"
DEBIAN_FILES_VENDOR="$PWD/packaging/$DEBCHANGE_VENDOR"
DIST_DIR="$PWD/dist"
#
# Build a python sdist package, then unpack and create .orig and source dir.
#
P_NAME="$(python3 setup.py --name)"
P_VERSION="$(python3 setup.py --version)"
SDIST_FILE="$DIST_DIR/$P_NAME-$P_VERSION.tar.gz"
ORIG_FILE="$DIST_DIR/${P_NAME}_${P_VERSION}.orig.tar.gz"
BUILD_DIR="$DIST_DIR/$P_NAME-$P_VERSION"
if test -d "$BUILD_DIR"; then
echo "*** $BUILD_DIR already exists, is it a leftover from previous builds? Aborting."
exit 1
fi
export TMPDIR="$(/bin/mktemp --directory --tmpdir debbuild-$P_NAME-$P_VERSION-$USER-XXXXXX)"
./tools/po-compile.sh
python3 setup.py sdist --formats=gztar --quiet
/bin/tar --extract --gunzip --file "$SDIST_FILE" --directory "$DIST_DIR"
test -d "$BUILD_DIR"
# If the orig file already exists for this version, check that no source
# changes occurred.
if test -r "$ORIG_FILE"; then
ORIG_SOURCES="$TMPDIR/$P_NAME-$P_VERSION"
DIFF_OUTPUT="$TMPDIR/orig-diff-$P_VERSION"
/bin/tar --extract --gunzip --file "$ORIG_FILE" --directory "$TMPDIR"
/usr/bin/diff --recursive --minimal --unified \
"$ORIG_SOURCES" "$BUILD_DIR" >"$DIFF_OUTPUT" || true
# either way, the sdist archive is no longer useful
/bin/rm --force "$SDIST_FILE"
if test -s "$DIFF_OUTPUT"; then
/bin/rm --force --recursive "$BUILD_DIR"
echo '*** Current sbuild differs from existing .orig archive. Aborting.'
cat "$DIFF_OUTPUT"
exit 1
fi
unset ORIG_SOURCES DIFF_OUTPUT
else
/bin/mv "$SDIST_FILE" "$ORIG_FILE"
fi
unset P_NAME P_VERSION SDIST_FILE ORIG_FILE
#
# preparing to build the package
#
cd "$BUILD_DIR"
/bin/cp --archive --target-directory=. "$DEBIAN_FILES"
/bin/sed --in-place --file=- debian/control <<-CONTROL
/^Maintainer:/ a\
$BUILDER_ROLE: $DEBFULLNAME <$DEBEMAIL>
CONTROL
/usr/bin/debchange \
--vendor "$DEBCHANGE_VENDOR" \
--distribution "$DISTRIBUTION" \
--force-save-on-release \
--auto-nmu \
$DEBCHANGE_OPTIONS
if test "$DEBCHANGE_VENDOR" = debian; then
# if this is the main (Debian) build, update the source changelog
/bin/cp --archive --no-target-directory debian/changelog "$DEBIAN_FILES"/changelog
elif test -d "$DEBIAN_FILES_VENDOR"; then
# else copy any additional files
/bin/cp --archive --target-directory=debian/ "$DEBIAN_FILES_VENDOR"/* || true
fi
# install vendor-specific substvars files, if any
/usr/bin/find debian/ -type f -name "substvars.*.$DEBCHANGE_VENDOR" |\
while read subst_source; do
subst_target="${subst_source%.$DEBCHANGE_VENDOR}"
/bin/mv --force "$subst_source" "$subst_target"
done
# remove the templates, they are not relevant to the debian source package
/bin/rm --force debian/substvars.*.*
# apply custom substvars and clean-up debian/
cat debian/substvars.* | /bin/grep '^[-A-Za-z]*=' | /usr/bin/tr '=' ' ' |\
while read variable value; do
/bin/sed --in-place --expression="s/\${solaar:$variable}/$value/" debian/control
done
/bin/rm --force debian/substvars.*
/usr/bin/debuild \
--lintian --tgz-check \
--preserve-envvar=DISPLAY \
$DPKG_BUILPACKAGE_OPTS \
--lintian-opts --profile "$DEBCHANGE_VENDOR"
/bin/rm --force --recursive "$BUILD_DIR"

View File

@ -1,25 +0,0 @@
solaar (0.9.2-2) unstable; urgency=low
* Fixes for lintian warnings.
-- Daniel Pavel <daniel.pavel+debian@gmail.com> Wed, 24 Jul 2013 21:47:17 +0200
solaar (0.9.2-1) unstable; urgency=low
* Release 0.9.2.
* Closes: #717766.
-- Daniel Pavel <daniel.pavel+debian@gmail.com> Wed, 24 Jul 2013 20:59:52 +0200
solaar (0.9.1-1) unstable; urgency=low
* Release 0.9.1.
-- Daniel Pavel <daniel.pavel+debian@gmail.com> Sat, 13 Jul 2013 12:03:09 +0200
solaar (0.9.0-1) unstable; urgency=low
* Release 0.9.0.
* Initial Debian release (closes: #715172)
-- Daniel Pavel <daniel.pavel+debian@gmail.com> Tue, 09 Jul 2013 14:50:08 +0200

View File

@ -1 +0,0 @@
9

View File

@ -1,25 +0,0 @@
Source: solaar
Section: misc
Priority: optional
Maintainer: Daniel Pavel <daniel.pavel@gmail.com>
Build-Depends: debhelper (>= 9)
Build-Depends-Indep: python, po-debconf
X-Python-Version: >= 2.7
X-Python3-Version: >= 3.2
Standards-Version: 3.9.4
Homepage: http://pwr-solaar.github.io/Solaar
Vcs-Git: git://github.com/pwr/Solaar.git
Vcs-browser: http://github.com/pwr/Solaar
Package: solaar
Architecture: all
Depends: ${misc:Depends}, ${debconf:Depends}, udev (>= 175), passwd | adduser,
${python:Depends}, python3-pyudev (>= 0.13), python3-gi (>= 3.2), gir1.2-gtk-3.0 (>= 3.4),
${solaar:Desktop-Icon-Theme}
Recommends: gir1.2-notify-0.7, consolekit (>= 0.4.3) | systemd (>= 44),
python3-dbus (>= 1.1.0), upower
Suggests: gir1.2-ayatanaappindicator3-0.1 | gir1.2-appindicator3-0.1
Description: Logitech Unifying Receiver peripherals manager for Linux
Solaar is a Linux device manager for Logitech's Unifying Receiver peripherals.
It is able to pair/unpair devices to the receiver, and for some devices read
battery status.

View File

@ -1,45 +0,0 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0
Upstream-Name: Solaar
Upstream-Contact: Daniel Pavel <daniel.pavel@gmail.com>
Upstream-Source: http://github.com/pwr-Solaar
Files: *
Copyright: Copyright 2012-2013 Daniel Pavel
License: GPL-2
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2 as
published by the Free Software Foundation.
.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software Foundation,
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
.
On Debian systems, the complete text of the GNU General Public License,
version 2, can be found in /usr/share/common-licenses/GPL-2.
Files: share/solaar/icons/solaar-init.svg share/solaar/icons/solaar-attention.svg share/solaar/icons/solaar.svg share/solaar-master.svg
License: http://creativecommons.org/licenses/by-sa/3.0/
Copyright: Copyright 2012-2013 Daniel Pavel
License: LGPL
Files: share/solaar/icons/light_*.png
Copyright: Oxygen Icons
License: LGPL
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 3 of the License, or (at your option) any later version.
.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
.
You should have received a copy of the GNU Lesser General Public
License along with this library. If not, see <http://www.gnu.org/licenses/>.
Comment: These files were copied from the Oxygen icon theme (weather-*).

View File

@ -1 +0,0 @@
[type: gettext/rfc822deb] solaar.templates

View File

@ -1,76 +0,0 @@
# English translations for solaar package.
# Copyright (C) 2013 Daniel Pavel
# This file is distributed under the same license as the solaar package.
# Automatically generated, 2013.
#
msgid ""
msgstr ""
"Project-Id-Version: solaar\n"
"Report-Msgid-Bugs-To: daniel.pavel@gmail.com\n"
"POT-Creation-Date: 2013-06-17 16:01+0200\n"
"PO-Revision-Date: 2013-06-17 16:01+0200\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
"Language: en\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. Type: boolean
#. Description
#: ../solaar.templates:1001
msgid "Use plugdev group?"
msgstr "Use plugdev group?"
#. Type: boolean
#. Description
#: ../solaar.templates:1001
msgid ""
"By default, the Logitech receiver devices are only accessible by the root "
"user."
msgstr ""
"By default, the Logitech receiver devices are only accessible by the root "
"user."
#. Type: boolean
#. Description
#: ../solaar.templates:1001
msgid ""
"To allow access to regular users (through solaar), the needed ACLs can be "
"applied, either by the ConsoleKit or systemd daemon, to the current seat "
"(logged-in user). Right now, ${SEAT_DAEMON_STATUS} daemon is running."
msgstr ""
"To allow access to regular users (through solaar), the needed ACLs can be "
"applied, either by the ConsoleKit or systemd daemon, to the current seat "
"(logged-in user). Right now, ${SEAT_DAEMON_STATUS} daemon is running."
#. Type: boolean
#. Description
#: ../solaar.templates:1001
msgid ""
"If neither of these daemons is installed on your system, or you want to make "
"the receiver accessible to ssh logged-in through ssh, members of the "
"'plugdev' system group can be given access to the receiver devices."
msgstr ""
"If neither of these daemons is installed on your system, or you want to make "
"the receiver accessible to ssh logged-in through ssh, members of the "
"'plugdev' system group can be given access to the receiver devices."
#. Type: boolean
#. Description
#: ../solaar.templates:1001
msgid ""
"If you do use the 'plugdev' group, don't forget to make sure all your "
"desktop users are members of the plugdev system group. You can add new "
"members to the group by running, as root:\n"
" gpasswd --add <username> plugdev\n"
"For the group membership to take effect, the affected users have to log-out "
"and log-in again."
msgstr ""
"If you do use the 'plugdev' group, don't forget to make sure all your "
"desktop users are members of the plugdev system group. You can add new "
"members to the group by running, as root:\n"
" gpasswd --add <username> plugdev\n"
"For the group membership to take effect, the affected users have to log-out "
"and log-in again."

View File

@ -1,75 +0,0 @@
# Croatian translations for solaar package
# Copyright (C) YEAR THE solaar'S COPYRIGHT HOLDER
# This file is distributed under the same license as the solaar package.
# gogo <trebelnik2@gmail.com>, 2014.
#
msgid ""
msgstr ""
"Project-Id-Version: solaar\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-03-31 17:40+0200\n"
"PO-Revision-Date: 2015-03-31 18:08+0100\n"
"Last-Translator: gogo <trebelnik2@gmail.com>\n"
"Language-Team: Croatian <hr@li.org>\n"
"Language: hr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
"X-Generator: Poedit 1.5.4\n"
"X-Poedit-SourceCharset: UTF-8\n"
#. Description
#: ../solaar.templates:4
msgid "Use plugdev group?"
msgstr "Koristi plugdev grupu?"
#. Description
#: ../solaar.templates:4
msgid ""
"By default, the Logitech receiver devices are only accessible by the root "
"user."
msgstr ""
"Prema zadanom, uređaji Logitech prijemnika su dostupni samo korijenskom "
"korisniku."
#. Description
#: ../solaar.templates:4
msgid ""
"To allow access to regular users (through solaar), the needed ACLs can be "
"applied, either by the ConsoleKit or systemd daemon, to the current seat "
"(logged-in user). Right now, ${SEAT_DAEMON_STATUS} daemon is running."
msgstr ""
"Kako bi se dopustio pristup običnom korisniku (putem solaara), potrebni ACL-"
"ovi mogu se primijeniti, ili ConsoleKitom systemd pozadinskim programom, na "
"trenutno prijavljenog korisnika. Trenutno je, ${SEAT_DAEMON_STATUS} "
"pozadinki program pokrenut."
#. Description
#: ../solaar.templates:4
msgid ""
"If neither of these daemons is installed on your system, or you want to make "
"the receiver accessible to ssh logged-in through ssh, members of the "
"'plugdev' system group can be given access to the receiver devices."
msgstr ""
"Ako nijedan od tih pozadinskih programa nije instaliran na vaš sustav, ili "
"ako želite prijemnik učiniti dostupnim putem ssh prijave, članovima "
"'plugdev' grupe sustava može biti dan pristup uređajima prijemnika."
#. Description
#: ../solaar.templates:4
msgid ""
"If you do use the 'plugdev' group, don't forget to make sure all your "
"desktop users are members of the plugdev system group. You can add new "
"members to the group by running, as root:\n"
" gpasswd --add <username> plugdev\n"
"For the group membership to take effect, the affected users have to log-out "
"and log-in again."
msgstr ""
"Ako koristite 'plugdev' grupu, pobrinite se da svi vaši korisnici radne "
"površine su članovi plugdev grupe sustava. Možete dodati novog člana u grupu "
"pokretanjem kao korijenskog korisnika (root):\n"
" gpasswd --add <korisnikovo ime> plugdev\n"
"Kako bi članstvo grupe postalo aktivno, dodani korisnik mora se odjaviti i "
"ponovno prijaviti u sustav."

View File

@ -1,62 +0,0 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: solaar\n"
"Report-Msgid-Bugs-To: solaar@packages.debian.org\n"
"POT-Creation-Date: 2013-06-17 16:01+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"
#. Type: boolean
#. Description
#: ../solaar.templates:1001
msgid "Use plugdev group?"
msgstr ""
#. Type: boolean
#. Description
#: ../solaar.templates:1001
msgid ""
"By default, the Logitech receiver devices are only accessible by the root "
"user."
msgstr ""
#. Type: boolean
#. Description
#: ../solaar.templates:1001
msgid ""
"To allow access to regular users (through solaar), the needed ACLs can be "
"applied, either by the ConsoleKit or systemd daemon, to the current seat "
"(logged-in user). Right now, ${SEAT_DAEMON_STATUS} daemon is running."
msgstr ""
#. Type: boolean
#. Description
#: ../solaar.templates:1001
msgid ""
"If neither of these daemons is installed on your system, or you want to make "
"the receiver accessible to ssh logged-in through ssh, members of the "
"'plugdev' system group can be given access to the receiver devices."
msgstr ""
#. Type: boolean
#. Description
#: ../solaar.templates:1001
msgid ""
"If you do use the 'plugdev' group, don't forget to make sure all your "
"desktop users are members of the plugdev system group. You can add new "
"members to the group by running, as root:\n"
" gpasswd --add <username> plugdev\n"
"For the group membership to take effect, the affected users have to log-out "
"and log-in again."
msgstr ""

View File

@ -1,18 +0,0 @@
#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
#export DH_OPTIONS=-v
PREFIX = /usr
%:
# Adding the required helpers
dh $@ --with=python3
override_dh_auto_install:
dh_auto_install -- --prefix=$(PREFIX) --install-lib=$(PREFIX)/share/solaar/lib
override_dh_python3:
dh_python3 $(PREFIX)/share/solaar/lib

View File

@ -1,55 +0,0 @@
#!/bin/sh
set -e
. /usr/share/debconf/confmodule
db_version 2.0
db_capb backup
consolekit_running() {
test -e /var/run/ConsoleKit/database
}
systemd_running() {
test -e /sys/fs/cgroup/systemd
}
plugdev_group_exists() {
getent group plugdev >/dev/null
}
# During normal installation/upgrade, try to avoid bothering the user
# if the current settings are sane.
if test -z "$DEBCONF_RECONFIGURE"; then
consolekit_running && exit 0
systemd_running && exit 0
if db_get solaar/use_plugdev_group; then
test "$RET" = true && plugdev_group_exists && exit 0
else
# If the group already exists, just use it.
plugdev_group_exists && db_set solaar/use_plugdev_group true && exit 0
fi
fi
# If the package hasn't been configured yet, and no seat daemon is running,
# change the default.
if ! db_get solaar/use_plugdev_group; then
if ! consolekit_running && ! systemd_running; then
plugdev_group_exists && db_set solaar/use_plugdev_group true
fi
fi
# update the question template
if consolekit_running; then
db_subst solaar/use_plugdev_group SEAT_DAEMON_STATUS "the ConsoleKit"
elif systemd_running; then
db_subst solaar/use_plugdev_group SEAT_DAEMON_STATUS "the systemd"
else
db_subst solaar/use_plugdev_group SEAT_DAEMON_STATUS "NEITHER"
fi
# ask the question
db_input high solaar/use_plugdev_group || true
db_go || true
exit 0

View File

@ -1,6 +0,0 @@
usr/bin/
usr/share/solaar/
usr/share/locale/
usr/share/icons/hicolor/scalable/apps/
usr/share/applications/
usr/share/applications/solaar.desktop etc/xdg/autostart/

View File

@ -1,13 +0,0 @@
#!/bin/sh
set -e
. /usr/share/debconf/confmodule
db_get solaar/use_plugdev_group
if test "$RET" = true; then
# make sure the group exists if required
if ! getent group plugdev >/dev/null; then
groupadd --system plugdev || addgroup --system plugdev
fi
fi
#DEBHELPER#

View File

@ -1,21 +0,0 @@
Template: solaar/use_plugdev_group
Type: boolean
Default: false
_Description: Use plugdev group?
By default, the Logitech receiver devices are only accessible by the root user.
.
To allow access to regular users (through solaar), the needed ACLs can be
applied, either by the ConsoleKit or systemd daemon, to the current seat
(logged-in user).
Right now, ${SEAT_DAEMON_STATUS} daemon is running.
.
If neither of these daemons is installed on your system, or you want to make
the receiver accessible to ssh logged-in through ssh, members of the 'plugdev'
system group can be given access to the receiver devices.
.
If you do use the 'plugdev' group, don't forget to make sure all your desktop
users are members of the plugdev system group. You can add new members to the
group by running, as root:
gpasswd --add <username> plugdev
For the group membership to take effect, the affected users have to log-out
and log-in again.

View File

@ -1,64 +0,0 @@
# This rule was added by Solaar.
#
# Allows non-root users to have raw access the Logitech Unifying USB Receiver
# device. For development purposes, allowing users to write to the receiver is
# potentially dangerous (e.g. perform firmware updates).
ACTION != "add", GOTO="solaar_end"
SUBSYSTEM != "hidraw", GOTO="solaar_end"
# official Unifying receivers
ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c52b", GOTO="solaar_apply"
ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c532", GOTO="solaar_apply"
# Nano receiver, "Unifying Ready"
ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c52f", GOTO="solaar_apply"
# classic Nano receiver -- VX Nano mouse
ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c526", GOTO="solaar_apply"
# classic Nano receiver -- MK220/MK320 mouse and keyboard combo
ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c52e", GOTO="solaar_apply"
# classic? Nano receiver -- V220 wireless mouse
ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c51b", GOTO="solaar_apply"
# G-Series receiver -- G-Series mouse
ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c531", GOTO="solaar_apply"
# other Nano receivers known to Solaar
ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c517", GOTO="solaar_apply"
ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c518", GOTO="solaar_apply"
ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c51a", GOTO="solaar_apply"
ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c521", GOTO="solaar_apply"
ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c525", GOTO="solaar_apply"
ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c534", GOTO="solaar_apply"
# Lenovo nano receiver
ATTRS{idVendor}=="17ef", ATTRS{idProduct}=="6042", GOTO="solaar_apply"
GOTO="solaar_end"
#
#
#
LABEL="solaar_apply"
# don't apply to the paired peripherals, just the receivers
DRIVERS=="logitech-djdevice|logitech-hidpp-device", GOTO="solaar_end"
# if the package configuration does not want the plugdev group, don't change the
# group and access mode
PROGRAM="/usr/bin/debconf-show solaar", RESULT=="*use_plugdev_group: false*", GOTO="solaar_no_plugdev"
MODE="0660", GROUP="plugdev"
LABEL="solaar_no_plugdev"
# tags for systemd/consolekit, they will apply the right ACLs for seated users
TAG+="uaccess", TAG+="udev-acl"
#
#
#
LABEL="solaar_end"
# vim: ft=udevrules

View File

@ -1 +0,0 @@
3.0 (quilt)

View File

@ -1,5 +0,0 @@
# distro package containing some required icons
Desktop-Icon-Theme=gnome-icon-theme | oxygen-icon-theme
# dependency for solaar-gnome3 (gnome-shell/unity specific)
Gnome-Icon-Theme=gnome-icon-theme

View File

@ -1,2 +0,0 @@
Desktop-Icon-Theme=gnome-icon-theme | gnome-icon-theme-full | oxygen-icon-theme-complete
Gnome-Icon-Theme=gnome-icon-theme | gnome-icon-theme-full

View File

@ -1,11 +0,0 @@
version=3
# GitHubRedir generator
# download url:
# http://githubredir.debian.net/github/pwr/Solaar/${tag_name}.tar.gz
http://githubredir.debian.net/github/pwr/Solaar/ (.*).tar.gz
# official GitHub page
# download url:
# https://github.com/pwr/Solaar/archive/${tag_name}.tar.gz
#https://github.com/pwr/Solaar/tags .*/(\d.*)\.tar\.gz

View File

@ -1,22 +0,0 @@
[DEFAULT]
progress_indicator = 2
allow_unsigned_uploads = 0
login = anonymous
[solaar-ppa]
fqdn = ppa.launchpad.net
incoming = ~daniel.pavel/solaar/ubuntu/
method = ftp
allowed_distributions = precise
[solaar-snapshots-ppa]
fqdn = ppa.launchpad.net
incoming = ~daniel.pavel/solaar-snapshots/ubuntu/
method = ftp
allowed_distributions = precise
[mentors]
fqdn = mentors.debian.net
incoming = /upload
method = http
allowed_distributions = unstable

View File

@ -1,53 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
PYTHON_COMPAT=( python{2_7,3_2} )
inherit distutils-r1 udev user linux-info gnome2-utils
DESCRIPTION="Solaar is a Linux device manager for Logitech's Unifying Receiver peripherals"
HOMEPAGE="http://pwr-solaar.github.io/Solaar/"
SRC_URI="https://github.com/pwr/Solaar/archive/${PV}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
IUSE="doc"
RDEPEND="${PYTHON_DEPS}
dev-python/pyudev
dev-python/pygobject[${PYTHON_USEDEP}]"
MY_P="Solaar-${PV}"
S="${WORKDIR}/${MY_P}"
DOCS=( README.md COPYING COPYRIGHT ChangeLog )
pkg_setup() {
enewgroup plugdev
CONFIG_CHECK="HID_LOGITECH_DJ"
linux-info_pkg_setup
}
src_install() {
distutils-r1_src_install
udev_dorules rules.d/*.rules
if use doc; then
dodoc -r docs/*
fi
}
pkg_postinst() {
gnome2_icon_cache_update
elog "To be able to use this application, the user must be on the plugdev group."
}
pkg_preinst() { gnome2_icon_savelist; }
pkg_postrm() { gnome2_icon_cache_update; }

View File

@ -1,17 +0,0 @@
#!/bin/sh
set -e
export DEBCHANGE_VENDOR=ubuntu
export DISTRIBUTION=precise
export DEBFULLNAME='Daniel Pavel'
export DEBEMAIL='daniel.pavel+launchpad@gmail.com'
export DEBSIGN_KEYID=07D8904B
Z="$(readlink -f "$(dirname "$0")")"
"$Z"/build_deb.sh --rebuild "$@"
cd "$Z/../dist"
CHANGES_FILE=$(/bin/ls --format=single-column --sort=time solaar_*_source.changes | /usr/bin/head --lines=1)
/usr/bin/dput --config="$Z/dput.cf" solaar-snapshots-ppa "$CHANGES_FILE"

View File

@ -1,17 +0,0 @@
#!/bin/sh
set -e
export DEBCHANGE_VENDOR=debian
export DISTRIBUTION=unstable
export DEBFULLNAME='Daniel Pavel'
export DEBEMAIL='daniel.pavel+debian@gmail.com'
export DEBSIGN_KEYID=0B34B1A7
Z="$(readlink -f "$(dirname "$0")")"
"$Z"/build_deb.sh --release "$@"
cd "$Z/../dist"
CHANGES_FILE=$(/bin/ls --format=single-column --sort=time solaar_*_source.changes | /usr/bin/head --lines=1)
/usr/bin/dput --config="$Z/dput.cf" mentors "$CHANGES_FILE"