summaryrefslogtreecommitdiff
path: root/xfce-extra/thunar-dropbox/files/thunar-dropbox-0.2.0-wscript.patch
diff options
context:
space:
mode:
Diffstat (limited to 'xfce-extra/thunar-dropbox/files/thunar-dropbox-0.2.0-wscript.patch')
-rw-r--r--xfce-extra/thunar-dropbox/files/thunar-dropbox-0.2.0-wscript.patch36
1 files changed, 0 insertions, 36 deletions
diff --git a/xfce-extra/thunar-dropbox/files/thunar-dropbox-0.2.0-wscript.patch b/xfce-extra/thunar-dropbox/files/thunar-dropbox-0.2.0-wscript.patch
deleted file mode 100644
index cb434205..00000000
--- a/xfce-extra/thunar-dropbox/files/thunar-dropbox-0.2.0-wscript.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-thunar-dropbox-0.2.0
-Disable gtk-update-icon-cache, install library with proper permissions,
-respect --libdir.
-slawomir.nizio at sabayon.org
---- wscript
-+++ wscript
-@@ -13,11 +13,13 @@
- def set_options(opt):
- opt.tool_options('compiler_cc')
- opt.tool_options('gnu_dirs')
-+ opt.add_option('--libdir', action='store', default="/usr/lib", help="libdir")
-
- def configure(conf):
- conf.check_tool('compiler_cc')
- conf.check_cfg(package='thunarx-2', uselib_store='THUNARX', mandatory=True, args='--cflags --libs')
- conf.check_cfg(package='gio-2.0', uselib_store='GIO', mandatory=True, args='--cflags --libs')
-+ conf.env.LIBDIR = Options.options.libdir
-
- def build(bld):
- prog = bld.new_task_gen('cc', 'cshlib')
-@@ -27,14 +29,4 @@
- prog.includes = 'src'
- prog.find_sources_in_dirs('src')
- bld.install_files('${PREFIX}/share/icons/hicolor/16x16/apps', 'data/icons/hicolor/16x16/apps/thunar-dropbox.png')
-- bld.install_as('${PREFIX}/lib/thunarx-2/thunar-dropbox.so', 'libthunar-dropbox.so')
--
--def shutdown():
-- if Options.commands['install'] or Options.commands['uninstall']:
-- dir = '%s/share/icons/hicolor' % Build.bld.env['PREFIX']
-- command = 'gtk-update-icon-cache -q -t -f %s 2> /dev/null' % dir
-- try:
-- if Utils.exec_command(command):
-- Utils.pprint('YELLOW', 'Icon cache not updated.')
-- except:
-- pass
-+ bld.install_as(bld.env.LIBDIR + '/thunarx-2/thunar-dropbox.so', 'libthunar-dropbox.so', chmod=0755)