-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add python bindings to librsvg #115
Add python bindings to librsvg #115
Conversation
for gtk to be able to use the pixbuf-loader for svg files it needs to be enabled, and a loaders.cache needs to be created.
python-rsvg will fail to build if if can't find the bonobo defs files
…many more gtk applications
…ching and screencasts
…ching and screencasts
@@ -25,7 +25,9 @@ stdenv.mkDerivation rec { | |||
|
|||
installPhase = '' | |||
python waf install | |||
cp bonobo/* $out/share/pygtk/2.0/defs/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
$ ls /nix/store/526bjh0phkwp46sv2ix90m1klhb6pg3w-gnome-python-2.28.1/share/pygtk/2.0/defs
activationmodule.c bonoboui.defs __init__.py
bonobo-arg.c bonobouimodule.c Makefile.am
bonobo-arg-types.py bonoboui.override Makefile.in
bonobo.defs bonoboui-types.defs pybonobo.c
bonobomodule.c gconf.defs pybonobo.h
bonobo.override gnome.defs wscript
bonobo-types.defs gnome-types.defs
I guess cp
ing bonobo/*.defs bonobo/*.py
should be enough, right? But definitely not Makefile.* and the like.
Please copy only the files which are really needed to the defs directory. And is there even a more official way in the build system that could be used?
Weird, I didn't see the other comment (about bonobo) until after responding about the whitespace ... anyway, thanks for the review, I have no idea what bonobo is or what's really required so I'll read up on it, but I guess you're exactly right. |
I've made the changes, tested and will open a new pull request (because I don't know how else to do it). |
Just "git push -f" to pull request branch works on GitHub. I don't think |
Thanks! I'll try to remember that for the next time. |
Python rsvg pull request (was #115)
Add lighttpd web server module
Disables support for Javascript and PHP: - Javascript requires an old version of v8 - PHP requires a larger number of dependencies in addition to php-embed Changelog [1]: New features - core: add option weechat.look.nick_color_hash_salt to shuffle nick colors (issue NixOS#635) - core: add different icons sizes (16x16 to 512x512) (issue NixOS#1347) - core: add file weechat.desktop - core: add reverse of string for screen in evaluation of expressions with "revscr:" - core: add length of string (number of chars and on screen) in evaluation of expressions with "length:xxx" and "lengthscr:xxx" - core: add calculation of expression in evaluation of expressions with "calc:xxx" (issue NixOS#997) - core: add optional default path (evaluated) in completion "filename" - core: add support of modifiers in evaluation of expressions with "modifier:name,data,string" - api: add modifier "color_encode_ansi" (issue NixOS#528) - api: add modifier "eval_path_home" - irc: add filters on raw buffer (issue NixOS#1000) - irc: add option irc.look.display_pv_warning_address to display a warning in private buffer if the remote nick address has changed (issue NixOS#892) - irc: add server option "ssl_password" (issue NixOS#115, issue NixOS#1416) - irc: add "user" in output of irc_message_parse (issue NixOS#136) - irc: add options irc.color.message_kick and irc.color.reason_kick (issue NixOS#683, issue NixOS#684) - logger: add option logger.file.color_lines (issue NixOS#528, issue NixOS#621) - script: add options "-ol" and "-il" in command "/script list" to send translated string with list of scripts loaded, display "No scripts loaded" if no scripts are loaded - xfer: add option xfer.file.download_temporary_suffix with default value ".part" (issue NixOS#1237) Bug fixes - core: set buffer name, short name and title only if the value has changed - core: fix scrolling up in bare mode when switched to bare mode at the top of the buffer (issue NixOS#899, issue NixOS#978) - core: optimize load of configuration files - core: fix window separators not respecting window splits (issue NixOS#630) - core: fix cursor mode info when prefix_align is none and with words split across lines (issue NixOS#610, issue NixOS#617, issue NixOS#619) - core: add support of reverse video in ANSI color codes - core: fixed segfault during excessive evaluation in function string_repeat (issue NixOS#1400) - buflist: fix extra spaces between buffers when conditions are used to hide buffers (regression introduced in version 2.6) (issue NixOS#1403) - irc: do not automatically open a channel with name "0" (issue NixOS#1429) - irc: remove option irc.network.channel_encode, add server option "charset_message" to control which part of the IRC message is decoded/encoded to the target charset (issue NixOS#832) - irc: use path from option xfer.file.upload_path to complete filename in command "/dcc send" (issue NixOS#60) - logger: fix write in log file if it has been deleted or renamed (issue NixOS#123) - python: send "bytes" instead of "str" to callbacks in Python 3 when the string is not UTF-8 valid (issue NixOS#1389) - relay: send message "_buffer_title_changed" to clients only when the title is changed - xfer: fix memory leak when a xfer is freed and when the plugin is unloaded Tests - unit: add tests on GUI color functions Build - core: fix build on Haiku (issue NixOS#1420) - core: fix build on Alpine - core: remove file FindTCL.cmake - core: display an error on missing dependency in CMake (issue NixOS#916, issue NixOS#956) - debian: disable Javascript plugin on Debian Sid and Ubuntu Eoan - debian: build with Guile 2.2 - guile: add support of Guile 2.2, disable /guile eval (issue NixOS#1098) - python: add detection of Python 3.8 [1] https://weechat.org/files/changelog/ChangeLog-2.7.html
Disables support for Javascript and PHP: - Javascript requires an old version of v8 - PHP requires a larger number of dependencies in addition to php-embed Changelog [1]: New features - core: add option weechat.look.nick_color_hash_salt to shuffle nick colors (issue NixOS#635) - core: add different icons sizes (16x16 to 512x512) (issue NixOS#1347) - core: add file weechat.desktop - core: add reverse of string for screen in evaluation of expressions with "revscr:" - core: add length of string (number of chars and on screen) in evaluation of expressions with "length:xxx" and "lengthscr:xxx" - core: add calculation of expression in evaluation of expressions with "calc:xxx" (issue NixOS#997) - core: add optional default path (evaluated) in completion "filename" - core: add support of modifiers in evaluation of expressions with "modifier:name,data,string" - api: add modifier "color_encode_ansi" (issue NixOS#528) - api: add modifier "eval_path_home" - irc: add filters on raw buffer (issue NixOS#1000) - irc: add option irc.look.display_pv_warning_address to display a warning in private buffer if the remote nick address has changed (issue NixOS#892) - irc: add server option "ssl_password" (issue NixOS#115, issue NixOS#1416) - irc: add "user" in output of irc_message_parse (issue NixOS#136) - irc: add options irc.color.message_kick and irc.color.reason_kick (issue NixOS#683, issue NixOS#684) - logger: add option logger.file.color_lines (issue NixOS#528, issue NixOS#621) - script: add options "-ol" and "-il" in command "/script list" to send translated string with list of scripts loaded, display "No scripts loaded" if no scripts are loaded - xfer: add option xfer.file.download_temporary_suffix with default value ".part" (issue NixOS#1237) Bug fixes - core: set buffer name, short name and title only if the value has changed - core: fix scrolling up in bare mode when switched to bare mode at the top of the buffer (issue NixOS#899, issue NixOS#978) - core: optimize load of configuration files - core: fix window separators not respecting window splits (issue NixOS#630) - core: fix cursor mode info when prefix_align is none and with words split across lines (issue NixOS#610, issue NixOS#617, issue NixOS#619) - core: add support of reverse video in ANSI color codes - core: fixed segfault during excessive evaluation in function string_repeat (issue NixOS#1400) - buflist: fix extra spaces between buffers when conditions are used to hide buffers (regression introduced in version 2.6) (issue NixOS#1403) - irc: do not automatically open a channel with name "0" (issue NixOS#1429) - irc: remove option irc.network.channel_encode, add server option "charset_message" to control which part of the IRC message is decoded/encoded to the target charset (issue NixOS#832) - irc: use path from option xfer.file.upload_path to complete filename in command "/dcc send" (issue NixOS#60) - logger: fix write in log file if it has been deleted or renamed (issue NixOS#123) - python: send "bytes" instead of "str" to callbacks in Python 3 when the string is not UTF-8 valid (issue NixOS#1389) - relay: send message "_buffer_title_changed" to clients only when the title is changed - xfer: fix memory leak when a xfer is freed and when the plugin is unloaded Tests - unit: add tests on GUI color functions Build - core: fix build on Haiku (issue NixOS#1420) - core: fix build on Alpine - core: remove file FindTCL.cmake - core: display an error on missing dependency in CMake (issue NixOS#916, issue NixOS#956) - debian: disable Javascript plugin on Debian Sid and Ubuntu Eoan - debian: build with Guile 2.2 - guile: add support of Guile 2.2, disable /guile eval (issue NixOS#1098) - python: add detection of Python 3.8 [1] https://weechat.org/files/changelog/ChangeLog-2.7.html (cherry picked from commit d1cb8bf)
Disables support for Javascript and PHP: - Javascript requires an old version of v8 - PHP requires a larger number of dependencies in addition to php-embed Changelog [1]: New features - core: add option weechat.look.nick_color_hash_salt to shuffle nick colors (issue NixOS#635) - core: add different icons sizes (16x16 to 512x512) (issue NixOS#1347) - core: add file weechat.desktop - core: add reverse of string for screen in evaluation of expressions with "revscr:" - core: add length of string (number of chars and on screen) in evaluation of expressions with "length:xxx" and "lengthscr:xxx" - core: add calculation of expression in evaluation of expressions with "calc:xxx" (issue NixOS#997) - core: add optional default path (evaluated) in completion "filename" - core: add support of modifiers in evaluation of expressions with "modifier:name,data,string" - api: add modifier "color_encode_ansi" (issue NixOS#528) - api: add modifier "eval_path_home" - irc: add filters on raw buffer (issue NixOS#1000) - irc: add option irc.look.display_pv_warning_address to display a warning in private buffer if the remote nick address has changed (issue NixOS#892) - irc: add server option "ssl_password" (issue NixOS#115, issue NixOS#1416) - irc: add "user" in output of irc_message_parse (issue NixOS#136) - irc: add options irc.color.message_kick and irc.color.reason_kick (issue NixOS#683, issue NixOS#684) - logger: add option logger.file.color_lines (issue NixOS#528, issue NixOS#621) - script: add options "-ol" and "-il" in command "/script list" to send translated string with list of scripts loaded, display "No scripts loaded" if no scripts are loaded - xfer: add option xfer.file.download_temporary_suffix with default value ".part" (issue NixOS#1237) Bug fixes - core: set buffer name, short name and title only if the value has changed - core: fix scrolling up in bare mode when switched to bare mode at the top of the buffer (issue NixOS#899, issue NixOS#978) - core: optimize load of configuration files - core: fix window separators not respecting window splits (issue NixOS#630) - core: fix cursor mode info when prefix_align is none and with words split across lines (issue NixOS#610, issue NixOS#617, issue NixOS#619) - core: add support of reverse video in ANSI color codes - core: fixed segfault during excessive evaluation in function string_repeat (issue NixOS#1400) - buflist: fix extra spaces between buffers when conditions are used to hide buffers (regression introduced in version 2.6) (issue NixOS#1403) - irc: do not automatically open a channel with name "0" (issue NixOS#1429) - irc: remove option irc.network.channel_encode, add server option "charset_message" to control which part of the IRC message is decoded/encoded to the target charset (issue NixOS#832) - irc: use path from option xfer.file.upload_path to complete filename in command "/dcc send" (issue NixOS#60) - logger: fix write in log file if it has been deleted or renamed (issue NixOS#123) - python: send "bytes" instead of "str" to callbacks in Python 3 when the string is not UTF-8 valid (issue NixOS#1389) - relay: send message "_buffer_title_changed" to clients only when the title is changed - xfer: fix memory leak when a xfer is freed and when the plugin is unloaded Tests - unit: add tests on GUI color functions Build - core: fix build on Haiku (issue NixOS#1420) - core: fix build on Alpine - core: remove file FindTCL.cmake - core: display an error on missing dependency in CMake (issue NixOS#916, issue NixOS#956) - debian: disable Javascript plugin on Debian Sid and Ubuntu Eoan - debian: build with Guile 2.2 - guile: add support of Guile 2.2, disable /guile eval (issue NixOS#1098) - python: add detection of Python 3.8 [1] https://weechat.org/files/changelog/ChangeLog-2.7.html (cherry picked from commit d1cb8bf)
Disables support for Javascript and PHP: - Javascript requires an old version of v8 - PHP requires a larger number of dependencies in addition to php-embed Changelog [1]: New features - core: add option weechat.look.nick_color_hash_salt to shuffle nick colors (issue NixOS#635) - core: add different icons sizes (16x16 to 512x512) (issue NixOS#1347) - core: add file weechat.desktop - core: add reverse of string for screen in evaluation of expressions with "revscr:" - core: add length of string (number of chars and on screen) in evaluation of expressions with "length:xxx" and "lengthscr:xxx" - core: add calculation of expression in evaluation of expressions with "calc:xxx" (issue NixOS#997) - core: add optional default path (evaluated) in completion "filename" - core: add support of modifiers in evaluation of expressions with "modifier:name,data,string" - api: add modifier "color_encode_ansi" (issue NixOS#528) - api: add modifier "eval_path_home" - irc: add filters on raw buffer (issue NixOS#1000) - irc: add option irc.look.display_pv_warning_address to display a warning in private buffer if the remote nick address has changed (issue NixOS#892) - irc: add server option "ssl_password" (issue NixOS#115, issue NixOS#1416) - irc: add "user" in output of irc_message_parse (issue NixOS#136) - irc: add options irc.color.message_kick and irc.color.reason_kick (issue NixOS#683, issue NixOS#684) - logger: add option logger.file.color_lines (issue NixOS#528, issue NixOS#621) - script: add options "-ol" and "-il" in command "/script list" to send translated string with list of scripts loaded, display "No scripts loaded" if no scripts are loaded - xfer: add option xfer.file.download_temporary_suffix with default value ".part" (issue NixOS#1237) Bug fixes - core: set buffer name, short name and title only if the value has changed - core: fix scrolling up in bare mode when switched to bare mode at the top of the buffer (issue NixOS#899, issue NixOS#978) - core: optimize load of configuration files - core: fix window separators not respecting window splits (issue NixOS#630) - core: fix cursor mode info when prefix_align is none and with words split across lines (issue NixOS#610, issue NixOS#617, issue NixOS#619) - core: add support of reverse video in ANSI color codes - core: fixed segfault during excessive evaluation in function string_repeat (issue NixOS#1400) - buflist: fix extra spaces between buffers when conditions are used to hide buffers (regression introduced in version 2.6) (issue NixOS#1403) - irc: do not automatically open a channel with name "0" (issue NixOS#1429) - irc: remove option irc.network.channel_encode, add server option "charset_message" to control which part of the IRC message is decoded/encoded to the target charset (issue NixOS#832) - irc: use path from option xfer.file.upload_path to complete filename in command "/dcc send" (issue NixOS#60) - logger: fix write in log file if it has been deleted or renamed (issue NixOS#123) - python: send "bytes" instead of "str" to callbacks in Python 3 when the string is not UTF-8 valid (issue NixOS#1389) - relay: send message "_buffer_title_changed" to clients only when the title is changed - xfer: fix memory leak when a xfer is freed and when the plugin is unloaded Tests - unit: add tests on GUI color functions Build - core: fix build on Haiku (issue NixOS#1420) - core: fix build on Alpine - core: remove file FindTCL.cmake - core: display an error on missing dependency in CMake (issue NixOS#916, issue NixOS#956) - debian: disable Javascript plugin on Debian Sid and Ubuntu Eoan - debian: build with Guile 2.2 - guile: add support of Guile 2.2, disable /guile eval (issue NixOS#1098) - python: add detection of Python 3.8 [1] https://weechat.org/files/changelog/ChangeLog-2.7.html (cherry picked from commit d1cb8bf)
Replace ad hoc throttling fix with throttled
The new implementation is a bit smarter and only updates fonts that changed. But more importantly /run/current-system isn't used anymore which breaks initial activation and installs the previous set of fonts instead of the one in the new system. Fixes NixOS#115
See the discussion "Python bindings to librsvg or gnome-desktop" on the mailing list for further details.
This only adds functionality so it shouldn't break anything, it will however cause a lot of rebuilding and I haven't tested that everything will be rebuilt successfully.