Opened 10 years ago

Closed 10 years ago

#4363 closed enhancement (fixed)

patch to add updated packages to OptionalPackages

Reported by: scottmc Owned by: bonefish
Priority: high Milestone: R1/alpha1
Component: Build System Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

here's the patch that adds the updated autoconf and automake to the OptionalPacakges

Attachments (12)

op.diff (1018 bytes ) - added by scottmc 10 years ago.
op2.diff (1.7 KB ) - added by scottmc 10 years ago.
patch to add updated libtool, m4 and cdrecord packages to OptionalPackages
OptionalPackages-r1a1.diff (11.5 KB ) - added by scottmc 10 years ago.
patch to add all of the r1a1 optional packages
OptionalPackages-r1a1.2.diff (11.2 KB ) - added by scottmc 10 years ago.
fixed diff file to add all of these to OptionalPackages
OptionalPackages-r1a1.3.diff (11.7 KB ) - added by scottmc 10 years ago.
this version adds in openssl as well
OptionalPackages-r1a1.4.diff (12.1 KB ) - added by scottmc 10 years ago.
OptionalPackages5.diff (1.6 KB ) - added by scottmc 10 years ago.
patch to update Pe and subversion to use 2009-09-02 builds
OptionalPackages6.diff (1023 bytes ) - added by scottmc 10 years ago.
patch to update Pe with fresh pcre libs, and a new BePDF
ReleaseBuildProfiles.diff (413 bytes ) - added by scottmc 10 years ago.
patch to add Git and Mercurial to the alpha
OptionalPackages7.diff (609 bytes ) - added by scottmc 10 years ago.
patch to add updated build of libiconv
OptionalPacakges8.diff (619 bytes ) - added by scottmc 10 years ago.
updated build of libiconv, this time with the shared libs
OptionalPackages9.diff (1.0 KB ) - added by scottmc 10 years ago.

Download all attachments as: .zip

Change History (70)

by scottmc, 10 years ago

Attachment: op.diff added

comment:1 by anevilyak, 10 years ago

Component: - GeneralBuild System
Milestone: R1R1/alpha1
Owner: changed from axeld to bonefish
Priority: normalhigh
Type: bugenhancement

comment:2 by scottmc, 10 years ago

Summary: patch to add updated autoconf and automakepatch to add updated packages to OptionalPackages

I'm going to use this ticket to post patches when each of the rebuilt OptionalPackages are ready to add, and also to post links to files to have moved over to haiku-files.

cdrecord has now been rebuilt and can be moved to haiku-files: http://www.haiku-ports.de/packages/app-cdr/cdrtools/cdrecord-2.01.01a63-r1a1-x86-gcc2-2009-08-28.zip

Keep open until each of the packages on this page have been updated for the alpha: http://dev.haiku-os.org/wiki/R1/Alpha1OptionalPackages

in reply to:  2 comment:3 by mmadia, 10 years ago

Replying to scottmc:

cdrecord has now been rebuilt and can be moved to haiku-files: http://www.haiku-ports.de/packages/app-cdr/cdrtools/cdrecord-2.01.01a63-r1a1-x86-gcc2-2009-08-28.zip

uploaded.

comment:4 by jonas.kirilla, 10 years ago

Is "Jg Schilling" a valid abbreviation of "Jörg Schilling"? Appears twice in the .OptionalPackageDescription.

comment:5 by scottmc, 10 years ago

Not sure where I got "Jg" now. I just now looked at a handful of .c files and in each one it was "J. Schilling" so I have updated the .OPD file and just reuploaded the zip to haiku-ports.de, so if Matt or someone can move the newest one over that'd be great.

in reply to:  5 comment:6 by mmadia, 10 years ago

Replying to scottmc:

Not sure where I got "Jg" now. I just now looked at a handful of .c files and in each one it was "J. Schilling" so I have updated the .OPD file and just reuploaded the zip to haiku-ports.de, so if Matt or someone can move the newest one over that'd be great.

Just before, I could've sworn "Jg" displayed momentarily in Pe instead of Jquestion-mark-in-a-black-diamond-graphicrg.

Anyways, new archive re-uploaded.

comment:7 by jonas.kirilla, 10 years ago

Thanks to the both of you!

And to Jg! We loves the CD.

comment:8 by scottmc, 10 years ago

New build for libtool, using Ingo's patch and build steps listed on HaikuPorts. http://www.haiku-ports.de/packages/sys-devel/libtool/libtool-2.2.6a-r1a1-x86-gcc2-2009-08-28.zip

in reply to:  8 comment:9 by mmadia, 10 years ago

Replying to scottmc:

New build for libtool, using Ingo's patch and build steps listed on HaikuPorts. http://www.haiku-ports.de/packages/sys-devel/libtool/libtool-2.2.6a-r1a1-x86-gcc2-2009-08-28.zip

uploaded.

comment:10 by scottmc, 10 years ago

New m4 using Ingo's build notes from HaikuPorts. Note that the patch is no longer needed as it's been applied upstream, more or less. http://www.haiku-ports.de/packages/sys-devel/m4/m4-1.4.13-r1a1-x86-gcc2-2009-08-28.zip

by scottmc, 10 years ago

Attachment: op2.diff added

patch to add updated libtool, m4 and cdrecord packages to OptionalPackages

comment:12 by scottmc, 10 years ago

Blocked By: 4370 added

(In #4370) I rolled libtool back to previous version and still got the error, so i then rolled m4 back and the error went away. So this appears to be an issue with m4-1.3.13, which is the first version since they applied some Haiku related patches upstream. Perhaps Ingo or someone else who understands the changes that were made to m4 can investigate this one. Until this one if fixed work on #4363 might get stalled.

comment:16 by mmadia, 10 years ago

The files listed in comment:13 comment:14, and comment:15 have been uploaded. For the heck of it, here's the current listing for files/optional-packages/*r1a1*

apr-1.3.8-r1a1-x86-gcc2-2009-08-29.zip
apr-util-1.3.9-r1a1-x86-gcc2-2009-08-29.zip
autoconf-2.64-r1a1-x86-gcc2-2009-08-27.zip
automake-1.11-r1a1-x86-gcc2-2009-08-27.zip
bzip2-1.0.5-r1a1-x86-gcc2-2009-08-30.zip
cdrecord-2.01.01a63-r1a1-x86-gcc2-2009-08-28.zip
curl-7.19.6-r1a1-x86-gcc2-2009-08-30.zip
gcc-2.95.3-r1a1-x86-gcc2-2009-08-26.zip
gcc-4.3.3-r1a1-x86-gcc4-2009-06-29.zip
libtool-2.2.6a-r1a1-x86-gcc2-2009-08-28.zip
libxml2-2.7.3-git-r1a1-x86-gcc2-2009-08-30.zip
m4-1.4.13-r1a1-x86-gcc2-2009-08-28.zip
nano-2.0.9-r1a1-x86-gcc2-2009-08-30.zip
neon-0.28.6-r1a1-x86-gcc2-2009-08-30.zip
openssl-0.9.8k-r1a1-x86-gcc2-2009-08-30.zip
sqlite-3.6.17-r1a1-x86-gcc2-2009-08-30.zip
yasm-0.8.0-r1a1-x86-gcc2-2009-08-30.zip

in reply to:  17 comment:18 by mmadia, 10 years ago

Replying to scottmc:

And four more:

uploaded.

in reply to:  19 comment:20 by mmadia, 10 years ago

Replying to scottmc:

Three more:

uploaded.

comment:21 by koki, 10 years ago

May I suggest that Scott get access to haiku-files.org so that he can upload the files directly? It would be so much more efficient that way... :)

by scottmc, 10 years ago

Attachment: OptionalPackages-r1a1.diff added

patch to add all of the r1a1 optional packages

comment:26 by mmadia, 10 years ago

All have been uploaded. Scott, did you intend for the patch to include build/jam/HaikuImage?

in reply to:  26 comment:27 by scottmc, 10 years ago

Replying to mmadia:

All have been uploaded. Scott, did you intend for the patch to include build/jam/HaikuImage?

A slightly lighter weight Python2.6, this one has the test directory zipped up, thus saving 15 meg when everything is expanded except the test suite, 45meg vs 60meg. http://www.haiku-ports.de/packages/dev-lang/python/python-2.6.2-r1a1-x86-gcc2-2009-08-31.zip

No, I saw that in there and was going to rip it out then forgot to. I'll update it and repost it.

by scottmc, 10 years ago

fixed diff file to add all of these to OptionalPackages

comment:28 by scottmc, 10 years ago

What's not clear to me is where to put the link for openssl now?

in reply to:  28 comment:29 by mmadia, 10 years ago

Replying to scottmc:

What's not clear to me is where to put the link for openssl now?

http://haiku.it.su.se:8180/source/xref/build/jam/OptionalBuildFeatures#14

by scottmc, 10 years ago

this version adds in openssl as well

by scottmc, 10 years ago

comment:31 by stippi, 10 years ago

I am going to do some tests and commit this to the trunk in a few minutes. I guess we want to run the newest packages not on the alpha only, but on trunk too. A few questions:

  • scottmc, you did "svn switch" your Haiku tree to the alpha branch, or installed one of the alpha images, correct?
  • Does the SVN package use home/config/settings or home/.svn/? One of the packages used to use the correct location, but the more recent ones didn't.
  • Has SVN (or one of the packages it depends on) been fixed for UTF-8 in files names and commit messages? This worked with one of the very first BeOS packages way back then, but stopped working soon after.

in reply to:  30 comment:32 by mmadia, 10 years ago

Replying to scottmc:

And three more:

uploaded

in reply to:  31 comment:33 by scottmc, 10 years ago

Replying to stippi:

I am going to do some tests and commit this to the trunk in a few minutes. I guess we want to run the newest packages not on the alpha only, but on trunk too. A few questions:

  • scottmc, you did "svn switch" your Haiku tree to the alpha branch, or installed one of the alpha images, correct?

I installed one of the prebuilt alpha images and then built all of the packages inside that image with the r1a1 gcc packages installed, building first the autotools.

  • Does the SVN package use home/config/settings or home/.svn/? One of the packages used to use the correct location, but the more recent ones didn't.

I'm not sure on this one. We'll have to check and fix if needed, so the sooner we can get these into the image the sooner the testing can begin. I did set the default editor to lpe.

  • Has SVN (or one of the packages it depends on) been fixed for UTF-8 in files names and commit messages? This worked with one of the very first BeOS packages way back then, but stopped working soon after.

We'll need to check this as well.

I did do a quick build last night to see if the About System worked ok and the only two that weren't clickable on the license were bzip2 and expat, then I realized that I didn't add those to the image, so what I was seeing was the default entries. I built bzip2 package thinking it was needed for python to support mercurial, but I must have been able to get python to see the one included with Haiku this time. To get the python with the prezipped test folder, edit the diff file to use the python from 08-31 instead of 08-30.

All of the zips should now be on haiku-files, thanks Matt!

comment:34 by scottmc, 10 years ago

Here's a new Pe gcc2 build, I think I did it right: http://www.haiku-ports.de/packages/haiku-apps/pe/Pe-2.4.2-r1a1-x86-gcc2-2009-09-01.zip

Seems subversion was built with expat in place, so I either need to rebuild it with minus expat, or add expat as a dependency. Note that expat is a dependency for git as well.

Subversion is using ~/.subversion, I'll look into fixing it to use ~/config/setting/.subversion if that's the preferred location.

in reply to:  34 comment:35 by scottmc, 10 years ago

Replying to scottmc:

Here's a new Pe gcc2 build, I think I did it right: http://www.haiku-ports.de/packages/haiku-apps/pe/Pe-2.4.2-r1a1-x86-gcc2-2009-09-01.zip

Hold off on uploading this version of Pe, there was a commit that fixed the last open bug on Pe's bug tracker, so a new build will need to be made.

Seems subversion was built with expat in place, so I either need to rebuild it with minus expat, or add expat as a dependency. Note that expat is a dependency for git as well.

Subversion is using ~/.subversion, I'll look into fixing it to use ~/config/setting/.subversion if that's the preferred location.

I'll run a new build of subversion tomorrow. Looks like I found where to set the user config dir.

comment:36 by diver, 10 years ago

Shouldn't it be ~/config/setting/subversion ?

by scottmc, 10 years ago

Attachment: OptionalPackages5.diff added

patch to update Pe and subversion to use 2009-09-02 builds

comment:38 by diver, 10 years ago

How about .ssh then? Would be nice to clean home dir.

comment:39 by scottmc, 10 years ago

Looks like expat does need to be a dependency of subversion. At least with the haiku-alpha cd build of hrev32920 it's giving an error when i first run svn --version. It clears up if I manually install the expat optional package. I thought expat would have been pulled in by being a dependency of apr-util, which is needed for subversion. Perhaps that patch wasn't applied to the alpha branch yet? If it was then we'll probably need to add expat as dep for svn.

I'll check and see if .ssh can be moved out of home also, but no promises for alpha1.

in reply to:  39 comment:40 by scottmc, 10 years ago

Replying to scottmc:

Looks like expat does need to be a dependency of subversion. At least with the haiku-alpha cd build of hrev32920 it's giving an error when i first run svn --version. It clears up if I manually install the expat optional package. I thought expat would have been pulled in by being a dependency of apr-util, which is needed for subversion. Perhaps that patch wasn't applied to the alpha branch yet? If it was then we'll probably need to add expat as dep for svn.

uh, nevermind. I see now that I installed hrev32920 alpha build and that the previous changes were only applied to trunk. Will retry once it's added to the alpha branch.

comment:41 by laplace, 10 years ago

Could someone please upload BePDF and add it as an optional package: https://sourceforge.net/projects/bepdf/files/BePDF%20All%20In%20One/1.1.1%20Beta%202/BePDF-1.1.1b2.x86.zip/download

Changes from beta 1:

  • Crash closing BePDF fixed
  • Store settings in user settings folder

TIA, Michael

in reply to:  41 ; comment:42 by scottmc, 10 years ago

Replying to laplace:

Could someone please upload BePDF and add it as an optional package: https://sourceforge.net/projects/bepdf/files/BePDF%20All%20In%20One/1.1.1%20Beta%202/BePDF-1.1.1b2.x86.zip/download

Changes from beta 1:

  • Crash closing BePDF fixed
  • Store settings in user settings folder

TIA, Michael

Michael, Cool. But just to confirm, this was built using in Haiku using an Alpha image? To check open About System and it should say under Version. If it says Walter or Unknown or something else, then can you grab an Alpha image and rebuild BePDF in it? And once it's ready update the tracking page: http://dev.haiku-os.org/wiki/R1/Alpha1OptionalPackages Just have Perl, libiconv, BeZillaBrowser and Wonderbrush left now. -scottmc

in reply to:  42 comment:43 by laplace, 10 years ago

Replying to scottmc:

Cool. But just to confirm, this was built using in Haiku using an Alpha image? To check open About System and it should say under Version. If it says Walter or Unknown or something else, then can you grab an Alpha image and rebuild BePDF in it?

No it was built on BeOS R5. Haiku GCC2 is compatible to BeOS. Why should building in Haiku matter?

comment:44 by bga, 10 years ago

I just tried to launch Pe after a clean install from sources (trunk, not alpha) and it is complaining about a missing libpcre.so.0. Its lib dir contains a libpcre.so (without the .0).

comment:45 by scottmc, 10 years ago

This is the same Pe build with a freshly built set of libpcre files in the lib folder: http://www.haiku-ports.de/packages/haiku-apps/pe/Pe-2.4.2-r593-r1a1-x86-gcc2-2009-09-04.zip

by scottmc, 10 years ago

Attachment: OptionalPackages6.diff added

patch to update Pe with fresh pcre libs, and a new BePDF

comment:46 by scottmc, 10 years ago

Just checked and both Pe and BePDF are working ok when built from trunk.

Attaching patch to add Git and Mercurial to the alpha build (untested).

by scottmc, 10 years ago

Attachment: ReleaseBuildProfiles.diff added

patch to add Git and Mercurial to the alpha

comment:47 by korli, 10 years ago

OptionalPackages6.diff committed to trunk in hrev32942.

by scottmc, 10 years ago

Attachment: OptionalPackages7.diff added

patch to add updated build of libiconv

comment:48 by korli, 10 years ago

ReleaseBuildProfiles.diff committed to trunk in hrev32961.

comment:49 by leavengood, 10 years ago

OptionalPackages7.diff committed to trunk in hrev32969.

by scottmc, 10 years ago

Attachment: OptionalPacakges8.diff added

updated build of libiconv, this time with the shared libs

comment:50 by scottmc, 10 years ago

I tested out the trunk build with hrev32969 in place and BeZilla Browser wasn't able to find libiconv.so, and sure enough, turns out the 2009-09-06 build of libiconv didn't build the shared libs. I have just run another build and got it to build the shared libs this time. New files has been uploaded to haiku-files.org and new patch attached. And BeZilla Browser is happy again.

comment:51 by leavengood, 10 years ago

I applied the latest patch to update iconv in hrev32983.

You know scottmc, it might be about time to start a vote for you to get commit access to the Haiku repo. If you want it that is. I know you aren't exactly a developer, but you are still doing some useful stuff and I think we can trust you with access ;)

comment:52 by maxime.simon, 10 years ago

With the latest version of libxml2 I got this issue when compiling WebKit (I assume it would be the same with any other which depends on it):

/boot/common/include/libxml2/libxml/globals.h:365: error: conflicting specifiers in declaration of 'xmlStructuredErrorContext'

version of libxml2: libxml2-2.7.3-git-r1a1-x86-gcc2-2009-08-30.zip

comment:53 by scottmc, 10 years ago

Ok, try the latest libxml2 and see if that one works for you. (OptionalPackages9.diff)

by scottmc, 10 years ago

Attachment: OptionalPackages9.diff added

comment:54 by scottmc, 10 years ago

applied OptionalPacakges9.diff to trunk in hrev32992.

in reply to:  53 comment:55 by maxime.simon, 10 years ago

Replying to scottmc:

Ok, try the latest libxml2 and see if that one works for you. (OptionalPackages9.diff)

I tried with this new version and in fact it seems to work (I haven't finished the compilation of WebKit yet but after 550 targets it doesn't complain, so it should be okay). Thanks.

comment:56 by scottmc, 10 years ago

git and mercurial have just been added to the alpha image, so everything on this ticket up to this comment have now been added to trunk and alpha (where needed). If you find any issues with these post a reply here.

comment:57 by scottmc, 10 years ago

This can be closed now as everything seems to now be in place.

comment:58 by mmadia, 10 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.