Hi, I have created an ebuild for MoioSMS-2.13. MoioSMS is a python application (with GUI) that allows you to send free sms through several italian sites: Vodafone, Rossoalice, Tim, Tin, Smshosting, Callwave, Enel. It works fine on my gentoo-box. I'll attach the ebuild... Canduc Reproducible: Always
Created attachment 138658 [details] moiosms-2.13.ebuild
Created attachment 138721 [details] moiosms-2.13-r1.ebuild Adjusted DEPEND/RDEPEND variables.
Created attachment 138830 [details] app-mobilephone/moiosms-2.13-r2.ebuild . Package cleanup (the ebuild removes orphan .pyc, and *~ files) . python_mod_optimize and python_mod_cleanup . Added desktop icon . >=x11-libs/wxGTK-2.6 >=dev-python/wxpython-2.6 instead of 2.8 series actually hardmasked. The 2.6 isn't supported upstream but the app seems to work well with this version too ;) . some little changes
Created attachment 138908 [details] moiosms-2.13.ebuild - Some minor fixes (thanks to Repoman :) ) - Removed unnecessary wxGTK dependency (already pulled in by wxpython) - Added "captcha" USE FLAG: it enables conditional dependencies for CAPTCHA recognition support - dos2unix on txt docs FYI: revision bumps (-r*) for Bugzilla submitted ebuilds is not required, because they aren't yet in the tree ;) Marking the old ebuilds as "obsolete" is sufficient.
Created attachment 144359 [details] moiosms-2.14_beta6.ebuild
Created attachment 144659 [details] app-mobilephone/moiosms-2.14.ebuild Here is the ebuild for the latest version (with some minor change) @Fabio: I think we don't need to use "dev-python/wxpython:2.6" as dep because upstream only support wxpython-2.8 and actually the 2.8 is marked stable in the tree; I kept >=dev-python/wxpython-2.6 because moiosms seems to work well with the 2.6 version too
(In reply to comment #6) > @Fabio: I think we don't need to use "dev-python/wxpython:2.6" as dep because > upstream only support wxpython-2.8 and actually the 2.8 is marked stable in the > tree; I kept >=dev-python/wxpython-2.6 because moiosms seems to work well with > the 2.6 version too On my system I had installed only wxpython-2.8 and moiosms GUI didn't work :( There has been an API upgrade between 2.6 and 2.8 versions.
Created attachment 153649 [details] moiosms-2.15.ebuild This is the ebuild for the upcoming 2.15 version, upstream chose to use graphicsmagick instead of imagemagick due to a bug that affects linux platforms. graphicsmagick isn't in portage yet but a working ebuild is available on the bugzilla #190372 (simple rename it for the latest 1.2.1 version)
Created attachment 153651 [details] files/graphicsmagick.patch Use this patch with moiosms-2.15_beta2.ebuild
I renamed the attached ebuild because the 2.15 stable has been released
>>> Emerging (1 of 1) net-misc/moiosms-2.15 to / * MoioSMS2.15-src.zip RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking MoioSMS2.15-src.zip ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking MoioSMS2.15-src.zip to /var/tmp/portage/net-misc/moiosms-2.15/work * Applying graphicsmagick.patch ... [ ok ] * * ERROR: net-misc/moiosms-2.15 failed. * Call stack: * ebuild.sh, line 49: Called src_unpack * environment, line 2457: Called python_mod_cleanup 'src_unpack' * environment, line 2251: Called die * The specific snippet of code: * [[ ${EBUILD_PHASE} != postrm ]] && die "${FUNCNAME} should only be run in pkg_postrm()"; * The die message: * python_mod_cleanup should only be run in pkg_postrm() * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/net-misc/moiosms-2.15/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-misc/moiosms-2.15/temp/environment'. *
Created attachment 157205 [details] moiosms-2.15.ebuild Latest portage version doesn't allow python_mod_cleanup outside of pkg_postrm(), anyway .py{o,c} files are now removed upstream so we can simply remove the offending call from the ebuild ;)
Created attachment 161321 [details] app-mobilephone/moiosms-2.16.ebuild
Created attachment 171624 [details] moiosms-2.17 You have to change the first line in /usr/bin/moiosms from #!/usr/bin/python2.4 to #!/usr/bin/python2.5 to get moiosms working. Enjoy!
Created attachment 175605 [details] moiosms-2.18 As in 2.17 release, you have to change the first line in /usr/bin/moiosms from #!/usr/bin/python2.4 to #!/usr/bin/python2.5 to get moiosms working. Enjoy!
we want this in portage asap!
Created attachment 202129 [details] moiosms-2.18.ebuild * Added a fix for the bad interpreter issue * My graphicsmagick patch isn't necessary anymore because the problem has been solved upstream
Created attachment 202130 [details] moiosms-2.18.ebuild oops... this one :)
(In reply to comment #18) > Created an attachment (id=202130) [details] > moiosms-2.18.ebuild > > oops... this one :) > i use sys-apps/portage-2.1.7.17 and i'm not able to use the last ebuild. ebuild moiosms-2.18.ebuild manifest * ERROR: app-mobilephone/moiosms-2.18 failed: * _python_package_supporting_installation_for_multiple_python_abis() cannot be used in global scope * * Call stack: * ebuild.sh, line 1876: Called source '/usr/local/portage/layman/local/app-mobilephone/moiosms/moiosms-2.18.ebuild' * moiosms-2.18.ebuild, line 10: Called python_version * python.eclass, line 2109: Called _python_package_supporting_installation_for_multiple_python_abis * python.eclass, line 1415: Called die * The specific snippet of code: * die "${FUNCNAME}() cannot be used in global scope" * * If you need support, post the output of 'emerge --info =app-mobilephone/moiosms-2.18', * the complete build log and the output of 'emerge -pqv =app-mobilephone/moiosms-2.18'. * This ebuild is from an overlay: '/usr/local/portage/layman/local/' * S: '/var/tmp/portage/app-mobilephone/moiosms-2.18/work/moiosms-2.18' ideas?
i forgot to post my emerge --info. here's: emerge --info Portage 2.1.7.17 (default/linux/amd64/10.0/no-multilib, gcc-4.4.2, glibc-2.10.1-r1, 2.6.33-zen13 x86_64) ================================================================= System uname: Linux-2.6.33-zen13-x86_64-AMD_Athlon-tm-X2_DualCore_QL-64-with-gentoo-2.0.1 Timestamp of tree: Mon, 22 Mar 2010 10:45:02 +0000 app-shells/bash: 4.0_p35 dev-java/java-config: 2.1.10 dev-lang/python: 2.6.4-r1 dev-util/cmake: 2.6.4-r3 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.0-r1 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.8.5-r4, 1.9.6-r3, 1.10.3 sys-devel/binutils: 2.18-r3 sys-devel/gcc: 4.4.2 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.33 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=native -pipe -m3dnow -msse -msse2 -msse3 -mmmx" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -march=native -pipe -m3dnow -msse -msse2 -msse3 -mmmx" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests distlocks fixpackages metadata-transfer news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS=" ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://gd.tuwien.ac.at/opsys/linux/gentoo/ http://ftp.club-internet.fr/pub/mirrors/gentoo ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,now -Wl,-z,combreloc -Wl,--sort-common -Wl,--hash-style=gnu" LINGUAS="it" 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="/usr/local/portage/layman/sunrise /usr/local/portage/layman/pro-audio /usr/local/portage/layman/local" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dnow 3dnowext 3ds X Xaw3d a52 aac acl additions aiglx alias alsa amd64 apache2 archive ark asf audiofile autoreplace berkdb bootsplash bzip2 cairo caps celt cg cgi clflush cli cmov connectionstatus consolekit cpudetection cracklib crypt ctype cups curl custom-cflags cx8 cxx dbus de decibel devil dga dio dri dssi dts dvd dvdr dvdread editor encode encoder est exif fam fbcon fbcondecor ffmpeg firefox flac fpu fxsr gdbm gif gimpprint glitz glut gpm gstreamer gtk gtk2 guile hal hpn ical iconv imlib innodb ipv6 irda jack jack-tmpfs jackmidi java java6 jfs jpeg jpeg2k kde kpathsea ladspa laptop lash latex lcms ldap libsamplerate lilypond logitech-mouse logrotate lua mad mca mce midi mmap mms mmx mmx2 mmxext mng modules motif mov mp3 mpeg mplayer msn msr mtrr mudflap musepack mysql ncurses netmeeting networking nls no-seamonkey nowlistening nptl nptlonly nsplugin nx ode ogg openal openexr opengl openmp pae pam pat patented pbe pcre pdf perl pge phonon php png ppds pppd profile psesamba python qt3support qt4 quicktime readline reflection regex scenarios sdk sdl semantic-desktop sep session smartcard sms soundtouch speex spell spl sqlite ss sse sse2 sse3 ssl static-libs svg sysfs tcltk tcpd tcs tetex theora threads tiff timidity tk tm tm2 transparency truetype unicode usb v4l v4l2 vboxbfe vme vorbis vst wifi wmp x264 xcomposite xext xine xml xorg xv xvid xvmc yahoo zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fglrx" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 228265 [details] fixed python_version bug!