Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 149739 - gyachi (a fork from Gyach Enhanced Yahoo!) - new ebuild
Summary: gyachi (a fork from Gyach Enhanced Yahoo!) - new ebuild
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL: http://gyachi.sourceforge.net/index.s...
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2006-10-01 09:07 UTC by edo hikmahtiar
Modified: 2011-12-16 20:13 UTC (History)
1 user (show)

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


Attachments
gyachi-1.0.5.ebuild (gyachi-1.0.5.ebuild,722 bytes, application/octet-stream)
2006-11-15 17:39 UTC, Keith Neuse
Details
gyachi.patch (gyachi.patch,4.01 KB, patch)
2006-11-15 17:44 UTC, Keith Neuse
Details | Diff
Gyachi-1.0.5.ebuild - 11/25/2006 (gyachi-1.0.5.ebuild,786 bytes, application/octet-stream)
2006-11-25 18:14 UTC, Keith Neuse
Details
gyachi-1.0.5-alpha-2 (gyachi-1.0.5.ebuild,824 bytes, text/plain)
2006-11-25 19:32 UTC, Keith Neuse
Details
a new gyachi patch to be used with the new gyachi ebuild (gyachi.patch,2.72 KB, patch)
2007-03-03 22:43 UTC, Thomas Ilnseher
Details | Diff
ebuild for patch before (gyachi-1.0.5.ebuild,922 bytes, text/plain)
2007-03-03 22:44 UTC, Thomas Ilnseher
Details
gyachi.patch (gyachi.patch,2.36 KB, patch)
2007-03-03 22:49 UTC, Thomas Ilnseher
Details | Diff
gyachi cvs ebuild (gyachi-9999.ebuild,866 bytes, text/plain)
2007-09-02 18:34 UTC, Andrea Rizzolo
Details
gyachi-9999.ebuild (gyachi-9999.ebuild,885 bytes, text/plain)
2007-10-28 21:59 UTC, Andrea Rizzolo
Details
gyachi-9999.ebuild (gyachi-9999.ebuild,975 bytes, text/plain)
2007-11-17 18:11 UTC, Brett Coady
Details
gyachi-gpgme-gentoo.patch (gyachi-gpgme-gentoo.patch,1.31 KB, patch)
2011-05-20 00:29 UTC, dhubbard
Details | Diff
gyachi-libnotify-build-broken.patch (gyachi-libnotify-build-broken.patch,1.11 KB, patch)
2011-05-20 00:31 UTC, dhubbard
Details | Diff
gyachi-pthread_yield-obsolete.patch (gyachi-pthread_yield-obsolete.patch,606 bytes, patch)
2011-05-20 00:32 UTC, dhubbard
Details | Diff
gyachi-cvs1.153.ebuild (gyachi-cvs1.153.ebuild,1.71 KB, text/plain)
2011-05-20 00:34 UTC, dhubbard
Details

Note You need to log in before you can comment on or make changes to this bug.
Description edo hikmahtiar 2006-10-01 09:07:10 UTC
This Yahoo! client for Linux operating system supports almost all of the features you would expect to find on the official Windows Yahoo! client: Voice chat, webcams, faders, 'nicknames', audibles, avatars, display images, and more. Yet, it remains very light-weight and memory-friendly. GyachE Improved uses Gtk-2 for its user interfaces (Gtk-2 2.0.6 or better required).
Comment 1 Marius Mauch (RETIRED) gentoo-dev 2006-10-01 09:28:05 UTC
Not portage related.
Comment 2 Keith Neuse 2006-11-15 17:39:02 UTC
Created attachment 102041 [details]
gyachi-1.0.5.ebuild

This is my first ebuild to have created so its not prefect, but this should at least get something started for the gyachi ebuild.
Comment 3 Keith Neuse 2006-11-15 17:44:29 UTC
Created attachment 102042 [details, diff]
gyachi.patch

This is the patch that goes along with the ebuild I submitted
Comment 4 Keith Neuse 2006-11-15 17:51:55 UTC
I would appreciate it if I could get some advice on how to properly create ebuilds and patches because I would like to create a more stable and efficient ebuild and patch.
Comment 5 Keith Neuse 2006-11-25 18:14:07 UTC
Created attachment 102728 [details]
Gyachi-1.0.5.ebuild - 11/25/2006
Comment 6 Keith Neuse 2006-11-25 18:18:32 UTC
Comment on attachment 102728 [details]
Gyachi-1.0.5.ebuild - 11/25/2006

Please disregard the gyachi ebuilds - going to try and re-create from scratch
Comment 7 Keith Neuse 2006-11-25 19:32:12 UTC
Created attachment 102731 [details]
gyachi-1.0.5-alpha-2

I fixed the dependency problems; I have ran into TEXTREL issues and there appear to be over 100 of them if I am reading this right. Please note since I am a nebiw to making ebuilds I could be completely off track. Anyways I am submitting what I have to see if anyone else can fix the TEXTREL problems. It works except that one of the plugins fails to load after being installed
Comment 8 FieldySnuts 2007-01-29 03:13:31 UTC
Thanks for the work Keith. I am just a normal user who wishes to find out when this gets into portage... some day I hope!
Comment 9 Thomas Ilnseher 2007-03-03 22:43:48 UTC
Created attachment 111995 [details, diff]
a new gyachi patch to be used with the new gyachi ebuild

I fooked around to get this shit compile on amd64,
and here it is. notice: gyvoice uses an win32 dll,
so it is disabled on anything else then i386 for now.
(maybe this could be compiled with -m32 ???)

also, i have hacked a lot at the automake stuff, but i do not know 
how things work with AM, so this may be far away from perfect.

The main problem is that the AM stuff supplied inside the tarball ...
well ... sucks.

i hope this fixes most bugs. The textrels should be fixed, although they
wouldn't have hurt ... these libs are just plugins.
maybe i'm also missing some dependencies.
Comment 10 Thomas Ilnseher 2007-03-03 22:44:29 UTC
Created attachment 111997 [details]
ebuild for patch before 

see above
Comment 11 Thomas Ilnseher 2007-03-03 22:49:44 UTC
Created attachment 111999 [details, diff]
gyachi.patch

The above patch had a bug left, so use this one.
Comment 12 Andrea Rizzolo 2007-09-02 18:34:21 UTC
Created attachment 129856 [details]
gyachi cvs ebuild

added a cvs ebuild (it needs a lil cleaning at patch line)
Comment 13 Andrea Rizzolo 2007-10-28 21:59:44 UTC
Created attachment 134581 [details]
gyachi-9999.ebuild

fixed ebuild, old syntax was really bad. btw, the patch doesnt apply clean but we still need it, please Keith update it ;)
Comment 14 Brett Coady 2007-11-17 18:11:18 UTC
Created attachment 136188 [details]
gyachi-9999.ebuild

modified the install line near the bottom of the ebuild
Comment 15 dhubbard 2011-05-20 00:29:17 UTC
Created attachment 274029 [details, diff]
gyachi-gpgme-gentoo.patch

I'm trying out gyachi, it's still in active development.

Patch 1/3: the gpgme fix (gpgme/gpgme.h), similar to gyachi.patch but modularized
Comment 16 dhubbard 2011-05-20 00:31:15 UTC
Created attachment 274031 [details, diff]
gyachi-libnotify-build-broken.patch

Please name that last patch: gyachi-gpgme-gentoo.patch

Patch 2/3: libnotify seems to be pretty broken. I've #if 0'd out the code that displays the gyachi icon -- it doesn't segfault anymore.
Comment 17 dhubbard 2011-05-20 00:32:58 UTC
Created attachment 274033 [details, diff]
gyachi-pthread_yield-obsolete.patch

Patch 3/3: replace all pthread_yield() calls with sched_yield()

These are the other QA notices I get:
 * RWX --- --- usr/bin/gyachivoice

 * gyachi-photos.c:245: warning: implicit declaration of function 'download_image'
 * gyachi-photos.c:533: warning: implicit declaration of function 'fetch_url'
 * gyachi-photos.c:1150: warning: implicit declaration of function 'gyach_g_list_free'
 * gyachi-photos.c:1431: warning: implicit declaration of function 'my_system'

 * Function `download_image' implicitly converted to pointer at gyachi-photos.c:245
 * Function `gyach_g_list_free' implicitly converted to pointer at gyachi-photos.c:1150

They all need fixing but I'm just testing everything out...
Comment 18 dhubbard 2011-05-20 00:34:42 UTC
Created attachment 274035 [details]
gyachi-cvs1.153.ebuild

The ebuild.

I'm testing this against cvs HEAD (rev 1.153). Here's the top few lines of ChangeLog by ghosler:

2010-07-25 (V1-2-10) Misc Seg fault fixes
        * - Fix incorrect g_free of GdkPixmap in shade_pixmap_gdk(). Should
        *   be g_object_unref(). BZ 598459 603545
        * - Correct a race condition in gyachi-uploader shutdown code, so as
        *   to not (possibly) seg fault when shutting down gyachi-uploader.
        *   BZ 525878 552443 573163 586276 597085
        * - Fix gyachi crash if the PM window is closed during a file transfer
        *   BZ 615624
Comment 19 Russell Dwiggins 2011-12-03 00:36:17 UTC
Tried the above latest ebuild plus libnotify-build-broken.patch. ebuild fails on that patch somehow.  Here's the log:

***** gyachi-libnotify-build-broken.patch *****
PWD: /var/tmp/portage/net-im/gyachi-9999/work/gyachi

===============================================

PATCH COMMAND:  patch -p0 -g0 -E --no-backup-if-mismatch < '/usr/local/portage/net-im/gyachi/files/gyachi-libnotify-build-broken.patch'

===============================================
patching file plugins/libnotify/gyachi-libnotify.c
Hunk #2 FAILED at 73.
Hunk #3 succeeded at 86 (offset 4 lines).
1 out of 3 hunks FAILED -- saving rejects to file plugins/libnotify/gyachi-libnotify.c.rej

patch program exited with status 1
===============================================

PATCH COMMAND:  patch -p1 -g0 -E --no-backup-if-mismatch < '/usr/local/portage/net-im/gyachi/files/gyachi-libnotify-build-broken.patch'

===============================================
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- plugins/libnotify/gyachi-libnotify.c.orig  2011-05-19 18:17:27.000000000 -0600
|+++ plugins/libnotify/gyachi-libnotify.c       2011-05-19 18:20:41.000000000 -0600
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored

patch program exited with status 1
===============================================

PATCH COMMAND:  patch -p2 -g0 -E --no-backup-if-mismatch < '/usr/local/portage/net-im/gyachi/files/gyachi-libnotify-build-broken.patch'

===============================================
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- plugins/libnotify/gyachi-libnotify.c.orig  2011-05-19 18:17:27.000000000 -0600
|+++ plugins/libnotify/gyachi-libnotify.c       2011-05-19 18:20:41.000000000 -0600
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored

patch program exited with status 1
===============================================

PATCH COMMAND:  patch -p3 -g0 -E --no-backup-if-mismatch < '/usr/local/portage/net-im/gyachi/files/gyachi-libnotify-build-broken.patch'

===============================================
missing header for unified diff at line 3 of patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- plugins/libnotify/gyachi-libnotify.c.orig  2011-05-19 18:17:27.000000000 -0600
|+++ plugins/libnotify/gyachi-libnotify.c       2011-05-19 18:20:41.000000000 -0600
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored

patch program exited with status 1
===============================================

PATCH COMMAND:  patch -p4 -g0 -E --no-backup-if-mismatch < '/usr/local/portage/net-im/gyachi/files/gyachi-libnotify-build-broken.patch'

===============================================
missing header for unified diff at line 3 of patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- plugins/libnotify/gyachi-libnotify.c.orig  2011-05-19 18:17:27.000000000 -0600
|+++ plugins/libnotify/gyachi-libnotify.c       2011-05-19 18:20:41.000000000 -0600
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored

patch program exited with status 1


Not sure if this is something happening on my system, or with the patch file?
Comment 20 Russell Dwiggins 2011-12-16 19:38:55 UTC
Actually it was the ebuild.

Line 41 should state:

src_prepare() {

instead of:

src_unpack() {

Everything built, but still getting:

libgyachilibnotify.so: undefined symbol: notify_notification_new_with_status_icon

error upon launch.
Comment 21 Russell Dwiggins 2011-12-16 20:13:59 UTC
Above fixed by changing:
# $Header: /var/cvsroot/gentoo-x86/net-im/gyachi/gyachi-9999.ebuild $

to:

# $Header: $

Everything seems to run well now.