Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 219706 - media-video/qnapi - Automatic subtitle downloader using Napiprojekt database
Summary: media-video/qnapi - Automatic subtitle downloader using Napiprojekt database
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement with 2 votes (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2008-04-29 11:35 UTC by harry.tx
Modified: 2017-11-10 21:44 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Ebuild for qnapi version 0.1.4 (qnapi-0.1.4.ebuild,1.58 KB, text/plain)
2008-04-29 11:37 UTC, harry.tx
Details
qnapi-0.1.4-r1.ebuild (qnapi-0.1.4-r1.ebuild,1.38 KB, text/plain)
2008-04-29 13:19 UTC, harry.tx
Details
qnapi-0.1.5.ebuild (qnapi-0.1.5.ebuild,1.65 KB, text/plain)
2008-05-22 16:14 UTC, harry.tx
Details
qnapi-0.1.5-r1.ebuild (qnapi-0.1.5-r1.ebuild,1.66 KB, text/plain)
2008-05-22 16:20 UTC, harry.tx
Details
qnapi-0.1.5-r2.ebuild (qnapi-0.1.5-r2.ebuild,1.69 KB, text/plain)
2008-09-05 14:34 UTC, harry.tx
Details
qnapi-0.1.5-r3.ebuild (qnapi-0.1.5-r3.ebuild,1.73 KB, text/plain)
2009-01-23 23:04 UTC, Adam Wyżgoł
Details
qnapi-0.1.6_rc2.ebuild (qnapi-0.1.6_rc2.ebuild,1.81 KB, text/plain)
2009-05-06 16:40 UTC, Łukasz Mierzwa
Details
qnapi-0.1.6_rc2-r1.ebuild (qnapi-0.1.6_rc2-r1.ebuild,1.83 KB, text/plain)
2009-07-24 18:56 UTC, Adam Wyżgoł
Details
Sunrise proposed ebuild (qnapi-0.1.6_rc2-r1.ebuild,1.51 KB, text/plain)
2009-08-07 19:30 UTC, Michał Górny
Details
Diff to qmake project (qnapi-0.1.6_rc2-gentoo.diff,4.17 KB, patch)
2009-08-07 19:31 UTC, Michał Górny
Details | Diff
new ebuild (qnapi-0.1.6_rc2-r2.ebuild,1.27 KB, text/plain)
2013-03-04 16:48 UTC, Michal Plichta
Details
qnapi-0.1.6_rc2-r1.ebuild (qnapi-0.1.6_rc2-r1.ebuild,1.28 KB, text/plain)
2013-03-14 10:35 UTC, Michal Plichta
Details
qnapi-0.2.1.ebuild (qnapi-0.2.1.ebuild,1.10 KB, text/plain)
2016-03-06 12:31 UTC, Wojciech Myrda
Details
qnapi-0.2.1-gentoo.diff (qnapi-0.2.1-gentoo.diff,2.48 KB, patch)
2016-03-06 12:32 UTC, Wojciech Myrda
Details | Diff
qnapi-0.2.1.ebuild (qnapi-0.2.1.ebuild,941 bytes, text/plain)
2016-03-28 22:02 UTC, Wojciech Myrda
Details
qnapi-0.2.1-gentoo.diff (qnapi-0.2.1-gentoo.diff,3.28 KB, patch)
2016-03-28 22:03 UTC, Wojciech Myrda
Details | Diff
qnapi-0.2.1.ebuild (qnapi-0.2.1.ebuild,933 bytes, text/plain)
2016-03-30 20:21 UTC, Wojciech Myrda
Details
qnapi-0.2.1-gentoo.diff (qnapi-0.2.1-gentoo.diff,4.59 KB, patch)
2016-03-30 20:24 UTC, Wojciech Myrda
Details | Diff
qnapi-0.2.2.ebuild (qnapi-0.2.2.ebuild,914 bytes, text/plain)
2016-10-22 15:03 UTC, Wojciech Myrda
Details
qnapi-0.2.2-gentoo.diff (qnapi-0.2.2-gentoo.diff,4.48 KB, patch)
2016-10-22 15:04 UTC, Wojciech Myrda
Details | Diff
qnapi-0.2.3.ebuild (qnapi-0.2.3.ebuild,1.11 KB, text/plain)
2017-11-10 21:41 UTC, Wojciech Myrda
Details
qnapi-0.2.3-gentoo.diff (qnapi-0.2.3-gentoo.diff,3.38 KB, patch)
2017-11-10 21:44 UTC, Wojciech Myrda
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description harry.tx 2008-04-29 11:35:45 UTC
Ebuild for qnapi

Reproducible: Always
Comment 1 harry.tx 2008-04-29 11:37:21 UTC
Created attachment 151324 [details]
Ebuild for qnapi version 0.1.4
Comment 2 harry.tx 2008-04-29 11:39:09 UTC
Comment on attachment 151324 [details]
Ebuild for qnapi version 0.1.4

Based on Jan St?pie? ebuild for version 0.1.3
Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2008-04-29 12:33:25 UTC
- The ebuild header is invalid¹
- Qt dependency deosn't reflect split Qt 4.4 ebuilds.
- The p7zip dependency seems superfluous, unless I'm missing something
- Use flags for some silly service menus is _way_ over the top. Use the kde use flag for all of them.
- get_libdir() has to be used, instead of the hardcoded .../lib/...
- Ebuild is missing proper indentation. Also remove the lines you've commented out.


[1] http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2&chap=3
Comment 4 harry.tx 2008-04-29 13:19:12 UTC
Created attachment 151339 [details]
qnapi-0.1.4-r1.ebuild
Comment 5 harry.tx 2008-04-29 13:23:22 UTC
(In reply to comment #3)
> - The ebuild header is invalid¹
> - Qt dependency deosn't reflect split Qt 4.4 ebuilds.
> - The p7zip dependency seems superfluous, unless I'm missing something
> - Use flags for some silly service menus is _way_ over the top. Use the kde use
> flag for all of them.
> - get_libdir() has to be used, instead of the hardcoded .../lib/...
> - Ebuild is missing proper indentation. Also remove the lines you've commented
> out.
> 
> 
> [1] http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2&chap=3
> 


Fixed almost everything, p7zip is needed for this apps to work properly. Qt 4.4 afaik is masked and I don't know how to handle it.
Comment 6 harry.tx 2008-05-22 16:14:50 UTC
Created attachment 153955 [details]
qnapi-0.1.5.ebuild
Comment 7 harry.tx 2008-05-22 16:17:21 UTC
Comment on attachment 153955 [details]
qnapi-0.1.5.ebuild

><HTML><HEAD/><BODY><PRE># Copyright 1999-2004 Gentoo Foundation
># Distributed under the terms of the GNU General Public License v2
># $Header: $
>
>inherit eutils multilib gnome2
>
>DESCRIPTION="Unofficial NAPI-PROJEKT clone for non-Windows systems"
>HOMEPAGE="http://krzemin.iglu.cz/qnapi"
>SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
>LICENSE="GPL-2"
>SLOT="0"
>KEYWORDS="~amd64 ~ppc ~x86"
>IUSE="doc gnome kde kde4"
>
>DEPEND="&gt;=x11-libs/qt-4.3
>app-arch/p7zip
>kde? ( &lt;kde-base/kdebase-4 )
>kde4? ( &gt;=kde-base/kdebase-4 )
>gnome? ( gnome-base/gconf )
>"
>
>RDEPEND="${DEPEND}"
>
>
>
>src_compile() {
>	/usr/bin/qmake || die "qmake failed"
>	emake || die "emake failed"
>}
>
>src_install() {
>	dobin qnapi
>	cd doc/
>
>	if use doc; then
>		dodoc ChangeLog changelog.gz README LICENSE qnapi-download.desktop qnapi-download.schemas
>	fi
>
>	newman ${PN}.1.gz ${PN}.1
>	doman ${PN}.1.gz
>	domenu qnapi.desktop
>
>	if use kde;  then
>		dodir /usr/share/apps/konqueror/servicemenus/
>		insinto /usr/share/apps/konqueror/servicemenus/
>		doins	qnapi-download.desktop 
>	
>		dodir /usr/share/apps/dolphin/servicemenus/
>		insinto /usr/share/apps/dolphin/servicemenus/
>		doins qnapi-download.desktop 
>	
>		dodir /usr/share/apps/d3lphin/servicemenus/
>		insinto /usr/share/apps/d3lphin/servicemenus/
>		doins qnapi-download.desktop 
>	fi
>
>	if use kde4;  then
>		dodir /usr/$(get_libdir)/kde4/share/kde4/services/ServiceMenus/
>		insinto /usr/$(get_libdir)/kde4/share/kde4/services/ServiceMenus/
>		doins qnapi-download.desktop 
>	fi
>
>	if use gnome; 	then
>		dodir /etc/gconf/schemas/
>		insinto /usr/share/gconf/schemas/
>		doinst qnapi-download.schemas
>	fi
>	
>	cd ../res
>	insinto /usr/share/icons/
>	doins qnapi*.png
>}
>
>pkg_postinst()
>{
>	if use gnome;	then
>		gconf_install
>	fi
>}
></PRE></BODY></HTML>
Comment 8 harry.tx 2008-05-22 16:20:43 UTC
Created attachment 153957 [details]
qnapi-0.1.5-r1.ebuild
Comment 9 harry.tx 2008-09-05 14:34:15 UTC
Created attachment 164642 [details]
qnapi-0.1.5-r2.ebuild

Zmieniona jedna linijka w ebuildzie (konkretnie 17.), teraz zainstaluje si?
 równie? je?li kto? b?dzie mia? zainstalowane rozdzielone ebuildy kde-base. 

Propozycja nades?ana przez Adama Sokolnickiego
Comment 10 Adam Wyżgoł 2009-01-23 23:04:32 UTC
Created attachment 179489 [details]
qnapi-0.1.5-r3.ebuild 

Wersja dzia?a pod kde-4.2 (poprawione zale?no?ci)
Comment 11 Łukasz Mierzwa 2009-05-06 16:40:16 UTC
Created attachment 190514 [details]
qnapi-0.1.6_rc2.ebuild

ebuild for 0.1.6_rc2
Comment 12 skolima 2009-07-24 18:18:18 UTC
Ebuild zależy od pełnego meta qt, powienien mieć zależności od częściówek (split ebuilds).
Comment 13 Adam Wyżgoł 2009-07-24 18:56:44 UTC
Created attachment 199010 [details]
qnapi-0.1.6_rc2-r1.ebuild 

Zmieni?em zale?no?ci Qt zgodnie z aktualnymi zaleceniami (przygotowanie pod sety i likwidacja meta ebuild-ów), je?eli co? przeoczy?em to przepraszam, ale chyba jest wszystko.
Comment 14 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2009-08-06 21:36:02 UTC
Witam Panów serdecznie!

Aktualnie pracuję nad przeniesieniem qnapi do Sunrise, wymaga to jednak sporych zmian w ebuildzie. Aktualnie można powiedzieć, że zasadnicza część jest już gotowa, ale potrzebuję więcej informacji, jeśli chodzi o integrację ze środowiskami.

O ile w przypadku GNOME rozumiem zależność od gconfa, o tyle w pozostałych przypadkach chciałbym dowiedzieć się, dlaczego wskazane zostały właśnie te ebuildy.

W miarę możliwości chciałbym również dowiedzieć się, czy zastosowane w oryginalnym ebuildzie czy w standardowej instalacji qnapi metody integracji faktycznie działają z bieżącymi wersjami poszczególnych środowisk w Gentoo. W miarę możliwości przydałoby się również uzasadnienie ścieżek instalacji tychże plików i wskazanie innych ebuildów, które instalują swoje pliki do tych katalogów lub te katalogi tworzą.
Comment 15 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2009-08-07 19:30:50 UTC
Created attachment 200534 [details]
Sunrise proposed ebuild
Comment 16 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2009-08-07 19:31:10 UTC
Created attachment 200535 [details, diff]
Diff to qmake project
Comment 17 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2009-08-12 21:56:35 UTC
Ebuild is now in Sunrise overlay, you can view it using following URL:

http://overlays.gentoo.org/proj/sunrise/browser/reviewed/media-video/qnapi
Comment 18 g18 2011-04-07 15:06:02 UTC
Dzis taki problem zauważyłem:

Portage 2.1.9.42 (default/linux/amd64/10.0/desktop, gcc-4.4.5, glibc-2.11.3-r0, 2.6.36-gentoo-r5 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-2.6.36-gentoo-r5-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P8400_@_2.26GHz-with-gentoo-1.12.14
Timestamp of tree: Thu, 07 Apr 2011 01:30:01 +0000
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.7.1-r1, 3.1.3-r1
dev-util/cmake:      2.8.4
sys-apps/baselayout: 1.12.14-r1
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.5
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -pipe -mno-tls-direct-seg-refs"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=nocona -pipe -mno-tls-direct-seg-refs"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://ftp.vectranet.pl/gentoo/ http://gentoo.po.opole.pl "
LANG="pl_PL.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="pl"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/sunrise /var/lib/layman/roslin"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac acl acpi alsa amd64 apm avi berkdb bluetooth branding bzip2 cairo cdr cgi clamav cli consolekit cracklib crypt ctype cups cxx dbus dovecot-sasl dri dts dvd dvdr emboss encode exif extras fam ffmpeg filter firefox flac fortran gd gdbm gdu gif gnutls gpm gtk hald iconv ipv4 ipv6 ithreads jpeg jpeg2k kde lame lcms ldap libnotify lm_sensore mad madwifi mikmod mmx mng modules mp3 mp4 mpeg mplayer mudflap multilib mysql ncurses nls nptl nptlonly nsplugin nss ogg opengl openmp pam pango pcmcia pcre pdf perl pic pl png policykit ppds pppd python python3 qt3support qt4 qt4support readline sdl semantic-desktop session spell sql sse sse2 ssl startup-notification svg sysfs tcpd threads tiff truetype udev unicode usb vorbis webkit wifi wmf x264 xcb xine xml xorg xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="peruser" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

 * ERROR: media-video/qnapi-0.1.6_rc2 failed (depend phase):
 *   EAPI=2 is not supported
 * 
 * Call stack:
 *                ebuild.sh, line 1998:  Called source '/var/lib/layman/sunrise/media-video/qnapi/qnapi-0.1.6_rc2.ebuild'
 *   qnapi-0.1.6_rc2.ebuild, line    9:  Called inherit 'eutils' 'gnome2-utils' 'kde4-base' 'qt4-r2'
 *                ebuild.sh, line 1403:  Called qa_source '/usr/portage/eclass/kde4-base.eclass'
 *                ebuild.sh, line   43:  Called source '/usr/portage/eclass/kde4-base.eclass'
 *         kde4-base.eclass, line   23:  Called inherit 'kde4-functions' 'fdo-mime' 'gnome2-utils' 'base' 'virtualx' 'versionator' 'eutils'
 *                ebuild.sh, line 1403:  Called qa_source '/usr/portage/eclass/kde4-functions.eclass'
 *                ebuild.sh, line   43:  Called source '/usr/portage/eclass/kde4-functions.eclass'
 *    kde4-functions.eclass, line   20:  Called die
 * The specific snippet of code:
 *      *) die "EAPI=${EAPI} is not supported" ;;
 * 
 * If you need support, post the output of 'emerge --info =media-video/qnapi-0.1.6_rc2',
 * the complete build log and the output of 'emerge -pqv =media-video/qnapi-0.1.6_rc2'.
 * This ebuild is from an overlay: '/var/lib/layman/sunrise/'
 * S: '/var/tmp/portage/media-video/qnapi-0.1.6_rc2/work/qnapi-0.1.6_rc2'
Comment 19 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2011-04-07 19:06:39 UTC
(In reply to comment #18)
> Dzis taki problem zauważyłem:

Już naprawiony, poprawka wejdzie z reviewem.
Comment 20 Michal Plichta 2013-03-04 16:46:01 UTC
Needs to be updated because of x11-libs/qt is moved to dev-qt/qt
Comment 21 Michal Plichta 2013-03-04 16:48:29 UTC
Created attachment 340940 [details]
new ebuild

DEPEND="dev-qt/qt-core:4
        dev-qt/qt-gui:4
Comment 22 Michal Plichta 2013-03-04 17:19:39 UTC
mistake should be without '-':
DEPEND="dev-qt/qtcore:4
        dev-qt/qtgui:4
Comment 23 Michal Plichta 2013-03-07 12:00:47 UTC
my proposition of ebuild:
http://pastebin.com/t388TyZa
Comment 24 Sergey Popov gentoo-dev 2013-03-07 12:02:01 UTC
(In reply to comment #23)
> my proposition of ebuild:
> http://pastebin.com/t388TyZa

please, attach ebuilds directly. Pastebin links can expire, thus they are not apropriate for proper ebuild placement
Comment 25 Michal Plichta 2013-03-14 10:35:54 UTC
Created attachment 342010 [details]
qnapi-0.1.6_rc2-r1.ebuild
Comment 26 Thomas Sachau gentoo-dev 2015-05-09 14:56:07 UTC
This package has been removed from sunrise overlay as the ebuild fails to build.
Comment 27 Michael Palimaka (kensington) gentoo-dev 2015-08-12 15:04:54 UTC
This looks like interesting software, but latest version seems to be missing english translation.
Comment 28 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-08-12 15:38:33 UTC
(In reply to Michael Palimaka (kensington) from comment #27)
> This looks like interesting software, but latest version seems to be missing
> english translation.

Probably not much point having english translation for software that downloads polish subtitles :). (yeah, I know they started to support english too but nobody uploads those, so why care -- better use opensubtitles with their moviehash= support)
Comment 29 Wojciech Myrda 2016-03-06 12:31:14 UTC
Created attachment 427568 [details]
qnapi-0.2.1.ebuild

There is new version of the program 0.2.1 available. Now it dowloads subtitles from additional websites napisy24.pl and opensubtitles

It has been ages since I have prepared an ebuild by myself and I can't get around the error 
/usr/local/portage/media-video/qnapi/qnapi-0.2.1.ebuild: line 17: $'~x86\nIUSE=gnome': command not found
/usr/local/portage/media-video/qnapi/qnapi-0.2.1.ebuild: line 21: syntax error near unexpected token `gnome-base/gconf'
/usr/local/portage/media-video/qnapi/qnapi-0.2.1.ebuild: line 21: `	gnome? ( gnome-base/gconf )'

anyways I attach a ebuild try for the new version. App now requires QT 5.1 which I presure upgrades KDE to version 5 as well. I can't confirm it since I neved used KDE
Comment 30 Wojciech Myrda 2016-03-06 12:32:45 UTC
Created attachment 427570 [details, diff]
qnapi-0.2.1-gentoo.diff

Looking at the source some changes are still required in the install location, but not all that where used to the 0.1.6 version
Comment 31 Wojciech Myrda 2016-03-28 22:02:00 UTC
Created attachment 429206 [details]
qnapi-0.2.1.ebuild

this one gets me quite further, but gentoo specific patch needs more work
Comment 32 Wojciech Myrda 2016-03-28 22:03:20 UTC
Created attachment 429208 [details, diff]
qnapi-0.2.1-gentoo.diff

Guys please take a look at it as this sandbox stuff is just way above my kung fu ;)
Comment 33 Wojciech Myrda 2016-03-30 20:21:55 UTC
Created attachment 429330 [details]
qnapi-0.2.1.ebuild

Can't fix it? Go around it :P Application compiles and installs just fine using some src_install magic. Seems working properly too
Comment 34 Wojciech Myrda 2016-03-30 20:24:45 UTC
Created attachment 429332 [details, diff]
qnapi-0.2.1-gentoo.diff

Source might need additional small fix as install does throw an warning (see below) but works nevertheless :)


" * QA Notice: This package installs one or more .desktop files that do not
 * pass validation.
 * 
 * 	/usr/share/applications/qnapi-download.desktop: error: key "Actions" is present in group "Desktop Entry", but the type is "Service" while this key is only valid for type "Application"
 * 	/usr/share/applications/qnapi-scan.desktop: error: key "Actions" is present in group "Desktop Entry", but the type is "Service" while this key is only valid for type "Application"
 * "
Comment 35 Wojciech Myrda 2016-10-22 15:03:39 UTC
Created attachment 451032 [details]
qnapi-0.2.2.ebuild

New version is upon us ;) with number of fixes https://github.com/QNapi/qnapi/releases/tag/0.2.2
Comment 36 Wojciech Myrda 2016-10-22 15:04:52 UTC
Created attachment 451034 [details, diff]
qnapi-0.2.2-gentoo.diff

Gentoo fixes patch updated
Comment 37 Wojciech Myrda 2017-11-10 21:41:58 UTC
Created attachment 503516 [details]
qnapi-0.2.3.ebuild

Following is an updated ebuild for version 0.2.3 with some attempt for desktop integration. It is still hacky but does work as app installs just fine.
Comment 38 Wojciech Myrda 2017-11-10 21:44:53 UTC
Created attachment 503518 [details, diff]
qnapi-0.2.3-gentoo.diff

Updated Gentoo patch. Would need some additions for proper directory installation prefix to avoid manual install in src_install section.