First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 93504
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Linux Gnome Desktop Team <gnome@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Saleem Abdulrasool (RETIRED) <compnerd@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
gnome-python-extras-2.10.1.ebuild gnome-python-extras-2.10.1.ebuild text/plain Saleem Abdulrasool (RETIRED) 2005-05-21 22:34 0000 2.06 KB Details
gnome-python-extras-2.10.2.ebuild gnome-python-extras-2.10.2.ebuild text/plain Saleem Abdulrasool (RETIRED) 2005-06-22 23:32 0000 1.94 KB Details
gnome-python-extras-2.10.1.ebuild Fixed ebuild for gtkmozembed flag failure text/plain Mike Auty 2005-06-26 04:04 0000 1.89 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 93504 depends on: 8561 88900 Show dependency tree
Bug 93504 blocks: 85325 90837
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-05-21 22:26 0000
This package provides additional python bindings for GNOME2.

------- Comment #1 From Saleem Abdulrasool (RETIRED) 2005-05-21 22:34:52 0000 -------
Created an attachment (id=59515) [details]
gnome-python-extras-2.10.1.ebuild

The following use flags are available:

applet: build gnome applet support
cdr: build nautilus-cd-burn support
devel: build gnome develop library support
firefox: gtkembedmoz through firefox
gtkhtml: gtkhtml support
media: totem support
monitor: gtop support
mozilla: gtkembedmoz through mozilla
notificaton: eggtray (notification) support
print: gnome-print support
sourceview: gtksourceview support
spell: gtkspell support
tasks: wnck support

The ebuild has been partially tested on x86 (not all flags have been tested). 
Please test and advise.

------- Comment #2 From Mark Lee 2005-05-29 23:03:30 0000 -------
1 wouldn't dev-python be a better place for it, seeing as that's where
gnome-python is?
2. I think these would be better names for some of the USE flags:
  * devel => gdl
  * media => totem
  * print => gnome-print (there is already >= 1 package using it)
  * monitor => gtop
  * tasks => wnck
the reason it would probably be wise to change those is because they're for
specific apps, as opposed to generic services.
3. FYI, 2.10.2 is released.

------- Comment #3 From Saleem Abdulrasool (RETIRED) 2005-05-30 19:05:38 0000 -------
1. Yes, good point, and I hate it :-p (because it means I need to change
another
ebuild :-()
2. I have no objections to the suggested changes to the use flags (however,I
really dont feel like changing the ebuild and uploading to b.g.o).  When this
is
merged, I will make the appropriate changes.
3. Thanks, I will version bump soon.

------- Comment #4 From Saleem Abdulrasool (RETIRED) 2005-06-22 23:32:42 0000 -------
Created an attachment (id=61756) [details]
gnome-python-extras-2.10.2.ebuild

Updates the dependencies, version bumps, changes the useflags as suggested. 
[Matching serpentine ebuild for change in location]

------- Comment #5 From foser (RETIRED) 2005-06-23 03:43:32 0000 -------
a few things :
* the amount of USE flags.. totem/notification/sourceview/etc .. doesn't mean
much to me. Just adding flags is not always the right solution. btw gnome-print
use flag is never used in combo with libgnomeprint, but only with the specific
lib it refers to.
* why is it in SLOT 2 ? there is no other version
* it overrides the eclass functions, you really should avoid that
* a lot of use flags, but no switches.. autodetection is bad, use use_enable

------- Comment #6 From Mike Auty 2005-06-24 16:54:27 0000 -------
Is there any chance of including this soon, or perhaps masking
gnome-python-2.6.10 until this ebuild has been included?

As it stands, anyone running ~x86 will have upgraded to gnome-python-2.10.0,
which no longer includes the gtkhtml2 python modules.  As such, commonly used
apps which rely upon it (such as straw) are broken.

Thanks very much...

------- Comment #7 From Mike Auty 2005-06-25 06:14:34 0000 -------
Hi, just a little update.  Tinkering with the gnome-python-extras ebuild I
found
a couple of things.  Firstly, the configure script provided by gnome doesn't
seem to provide with --with-blah or --enable-blah flags for the various
options.
 It's possible I just haven't found the right bit in the configure file, but
I'll leave that for someone else to figure out.

The reason I was trying to configure the --with flags is because the ebuild
currently isn't compiling.  It seems to be autodetected my custom cvs ebuilt
version of firefox and trying to build gtkmozembed, which then breaks with the
following errors:

 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/python2.4
-I/usr/include/pygtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API
-I/usr/lib/MozillaFirefox/include/MozillaFirefox1.0+/gtkembedmoz
-I/usr/lib/MozillaFirefox/include/MozillaFirefox1.0+
-I/usr/lib/MozillaFirefox/include/MozillaFirefox1.0+/xpcom
-I/usr/lib/MozillaFirefox/include/MozillaFirefox1.0+/string
-I/usr/lib/MozillaFirefox/include/MozillaFirefox1.0+/nspr
-I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0
-I/usr/include/freetype2 -I/usr/include/freetype2/config
-I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -O2 -march=athlon-xp -fomit-frame-pointer -Wall
-fno-strict-aliasing -MT gtkmozembedmodule.lo -MD -MP -MF
.deps/gtkmozembedmodule.Tpo -c gtkmozembedmodule.c  -fPIC -DPIC -o
.libs/gtkmozembedmodule.o
gtkmozembed.override:7:25: gtkmozembed.h: No such file or directory
gtkmozembed.c: In function `_wrap_gtk_moz_embed_load_url':
gtkmozembed.c:59: warning: implicit declaration of function
`gtk_moz_embed_load_url'
gtkmozembed.c:59: warning: implicit declaration of function `GTK_MOZ_EMBED'
gtkmozembed.c: In function `_wrap_gtk_moz_embed_stop_load':
gtkmozembed.c:67: warning: implicit declaration of function
`gtk_moz_embed_stop_load'
gtkmozembed.c: In function `_wrap_gtk_moz_embed_can_go_back':
gtkmozembed.c:77: warning: implicit declaration of function
`gtk_moz_embed_can_go_back'
gtkmozembed.c: In function `_wrap_gtk_moz_embed_can_go_forward':
gtkmozembed.c:87: warning: implicit declaration of function
`gtk_moz_embed_can_go_forward'
gtkmozembed.c: In function `_wrap_gtk_moz_embed_go_back':
gtkmozembed.c:95: warning: implicit declaration of function
`gtk_moz_embed_go_back'
gtkmozembed.c: In function `_wrap_gtk_moz_embed_go_forward':
gtkmozembed.c:103: warning: implicit declaration of function
`gtk_moz_embed_go_forward'
gtkmozembed.c: In function `_wrap_gtk_moz_embed_render_data':
gtkmozembed.c:119: warning: implicit declaration of function
`gtk_moz_embed_render_data'
gtkmozembed.c: In function `_wrap_gtk_moz_embed_open_stream':
gtkmozembed.c:132: warning: implicit declaration of function
`gtk_moz_embed_open_stream'
gtkmozembed.c: In function `_wrap_gtk_moz_embed_append_data':
gtkmozembed.c:148: warning: implicit declaration of function
`gtk_moz_embed_append_data'
gtkmozembed.c: In function `_wrap_gtk_moz_embed_close_stream':
gtkmozembed.c:156: warning: implicit declaration of function
`gtk_moz_embed_close_stream'
gtkmozembed.c: In function `_wrap_gtk_moz_embed_get_link_message':
gtkmozembed.c:166: warning: implicit declaration of function
`gtk_moz_embed_get_link_message'
gtkmozembed.c:166: warning: assignment makes pointer from integer without a
cast
gtkmozembed.c: In function `_wrap_gtk_moz_embed_get_js_status':
gtkmozembed.c:181: warning: implicit declaration of function
`gtk_moz_embed_get_js_status'
gtkmozembed.c:181: warning: assignment makes pointer from integer without a
cast
gtkmozembed.c: In function `_wrap_gtk_moz_embed_get_title':
gtkmozembed.c:196: warning: implicit declaration of function
`gtk_moz_embed_get_title'
gtkmozembed.c:196: warning: assignment makes pointer from integer without a
cast
gtkmozembed.c: In function `_wrap_gtk_moz_embed_get_location':
gtkmozembed.c:211: warning: implicit declaration of function
`gtk_moz_embed_get_location'
gtkmozembed.c:211: warning: assignment makes pointer from integer without a
cast
gtkmozembed.c: In function `_wrap_gtk_moz_embed_reload':
gtkmozembed.c:229: warning: implicit declaration of function
`gtk_moz_embed_reload'
gtkmozembed.c: In function `_wrap_gtk_moz_embed_set_chrome_mask':
gtkmozembed.c:244: warning: implicit declaration of function
`gtk_moz_embed_set_chrome_mask'
gtkmozembed.c: In function `_wrap_gtk_moz_embed_get_chrome_mask':
gtkmozembed.c:254: warning: implicit declaration of function
`gtk_moz_embed_get_chrome_mask'
gtkmozembed.c: In function `_wrap_gtk_moz_embed_push_startup':
gtkmozembed.c:331: warning: implicit declaration of function
`gtk_moz_embed_push_startup'
gtkmozembed.c: In function `_wrap_gtk_moz_embed_pop_startup':
gtkmozembed.c:339: warning: implicit declaration of function
`gtk_moz_embed_pop_startup'
gtkmozembed.c: In function `_wrap_gtk_moz_embed_set_comp_path':
gtkmozembed.c:352: warning: implicit declaration of function
`gtk_moz_embed_set_comp_path'
gtkmozembed.c: In function `_wrap_gtk_moz_embed_set_profile_path':
gtkmozembed.c:365: warning: implicit declaration of function
`gtk_moz_embed_set_profile_path'
gtkmozembed.c: In function `pygtkmozembed_add_constants':
gtkmozembed.c:384: error: `GTK_MOZ_EMBED_FLAG_START' undeclared (first use in
this function)
gtkmozembed.c:384: error: (Each undeclared identifier is reported only once
gtkmozembed.c:384: error: for each function it appears in.)
gtkmozembed.c:385: error: `GTK_MOZ_EMBED_FLAG_REDIRECTING' undeclared (first
use
in this function)
gtkmozembed.c:386: error: `GTK_MOZ_EMBED_FLAG_TRANSFERRING' undeclared (first
use in this function)
gtkmozembed.c:387: error: `GTK_MOZ_EMBED_FLAG_NEGOTIATING' undeclared (first
use
in this function)
gtkmozembed.c:388: error: `GTK_MOZ_EMBED_FLAG_STOP' undeclared (first use in
this function)
gtkmozembed.c:389: error: `GTK_MOZ_EMBED_FLAG_IS_REQUEST' undeclared (first use
in this function)
gtkmozembed.c:390: error: `GTK_MOZ_EMBED_FLAG_IS_DOCUMENT' undeclared (first
use
in this function)
gtkmozembed.c:391: error: `GTK_MOZ_EMBED_FLAG_IS_NETWORK' undeclared (first use
in this function)
gtkmozembed.c:392: error: `GTK_MOZ_EMBED_FLAG_IS_WINDOW' undeclared (first use
in this function)
gtkmozembed.c:393: error: `GTK_MOZ_EMBED_STATUS_FAILED_DNS' undeclared (first
use in this function)
gtkmozembed.c:394: error: `GTK_MOZ_EMBED_STATUS_FAILED_CONNECT' undeclared
(first use in this function)
gtkmozembed.c:395: error: `GTK_MOZ_EMBED_STATUS_FAILED_TIMEOUT' undeclared
(first use in this function)
gtkmozembed.c:396: error: `GTK_MOZ_EMBED_STATUS_FAILED_USERCANCELED' undeclared
(first use in this function)
gtkmozembed.c:397: error: `GTK_MOZ_EMBED_FLAG_RELOADNORMAL' undeclared (first
use in this function)
gtkmozembed.c:398: error: `GTK_MOZ_EMBED_FLAG_RELOADBYPASSCACHE' undeclared
(first use in this function)
gtkmozembed.c:399: error: `GTK_MOZ_EMBED_FLAG_RELOADBYPASSPROXY' undeclared
(first use in this function)
gtkmozembed.c:400: error: `GTK_MOZ_EMBED_FLAG_RELOADBYPASSPROXYANDCACHE'
undeclared (first use in this function)
gtkmozembed.c:401: error: `GTK_MOZ_EMBED_FLAG_RELOADCHARSETCHANGE' undeclared
(first use in this function)
gtkmozembed.c:402: error: `GTK_MOZ_EMBED_FLAG_DEFAULTCHROME' undeclared (first
use in this function)
gtkmozembed.c:403: error: `GTK_MOZ_EMBED_FLAG_WINDOWBORDERSON' undeclared
(first
use in this function)
gtkmozembed.c:404: error: `GTK_MOZ_EMBED_FLAG_WINDOWCLOSEON' undeclared (first
use in this function)
gtkmozembed.c:405: error: `GTK_MOZ_EMBED_FLAG_WINDOWRESIZEON' undeclared (first
use in this function)
gtkmozembed.c:406: error: `GTK_MOZ_EMBED_FLAG_MENUBARON' undeclared (first use
in this function)
gtkmozembed.c:407: error: `GTK_MOZ_EMBED_FLAG_TOOLBARON' undeclared (first use
in this function)
gtkmozembed.c:408: error: `GTK_MOZ_EMBED_FLAG_LOCATIONBARON' undeclared (first
use in this function)
gtkmozembed.c:409: error: `GTK_MOZ_EMBED_FLAG_STATUSBARON' undeclared (first
use
in this function)
gtkmozembed.c:410: error: `GTK_MOZ_EMBED_FLAG_PERSONALTOOLBARON' undeclared
(first use in this function)
gtkmozembed.c:411: error: `GTK_MOZ_EMBED_FLAG_SCROLLBARSON' undeclared (first
use in this function)
gtkmozembed.c:412: error: `GTK_MOZ_EMBED_FLAG_TITLEBARON' undeclared (first use
in this function)
gtkmozembed.c:413: error: `GTK_MOZ_EMBED_FLAG_EXTRACHROMEON' undeclared (first
use in this function)
gtkmozembed.c:414: error: `GTK_MOZ_EMBED_FLAG_ALLCHROME' undeclared (first use
in this function)
gtkmozembed.c:415: error: `GTK_MOZ_EMBED_FLAG_WINDOWRAISED' undeclared (first
use in this function)
gtkmozembed.c:416: error: `GTK_MOZ_EMBED_FLAG_WINDOWLOWERED' undeclared (first
use in this function)
gtkmozembed.c:417: error: `GTK_MOZ_EMBED_FLAG_CENTERSCREEN' undeclared (first
use in this function)
gtkmozembed.c:418: error: `GTK_MOZ_EMBED_FLAG_DEPENDENT' undeclared (first use
in this function)
gtkmozembed.c:419: error: `GTK_MOZ_EMBED_FLAG_MODAL' undeclared (first use in
this function)
gtkmozembed.c:420: error: `GTK_MOZ_EMBED_FLAG_OPENASDIALOG' undeclared (first
use in this function)
gtkmozembed.c:421: error: `GTK_MOZ_EMBED_FLAG_OPENASCHROME' undeclared (first
use in this function)
gtkmozembed.c: In function `pygtkmozembed_register_classes':
gtkmozembed.c:470: error: `GTK_TYPE_MOZ_EMBED' undeclared (first use in this
function)
make[2]: *** [gtkmozembed.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory
`/var/tmp/portage/gnome-python-extras-2.10.1/work/gnome-python-extras-2.10.1/gtkmozembed'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/gnome-python-extras-2.10.1/work/gnome-python-extras-2.10.1'
make: *** [all] Error 2

!!! ERROR: dev-python/gnome-python-extras-2.10.1 failed.
!!! Function src_compile, Line 49, Exitcode 2
!!! Compile failed!
!!! If you need support, post the topmost build error, NOT this status message.



Unfortunately without enable/with flags, I haven't been able to turn this off,
so I can't install the package, which means I can't get straw working without
taking a downgrade.  Also whilst I remember the gtkhtml use flag needs removing
from the gnome-python-2.10.0 package, since it no longer seems effective...

------- Comment #8 From Saleem Abdulrasool (RETIRED) 2005-06-25 16:10:15 0000 -------
Did you try to build with -firefox +mozilla ? (That will force you to install
mozilla and use that over firefox.

------- Comment #9 From Mike Auty 2005-06-26 04:02:20 0000 -------
Ok, those were exactly the flags I was using, so upon checking some more I
found
that there was both a typo on the mozilla line (gtkembedmoz rather than
gtkmozembed) and also that the "$(useq blah)" functions weren't working, so
I've
created a new ebuild that just does "use blah && thing=whatever".  It has a
preference for firefox over mozilla if both flags are set (which I believe the
previous one did), and this now compiles fine.

I checked and straw runs fine with the new ebuild installed.  I'm still a
little
concerned that gnome didn't produce a configurable version rather than an
autodetecting version, but as I say currently some programs relying on the
gtkhtml flag of gnome-python will break until their dependecies are fixed to
depend on both gnome-python-extra and gtkhtml...

------- Comment #10 From Mike Auty 2005-06-26 04:04:04 0000 -------
Created an attachment (id=61950) [details]
Fixed ebuild for gtkmozembed flag failure 

Here's a fixed version of the previous ebuild that now honours the mozilla and
firefox flags.

------- Comment #11 From John N. Laliberte (RETIRED) 2005-07-02 11:15:49 0000 -------
heavily modified ebuild just was committed into the tree. 
( dev-python/gnome-python-extras )

the guys who are interested in making more ebuilds should check it out.
( msg me on IRC if you have any questions about the changes )

Thanks!

First Last Prev Next    No search results available      Search page      Enter new bug