Ebuild for qnapi Reproducible: Always
Created attachment 151324 [details] Ebuild for qnapi version 0.1.4
Comment on attachment 151324 [details] Ebuild for qnapi version 0.1.4 Based on Jan St?pie? ebuild for version 0.1.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
Created attachment 151339 [details] qnapi-0.1.4-r1.ebuild
(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.
Created attachment 153955 [details] qnapi-0.1.5.ebuild
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=">=x11-libs/qt-4.3 >app-arch/p7zip >kde? ( <kde-base/kdebase-4 ) >kde4? ( >=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>
Created attachment 153957 [details] qnapi-0.1.5-r1.ebuild
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
Created attachment 179489 [details] qnapi-0.1.5-r3.ebuild Wersja dzia?a pod kde-4.2 (poprawione zale?no?ci)
Created attachment 190514 [details] qnapi-0.1.6_rc2.ebuild ebuild for 0.1.6_rc2
Ebuild zależy od pełnego meta qt, powienien mieć zależności od częściówek (split ebuilds).
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.
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ą.
Created attachment 200534 [details] Sunrise proposed ebuild
Created attachment 200535 [details, diff] Diff to qmake project
Ebuild is now in Sunrise overlay, you can view it using following URL: http://overlays.gentoo.org/proj/sunrise/browser/reviewed/media-video/qnapi
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'
(In reply to comment #18) > Dzis taki problem zauważyłem: Już naprawiony, poprawka wejdzie z reviewem.
Needs to be updated because of x11-libs/qt is moved to dev-qt/qt
Created attachment 340940 [details] new ebuild DEPEND="dev-qt/qt-core:4 dev-qt/qt-gui:4
mistake should be without '-': DEPEND="dev-qt/qtcore:4 dev-qt/qtgui:4
my proposition of ebuild: http://pastebin.com/t388TyZa
(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
Created attachment 342010 [details] qnapi-0.1.6_rc2-r1.ebuild
This package has been removed from sunrise overlay as the ebuild fails to build.
This looks like interesting software, but latest version seems to be missing english translation.
(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)
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
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
Created attachment 429206 [details] qnapi-0.2.1.ebuild this one gets me quite further, but gentoo specific patch needs more work
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 ;)
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
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" * "
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
Created attachment 451034 [details, diff] qnapi-0.2.2-gentoo.diff Gentoo fixes patch updated
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.
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.