Package Details: kicadlibrarian-git 1:1.4.5907.r47.20210323.c075e16-1

Git Clone URL: https://aur.archlinux.org/kicadlibrarian-git.git (read-only, click to copy)
Package Base: kicadlibrarian-git
Description: A utility to manage and maintain KiCad libraries with schematic symbols and footprints
Upstream URL: https://github.com/randrej/KiCad-Librarian
Keywords: eda kicad librarian
Licenses: Apache
Conflicts: kicadlibrarian
Provides: kicadlibrarian
Submitter: andrejr
Maintainer: dreieck
Last Packager: dreieck
Votes: 1
Popularity: 0.000000
First Submitted: 2017-04-15 17:34 (UTC)
Last Updated: 2023-08-03 21:20 (UTC)

Latest Comments

1 2 Next › Last »

dreieck commented on 2023-08-03 21:12 (UTC)

Done.

MarsSeed commented on 2023-08-03 14:13 (UTC)

Please kindly make this depend directly on wxwidgets-gtk3, so that people have the choice of using alternative providers of that, like wxwidgets-gtk3-light or wxwidgets-gtk3-wayland-perf.

dreieck commented on 2023-08-03 13:19 (UTC)

Adopted and fixed the package. (But I don't know for how long the seemingly no-longer-maintained upstream code will hold.)

dreieck commented on 2022-07-21 14:36 (UTC)

You need to change the source protocol from git+git:// to git+https:// due to changes at github.

Thanks for maintaining!, regards!

dreieck commented on 2022-03-13 11:43 (UTC)

Actually, this software has it's own notion of a package version. It currently is 1.4.5907 (as can be seen in the about page). According to VCS package guidelines, such version numbers should be used in the first part of $pkgver if available.

Actually, the file src/svnrev.h seems to provide that information in the line

#define SVN_REVSTR  "1.4.5907"

So I suggest to parse that.

pkgver() then could look like, for example:

pkgver() {
  cd "${srcdir}/${pkgname}"
  _ver="$(grep -E '^[[:space:]]*#define[[:space:]]+SVN_REVSTR[[:space:]]+[^[:space:]]' src/svnrev.h | awk '{print $3}' | tr -d \"\'[[:space:]])"
  _rev="$(git rev-list --count HEAD)"
  _date="$(git log -1 --date=format:"%Y%m%d" --format="%ad")"
  _hash="$(git rev-parse --short HEAD)"

  if [ -z "${_ver}" ]; then
    error "Version could not be determined."
    return 1
  else
    printf '%s' "${_ver}+r${_rev}.${_date}.${_hash}"
  fi
}

and

epoch=1

dreieck commented on 2022-03-13 11:31 (UTC) (edited on 2022-03-13 11:32 (UTC) by dreieck)

According to namcap, this one depends on wxgtk2, not wxgtk3:

kicadlibrarian-git E: Dependency wxgtk2 detected and not included (libraries ['usr/lib/libwx_gtk2u_core-3.0.so.0', 'usr/lib/libwx_gtk2u_adv-3.0.so.0', 'usr/lib/libwx_gtk2u_aui-3.0.so.0'] needed in files ['opt/kicadlibrarian-git/bin/kicadlibrarian'])
[...]
kicadlibrarian-git W: Dependency included and not needed ('wxgtk3')

Also, some stuff of the $install file seems to be executed automatically by pacman hooks:

kicadlibrarian-git W: .INSTALL file runs a command provided by hooks.

Thanks for maintaining!

andrejr commented on 2017-09-23 15:30 (UTC) (edited on 2017-09-23 15:49 (UTC) by andrejr)

Should be fixed now, I've changed the way pkgver() calculates the version.

DanielH commented on 2017-09-23 12:59 (UTC)

Dear Andrej: kicadlibrarian-git r32.eccc226-1 only reinstalls r29.81f6567-1 (pointing to kicadlibrarian 1.3.5685) without changing rc version in pacman database. Is this the expected behavior? I must to state Ignore = kicadlibrarian-git in /etc/pacman.conf to avoid its reinstallation on each system update by means yaourt -Syua .

andrejr commented on 2017-08-17 14:40 (UTC)

Fixed. The guy who made all the changes (melak) that made the thing compileable with wxgtk 3.0.x from (extras) repository deleted his fork, hence the message. Fortunately, though, he made 2 pull requests to the original developer, but they are yet to be accepted. I forked the repo and applied the pull requests manually to my fork, so this package will be pointing to my fork temporarily, until the original developer accepts the requests. I'm an idiot for not cloning the repo in the first place.

Maverick commented on 2017-08-16 11:17 (UTC)

"Repository not found" =(