Skip to content

Commit

Permalink
Merge pull request #1459 from mariux64/rebuild-glib-gtk-1.2.10
Browse files Browse the repository at this point in the history
Rebuild glib gtk 1.2.10
  • Loading branch information
pmenzel authored Nov 6, 2019
2 parents 5dbf886 + e1292f6 commit 67c2c33
Show file tree
Hide file tree
Showing 4 changed files with 214 additions and 65 deletions.
33 changes: 0 additions & 33 deletions glib-1.2.10-0.bee

This file was deleted.

98 changes: 98 additions & 0 deletions glib.be0
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
#!/usr/bin/env beesh

# BEE_VERSION glib-1.2.10-1

## this file was created by bee init and should be executed to build a
## bee-package. (Additional hints are located at the end of this file.)

###############################################################################
## The source URL(s) define the location of the sources that will be
## downloaded. Version variables may be used to simplify reuse of this bee-file.

SRCURL[0]="https://ftp.gtk.org/pub/gtk/v${PKGVERSION[2]}/glib-${PKGVERSION}.tar.gz"

###############################################################################
## Add URLs/pathes to patch files to the PATCHURL array.
## The sources will be patched in the order of the array.

# PATCHURL+=()
XPATCHROOT=${BEE_DOWNLOADDIR}
PATCHURL+=(${XPATCHROOT}/glib-1.2.10-isowarning.patch.gz)
PATCHURL+=(${XPATCHROOT}/glib-1.2.10-gcc34.patch.gz)
PATCHURL+=(${XPATCHROOT}/glib-1.2.10-underquoted.patch.gz)
PATCHURL+=(${XPATCHROOT}/glib-1.2.10-no_undefined.patch.gz)
PATCHURL+=(${XPATCHROOT}/glib-1.2.10-multilib.patch.gz)
PATCHURL+=(${XPATCHROOT}/glib-1.2.10-unused-dep.patch.gz)
PATCHURL+=(${XPATCHROOT}/glib-1.2.10-autotools.patch.gz)
PATCHURL+=(${XPATCHROOT}/glib-1.2.10-format.patch.gz)
PATCHURL+=(${XPATCHROOT}/glib-1.2.10-gcc5.patch.gz)
PATCHURL+=(${XPATCHROOT}/glib-1.2.10-gcc9.patch.gz)

###############################################################################
## Uncomment the next statement, if the software may not be able to be built
## outside the source directory and needs to be built inside the source
## directory.

# build_in_sourcedir

###############################################################################
## bee cannot detect buildtypes specified in subdirectories.
## Sometimes packages "hide" the real sources in a subdirectory named
## 'src' or 'cmake' or ..
## use 'sourcesubdir_append' to specify this directory if known.

# sourcesubdir_append src


###############################################################################
## Change the default (auto-detected) steps to
## extract, patch, configure/setup, build and install the software.
## Make sure the mee_install function does install everything to the
## image directory "${D}"

#mee_extract() {
# bee_extract "${@}"
#}

mee_patch() {
bee_patch "${@}"
cp -p /usr/share/automake-1.15/config.{guess,sub} .
}

export CFLAGS='-O2 -fPIC'
#mee_configure() {
# bee_configure
#}

mee_build() {
bee_build LIBTOOL=/usr/bin/libtool
}

#mee_install() {
# bee_install
#}
## by default this may be 'make install DESTDIR="${D}"'

mee_install_post() {
patchelf --remove-rpath ${D}/usr/lib/libgmodule-1.2.so.0.0.10
patchelf --remove-rpath ${D}/usr/lib/libgthread-1.2.so.0.0.10
chmod -v 0755 ${D}/usr/lib/libgmodule-1.2.so.0.0.10
}

###############################################################################
##
## Additional hints:
##
## The name of this bee-file should follow the following naming convention:
## pkgname-pkgversion-pkgrevision.bee
##
## You may remove all comments as long as SRCURL[0] is set.
##
## Everything in this file will be executed in a bash environment.
##
## Build the package by executing
## './pkg-version-N.bee' or
## 'beesh ./pkg-version-N.bee'
##
## see http://beezinga.org/
##
32 changes: 0 additions & 32 deletions gtk+-1.2.10-0.bee

This file was deleted.

116 changes: 116 additions & 0 deletions gtk+.be0
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
#!/usr/bin/env beesh

# BEE_VERSION gtk+-1.2.10-1

## this file was created by bee init and should be executed to build a
## bee-package. (Additional hints are located at the end of this file.)

###############################################################################
## The source URL(s) define the location of the sources that will be
## downloaded. Version variables may be used to simplify reuse of this bee-file.

SRCURL[0]="https://ftp.gtk.org/pub/gtk/v${PKGVERSION[2]}/gtk+-${PKGVERSION}.tar.gz"

###############################################################################
## Add URLs/pathes to patch files to the PATCHURL array.
## The sources will be patched in the order of the array.

# PATCHURL+=()
XPATCHROOT=${BEE_DOWNLOADDIR}
PATCHURL+=(${XPATCHROOT}/gtk+-1.2.10-ahiguti.patch.gz)
PATCHURL+=(${XPATCHROOT}/gtk+-1.2.8-wrap-alnum.patch.gz)
PATCHURL+=(${XPATCHROOT}/gtk+-1.2.10-alignment.patch.gz)
PATCHURL+=(${XPATCHROOT}/gtk+-1.2.10-expose.patch.gz)
PATCHURL+=(${XPATCHROOT}/gtk+-1.2.10-focus.patch.gz)
PATCHURL+=(${XPATCHROOT}/gtk+-1.2.10-encoding.patch.gz)
PATCHURL+=(${XPATCHROOT}/gtk+-1.2.10-ctext.patch.gz)
PATCHURL+=(${XPATCHROOT}/gtk+-1.2.10-utf8fontset.patch.gz)
PATCHURL+=(${XPATCHROOT}/gtk+-1.2.10-kpenter.patch.gz)
PATCHURL+=(${XPATCHROOT}/gtk+-1.2.10-themeswitch.patch.gz)
PATCHURL+=(${XPATCHROOT}/gtk+-1.2.10-pixmapref.patch.gz)
PATCHURL+=(${XPATCHROOT}/gtk+-1.2.10-missingchar.patch.gz)
PATCHURL+=(${XPATCHROOT}/gtk+-1.2.10-ukfont.patch.gz)
PATCHURL+=(${XPATCHROOT}/gtk+-1.2.10-deletedir.patch.gz)
PATCHURL+=(${XPATCHROOT}/gtk+-1.2.10-fontwarning.patch.gz)
PATCHURL+=(${XPATCHROOT}/gtk+-1.2.10-troughpaint.patch.gz)
PATCHURL+=(${XPATCHROOT}/gtk+-1.2.10-localecrash.patch.gz)
PATCHURL+=(${XPATCHROOT}/gtk+-1.2.10-dndorder.patch.gz)
PATCHURL+=(${XPATCHROOT}/gtk+-1.2.10-clistfocusrow.patch.gz)
PATCHURL+=(${XPATCHROOT}/gtk+-1.2.10-bellvolume.patch.gz)
PATCHURL+=(${XPATCHROOT}/gtk+-1.2.10-libtool.patch.gz)
PATCHURL+=(${XPATCHROOT}/gtk+-1.2.10-gtkgdkdep.patch.gz)
PATCHURL+=(${XPATCHROOT}/gtk+-underquoted.patch.gz)
PATCHURL+=(${XPATCHROOT}/gtk+-1.2.10-ppc64.patch.gz)
PATCHURL+=(${XPATCHROOT}/gtk+-1.2.10-no_undefined.patch.gz)
PATCHURL+=(${XPATCHROOT}/gtk+-1.2.10-multilib.patch.gz)
PATCHURL+=(${XPATCHROOT}/gtk+-1.2.10-unused-deps.patch.gz)
PATCHURL+=(${XPATCHROOT}/gtk+-1.2.10-autotools.patch.gz)
PATCHURL+=(${XPATCHROOT}/gtk+-1.2.10-format.patch.gz)

###############################################################################
## Uncomment the next statement, if the software may not be able to be built
## outside the source directory and needs to be built inside the source
## directory.

# build_in_sourcedir

###############################################################################
## bee cannot detect buildtypes specified in subdirectories.
## Sometimes packages "hide" the real sources in a subdirectory named
## 'src' or 'cmake' or ..
## use 'sourcesubdir_append' to specify this directory if known.

# sourcesubdir_append src


###############################################################################
## Change the default (auto-detected) steps to
## extract, patch, configure/setup, build and install the software.
## Make sure the mee_install function does install everything to the
## image directory "${D}"

#mee_extract() {
# bee_extract "${@}"
#}

mee_patch() {
bee_patch "${@}"
cp -p /usr/share/automake-1.15/config.{guess,sub} .
}

export CFLAGS='-O2 -fPIC'
export CXXFLAGS='-O2 -fPIC'
#mee_configure() {
# bee_configure
#}

mee_build() {
bee_build LIBTOOL=/usr/bin/libtool
}

#mee_install() {
# bee_install
#}
## by default this may be 'make install DESTDIR="${D}"'

mee_install_post() {
patchelf --remove-rpath ${D}/usr/lib/libgtk-1.2.so.0.9.1
}

###############################################################################
##
## Additional hints:
##
## The name of this bee-file should follow the following naming convention:
## pkgname-pkgversion-pkgrevision.bee
##
## You may remove all comments as long as SRCURL[0] is set.
##
## Everything in this file will be executed in a bash environment.
##
## Build the package by executing
## './pkg-version-N.bee' or
## 'beesh ./pkg-version-N.bee'
##
## see http://beezinga.org/
##

0 comments on commit 67c2c33

Please sign in to comment.