Package Details: inkscape-silhouette-git r663.8128b6c-1

Git Clone URL: https://aur.archlinux.org/inkscape-silhouette-git.git (read-only, click to copy)
Package Base: inkscape-silhouette-git
Description: inkscape plugin to control Silhouette vinyl cutters
Upstream URL: https://github.com/fablabnbg/inkscape-silhouette
Licenses: GPLv2
Conflicts: inkscape-silhouette
Provides: inkscape-silhouette
Submitter: sparques
Maintainer: sparques
Last Packager: sparques
Votes: 3
Popularity: 0.000524
First Submitted: 2019-09-08 17:26 (UTC)
Last Updated: 2024-01-04 13:23 (UTC)

Latest Comments

1 2 Next › Last »

And1G commented on 2024-03-16 17:34 (UTC)

Fails for me in package() while building in clean chroot:

[...snip...]
==> Starting package()...
mkdir -p locale
mkdir -p locale/de/LC_MESSAGES; msgfmt -c -o locale/de/LC_MESSAGES/inkscape-silhouette.mo po/de.po;   mkdir -p locale/pt_BR/LC_MESSAGES; msgfmt -c -o locale/pt_BR/LC_MESSAGES/inkscape-silhouette.mo po/pt_BR.po; 
mkdir -p /build/inkscape-silhouette-git/pkg/inkscape-silhouette-git//usr/share/inkscape/extensions
cp -r silhouette /build/inkscape-silhouette-git/pkg/inkscape-silhouette-git//usr/share/inkscape/extensions
install -m 755 *silhouette*.py /build/inkscape-silhouette-git/pkg/inkscape-silhouette-git//usr/share/inkscape/extensions
install -m 644 *.inx /build/inkscape-silhouette-git/pkg/inkscape-silhouette-git//usr/share/inkscape/extensions
cp -r locale /build/inkscape-silhouette-git/pkg/inkscape-silhouette-git//usr/share/locale
mkdir -p /build/inkscape-silhouette-git/pkg/inkscape-silhouette-git//lib/udev/rules.d
install -m 644 -T silhouette-udev.rules /build/inkscape-silhouette-git/pkg/inkscape-silhouette-git//lib/udev/rules.d/40-silhouette-udev.rules
install -m 644 silhouette-icon.png /build/inkscape-silhouette-git/pkg/inkscape-silhouette-git//lib/udev
install -m 644 silhouette-udev-notify.sh /build/inkscape-silhouette-git/pkg/inkscape-silhouette-git//lib/udev
mkdir -p /build/inkscape-silhouette-git/pkg/inkscape-silhouette-git//usr/share/inkscape/templates
install -m 644 templates/*.svg /build/inkscape-silhouette-git/pkg/inkscape-silhouette-git//usr/share/inkscape/templates
cp: cannot stat '../../*.svg': No such file or directory

Fixed that by referencing the cp for the svg images to $srcdir and putting them into the source list. (also used SHA256 instead of MD5)

diff --git a/PKGBUILD b/PKGBUILD
index 3f6da40..2c5a8fd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
 # Maintainer: Matthew Hiles <matthew.hiles@gmail.com>
 pkgname=inkscape-silhouette-git
-pkgver=r663.8128b6c
+pkgver=r666.96f1f06
 pkgrel=1
 pkgdesc="inkscape plugin to control Silhouette vinyl cutters"
 arch=(any)
@@ -15,9 +15,13 @@ replaces=()
 backup=()
 options=()
 install=
-source=('git+https://github.com/fablabnbg/inkscape-silhouette')
+source=('git+https://github.com/fablabnbg/inkscape-silhouette'
+        'Vinyl Full Sheet 12x24.svg'
+        'Vinyl Half Sheet 12x12.svg')
 noextract=()
-md5sums=('SKIP')
+sha256sums=('SKIP'
+            'b74f9b112d01eb722e434b98ca7a4b8dd053c706a25af7e9372ef73ca24b2819'
+            '46816dc07cfd637e73738fd9f3675d3222277e43a8ecd8e9bc63fd20078945a7')

 pkgver() {
        cd "$srcdir/${pkgname%-git}"
@@ -33,7 +37,7 @@ build() {
 package() {
        cd "$srcdir/${pkgname%-git}"
        make DESTDIR="$pkgdir/" install
-       cp ../../*.svg "$pkgdir/usr/share/inkscape/templates/"
+       cp $srcdir/*.svg "$pkgdir/usr/share/inkscape/templates/"
        mkdir -p "$pkgdir/usr/share/inkscape/extensions/"
        cp sendto_silhouette.* "$pkgdir/usr/share/inkscape/extensions/"
        cp -R silhouette "$pkgdir/usr/share/inkscape/extensions/"

sparques commented on 2024-01-04 13:24 (UTC)

Updated the pkgbuild to use make install

kumen commented on 2024-01-03 23:13 (UTC) (edited on 2024-01-03 23:13 (UTC) by kumen)

What about modified package section of PKGBUILD file?

package() {
    cd "$srcdir/${pkgname%-git}"
    make DESTDIR="$pkgdir/" install 
    mv "$pkgdir/lib/" "$pkgdir/usr/lib/"
}

antonok commented on 2023-12-24 18:22 (UTC)

This PKGBUILD misses several files, including all the tools to create registration marks in a document. Any reason not to use the make install target included in the repo?

sparques commented on 2023-11-09 15:57 (UTC)

This is a git package, just rebuild it (e.g. if using yay, yay -S inkscape-silhouette-git) and you'll have the latest git version.

kenmatrix commented on 2023-11-09 12:28 (UTC)

Please update the package, there are new versions on github

sparques commented on 2023-02-22 17:28 (UTC)

Updated package to include udev rules.

n-st commented on 2023-02-21 21:28 (UTC) (edited on 2023-02-21 21:29 (UTC) by n-st)

It could be useful to also install the udev rules provided by upstream to allow unprivileged access to the printers, e.g. via

package() {
    cd "$srcdir/${pkgname%-git}"
    # [...]
    cp silhouette-udev.rules "$pkgdir/etc/udev/rules.d/"
}

sparques commented on 2021-02-09 17:28 (UTC)

I updated the dependencies. Seems to work okay with python-pyusb.

Salamandar commented on 2021-02-09 17:15 (UTC)

Hello there, Is it required to install python-pyusb-git ? I'd rather install the one available in the repositories, if possible.