Package Details: qelectrotech 0.9-4

Git Clone URL: https://aur.archlinux.org/qelectrotech.git (read-only, click to copy)
Package Base: qelectrotech
Description: An electric diagram editor
Upstream URL: https://qelectrotech.org/
Licenses: GPL2
Submitter: dopsi
Maintainer: entidi
Last Packager: entidi
Votes: 34
Popularity: 0.014979
First Submitted: 2015-08-09 17:08 (UTC)
Last Updated: 2023-10-20 11:56 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

entidi commented on 2019-08-07 07:46 (UTC)

The PKGBUILD requires quite a bit of changes, e.g. the tarball is now provided by github and there are additional dependencies. Here is my working version:

# Maintainer: Simon Doppler (dopsi) <dop.simon_at_gmail.com>

# Former maintaining team :
# (Contributor) Nick B <Shirakawasuna at gmail _dot_com>
# (Maintainer) moostik <mooostik_at_gmail.com>
pkgname=qelectrotech
pkgver=0.7.0
pkgrel=1
pkgdesc="An electric diagram editor"
arch=('i686' 'x86_64')
url="https://qelectrotech.org/"
license=('GPL2')
depends=('qt5-svg' 'hicolor-icon-theme' 'desktop-file-utils' 'kwidgetsaddons' 'kcoreaddons')
sha512sums=(
  'SKIP'
  '37bda63af55fb422ab5c5950b229cc8a375295a43decffe31522c14e5dcc6dbeb9ca50a36ca40f595458af652cf1e0f46683a97c950b4745c12a1ddd31e28c57'
)
source=(
  "https://github.com/qelectrotech/qelectrotech-source-mirror/archive/$pkgver.tar.gz"
  'install-dir.patch'
)

_tarname="$pkgname-source-mirror-$pkgver"

prepare() {
  cd "$srcdir/$_tarname"
  patch -p1 < "$srcdir/install-dir.patch"
  sed -i 's/gzip \-9n/gzip -9nf/' "$srcdir/$_tarname/man/compress_man_pages.sh"
}

build() {
  cd "$srcdir/$_tarname"
  qmake-qt5
  make
}

package() {
  cd "$srcdir/$_tarname"
  make INSTALL_ROOT="$pkgdir" install
  mv "$pkgdir/usr/doc" "$pkgdir/usr/share/doc"
}

entidi commented on 2018-08-04 14:49 (UTC) (edited on 2018-08-04 14:50 (UTC) by entidi)

Here is the raw patch against 0.6: any chance to get it applied by the PKGBUILD?

diff -Naur qelectrotech-0.6-src.orig/sources/ui/importelementdialog.cpp qelectrotech-0.6-src/sources/ui/importelementdialog.cpp
--- qelectrotech-0.6-src.orig/sources/ui/importelementdialog.cpp    2017-01-20 11:55:49.000000000 +0100
+++ qelectrotech-0.6-src/sources/ui/importelementdialog.cpp 2018-08-04 16:32:34.199788083 +0200
@@ -17,6 +17,7 @@
 */
 #include "importelementdialog.h"
 #include "ui_importelementdialog.h"
+#include <QButtonGroup>

 ImportElementDialog::ImportElementDialog(QWidget *parent) :
        QDialog(parent),

desaparecido commented on 2018-06-10 15:20 (UTC)

hi, the problem was solved just right now :) in Trunk version, this is the problem:

https://svnweb.tuxfamily.org/diff.php?repname=qet%2Fqet&path=%2Ftrunk%2Fsources%2Fui%2Fimportelementdialog.cpp&rev=5392

editing this file adding:

include <qbuttongroup></qbuttongroup>

build is ok, at least in Trunk

felixita commented on 2018-05-30 09:54 (UTC) (edited on 2018-05-30 09:59 (UTC) by felixita)

Hy, i can't compile package, exit with several [quote=""]sources/ui/importelementdialog.cpp:49:19: error: invalid use of incomplete type ‘class QButtonGroup’[/quote]. Besides<br> [quote=""] make[1]: [Makefile.Release:5109: release/importelementdialog.o] Error 1 [/quote] and [quote=""] make: [Makefile:40: release] Error 2 [/quote].

Qt version: 5.11.0 KDE PLASMA version: 5.12.5 KDE FRAMEWORKS: 5.46.0

How to solve, please? tnks!

DanielH commented on 2018-04-09 12:27 (UTC)

Sorry, my fault: pkgname declared twice...

source="https://download.tuxfamily.org/qet/tags/20180306/${pkgname}-${pkgver}-src.tar.gz" 'install-dir.patch')

DanielH commented on 2018-04-09 12:21 (UTC)

@dopsi:

Download source link must be changed in PKGBUILD to source="https://download.tuxfamily.org/qet/tags/20180306/qelectrotech-${pkgname}-${pkgver}-src.tar.gz" 'install-dir.patch')

/qet/tags/20151127/ qet directory is pointing to old 0.5 stable version downloads...

Best regards, DanielH

alexandre-mbm commented on 2017-05-19 02:30 (UTC)

$ yaourt -S qelectrotech $ sudo paccheck --md5sum --quiet qelectrotech qelectrotech: '/usr/share/mime/application/x-qet-element.xml' md5sum mismatch (expected c801276c59606c5482d8adc3e781db1a) qelectrotech: '/usr/share/mime/application/x-qet-project.xml' md5sum mismatch (expected 8b328621110c91fb30378546c1590821) qelectrotech: '/usr/share/mime/application/x-qet-titleblock.xml' md5sum mismatch (expected 7f10fad48cf0f73ccd0662e0018cdbde)

firewalker commented on 2015-11-16 21:58 (UTC)

Have anyone tried to build the new Qt-5 version (0.5-rc1)? I can successfully build t but it segfaults on startup.

dopsi commented on 2015-09-08 19:39 (UTC)

@sekret I know, I tried to fix it (see commit ac681f90ae19a457d6859078491e4ae0717aa951) but some users could use the program anymore and since I am quite busy now I will take a look as soon as possible.

sekret commented on 2015-09-08 18:50 (UTC)

I ran namcap on this one, the output is quite lengthy! http://codepad.org/zewnMNa0