Package Details: kicadlibrarian-git 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/compuphase/KiCad-Librarian
Keywords: eda kicad librarian
Licenses: Apache
Conflicts: kicadlibrarian
Provides: kicadlibrarian
Submitter: andrejr
Maintainer: andrejr
Last Packager: andrejr
Votes: 1
Popularity: 0.000000
First Submitted: 2017-04-15 17:34 (UTC)
Last Updated: 2021-03-23 14:21 (UTC)

Latest Comments

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" =(

andrejr commented on 2017-07-23 00:40 (UTC)

Fixed, finally. The author and a couple of contributors finally fixed the program to the point it can be built again. Fixed kicadlibrarian.desktop, kicadlibrarian.xml, and kicadlibrarian32.png, too. They are now copied manually and registered by an .install script.

mekatronik commented on 2017-05-06 03:38 (UTC)

kicadlibrarian.desktop, kicadlibrarian.xml, and kicadlibrarian32.png is not installed those files not listed in Makefile, so 'make install' not install them

andrejr commented on 2017-04-15 17:39 (UTC)

The package can be built with 3D support, with the CyberX3D dependency. I'll add CyberX3D to AUR later, so far a CMAKE define is set to exclude the 3D support.