Package Details: diylc 5.1.0-1

Git Clone URL: https://aur.archlinux.org/diylc.git (read-only, click to copy)
Package Base: diylc
Description: Multi platform circuit layout and schematic drawing tool
Upstream URL: https://bancika.github.io/diy-layout-creator/
Licenses: GPL3
Submitter: eduardosm
Maintainer: lykwydchykyn
Last Packager: lykwydchykyn
Votes: 7
Popularity: 0.000000
First Submitted: 2017-09-03 11:18 (UTC)
Last Updated: 2025-03-26 17:43 (UTC)

Dependencies (4)

Required by (0)

Sources (7)

Latest Comments

1 2 3 Next › Last »

LazyGamble commented on 2025-03-28 10:24 (UTC)

@lykwydchykyn Tested right now, works on my setup. Thank you!

11:23:20,792 DEBUG [main] DIYLCStarter - Java version: 17.0.14+7 by Arch Linux
11:23:20,793 DEBUG [main] DIYLCStarter - Java home: /usr/lib/jvm/java-17-openjdk
11:23:20,793 DEBUG [main] DIYLCStarter - OS: Linux 6.13.8-arch1-1

lykwydchykyn commented on 2025-03-26 17:44 (UTC)

Ok, upstream is amenable to including icons again, but in the meantime I've added the icons to the package.

I've also corrected the java runtime dependency and fixed some other things related to upstream's new build processes.

lykwydchykyn commented on 2025-03-26 16:51 (UTC)

@LazyGamble, @Ralf_Mardorf -- sorry for the java issues. It had been hard-coded to a specific version in the past due to compatibility issues. I will take a look at the guidelines and update the java dependencies when I get the 5.1 issues sorted out.

lykwydchykyn commented on 2025-03-26 16:47 (UTC)

Just a note about 5.1.0 -- upstream for some reason dropped icons and other metadata files from their universal release, which we have been using to build the AUR package. I've reached out to them to see if these can be put back in, in the meantime I'm holding off on updating the PKGBUILD.

If I get no response in a reasonable timeframe, I'll just have to add in the icons as extra files manually. no biggie, I guess.

Ralf_Mardorf commented on 2025-03-24 20:46 (UTC) (edited on 2025-03-24 21:12 (UTC) by Ralf_Mardorf)

It still doesn't run.

$ pacman -Q jre-openjdk diylc
jre-openjdk 24.u36-1
diylc 5.0.0-3
$ diylc
Unrecognized option: --add-exports
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

My bad, after running

$ archlinux-java status
Available Java environments:
  java-11-openjdk
  java-21-openjdk
  java-24-jdk
  java-24-openjdk
  java-8-openjdk (default)

$ sudo archlinux-java set java-24-openjdk

$ archlinux-java status
Available Java environments:
  java-11-openjdk
  java-21-openjdk
  java-24-jdk
  java-24-openjdk (default)
  java-8-openjdk

diylc does run.

LazyGamble commented on 2025-03-19 19:55 (UTC)

Hi! Java 23 is no longer maintained. https://en.wikipedia.org/wiki/Java_version_history

Ideally just follow: https://wiki.archlinux.org/title/Java_package_guidelines#Dependencies

For Example see provides of: https://archlinux.org/packages/extra/x86_64/jre-openjdk/

Example: depends=('java-runtime>=17'...)

currently only zulu is available for 23 which is a very niche build.

Thank You! :)

lykwydchykyn commented on 2025-03-08 15:28 (UTC)

@Sandelinos -- I've added your code. If there's a way to add an icon for it that'd be the frosting on the cake, but it at least does what it needs to now. Thanks!

lykwydchykyn commented on 2025-03-08 15:20 (UTC)

I've updated to diylc 4.41.1. Along with this, I've updated the java requirement to OpenJDK 23, as 11 was no longer working. I suppose we could stop specifying a version, but in the past some newer versions broke the software.

@SingularityCat -- it seems upstream removed the bundled JRE at some point. Thank you for the suggestion though.

@Sandelinos -- I will look into that.

SingularityCat commented on 2024-08-02 08:53 (UTC)

The "sources" here are a set of pre-built JARs and a bundled JRE for Microsoft Windows - that bundled JRE serves no purpose and can be safely removed, shaving around 100MB (about 83%) of the installed package size off :)

--- PKGBUILD    2024-08-02 09:45:50.626144786 +0100
+++ PKGBUILD.orig   2024-08-02 09:45:44.316054755 +0100
@@ -22,6 +22,7 @@
     install -d "$pkgdir/usr/share/diylc"
     unzip "$srcdir/diylc-${pkgver}.zip" -d "$pkgdir/usr/share/diylc"
     rm "$pkgdir/usr/share/diylc/diylc.exe"
+    rm -r "$pkgdir/usr/share/diylc/jre"

     install -Dm755 "$srcdir/diylc" "$pkgdir/usr/bin/diylc"
     install -Dm644 "$srcdir/diylc.desktop" "$pkgdir/usr/share/applications/diylc.desktop"

Sandelinos commented on 2023-08-22 14:30 (UTC) (edited on 2023-08-22 14:33 (UTC) by Sandelinos)

Could you add mime info for .diy files so we can set DIYLC as the default app for opening .diy files?

Currently .diy files are just identified as XML documents and I'd have to set DIYLC as the default app for all XML files, which I don't want.

Something like this:

/usr/share/mime/packages/bancika-diylc.xml:

<?xml version="1.0" encoding="UTF-8"?>
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
  <mime-type type="application/x-diylc-project">
    <sub-class-of type="text/xml"/>
    <comment>DIYLC project</comment>
    <glob pattern="*.diy"/>
  </mime-type>
</mime-info>