Browse Source

git subrepo clone gitea@gitea.artixlinux.org:packagesS/system-config-printer.git

subrepo:
  subdir:   "system-config-printer"
  merged:   "98f532f"
upstream:
  origin:   "gitea@gitea.artixlinux.org:packagesS/system-config-printer.git"
  branch:   "master"
  commit:   "98f532f"
git-subrepo:
  version:  "0.4.0"
  origin:   "???"
  commit:   "???"
master
artoo 2 years ago
parent
commit
1f3b1fa860
Signed by: artoo GPG Key ID: 3292CD0BB0DB310B
  1. 5
      system-config-printer/.artixlinux/agent.yaml
  2. 33
      system-config-printer/.gitignore
  3. 12
      system-config-printer/.gitrepo
  4. 3
      system-config-printer/Jenkinsfile
  5. 2
      system-config-printer/README.md
  6. 32
      system-config-printer/repos/extra-x86_64/0001-Fix-constructing-the-auth-dialog.patch
  7. 50
      system-config-printer/repos/extra-x86_64/PKGBUILD
  8. 32
      system-config-printer/trunk/0001-Fix-constructing-the-auth-dialog.patch
  9. 50
      system-config-printer/trunk/PKGBUILD

5
system-config-printer/.artixlinux/agent.yaml

@ -0,0 +1,5 @@
%YAML 1.2
---
label: master

33
system-config-printer/.gitignore

@ -0,0 +1,33 @@
# ---> ArchLinuxPackages
*.tar
*.tar.*
*.jar
*.exe
*.msi
*.zip
*.tgz
*.log
*.log.*
*.sig
pkg/
src/
# ---> Archives
*.7z
*.rar
*.gz
*.bzip
*.bz2
*.xz
*.lzma
*.cab
# ---> systemd
*.service
*.socket
*.timer
# ---> snap
*.snap

12
system-config-printer/.gitrepo

@ -0,0 +1,12 @@
; DO NOT EDIT (unless you know what you are doing)
;
; This subdirectory is a git "subrepo", and this file is maintained by the
; git-subrepo command. See https://github.com/git-commands/git-subrepo#readme
;
[subrepo]
remote = gitea@gitea.artixlinux.org:packagesS/system-config-printer.git
branch = master
commit = 98f532f25bbd63611adc466084ff2348ca4b161e
parent = c530b913723b8c75540c8eee1b0845701c739f4f
method = merge
cmdver = 0.4.0

3
system-config-printer/Jenkinsfile

@ -0,0 +1,3 @@
@Library('artix-ci') import org.artixlinux.RepoPackage
PackagePipeline(new RepoPackage(this))

2
system-config-printer/README.md

@ -0,0 +1,2 @@
# system-config-printer

32
system-config-printer/repos/extra-x86_64/0001-Fix-constructing-the-auth-dialog.patch

@ -0,0 +1,32 @@
From 2766d74a98e44693f5e966d541a6303b966c088b Mon Sep 17 00:00:00 2001
Message-Id: <2766d74a98e44693f5e966d541a6303b966c088b.1518105780.git.jan.steffens@gmail.com>
From: "Jan Alexander Steffens (heftig)" <jan.steffens@gmail.com>
Date: Thu, 8 Feb 2018 17:01:01 +0100
Subject: [PATCH] Fix constructing the auth dialog
47973c80 (Remove deprecated Gtk objects) broke the auth dialog.
Fixes https://bugs.archlinux.org/task/57364.
---
authconn.py | 2 --
1 file changed, 2 deletions(-)
diff --git a/authconn.py b/authconn.py
index 2a645dcc..0f3021cb 100644
--- a/authconn.py
+++ b/authconn.py
@@ -78,11 +78,9 @@ class AuthDialog(Gtk.Dialog):
field = auth_info_required[i]
label = Gtk.Label (label=_(self.AUTH_FIELD.get (field, field)))
label.set_alignment (0, 0.5)
- grid.attach (label, 0, 1, i, i + 1)
grid.attach (label, 0, i, 1, 1)
entry = Gtk.Entry ()
entry.set_visibility (field != 'password')
- grid.attach (entry, 1, 2, i, i + 1, 0, 0)
grid.attach (entry, 1, i, 1, 1)
self.field_entry.append (entry)
--
2.16.1

50
system-config-printer/repos/extra-x86_64/PKGBUILD

@ -0,0 +1,50 @@
# Maintainer: AndyRTR <andyrtr@archlinux.org>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
pkgname=system-config-printer
pkgver=1.5.11
pkgrel=4
pkgdesc="A CUPS printer configuration tool and status applet"
url="https://github.com/zdohnal/system-config-printer"
arch=('x86_64')
license=('GPL')
depends=('python-pycups' 'python-dbus' 'python-pycurl' 'libnotify'
'python-requests' 'python-gobject' 'gtk3' 'python-cairo')
makedepends=('intltool' 'xmlto' 'docbook-xsl' 'desktop-file-utils' 'libsecret')
optdepends=('libsecret: password management'
'python-pysmbc: SMB browser support'
'cups-pk-helper: PolicyKit helper to configure cups with fine-grained privileges')
source=(https://github.com/zdohnal/system-config-printer/releases/download/$pkgver/system-config-printer-${pkgver}.tar.xz
0001-Fix-constructing-the-auth-dialog.patch)
sha256sums=('38ad78d117c30ddb8c6c008a91d1bc0fa2e854ec04ee2de5cdd12ab842c100d3'
'2fd4daa433da0659b6a86962144545015d617c39c0e42ea04d7ede5fa6f9ceff')
prepare() {
cd ${pkgname}-${pkgver}
patch -Np1 -i ../0001-Fix-constructing-the-auth-dialog.patch
}
build() {
cd ${pkgname}-${pkgver}
./configure --prefix=/usr \
--sbindir=/usr/bin \
--sysconfdir=/etc \
--with-udevdir=/usr/lib/udev --with-udev-rules \
--with-systemdsystemunitdir=no
make
}
package() {
cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
# Compile *.pyc
find "${pkgdir}" -name '*.py' -exec python -mpy_compile {} +
# Compile *.pyo
find "${pkgdir}" -name '*.py' -exec python -O -mpy_compile {} +
# fix dbus policy location - --with-dbusdir doens't work
install -dm755 ${pkgdir}/usr/share/dbus-1/system.d
mv ${pkgdir}/etc/dbus-1/system.d/* ${pkgdir}/usr/share/dbus-1/system.d
rm -rf ${pkgdir}/etc/dbus-1
}

32
system-config-printer/trunk/0001-Fix-constructing-the-auth-dialog.patch

@ -0,0 +1,32 @@
From 2766d74a98e44693f5e966d541a6303b966c088b Mon Sep 17 00:00:00 2001
Message-Id: <2766d74a98e44693f5e966d541a6303b966c088b.1518105780.git.jan.steffens@gmail.com>
From: "Jan Alexander Steffens (heftig)" <jan.steffens@gmail.com>
Date: Thu, 8 Feb 2018 17:01:01 +0100
Subject: [PATCH] Fix constructing the auth dialog
47973c80 (Remove deprecated Gtk objects) broke the auth dialog.
Fixes https://bugs.archlinux.org/task/57364.
---
authconn.py | 2 --
1 file changed, 2 deletions(-)
diff --git a/authconn.py b/authconn.py
index 2a645dcc..0f3021cb 100644
--- a/authconn.py
+++ b/authconn.py
@@ -78,11 +78,9 @@ class AuthDialog(Gtk.Dialog):
field = auth_info_required[i]
label = Gtk.Label (label=_(self.AUTH_FIELD.get (field, field)))
label.set_alignment (0, 0.5)
- grid.attach (label, 0, 1, i, i + 1)
grid.attach (label, 0, i, 1, 1)
entry = Gtk.Entry ()
entry.set_visibility (field != 'password')
- grid.attach (entry, 1, 2, i, i + 1, 0, 0)
grid.attach (entry, 1, i, 1, 1)
self.field_entry.append (entry)
--
2.16.1

50
system-config-printer/trunk/PKGBUILD

@ -0,0 +1,50 @@
# Maintainer: AndyRTR <andyrtr@archlinux.org>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
pkgname=system-config-printer
pkgver=1.5.11
pkgrel=4
pkgdesc="A CUPS printer configuration tool and status applet"
url="https://github.com/zdohnal/system-config-printer"
arch=('x86_64')
license=('GPL')
depends=('python-pycups' 'python-dbus' 'python-pycurl' 'libnotify'
'python-requests' 'python-gobject' 'gtk3' 'python-cairo')
makedepends=('intltool' 'xmlto' 'docbook-xsl' 'desktop-file-utils' 'libsecret')
optdepends=('libsecret: password management'
'python-pysmbc: SMB browser support'
'cups-pk-helper: PolicyKit helper to configure cups with fine-grained privileges')
source=(https://github.com/zdohnal/system-config-printer/releases/download/$pkgver/system-config-printer-${pkgver}.tar.xz
0001-Fix-constructing-the-auth-dialog.patch)
sha256sums=('38ad78d117c30ddb8c6c008a91d1bc0fa2e854ec04ee2de5cdd12ab842c100d3'
'2fd4daa433da0659b6a86962144545015d617c39c0e42ea04d7ede5fa6f9ceff')
prepare() {
cd ${pkgname}-${pkgver}
patch -Np1 -i ../0001-Fix-constructing-the-auth-dialog.patch
}
build() {
cd ${pkgname}-${pkgver}
./configure --prefix=/usr \
--sbindir=/usr/bin \
--sysconfdir=/etc \
--with-udevdir=/usr/lib/udev --with-udev-rules \
--with-systemdsystemunitdir=no
make
}
package() {
cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
# Compile *.pyc
find "${pkgdir}" -name '*.py' -exec python -mpy_compile {} +
# Compile *.pyo
find "${pkgdir}" -name '*.py' -exec python -O -mpy_compile {} +
# fix dbus policy location - --with-dbusdir doens't work
install -dm755 ${pkgdir}/usr/share/dbus-1/system.d
mv ${pkgdir}/etc/dbus-1/system.d/* ${pkgdir}/usr/share/dbus-1/system.d
rm -rf ${pkgdir}/etc/dbus-1
}
Loading…
Cancel
Save