You are not logged in.
I'm trying to install the comical comic reader, but I keep getting an error from make....
This is the error:
ComicalApp.cpp: In member function ‘virtual bool ComicalApp::OnInit()’:
ComicalApp.cpp:63:17: error: invalid use of incomplete type ‘struct wxIcon’
/usr/include/wx-2.8/wx/gdicmn.h:35:28: error: forward declaration of ‘struct wxIcon’
make[1]: *** [ComicalApp.o] Error 1
make[1]: Leaving directory `/home/meskarune/abs/comical/src/comical-0.8/src'
make: *** [src/ComicalApp.o] Error 2And the makepkg I'm working with is this one:
# Maintainer: Dolores Portalatin <meskarune@gmail.com>
pkgname=comical
pkgver=0.8
pkgrel=1
pkgdesc="Comic book reader that opens cbr and cbz archives"
arch=('i686' 'x86_64')
url="http://comical.sourceforge.net/"
license=('GPL')
groups=()
depends=('wxgtk')
makedepends=()
source=(http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz)
noextract=()
md5sums=(F5808E28FD5A2A3D21B59CDAD10ECA3D)
build() {
cd $srcdir/$pkgname-$pkgver
make || return 1
make DESTDIR=$pkgdir install || return 1
}I have all the dependancies installed, and I'm not entirely sure how to fix the wxicon error... Any help would be greatly appreciated
Homepage | Arch Linux Women | Arch Linux Classroom
Acer Aspire E5-575G-53VG:
Intel Dual-Core i5-6200U 2.3 GHz; Skylake rev3 | 8GB DDR4 ram | Intel HD Graphics 520 + NVIDIA GeForce 940MX
Qualcomm Atheros QCA9377 802.11ac | Realtek RTL8111/8168/8411 Gigabit Ethernet Controller
Offline
use this patch:
http://sources.gentoo.org/cgi-bin/viewv … vision=1.1
Offline
Thanks alot. This is the new PKGBUILD I have now:
# Maintainer: Dolores Portalatin <meskarune@gmail.com>
pkgname=comical
pkgver=0.8
pkgrel=1
pkgdesc="Comic book reader that opens cbr and cbz archives"
arch=('i686' 'x86_64')
url="http://comical.sourceforge.net/"
license=('GPL')
groups=()
depends=('wxgtk')
makedepends=()
source=(http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz http://kambing.ui.ac.id/gentoo-portage/media-gfx/comical/files/comical-0.8-wxGTK-2.8.patch)
noextract=()
md5sums=(F5808E28FD5A2A3D21B59CDAD10ECA3D 4510063CD2ED0BA5683B6ADE771B0120)
build() {
cd $srcdir/$pkgname-$pkgver
patch -p1 -i $srcdir/comical-0.8-wxGTK-2.8.patch || return 1
install -d $pkgdir/usr/local/bin/$pkgname/
make || return 1
cp -r $pkgdir/usr/local/bin/$pkgname/ /usr/local/bin/
make DESTDIR=$pkgdir install || return 1
}It downloads and installs just fine now. But I want this to automatically make a .desktop entry as well. (the installer doesn't add those things itself) How would I go about doing that? Thanks ![]()
Homepage | Arch Linux Women | Arch Linux Classroom
Acer Aspire E5-575G-53VG:
Intel Dual-Core i5-6200U 2.3 GHz; Skylake rev3 | 8GB DDR4 ram | Intel HD Graphics 520 + NVIDIA GeForce 940MX
Qualcomm Atheros QCA9377 802.11ac | Realtek RTL8111/8168/8411 Gigabit Ethernet Controller
Offline
you will have to create one.
.desktop files are installed in /usr/share/applications, use an existing one and edit it.
Note : the icon mentioned in the .desktop file needs to be in a specific location to be found, /usr/share/pixmaps is one of the locations.
once you have created the .desktop file, add it to the source and md5sums arrays in PKGBUILD .
before you upload the package to AUR, check that the .desktop file is included in the tarball.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Thanks for the pkgbuild file.
Offline