[release] Simple-Wine-Building-Bot

Questions about Wine on Linux
Locked
tim110011
Level 2
Level 2
Posts: 30
Joined: Wed Jul 05, 2017 2:29 am

[release] Simple-Wine-Building-Bot

Post by tim110011 »

wine, wine-staging, wine-pba download, patch, build, install script, write with bash.
https://github.com/tim110011/Simple-Wine-Building-Bot

I also updated my command-line interface wrapper for wine:
https://github.com/tim110011/Simple-Wine-Helper
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: [release] Simple-Wine-Building-Bot

Post by Bob Wya »

tim110011 wrote:wine, wine-staging, wine-pba download, patch, build, install script, write with bash.
https://github.com/tim110011/Simple-Wine-Building-Bot

I also updated my command-line interface wrapper for wine:
https://github.com/tim110011/Simple-Wine-Helper
Hmmm, looks useful...

But I'm not sure about:

Code: Select all

--without-gstreamer ... --without-mpg123
since this will probably break a lot of applications...

Do you not have good multi-lib Gstreamer support in Fedora (in the Copr repositories perhaps)?

Bob
tim110011
Level 2
Level 2
Posts: 30
Joined: Wed Jul 05, 2017 2:29 am

Re: [release] Simple-Wine-Building-Bot

Post by tim110011 »

A lot of packages was disabled to accelerate building speed. Also, since i mainly use this script build wine-pba for Fallout 4 and gstreamer usually cause problem, it was disabled.
If i enable these packages i will get this output:

Code: Select all

64bit configure:

configure: libhal 64-bit development files not found, no legacy dynamic device support.
configure: OSS sound system found but too old (OSSv4 needed), OSS won't be supported.

32bit configure:

configure: libhal 32-bit development files not found, no legacy dynamic device support.
configure: gstreamer-1.0 base plugins 32-bit development files not found, GStreamer won't be supported.
configure: OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
configure: libldap (OpenLDAP) 32-bit development files not found, LDAP won't be supported.

configure: WARNING: libxslt 32-bit development files not found, xslt won't be supported.
I searched official and rpmfusion repository:
There is not libhal libs
Fedora uses pulseaudio and there is no OSS libs
I can not install openldap-devel.i686 due to dependency conflict:

Code: Select all

Error: Transaction check error:
  file /usr/include/sasl/md5global.h from install of cyrus-sasl-devel-2.1.27-0.1rc7.fc28.i686 conflicts with file from package cyrus-sasl-devel-2.1.27-0.1rc7.fc28.x86_64
libxslt-devel.i686 conflicts with libxslt-devel.x86_64:

Code: Select all

Error: Transaction check error:
  file /usr/bin/xslt-config from install of libxslt-devel-1.1.32-2.fc28.i686 conflicts with file from package libxslt-devel-1.1.32-2.fc28.x86_64
  file /usr/include/libxslt/xsltconfig.h from install of libxslt-devel-1.1.32-2.fc28.i686 conflicts with file from package libxslt-devel-1.1.32-2.fc28.x86_64
mpg123 seems important, it should be enabled.

"gstreamer-1.0 base plugins 32-bit development files not found" problem: ( dnf: "Yes, you have them." configure: "No, you don't." )

Code: Select all

sudo dnf install gstreamer1.{i686,x86_64} gstreamer1-devel.{i686,x86_64} gstreamer1-plugins-base.{i686,x86_64} gstreamer1-plugins-base-devel.{i686,x86_64}

Package gstreamer1-1.14.0-1.fc28.i686 is already installed, skipping.
Package gstreamer1-1.14.0-1.fc28.x86_64 is already installed, skipping.
Package gstreamer1-devel-1.14.0-1.fc28.i686 is already installed, skipping.
Package gstreamer1-devel-1.14.0-1.fc28.x86_64 is already installed, skipping.
Package gstreamer1-plugins-base-1.14.0-2.fc28.i686 is already installed, skipping.
Package gstreamer1-plugins-base-1.14.0-2.fc28.x86_64 is already installed, skipping.
Package gstreamer1-plugins-base-devel-1.14.0-2.fc28.i686 is already installed, skipping.
Package gstreamer1-plugins-base-devel-1.14.0-2.fc28.x86_64 is already installed, skipping.
With a minor update, every packages is enabled for general purpose use. gstreamer1 issue still exist.
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: [release] Simple-Wine-Building-Bot

Post by Bob Wya »

tim110011 wrote: ...
"gstreamer-1.0 base plugins 32-bit development files not found" problem: ( dnf: "Yes, you have them." configure: "No, you don't." )

Code: Select all

sudo dnf install gstreamer1.{i686,x86_64} gstreamer1-devel.{i686,x86_64} gstreamer1-plugins-base.{i686,x86_64} gstreamer1-plugins-base-devel.{i686,x86_64}

Package gstreamer1-1.14.0-1.fc28.i686 is already installed, skipping.
Package gstreamer1-1.14.0-1.fc28.x86_64 is already installed, skipping.
Package gstreamer1-devel-1.14.0-1.fc28.i686 is already installed, skipping.
Package gstreamer1-devel-1.14.0-1.fc28.x86_64 is already installed, skipping.
Package gstreamer1-plugins-base-1.14.0-2.fc28.i686 is already installed, skipping.
Package gstreamer1-plugins-base-1.14.0-2.fc28.x86_64 is already installed, skipping.
Package gstreamer1-plugins-base-devel-1.14.0-2.fc28.i686 is already installed, skipping.
Package gstreamer1-plugins-base-devel-1.14.0-2.fc28.x86_64 is already installed, skipping.
With a minor update, every packages is enabled for general purpose use. The gstreamer1 issue still exists.
No you don't actually.... :roll:

As you will need the multilib good, bad and ugly Gstreamer plugin packages as well:

Code: Select all

gstreamer1-plugins-good.x86_64 : GStreamer plugins with good code and licensing
gstreamer1-plugins-good.i686 : GStreamer plugins with good code and licensing
gstreamer1-plugins-ugly.i686 : GStreamer 1.0 streaming media framework "ugly"
gstreamer1-plugins-ugly.x86_64 : GStreamer 1.0 streaming media framework "ugly"
gstreamer1-plugins-bad-free.x86_64 : GStreamer streaming media framework "bad"
gstreamer1-plugins-bad-free.i686 : GStreamer streaming media framework "bad"
gstreamer1-plugins-ugly-free.x86_64 : GStreamer streaming media framework "ugly"
gstreamer1-plugins-ugly-free.i686 : GStreamer streaming media framework "ugly"
gstreamer1-plugins-good-extras.i686 : Extra GStreamer plugins with good code and
gstreamer1-plugins-good-extras.x86_64 : Extra GStreamer plugins with good code
gstreamer1-plugins-bad-nonfree.x86_64 : GStreamer 1.0 streaming media framework : "bad" non-free plug-ins
gstreamer1-plugins-bad-freeworld.i686 : GStreamer 1.0 streaming media framework : "bad" plug-ins
gstreamer1-plugins-bad-freeworld.x86_64 : GStreamer 1.0 streaming media
gstreamer1-plugins-good.x86_64 : GStreamer plugins with good code and licensing
gstreamer1-plugins-good.i686 : GStreamer plugins with good code and licensing
gstreamer1-plugins-ugly.i686 : GStreamer 1.0 streaming media framework "ugly"
gstreamer1-plugins-ugly.x86_64 : GStreamer 1.0 streaming media framework "ugly"
gstreamer1-plugins-bad-free.x86_64 : GStreamer streaming media framework "bad"
gstreamer1-plugins-bad-free.i686 : GStreamer streaming media framework "bad"
gstreamer1-plugins-ugly-free.x86_64 : GStreamer streaming media framework "ugly"
gstreamer1-plugins-ugly-free.i686 : GStreamer streaming media framework "ugly"
gstreamer1-plugins-good-extras.i686 : Extra GStreamer plugins with good code and
gstreamer1-plugins-good-extras.x86_64 : Extra GStreamer plugins with good code
gstreamer1-plugins-bad-nonfree.x86_64 : GStreamer 1.0 streaming media framework : "bad" non-free plug-ins
gstreamer1-plugins-bad-free-gtk.x86_64 : GStreamer "bad" plugins gtk plugin
gstreamer1-plugins-bad-free-gtk.i686 : GStreamer "bad" plugins gtk plugin
mingw32-gstreamer1-plugins-good.noarch : Cross compiled GStreamer1 plug-ins good
mingw64-gstreamer1-plugins-good.noarch : Cross compiled GStreamer1 plug-ins good
gstreamer1-plugins-bad-freeworld.i686 : GStreamer 1.0 streaming media framework : "bad" plug-ins
gstreamer1-plugins-bad-freeworld.x86_64 : GStreamer 1.0 streaming media : framework "bad" plug-ins
gstreamer1-plugins-bad-free-devel.i686 : Development files for the GStreamer : media framework "bad" plug-ins
gstreamer1-plugins-bad-free-devel.x86_64 : Development files for the GStreamer : media framework "bad" plug-ins
gstreamer1-plugins-bad-free-extras.i686 : Extra GStreamer "bad" plugins (less: often used "bad" plugins)
gstreamer1-plugins-bad-free-extras.x86_64 : Extra GStreamer "bad" plugins (less: often used "bad" plugins)
gstreamer1-plugins-ugly-free-devel.i686 : Development files for the GStreamer : media framework "ugly" plug-ins
gstreamer1-plugins-ugly-free-devel.x86_64 : Development files for the GStreamer : media framework "ugly" plug-ins: framework "bad" plug-ins
gstreamer1-plugins-bad-free-devel.i686 : Development files for the GStreamer : media framework "bad" plug-ins
gstreamer1-plugins-bad-free-devel.x86_64 : Development files for the GStreamer : media framework "bad" plug-ins
gstreamer1-plugins-bad-free-extras.i686 : Extra GStreamer "bad" plugins (less: often used "bad" plugins)
gstreamer1-plugins-bad-free-extras.x86_64 : Extra GStreamer "bad" plugins (less: often used "bad" plugins)
gstreamer1-plugins-ugly-free-devel.i686 : Development files for the GStreamer : media framework "ugly" plug-ins
gstreamer1-plugins-ugly-free-devel.x86_64 : Development files for the GStreamer : media framework "ugly" plug-ins
I think that about covers the requirements for building Wine on Fedora... 8)

Bob
wildtux
Level 3
Level 3
Posts: 56
Joined: Sat Aug 13, 2016 10:05 am

Re: [release] Simple-Wine-Building-Bot

Post by wildtux »

Hi, i've a project almost similar to yours, maybe we could talk?
https://github.com/wildtruc/winestart
tim110011
Level 2
Level 2
Posts: 30
Joined: Wed Jul 05, 2017 2:29 am

Re: [release] Simple-Wine-Building-Bot

Post by tim110011 »

Bob Wya wrote: ...
I think that about covers the requirements for building Wine on Fedora... 8)
I have install the good and ugly libs, but bad libs are really bad
gstreamer1-plugins-bad-free-devel.i686 conflicts with gstreamer1-plugins-bad-free-devel.x86_64

Code: Select all

Error: Transaction check error:
  file /usr/share/gtk-doc/html/gst-plugins-bad-plugins-1.0/gst-plugins-bad-plugins-audioparse.html conflicts between attempted installs of gstreamer1-plugins-bad-free-devel-1.14.0-2.fc28.i686 and gstreamer1-plugins-bad-free-devel-1.14.0-2.fc28.x86_64
  file /usr/share/gtk-doc/html/gst-plugins-bad-plugins-1.0/gst-plugins-bad-plugins-gmedec.html conflicts between attempted installs of gstreamer1-plugins-bad-free-devel-1.14.0-2.fc28.i686 and gstreamer1-plugins-bad-free-devel-1.14.0-2.fc28.x86_64
  file /usr/share/gtk-doc/html/gst-plugins-bad-plugins-1.0/gst-plugins-bad-plugins-neonhttpsrc.html conflicts between attempted installs of gstreamer1-plugins-bad-free-devel-1.14.0-2.fc28.i686 and gstreamer1-plugins-bad-free-devel-1.14.0-2.fc28.x86_64
  file /usr/share/gtk-doc/html/gst-plugins-bad-plugins-1.0/gst-plugins-bad-plugins-videoparse.html conflicts between attempted installs of gstreamer1-plugins-bad-free-devel-1.14.0-2.fc28.i686 and gstreamer1-plugins-bad-free-devel-1.14.0-2.fc28.x86_64
Maybe i should report this to fedora bugzilla.

Here i ask some more question:
Why my wine build is around 800MB and the downloaded official build is around 400MB size?
What is the official build 's configure option?
tim110011
Level 2
Level 2
Posts: 30
Joined: Wed Jul 05, 2017 2:29 am

Re: [release] Simple-Wine-Building-Bot

Post by tim110011 »

wildtux wrote:Hi, i've a project almost similar to yours, maybe we could talk?
https://github.com/wildtruc/winestart
Hello wildtux, you are welcome.
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: [release] Simple-Wine-Building-Bot

Post by Bob Wya »

tim110011 wrote: I have install the good and ugly libs, but bad libs are really bad
gstreamer1-plugins-bad-free-devel.i686 conflicts with gstreamer1-plugins-bad-free-devel.x86_64

Code: Select all

Error: Transaction check error:
  file /usr/share/gtk-doc/html/gst-plugins-bad-plugins-1.0/gst-plugins-bad-plugins-audioparse.html conflicts between attempted installs of gstreamer1-plugins-bad-free-devel-1.14.0-2.fc28.i686 and gstreamer1-plugins-bad-free-devel-1.14.0-2.fc28.x86_64
  file /usr/share/gtk-doc/html/gst-plugins-bad-plugins-1.0/gst-plugins-bad-plugins-gmedec.html conflicts between attempted installs of gstreamer1-plugins-bad-free-devel-1.14.0-2.fc28.i686 and gstreamer1-plugins-bad-free-devel-1.14.0-2.fc28.x86_64
  file /usr/share/gtk-doc/html/gst-plugins-bad-plugins-1.0/gst-plugins-bad-plugins-neonhttpsrc.html conflicts between attempted installs of gstreamer1-plugins-bad-free-devel-1.14.0-2.fc28.i686 and gstreamer1-plugins-bad-free-devel-1.14.0-2.fc28.x86_64
  file /usr/share/gtk-doc/html/gst-plugins-bad-plugins-1.0/gst-plugins-bad-plugins-videoparse.html conflicts between attempted installs of gstreamer1-plugins-bad-free-devel-1.14.0-2.fc28.i686 and gstreamer1-plugins-bad-free-devel-1.14.0-2.fc28.x86_64
Maybe i should report this to fedora bugzilla.
There's similar issues on Ubuntu - with the Ugly GStreamer plugins I think.
tim110011 wrote: Here i ask some more question:
Why my wine build is around 800MB and the downloaded official build is around 400MB size?
What is the official build 's configure option?
Probably if you join together the 32-bit, 64-bit, debug symbols, no-arch, etc. sub-package - of the official Fedora Wine package.
It would be about the same probably?

The obvious thing would be just to an unpack the Fedora Wine package set into a local directory.
Then compare these files, with you self-built Wine files.

Bob
wildtux
Level 3
Level 3
Posts: 56
Joined: Sat Aug 13, 2016 10:05 am

Re: [release] Simple-Wine-Building-Bot

Post by wildtux »

Thanks Tim.

I met development package conflict often when building something on Fedora (yes, I'm on it too). Usualy this is solved by installing x64 devel package only.
Back in the old time, I use to overriding i686 devel packages by x86 devel packages sometimes to resolve cross arch issues with pkgconfig files, but it it's an ugly way and could mess up your devel packages installation.

Maybe asking directly to Fedora staging rpm maintainer could be a real solution. or get the src.rpm and unpack.

Note: my mail is the top of my script and config files examples.
Locked