Skip to content

Commit

Permalink
Merge pull request #221 from xanimo/0.1.4-dogebox-pre
Browse files Browse the repository at this point in the history
fixate 0.1.4-dogebox-pre
  • Loading branch information
michilumin committed Sep 7, 2024
2 parents d34c784 + c984bf0 commit aa63155
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 18 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ SET(CMAKE_C_STANDARD 99)
SET(CMAKE_C_STANDARD_REQUIRED TRUE)

SET(LIBDOGECOIN_NAME dogecoin)
PROJECT(lib${LIBDOGECOIN_NAME} VERSION 0.1.3)
PROJECT(lib${LIBDOGECOIN_NAME} VERSION "0.1.4")

option(BUILD_SHARED_LIBS "Build the shared library" OFF)
if(BUILD_SHARED_LIBS)
Expand Down Expand Up @@ -116,7 +116,7 @@ endif()

ADD_DEFINITIONS(
-DPACKAGE_NAME="${PROJECT_NAME}"
-DPACKAGE_VERSION="${PROJECT_VERSION}"
-DPACKAGE_VERSION="${PROJECT_VERSION}-dogebox-pre"
-DRANDOM_DEVICE="${RANDOM_DEVICE}"
)
IF(BUILD_SHARED_LIBS)
Expand Down
4 changes: 2 additions & 2 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ AC_PREREQ([2.68])
define(_PKG_VERSION_MAJOR, 0)
define(_PKG_VERSION_MINOR, 1)
define(_PKG_VERSION_BUILD, 4)
define(_PKG_VERSION_IS_RELEASE, false)
define(_PKG_VERSION_IS_RELEASE, true)

# The library version is based on libtool versioning of the ABI. The set of
# rules for updating the version can be found here:
Expand All @@ -17,7 +17,7 @@ define(_PKG_VERSION_IS_RELEASE, false)
define(_LIB_VERSION_CURRENT, 1)
define(_LIB_VERSION_REVISION, 0)
define(_LIB_VERSION_AGE, 0)
AC_INIT([libdogecoin],m4_join([.], _PKG_VERSION_MAJOR, _PKG_VERSION_MINOR, _PKG_VERSION_BUILD)m4_if(_PKG_VERSION_IS_RELEASE, [true], [], [-dev]),[https://github.com/dogecoinfoundation/libdogecoin/issues],[libdogecoin],[https://github.com/dogecoinfoundation/libdogecoin])
AC_INIT([libdogecoin],m4_join([.], _PKG_VERSION_MAJOR, _PKG_VERSION_MINOR, _PKG_VERSION_BUILD)m4_if(_PKG_VERSION_IS_RELEASE, [true], [-dogebox-pre], [-dev]),[https://github.com/dogecoinfoundation/libdogecoin/issues],[libdogecoin],[https://github.com/dogecoinfoundation/libdogecoin])
AC_CONFIG_AUX_DIR([build-aux])
AC_CONFIG_MACRO_DIR([build-aux/m4])

Expand Down
6 changes: 3 additions & 3 deletions contrib/gitian-descriptors/gitian-linux.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
name: "libdogecoin-linux-0.1.4"
name: "libdogecoin-linux-0.1.4-dogebox-pre"
enable_cache: true
suites:
- "focal"
Expand Down Expand Up @@ -128,7 +128,7 @@ script: |
# Create the release tarball using (arbitrarily) the first host
./autogen.sh
CONFIG_SITE=${BASEPREFIX}/`echo "${HOSTS}" | awk '{print $1;}'`/share/config.site ./configure --prefix=/
git archive --format=tar --prefix=libdogecoin-0.1.4/ HEAD | gzip -9n > libdogecoin-0.1.4.tar.gz
git archive --format=tar --prefix=libdogecoin-0.1.4-dogebox-pre/ HEAD | gzip -9n > libdogecoin-0.1.4-dogebox-pre.tar.gz
SOURCEDIST=`echo libdogecoin-*.tar.gz`
DISTNAME=`echo ${SOURCEDIST} | sed 's/.tar.*//'`
# Correct tar file order
Expand All @@ -143,7 +143,7 @@ script: |
for i in ${HOSTS}; do
export PATH=${BASEPREFIX}/${i}/native/bin:${ORIGPATH}
./contrib/scripts/build.sh --host ${i} --depends
./contrib/scripts/pack.sh --host=${i} --prefix=build --commit="0.1.4"
./contrib/scripts/pack.sh --host=${i} --prefix=build --commit="0.1.4-dogebox-pre"
done
# Move them to gitian-builder/build/out/src
Expand Down
6 changes: 3 additions & 3 deletions contrib/gitian-descriptors/gitian-osx.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
name: "libdogecoin-osx-0.1.4"
name: "libdogecoin-osx-0.1.4-dogebox-pre"
enable_cache: true
suites:
- "focal"
Expand Down Expand Up @@ -98,7 +98,7 @@ script: |
# Create the release tarball using (arbitrarily) the first host
./autogen.sh
CONFIG_SITE=${BASEPREFIX}/`echo "${HOSTS}" | awk '{print $1;}'`/share/config.site ./configure --prefix=/
git archive --format=tar --prefix=libdogecoin-0.1.4/ HEAD | gzip -9n > libdogecoin-0.1.4.tar.gz
git archive --format=tar --prefix=libdogecoin-0.1.4-dogebox-pre/ HEAD | gzip -9n > libdogecoin-0.1.4-dogebox-pre.tar.gz
SOURCEDIST=`echo libdogecoin-*.tar.gz`
DISTNAME=`echo ${SOURCEDIST} | sed 's/.tar.*//'`
# Correct tar file order
Expand All @@ -113,7 +113,7 @@ script: |
for i in ${HOSTS}; do
export PATH=${BASEPREFIX}/${i}/native/bin:${ORIGPATH}
./contrib/scripts/build.sh --host ${i} --depends
./contrib/scripts/pack.sh --host=${i} --prefix=build --commit="0.1.4"
./contrib/scripts/pack.sh --host=${i} --prefix=build --commit="0.1.4-dogebox-pre"
done
# Move them to gitian-builder/build/out/src
Expand Down
10 changes: 5 additions & 5 deletions contrib/gitian-descriptors/gitian-win.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
name: "libdogecoin-win-0.1.4"
name: "libdogecoin-win-0.1.4-dogebox-pre"
enable_cache: true
suites:
- "focal"
Expand Down Expand Up @@ -115,26 +115,26 @@ script: |
# Create the release tarball using (arbitrarily) the first host
./autogen.sh
CONFIG_SITE=${BASEPREFIX}/`echo "${HOSTS}" | awk '{print $1;}'`/share/config.site ./configure --prefix=/
git archive --format=tar --prefix=libdogecoin-0.1.4/ HEAD | gzip -9n > libdogecoin-0.1.4.tar.gz
git archive --format=tar --prefix=libdogecoin-0.1.4-dogebox-pre/ HEAD | gzip -9n > libdogecoin-0.1.4.tar.gz
SOURCEDIST=`echo libdogecoin-*.tar.gz`
DISTNAME=`echo ${SOURCEDIST} | sed 's/.tar.*//'`
# Correct tar file order
mkdir -p temp
pushd temp
tar xf ../$SOURCEDIST
find libdogecoin-* | sort | tar --no-recursion --mode='u+rw,go+r-w,a+X' --owner=0 --group=0 -c -T - | gzip -9n > ../$SOURCEDIST
tar tf ../$SOURCEDIST | zip -X@ ../libdogecoin-0.1.4.zip
tar tf ../$SOURCEDIST | zip -X@ ../libdogecoin-0.1.4-dogebox-pre.zip
popd
ORIGPATH="$PATH"
# Build and archive each architecture
for i in ${HOSTS}; do
export PATH=${BASEPREFIX}/${i}/native/bin:${ORIGPATH}
./contrib/scripts/build.sh --host ${i} --depends
./contrib/scripts/pack.sh --host=${i} --prefix=build --commit="0.1.4"
./contrib/scripts/pack.sh --host=${i} --prefix=build --commit="0.1.4-dogebox-pre"
done
# Move them to gitian-builder/build/out/src
mv libdogecoin-0.1.4.zip `pwd`/output
mv libdogecoin-0.1.4-dogebox-pre.zip `pwd`/output
mkdir -p $OUTDIR/src
mv ~/build/libdogecoin/output/*.zip $OUTDIR/src
1 change: 0 additions & 1 deletion contrib/scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ fi
if [ -d "`pwd`/.libs" ]; then
rm -rf "`pwd`/.libs"
make clean
make clean-local
fi

if has_param '--host' "$@"; then
Expand Down
1 change: 0 additions & 1 deletion contrib/scripts/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ if [[ "$TARGET_HOST_TRIPLET" == "" && "$ALL_HOST_TRIPLETS" != "" ]]; then
FILE=Makefile
if test -f "$FILE"; then
make clean
make clean-local
fi
CLEAN=1
fi
Expand Down
2 changes: 1 addition & 1 deletion include/dogecoin/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ LIBDOGECOIN_BEGIN_DECL
//! These need to be macros, as version.c's voodoo requires it
#define _PKG_VERSION_MAJOR 0
#define _PKG_VERSION_MINOR 1
#define _PKG_VERSION_BUILD 3
#define _PKG_VERSION_BUILD 4
#define _LIB_VERSION_REVISION 0

static const int CLIENT_VERSION =
Expand Down

0 comments on commit aa63155

Please sign in to comment.