Package Details: luniistore 2.2.271-2

Git Clone URL: https://aur.archlinux.org/luniistore.git (read-only, click to copy)
Package Base: luniistore
Description: Manage your Lunii's My Fabulous Storyteller content or buy new ones
Upstream URL: https://www.lunii.fr
Keywords: baby child iot
Licenses: unknown
Submitter: peshane
Maintainer: peshane (milouse)
Last Packager: milouse
Votes: 7
Popularity: 0.001346
First Submitted: 2019-04-11 09:29 (UTC)
Last Updated: 2022-09-29 15:22 (UTC)

Dependencies (1)

Required by (0)

Sources (1)

Latest Comments

fthiery commented on 2024-04-08 07:58 (UTC)

Hello

Anyone knows if it is possible to run luniistore in native wayland ?

gyscos commented on 2024-03-05 21:34 (UTC)

This package does not build currently because of the group=('') line.

milouse commented on 2022-09-19 13:05 (UTC)

Hi,

This package makes use of a .install file to create supplementary resources (mainly the .desktop file and an udev rule file), which will not be protected by pacman if I’m not wrong. It is not a very clean way of packaging.

I’d like to propose this new PKGBUILD, which avoid to use the .install file by including the previously named file directly in the PKGBUILD:

# Maintainer: milouse <etienne at depar dot is>
# Maintainer: peshane <social at peshane dot net>
pkgname=luniistore
pkgver=2.2.271
pkgrel=2
pkgdesc="Manage your Lunii's My Fabulous Storyteller content or buy new ones"
arch=('x86_64')
url="https://www.lunii.fr"
license=('unknown')
depends=('java-runtime>=8')
groups=('')
options=('!strip' '!emptydirs')
source_x86_64=("https://storage.googleapis.com/storage.lunii.fr/public/deploy/installers/linux/64bits/luniistore-${pkgver}-64bits.deb")
sha512sums_x86_64=('1278d3a2d490ea98b8cf1caa4938a9d193575d9a36eb8b7b6601997fa8f4960c4d4666cc4ee9c77a62d7ab9f4fb8c7dfefbe2fa3d390afe0b612db465d8f23e6')

package(){
    # Extract package data
    tar xf data.tar.xz -C "${pkgdir}"
    # Remove weird group authorization to write on /opt
    chmod -R g-w "${pkgdir}/opt"

    install -D -m644 "${pkgdir}/opt/Luniistore/runtime/THIRDPARTYLICENSEREADME.txt" \
            "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
    install -D -m644 "${pkgdir}/opt/Luniistore/runtime/COPYRIGHT" \
            "${pkgdir}/usr/share/licenses/${pkgname}/COPYRIGHT"

    install -D -m644 "${pkgdir}/opt/Luniistore/Luniistore.desktop" \
            "${pkgdir}/usr/share/applications/luniistore.desktop"

    install -d -m755 "${pkgdir}/etc/udev/rules.d"
    echo "SUBSYSTEM==\"usb\", ATTRS{idVendor}==\"0c45\", ATTRS{idProduct}==\"6820\", MODE=\"0666\"" > "${pkgdir}/etc/udev/rules.d/99-lunii.rules"

    install -d -m755 "${pkgdir}/usr/share/libalpm/hooks"
    cat > "${pkgdir}/usr/share/libalpm/hooks/reload-lunii-udev-rule.hook" <<END
[Trigger]
Type = Path
Operation = Install
Operation = Upgrade
Operation = Remove
Target = etc/udev/rules.d/99-lunii.rules

[Action]
Description = Reloading Lunii udev rules...
When = PostTransaction
Exec = /usr/bin/udevadm control --reload-rules
END
    chmod 0644 "${pkgdir}/usr/share/libalpm/hooks/reload-lunii-udev-rule.hook"
}

I also change the description of the package to something more generic.

As I change the .desktop and udev .rule file name, after upgrading this package with this new PKGBUILD, one may want to remove orphaned file /etc/udev/rules.d/99-lunii.rules and /usr/share/applications/Luniistore.desktop

garfi commented on 2021-09-01 20:54 (UTC) (edited on 2021-09-01 20:55 (UTC) by garfi)

Merci pour ce paquet, la lunii fonctionne directement chez moi. Seriez-vous intéressé pour faire un PKGBUILD de STUDIO? https://github.com/marian-m12l/studio

peshane commented on 2020-11-21 08:38 (UTC)

update package to v2.2.271

peshane commented on 2020-05-16 08:26 (UTC)

update package to v2.0.2

reeslo commented on 2020-04-25 15:46 (UTC)

There is some issues : Can't listen preview stories.

USB disconnect every time I try transfert new stories :

avril 25 17:08:57 manjaro mtp-probe[2345]: checking bus 3, device 3: "/sys/devices/pci0000:00/0000:00:1d.7/usb3/3-5"
avril 25 17:08:57 manjaro mtp-probe[2345]: bus: 3, device: 3 was not an MTP device
avril 25 17:08:57 manjaro kernel: scsi 6:0:0:0: Direct-Access     SONiX    SNC7001A USBDisk 0.01 PQ: 0 ANSI: 0 CCS
avril 25 17:08:57 manjaro kernel: sd 6:0:0:0: [sde] 20480 512-byte logical blocks: (10.5 MB/10.0 MiB)
avril 25 17:08:57 manjaro kernel: sd 6:0:0:0: [sde] Write Protect is off
avril 25 17:08:57 manjaro kernel: sd 6:0:0:0: [sde] Mode Sense: 03 00 00 00
avril 25 17:08:57 manjaro kernel: sd 6:0:0:0: [sde] No Caching mode page found
avril 25 17:08:57 manjaro kernel: sd 6:0:0:0: [sde] Assuming drive cache: write through
avril 25 17:08:57 manjaro kernel:  sde:
avril 25 17:08:57 manjaro kernel: sd 6:0:0:0: [sde] Attached SCSI removable disk
avril 25 17:10:12 manjaro kernel: usb 3-5: USB disconnect, device number 3
avril 25 17:10:14 manjaro kernel: usb 3-5: new high-speed USB device number 4 using ehci-pci
avril 25 17:10:15 manjaro kernel: usb 3-5: New USB device found, idVendor=0c45, idProduct=6820, bcdDevice= 1.00
avril 25 17:10:15 manjaro kernel: usb 3-5: New USB device strings: Mfr=0, Product=1, SerialNumber=1
avril 25 17:10:15 manjaro kernel: usb 3-5: Product: USB2.0 DSP
avril 25 17:10:15 manjaro kernel: usb 3-5: SerialNumber: USB2.0 DSP
avril 25 17:10:15 manjaro kernel: usb-storage 3-5:1.0: USB Mass Storage device detected
avril 25 17:10:15 manjaro kernel: scsi host6: usb-storage 3-5:1.0
avril 25 17:10:15 manjaro mtp-probe[3249]: checking bus 3, device 4: "/sys/devices/pci0000:00/0000:00:1d.7/usb3/3-5"
avril 25 17:10:15 manjaro mtp-probe[3249]: bus: 3, device: 4 was not an MTP device
avril 25 17:10:15 manjaro mtp-probe[3274]: checking bus 3, device 4: "/sys/devices/pci0000:00/0000:00:1d.7/usb3/3-5"
avril 25 17:10:15 manjaro mtp-probe[3274]: bus: 3, device: 4 was not an MTP device
avril 25 17:10:16 manjaro kernel: scsi 6:0:0:0: Direct-Access     SONiX    SNC7001A USBDisk 0.01 PQ: 0 ANSI: 0 CCS
avril 25 17:10:16 manjaro kernel: sd 6:0:0:0: [sde] 20480 512-byte logical blocks: (10.5 MB/10.0 MiB)
avril 25 17:10:16 manjaro kernel: sd 6:0:0:0: [sde] Write Protect is off
avril 25 17:10:16 manjaro kernel: sd 6:0:0:0: [sde] Mode Sense: 03 00 00 00
avril 25 17:10:16 manjaro kernel: sd 6:0:0:0: [sde] No Caching mode page found
avril 25 17:10:16 manjaro kernel: sd 6:0:0:0: [sde] Assuming drive cache: write through
avril 25 17:10:16 manjaro kernel:  sde:
avril 25 17:10:16 manjaro kernel: sd 6:0:0:0: [sde] Attached SCSI removable disk
avril 25 17:10:35 manjaro kernel: usb 3-5: USB disconnect, device number 4
avril 25 17:10:38 manjaro kernel: usb 3-6: new high-speed USB device number 5 using ehci-pci
avril 25 17:10:38 manjaro kernel: usb 3-6: New USB device found, idVendor=0c45, idProduct=6820, bcdDevice= 1.00
avril 25 17:10:38 manjaro kernel: usb 3-6: New USB device strings: Mfr=0, Product=1, SerialNumber=1
avril 25 17:10:38 manjaro kernel: usb 3-6: Product: USB2.0 DSP
avril 25 17:10:38 manjaro kernel: usb 3-6: SerialNumber: USB2.0 DSP
avril 25 17:10:38 manjaro kernel: usb-storage 3-6:1.0: USB Mass Storage device detected
avril 25 17:10:38 manjaro kernel: scsi host6: usb-storage 3-6:1.0
avril 25 17:10:38 manjaro mtp-probe[3554]: checking bus 3, device 5: "/sys/devices/pci0000:00/0000:00:1d.7/usb3/3-6"
avril 25 17:10:38 manjaro mtp-probe[3554]: bus: 3, device: 5 was not an MTP device
avril 25 17:10:39 manjaro mtp-probe[3580]: checking bus 3, device 5: "/sys/devices/pci0000:00/0000:00:1d.7/usb3/3-6"
avril 25 17:10:39 manjaro mtp-probe[3580]: bus: 3, device: 5 was not an MTP device
avril 25 17:10:39 manjaro kernel: scsi 6:0:0:0: Direct-Access     SONiX    SNC7001A USBDisk 0.01 PQ: 0 ANSI: 0 CCS
avril 25 17:10:39 manjaro kernel: sd 6:0:0:0: [sde] 20480 512-byte logical blocks: (10.5 MB/10.0 MiB)
avril 25 17:10:39 manjaro kernel: sd 6:0:0:0: [sde] Write Protect is off
avril 25 17:10:39 manjaro kernel: sd 6:0:0:0: [sde] Mode Sense: 03 00 00 00
avril 25 17:10:39 manjaro kernel: sd 6:0:0:0: [sde] No Caching mode page found
avril 25 17:10:39 manjaro kernel: sd 6:0:0:0: [sde] Assuming drive cache: write through

fthiery commented on 2020-04-15 17:39 (UTC) (edited on 2020-04-15 19:31 (UTC) by fthiery)

Did anyone made this work ? The app by itself works, but it's not detecting the device; i'm on 5.6.4-arch1-1.

I tried after a reboot and as root, no luck.

The device flashes the lunii logo, then a USB logo for a split second, then the logo again. I see nothing on lsusb

Edit: apparently battery needs to get fully charged for this to work, sorry for the noise

peshane commented on 2019-06-08 08:54 (UTC)

I add a dependency to java-environement, hope it will works better now

bokal commented on 2019-06-08 06:38 (UTC)

I had to remove the "depends" line of the PKGBUILD for it to install.