HaikuPorts
  • Login
  • Preferences
  • Help/Guide
  • Wiki
  • Timeline
  • Roadmap
  • View Tickets
  • Search
  • Port Log
  • Blog

Context Navigation

  • ← Previous Ticket
  • Next Ticket →

Ticket #301 (closed enhancement: fixed)

Opened 5 years ago

Last modified 4 years ago

Generate .OptionalPackageDescription

Reported by: mmadia Owned by: jrabbit
Priority: normal Milestone: haikuporter version 1.0
Component: haikuporter Version:
Severity: normal Keywords:
Cc:

Description

from  reviving-R1Alpha2-R1-Final-discussions thread :

maybe it's possible for HaikuPorter to generate
the .OptionalPackageDescription file on-the-fly. The individual .beps
could be extended to include that information. This would then help to auto-generate the SourceURL: Text <url> fields.

Attachments

sourceurl.patch​ (1.7 KB) - added by jrabbit 5 years ago.

Download all attachments as: .zip

Change History

comment:1 Changed 5 years ago by scottmc

  • Milestone set to haikuporter version 1.0

comment:2 Changed 5 years ago by mmadia

  • Owner changed from brecht to mmadia
  • Status changed from new to assigned

will look into this.

comment:3 follow-up: ↓ 4 Changed 5 years ago by scottmc

This seems to be working now.

comment:4 in reply to: ↑ 3 Changed 5 years ago by augiedoggie

Replying to scottmc:

This seems to be working now.

It doesn't include the optional stuff like SourceURL fields. I'm not in a big hurry to add this right now. Maybe Matt will get some free time to toy with it.

comment:5 Changed 5 years ago by jrabbit

  • Owner changed from mmadia to jrabbit
  • Status changed from assigned to new

comment:6 Changed 5 years ago by jrabbit

  • Status changed from new to assigned

comment:7 Changed 5 years ago by jrabbit

Whats the expected output? Scottmc wasn't sure where the source url was...

comment:8 Changed 5 years ago by jrabbit

 https://gist.github.com/762027

Changed 5 years ago by jrabbit

  • attachment sourceurl.patch​ added

comment:9 Changed 5 years ago by jrabbit

  • Resolution set to fixed
  • Status changed from assigned to closed

comment:10 Changed 4 years ago by scottmc

  • Resolution fixed deleted
  • Status changed from closed to reopened

the link to the .bep file is missing the package name. Example, for bison it's linking to http://ports.haiku-files.org/brower/haikuports/trunk/sys-devel/bison-2.4.3.bep
when it should be sys-devel/bison/bison-2.4.3.bep
Should be easy to fix.

comment:11 Changed 4 years ago by mmadia

  • Resolution set to fixed
  • Status changed from reopened to closed

Fixed in r1358. I did not test with a bep that has multiple SRC_URI's.

For Haiku's build/jam/OptionalPackages (and related files), I'm no longer sure if it's more compliant to provide a single pre-patched tarball or to provide the original+bep+patch

  InstallSourceArchive tar-1.22.tar.bz2 
    : $(baseSourceURL)/tar-1.22.tar.bz2 ;
  InstallSourceArchive tar-1.22.bep
    : http://ports.haiku-files.org/svn/haikuports/trunk/app-arch/tar/tar-1.22.bep ;
  InstallSourceArchive tar-1.22.patch
    : http://ports.haiku-files.org/svn/haikuports/trunk/app-arch/tar/patches/tar-1.22.patch ;
Note: See TracTickets for help on using tickets.

Download in other formats:

  • Comma-delimited Text
  • Tab-delimited Text
  • RSS Feed

Trac Powered

Powered by Trac 0.13dev-r10686
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/