Package Details: fronde 0.5.0-1

Git Clone URL: https://aur.archlinux.org/fronde.git (read-only, click to copy)
Package Base: fronde
Description: An opinionated static website generator for Emacs Org mode
Upstream URL: https://etienne.depar.is/fronde
Licenses: custom:WTFPL
Submitter: milouse
Maintainer: milouse
Last Packager: milouse
Votes: 0
Popularity: 0.000000
First Submitted: 2023-12-08 20:33 (UTC)
Last Updated: 2024-08-17 14:37 (UTC)

Latest Comments

milouse commented on 2024-09-19 07:01 (UTC)

Calling me user of this is probably too much. I just go through aur packages and check what works. As you can see ruby-r18n-core was first and then this.

Ahah, thank you very much any way for the head up. I must admit I didn’t pay as much attention as I should to my PKGBUILD it seems (also probably poisonned my build environment with local dev dependencies…). I’ll carefully review all this now.

micwoj92 commented on 2024-09-18 20:02 (UTC)

Calling me user of this is probably too much. I just go through aur packages and check what works. As you can see ruby-r18n-core was first and then this.

I mean it "works" but I can't (don't know how) to test all functionality.

--- fronde-0.5.0.gemspec.orig   2024-09-18 21:56:59.000000000 +0200
+++ fronde-0.5.0.gemspec        2024-09-18 21:57:23.000000000 +0200
@@ -26,12 +26,12 @@

   s.specification_version = 4

-  s.add_runtime_dependency(%q<base64>.freeze, [">= 0.2"])
+  s.add_runtime_dependency(%q<base64>.freeze, [">= 0.1"])
   s.add_runtime_dependency(%q<bigdecimal>.freeze, [">= 3.1"])
   s.add_runtime_dependency(%q<liquid>.freeze, [">= 5.5"])
   s.add_runtime_dependency(%q<nokogiri>.freeze, [">= 1.16"])
   s.add_runtime_dependency(%q<r18n-core>.freeze, [">= 5.0"])
   s.add_runtime_dependency(%q<rainbow>.freeze, [">= 3.1"])
-  s.add_runtime_dependency(%q<rake>.freeze, [">= 13.2"])
+  s.add_runtime_dependency(%q<rake>.freeze, [">= 13.0"])
   s.add_runtime_dependency(%q<webrick>.freeze, [">= 1.8"])
 end

Also the check failures can be solved by this diff, however this is more silencing/ignoring errors rather than actually looking what's wrong. rspec passed with this:

--- rake_org_spec.rb.orig       2024-07-11 20:35:24.000000000 +0200
+++ rake_org_spec.rb    2024-09-18 22:01:13.000000000 +0200
@@ -60,14 +60,14 @@
     copy_org_tarball_to_fake_tmp
     rake(verbose: false).invoke_task('org:install')
     expect(File.exist?('var/lib/org-config.el')).to be true
-    expect(File.exist?("#{org_dir}/lisp/org-loaddefs.el")).to be true
+    expect(File.exist?("#{org_dir}/lisp/org-loaddefs.el")).to be false
   end

   it 'installs Org in verbose mode', :aggregate_failures do
     copy_org_tarball_to_fake_tmp
     rake(verbose: true).invoke_task('org:install')
     expect(File.exist?('var/lib/org-config.el')).to be true
-    expect(File.exist?("#{org_dir}/lisp/org-loaddefs.el")).to be true
+    expect(File.exist?("#{org_dir}/lisp/org-loaddefs.el")).to be false
   end

   it 'compiles Org successfully' do
@@ -181,16 +181,16 @@
        :aggregate_failures do
       config_time = File.mtime 'var/lib/org-config.el'
       orgball_time = File.mtime 'var/tmp/org.tar.gz'
-      orglisp_time = File.mtime "lib/org-#{org_version}/lisp/org-loaddefs.el"
+#      orglisp_time = File.mtime "lib/org-#{org_version}/lisp/org-loaddefs.el"
       sleep 1 # To change mtimes
       rake.invoke_task 'org:upgrade'
       expect(File.mtime('var/lib/org-config.el')).not_to eq config_time
       expect(Fronde::Org).not_to have_received(:download)
       expect(File.mtime('var/tmp/org.tar.gz')).to eq orgball_time
       expect(Fronde::Org).not_to have_received(:compile)
-      expect(File.mtime("lib/org-#{org_version}/lisp/org-loaddefs.el")).to(
-        eq(orglisp_time)
-      )
+#      expect(File.mtime("lib/org-#{org_version}/lisp/org-loaddefs.el")).to(
+#        eq(orglisp_time)
+#      )
     end

     it 'changes org install files when an upgrade is needed',

milouse commented on 2024-09-18 14:32 (UTC) (edited on 2024-09-18 14:32 (UTC) by milouse)

Hi,

Can you edit the file /usr/lib/ruby/gems/3.2.0/specifications/fronde-0.5.0.gemspec (for example with sudo nano /usr/lib/ruby/gems/3.2.0/specifications/fronde-0.5.0.gemspec) and toward the end of the file, spot the line spec.add_dependency 'base64', '>= 0.2' and replace it by spec.add_dependency 'base64', '>= 0.1' (said otherwise, replace 0.2 there by 0.1).

If you confirm it works for you, I’ll update the PKGBUILD (and the gemspec as well actually).

Thank you!

(BTW I’m also the author of this software and you are probably the first user of it apart me I’ve heard of xD So do not hesitate to give me any other feedback!)

micwoj92 commented on 2024-09-18 11:19 (UTC)

Doesn't run

$ fronde 
/usr/lib/ruby/3.2.0/rubygems/specification.rb:1466:in `rescue in block in activate_dependencies': Could not find 'base64' (>= 0.2) among 77 total gem(s) (Gem::MissingSpecError)
Checked in 'GEM_PATH=/home/micwoj92/.local/share/gem/ruby/3.2.0:/usr/lib/ruby/gems/3.2.0' at: /usr/lib/ruby/gems/3.2.0/specifications/fronde-0.5.0.gemspec, execute `gem env` for more information
        from /usr/lib/ruby/3.2.0/rubygems/specification.rb:1463:in `block in activate_dependencies'
        from /usr/lib/ruby/3.2.0/rubygems/specification.rb:1452:in `each'
        from /usr/lib/ruby/3.2.0/rubygems/specification.rb:1452:in `activate_dependencies'
        from /usr/lib/ruby/3.2.0/rubygems/specification.rb:1434:in `activate'
        from /usr/lib/ruby/3.2.0/rubygems.rb:285:in `block in activate_bin_path'
        from /usr/lib/ruby/3.2.0/rubygems.rb:284:in `synchronize'
        from /usr/lib/ruby/3.2.0/rubygems.rb:284:in `activate_bin_path'
        from /usr/bin/fronde:25:in `<main>'
/usr/lib/ruby/3.2.0/rubygems/dependency.rb:317:in `to_specs': Could not find 'base64' (>= 0.2) - did find: [base64-0.1.1] (Gem::MissingSpecVersionError)
Checked in 'GEM_PATH=/home/micwoj92/.local/share/gem/ruby/3.2.0:/usr/lib/ruby/gems/3.2.0' , execute `gem env` for more information
        from /usr/lib/ruby/3.2.0/rubygems/specification.rb:1464:in `block in activate_dependencies'
        from /usr/lib/ruby/3.2.0/rubygems/specification.rb:1452:in `each'
        from /usr/lib/ruby/3.2.0/rubygems/specification.rb:1452:in `activate_dependencies'
        from /usr/lib/ruby/3.2.0/rubygems/specification.rb:1434:in `activate'
        from /usr/lib/ruby/3.2.0/rubygems.rb:285:in `block in activate_bin_path'
        from /usr/lib/ruby/3.2.0/rubygems.rb:284:in `synchronize'
        from /usr/lib/ruby/3.2.0/rubygems.rb:284:in `activate_bin_path'
        from /usr/bin/fronde:25:in `<main>'