Recherche avancée

Médias (91)

Autres articles (47)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Contribute to translation

    13 avril 2011

    You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
    To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
    MediaSPIP is currently available in French and English (...)

Sur d’autres sites (5911)

  • Evolution #4502 : Amélioration de l’affichage des flux RSS avec une feuille XSLT

    2 juin 2020, par cam.lafit -

    Bonjour

    Pour faire une PR il faut :

  • Anomalie #4483 : Masquer le bouton Télécharger si Bigup est bien actif

    3 juin 2020

    J’ai fait un fork et une branche ici https://git.spip.net/RealET/bigup/src/branch/issue%234483

    J’ai pu fusionner cette branche avec mon fork (https://git.spip.net/RealET/bigup)
    Mais je n’ai pas accès à la demande de fusion de cette branche avec https://git.spip.net/spip/bigup

  • How do I specify the flutter-ffmpeg package in iOS Podfile ?

    26 août 2020, par Khoi Le

    Based on : this question,
I believe that they changed Podfiles such that this code (from a tutorial) :

    


    if name == 'flutter_ffmpeg'
  pod name+'/min-gpl-lts', :path => File.join(symlink, 'ios')
else
  pod name, :path => File.join(symlink, 'ios')


    


    and this code in the ffmpeg-flutter docs :
"Modify the default #Plugin Pods block as follows :"

    


    # Prepare symlinks folder. We use symlinks to avoid having Podfile.lock&#xA;  # referring to absolute paths on developers&#x27; machines.&#xA;  system(&#x27;rm -rf .symlinks&#x27;)&#xA;  system(&#x27;mkdir -p .symlinks/plugins&#x27;)&#xA;  plugin_pods = parse_KV_file(&#x27;../.flutter-plugins&#x27;)&#xA;  plugin_pods.each do |name, path|&#xA;    symlink = File.join(&#x27;.symlinks&#x27;, &#x27;plugins&#x27;, name)&#xA;    File.symlink(path, symlink)&#xA;    if name == &#x27;flutter_ffmpeg&#x27;&#xA;        pod name&#x2B;&#x27;/<package>&#x27;, :path => File.join(symlink, &#x27;ios&#x27;)&#xA;    else&#xA;        pod name, :path => File.join(symlink, &#x27;ios&#x27;)&#xA;    end&#xA;  end&#xA;</package>

    &#xA;

    No longer work. This is what my current Podfile looks like. What do I add so that I can specify my flutter_ffmpeg as "/min-gpl-lts."

    &#xA;

    # Uncomment this line to define a global platform for your project&#xA;platform :ios, &#x27;9.3&#x27;&#xA;pod &#x27;Firebase/Auth&#x27;&#xA;pod &#x27;Firebase/Firestore&#x27;&#xA;pod &#x27;GoogleSignIn&#x27;&#xA;#pod &#x27;flutter_ffmpeg/min-gpl-lts&#x27; # when i uncomment this line, it says "multiple sources for dependency"&#xA;&#xA;# CocoaPods analytics sends network stats synchronously affecting flutter build latency.&#xA;ENV[&#x27;COCOAPODS_DISABLE_STATS&#x27;] = &#x27;true&#x27;&#xA;&#xA;project &#x27;Runner&#x27;, {&#xA;  &#x27;Debug&#x27; => :debug,&#xA;  &#x27;Profile&#x27; => :release,&#xA;  &#x27;Release&#x27; => :release,&#xA;}&#xA;&#xA;def flutter_root&#xA;  generated_xcode_build_settings_path = File.expand_path(File.join(&#x27;..&#x27;, &#x27;Flutter&#x27;, &#x27;Generated.xcconfig&#x27;), __FILE__)&#xA;  unless File.exist?(generated_xcode_build_settings_path)&#xA;    raise "#{generated_xcode_build_settings_path} must exist. If you&#x27;re running pod install manually, make sure flutter pub get is executed first"&#xA;  end&#xA;&#xA;  File.foreach(generated_xcode_build_settings_path) do |line|&#xA;    matches = line.match(/FLUTTER_ROOT\=(.*)/)&#xA;    return matches[1].strip if matches&#xA;  end&#xA;  raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get"&#xA;end&#xA;&#xA;require File.expand_path(File.join(&#x27;packages&#x27;, &#x27;flutter_tools&#x27;, &#x27;bin&#x27;, &#x27;podhelper&#x27;), flutter_root)&#xA;&#xA;flutter_ios_podfile_setup&#xA;&#xA;target &#x27;Runner&#x27; do&#xA;  use_frameworks!&#xA;  use_modular_headers!&#xA;&#xA;  flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))&#xA;end&#xA;&#xA;post_install do |installer|&#xA;  installer.pods_project.targets.each do |target|&#xA;    flutter_additional_ios_build_settings(target)&#xA;  end&#xA;end&#xA;

    &#xA;

    I have tried this Podfile with the suggestion of "forking" the function out :

    &#xA;

    # Uncomment this line to define a global platform for your project&#xA;platform :ios, &#x27;9.3&#x27;&#xA;pod &#x27;Firebase/Auth&#x27;&#xA;pod &#x27;Firebase/Firestore&#x27;&#xA;pod &#x27;GoogleSignIn&#x27;&#xA;&#xA;# CocoaPods analytics sends network stats synchronously affecting flutter build latency.&#xA;ENV[&#x27;COCOAPODS_DISABLE_STATS&#x27;] = &#x27;true&#x27;&#xA;&#xA;project &#x27;Runner&#x27;, {&#xA;  &#x27;Debug&#x27; => :debug,&#xA;  &#x27;Profile&#x27; => :release,&#xA;  &#x27;Release&#x27; => :release,&#xA;}&#xA;&#xA;def flutter_root&#xA;  generated_xcode_build_settings_path = File.expand_path(File.join(&#x27;..&#x27;, &#x27;Flutter&#x27;, &#x27;Generated.xcconfig&#x27;), __FILE__)&#xA;  unless File.exist?(generated_xcode_build_settings_path)&#xA;    raise "#{generated_xcode_build_settings_path} must exist. If you&#x27;re running pod install manually, make sure flutter pub get is executed first"&#xA;  end&#xA;&#xA;  File.foreach(generated_xcode_build_settings_path) do |line|&#xA;    matches = line.match(/FLUTTER_ROOT\=(.*)/)&#xA;    return matches[1].strip if matches&#xA;  end&#xA;  raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get"&#xA;end&#xA;&#xA;require File.expand_path(File.join(&#x27;packages&#x27;, &#x27;flutter_tools&#x27;, &#x27;bin&#x27;, &#x27;podhelper&#x27;), flutter_root)&#xA;&#xA;flutter_ios_podfile_setup&#xA;&#xA;# Create this "fork" of flutter_install_ios_plugin_pods&#xA;def install_plugin_pods(ios_application_path = nil)&#xA;  # defined_in_file is set by CocoaPods and is a Pathname to the Podfile.&#xA;   ios_application_path ||= File.dirname(defined_in_file.realpath) if self.respond_to?(:defined_in_file)&#xA;   raise &#x27;Could not find iOS application path&#x27; unless ios_application_path&#xA; &#xA;   # Prepare symlinks folder. We use symlinks to avoid having Podfile.lock&#xA;   # referring to absolute paths on developers&#x27; machines.&#xA; &#xA;   symlink_dir = File.expand_path(&#x27;.symlinks&#x27;, ios_application_path)&#xA;   system(&#x27;rm&#x27;, &#x27;-rf&#x27;, symlink_dir) # Avoid the complication of dependencies like FileUtils.&#xA; &#xA;   symlink_plugins_dir = File.expand_path(&#x27;plugins&#x27;, symlink_dir)&#xA;   system(&#x27;mkdir&#x27;, &#x27;-p&#x27;, symlink_plugins_dir)&#xA; &#xA;   plugins_file = File.join(ios_application_path, &#x27;..&#x27;, &#x27;.flutter-plugins&#x27;)&#xA;   plugin_pods = flutter_parse_plugins_file(plugins_file)&#xA;   plugin_pods.each do |name, path|&#xA;     symlink = File.join(symlink_plugins_dir, name)&#xA;     File.symlink(path, symlink)&#xA; &#xA;     # Changes relative to flutter_ffmpeg&#xA;     if name == &#x27;flutter_ffmpeg&#x27;&#xA;         pod name&#x2B;&#x27;/min-gpl-lts&#x27;, :path => File.join(&#x27;.symlinks&#x27;, &#x27;plugins&#x27;, name, &#x27;ios&#x27;)&#xA;     else&#xA;         pod name, :path => File.join(&#x27;.symlinks&#x27;, &#x27;plugins&#x27;, name, &#x27;ios&#x27;)&#xA;     end&#xA;   end&#xA; end&#xA;&#xA;target &#x27;Runner&#x27; do&#xA;  use_frameworks!&#xA;  use_modular_headers!&#xA;&#xA;  # flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))&#xA;  # this function ^ is specified as follows&#xA;  # def flutter_install_all_ios_pods(ios_application_path = nil)&#xA;  #   flutter_install_ios_engine_pod(ios_application_path)&#xA;  #   flutter_install_ios_plugin_pods(ios_application_path)&#xA;  # end&#xA;&#xA;  # use this subcall to do the first half of the above^ function&#xA;  flutter_install_ios_engine_pod File.dirname(File.realpath(__FILE__))&#xA;&#xA;  # use our "fork" to install the plug in pods (exactly the same as&#xA;  # the original function but with ffmpeg package specified)&#xA;  install_plugin_pods(File.realpath(__FILE__))&#xA;end&#xA;&#xA;post_install do |installer|&#xA;  installer.pods_project.targets.each do |target|&#xA;    flutter_additional_ios_build_settings(target)&#xA;  end&#xA;end&#xA;

    &#xA;

    But this gives me an error in Xcode's GeneratedPluginRegistrant.m : Module &#x27;apple_sign_in&#x27;not found. So I think the Podfile is not working.

    &#xA;

    I also tried this, where I pass File.dirname(File.realpath(__FILE__)) to the function install_plugin_pods :

    &#xA;

    # Uncomment this line to define a global platform for your project&#xA;platform :ios, &#x27;9.3&#x27;&#xA;pod &#x27;Firebase/Auth&#x27;&#xA;pod &#x27;Firebase/Firestore&#x27;&#xA;pod &#x27;GoogleSignIn&#x27;&#xA;&#xA;# CocoaPods analytics sends network stats synchronously affecting flutter build latency.&#xA;ENV[&#x27;COCOAPODS_DISABLE_STATS&#x27;] = &#x27;true&#x27;&#xA;&#xA;project &#x27;Runner&#x27;, {&#xA;  &#x27;Debug&#x27; => :debug,&#xA;  &#x27;Profile&#x27; => :release,&#xA;  &#x27;Release&#x27; => :release,&#xA;}&#xA;&#xA;def flutter_root&#xA;  generated_xcode_build_settings_path = File.expand_path(File.join(&#x27;..&#x27;, &#x27;Flutter&#x27;, &#x27;Generated.xcconfig&#x27;), __FILE__)&#xA;  unless File.exist?(generated_xcode_build_settings_path)&#xA;    raise "#{generated_xcode_build_settings_path} must exist. If you&#x27;re running pod install manually, make sure flutter pub get is executed first"&#xA;  end&#xA;&#xA;  File.foreach(generated_xcode_build_settings_path) do |line|&#xA;    matches = line.match(/FLUTTER_ROOT\=(.*)/)&#xA;    return matches[1].strip if matches&#xA;  end&#xA;  raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get"&#xA;end&#xA;&#xA;require File.expand_path(File.join(&#x27;packages&#x27;, &#x27;flutter_tools&#x27;, &#x27;bin&#x27;, &#x27;podhelper&#x27;), flutter_root)&#xA;&#xA;flutter_ios_podfile_setup&#xA;&#xA;# Create this "fork" of flutter_install_ios_plugin_pods&#xA;def install_plugin_pods(ios_application_path = nil)&#xA;  # defined_in_file is set by CocoaPods and is a Pathname to the Podfile.&#xA;   ios_application_path ||= File.dirname(defined_in_file.realpath) if self.respond_to?(:defined_in_file)&#xA;   raise &#x27;Could not find iOS application path&#x27; unless ios_application_path&#xA; &#xA;   # Prepare symlinks folder. We use symlinks to avoid having Podfile.lock&#xA;   # referring to absolute paths on developers&#x27; machines.&#xA; &#xA;   symlink_dir = File.expand_path(&#x27;.symlinks&#x27;, ios_application_path)&#xA;   system(&#x27;rm&#x27;, &#x27;-rf&#x27;, symlink_dir) # Avoid the complication of dependencies like FileUtils.&#xA; &#xA;   symlink_plugins_dir = File.expand_path(&#x27;plugins&#x27;, symlink_dir)&#xA;   system(&#x27;mkdir&#x27;, &#x27;-p&#x27;, symlink_plugins_dir)&#xA; &#xA;   plugins_file = File.join(ios_application_path, &#x27;..&#x27;, &#x27;.flutter-plugins&#x27;)&#xA;   plugin_pods = flutter_parse_plugins_file(plugins_file)&#xA;   plugin_pods.each do |name, path|&#xA;     symlink = File.join(symlink_plugins_dir, name)&#xA;     File.symlink(path, symlink)&#xA; &#xA;     # Changes relative to flutter_ffmpeg&#xA;     if name == &#x27;flutter_ffmpeg&#x27;&#xA;         pod name&#x2B;&#x27;/min-gpl-lts&#x27;, :path => File.join(&#x27;.symlinks&#x27;, &#x27;plugins&#x27;, name, &#x27;ios&#x27;)&#xA;     else&#xA;         pod name, :path => File.join(&#x27;.symlinks&#x27;, &#x27;plugins&#x27;, name, &#x27;ios&#x27;)&#xA;     end&#xA;   end&#xA; end&#xA;&#xA;target &#x27;Runner&#x27; do&#xA;  use_frameworks!&#xA;  use_modular_headers!&#xA;&#xA;  # flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))&#xA;  # this function ^ is specified as follows&#xA;  # def flutter_install_all_ios_pods(ios_application_path = nil)&#xA;  #   flutter_install_ios_engine_pod(ios_application_path)&#xA;  #   flutter_install_ios_plugin_pods(ios_application_path)&#xA;  # end&#xA;&#xA;  # use this subcall to do the first half of the above^ function&#xA;  flutter_install_ios_engine_pod File.dirname(File.realpath(__FILE__))&#xA;&#xA;  # use our "fork" to install the plug in pods (exactly the same as&#xA;  # the original function but with ffmpeg package specified)&#xA;  install_plugin_pods File.dirname(File.realpath(__FILE__))&#xA;end&#xA;&#xA;post_install do |installer|&#xA;  installer.pods_project.targets.each do |target|&#xA;    flutter_additional_ios_build_settings(target)&#xA;  end&#xA;end&#xA;

    &#xA;

    However, this gives me a Error running pod install. I run flutter clean between builds.

    &#xA;