Skip to content

Commit

Permalink
Bump version and fix Arch Linux package building scripts.
Browse files Browse the repository at this point in the history
  • Loading branch information
claunia committed Jul 25, 2020
1 parent b8ee2ad commit 8548a16
Show file tree
Hide file tree
Showing 31 changed files with 55 additions and 61 deletions.
2 changes: 1 addition & 1 deletion Aaru.Checksums
2 changes: 1 addition & 1 deletion Aaru.CommonTypes
2 changes: 1 addition & 1 deletion Aaru.Compression/Aaru.Compression.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<ReleaseVersion>$(Version)</ReleaseVersion>
<EnableDefaultCompileItems>false</EnableDefaultCompileItems>
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
<Version>5.0.99.2991</Version>
<Version>5.1.0.3214</Version>
<Company>Claunia.com</Company>
<Copyright>Copyright © 2011-2020 Natalia Portillo</Copyright>
<Product>Aaru Data Preservation Suite</Product>
Expand Down
2 changes: 1 addition & 1 deletion Aaru.Console
2 changes: 1 addition & 1 deletion Aaru.Core/Aaru.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<ReleaseVersion>$(Version)</ReleaseVersion>
<EnableDefaultCompileItems>false</EnableDefaultCompileItems>
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
<Version>5.0.99.2991</Version>
<Version>5.1.0.3214</Version>
<Company>Claunia.com</Company>
<Copyright>Copyright © 2011-2020 Natalia Portillo</Copyright>
<Product>Aaru Data Preservation Suite</Product>
Expand Down
2 changes: 1 addition & 1 deletion Aaru.Database/Aaru.Database.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<ReleaseVersion>$(Version)</ReleaseVersion>
<EnableDefaultCompileItems>false</EnableDefaultCompileItems>
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
<Version>5.0.99.2991</Version>
<Version>5.1.0.3214</Version>
<Company>Claunia.com</Company>
<Copyright>Copyright © 2011-2020 Natalia Portillo</Copyright>
<Product>Aaru Data Preservation Suite</Product>
Expand Down
2 changes: 1 addition & 1 deletion Aaru.Decoders
2 changes: 1 addition & 1 deletion Aaru.Devices/Aaru.Devices.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<ReleaseVersion>$(Version)</ReleaseVersion>
<EnableDefaultCompileItems>false</EnableDefaultCompileItems>
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
<Version>5.0.99.2991</Version>
<Version>5.1.0.3214</Version>
<Company>Claunia.com</Company>
<Copyright>Copyright © 2011-2020 Natalia Portillo</Copyright>
<Product>Aaru Data Preservation Suite</Product>
Expand Down
2 changes: 1 addition & 1 deletion Aaru.Dto
Submodule Aaru.Dto updated 1 files
+1 −1 Aaru.Dto.csproj
2 changes: 1 addition & 1 deletion Aaru.Filesystems/Aaru.Filesystems.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<ReleaseVersion>$(Version)</ReleaseVersion>
<EnableDefaultCompileItems>false</EnableDefaultCompileItems>
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
<Version>5.0.99.2991</Version>
<Version>5.1.0.3214</Version>
<Company>Claunia.com</Company>
<Copyright>Copyright © 2011-2020 Natalia Portillo</Copyright>
<Product>Aaru Data Preservation Suite</Product>
Expand Down
2 changes: 1 addition & 1 deletion Aaru.Filters/Aaru.Filters.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<ReleaseVersion>$(Version)</ReleaseVersion>
<EnableDefaultCompileItems>false</EnableDefaultCompileItems>
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
<Version>5.0.99.2991</Version>
<Version>5.1.0.3214</Version>
<Company>Claunia.com</Company>
<Copyright>Copyright © 2011-2020 Natalia Portillo</Copyright>
<Product>Aaru Data Preservation Suite</Product>
Expand Down
2 changes: 1 addition & 1 deletion Aaru.Gui/Aaru.Gui.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<AssemblyName>Aaru.Gui</AssemblyName>
<ReleaseVersion>$(Version)</ReleaseVersion>
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
<Version>5.99.0.2990</Version>
<Version>5.99.0.3214</Version>
<Company>Claunia.com</Company>
<Copyright>Copyright © 2011-2020 Natalia Portillo</Copyright>
<Product>Aaru Data Preservation Suite</Product>
Expand Down
2 changes: 1 addition & 1 deletion Aaru.Helpers
2 changes: 1 addition & 1 deletion Aaru.Images/Aaru.Images.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<ReleaseVersion>$(Version)</ReleaseVersion>
<EnableDefaultCompileItems>false</EnableDefaultCompileItems>
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
<Version>5.0.99.2991</Version>
<Version>5.1.0.3214</Version>
<Company>Claunia.com</Company>
<Copyright>Copyright © 2011-2020 Natalia Portillo</Copyright>
<Product>Aaru Data Preservation Suite</Product>
Expand Down
2 changes: 1 addition & 1 deletion Aaru.Partitions/Aaru.Partitions.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<ReleaseVersion>$(Version)</ReleaseVersion>
<EnableDefaultCompileItems>false</EnableDefaultCompileItems>
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
<Version>5.0.99.2991</Version>
<Version>5.1.0.3214</Version>
<Company>Claunia.com</Company>
<Copyright>Copyright © 2011-2020 Natalia Portillo</Copyright>
<Product>Aaru Data Preservation Suite</Product>
Expand Down
2 changes: 1 addition & 1 deletion Aaru.Settings/Aaru.Settings.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<ReleaseVersion>$(Version)</ReleaseVersion>
<EnableDefaultCompileItems>false</EnableDefaultCompileItems>
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
<Version>5.0.99.2991</Version>
<Version>5.1.0.3214</Version>
<Company>Claunia.com</Company>
<Copyright>Copyright © 2011-2020 Natalia Portillo</Copyright>
<Product>Aaru Data Preservation Suite</Product>
Expand Down
2 changes: 1 addition & 1 deletion Aaru.Tests.Devices/Aaru.Tests.Devices.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<EnableDefaultCompileItems>false</EnableDefaultCompileItems>
<TargetFramework>netcoreapp3.1</TargetFramework>
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
<Version>4.5.99.1693</Version>
<Version>5.1.0.3214</Version>
<Company>Claunia.com</Company>
<Copyright>Copyright © 2011-2020 Natalia Portillo</Copyright>
<Product>Aaru Data Preservation Suite</Product>
Expand Down
10 changes: 8 additions & 2 deletions Aaru/Aaru.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<EnableDefaultCompileItems>false</EnableDefaultCompileItems>
<TargetFramework>netcoreapp3.1</TargetFramework>
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
<Version>5.0.99.2991</Version>
<Version>5.1.0.3214</Version>
<Company>Claunia.com</Company>
<Copyright>Copyright © 2011-2020 Natalia Portillo</Copyright>
<Product>Aaru Data Preservation Suite</Product>
Expand All @@ -22,11 +22,13 @@
<TargetLatestRuntimePatch>true</TargetLatestRuntimePatch>
<LangVersion>8</LangVersion>
</PropertyGroup>
<!--
<PropertyGroup>
<NrtRevisionFormat>$(Version)+{chash:8} built by {mname} in $(Configuration){!:, modified}</NrtRevisionFormat>
<NrtResolveSimpleAttributes>true</NrtResolveSimpleAttributes>
<NrtShowRevision>true</NrtShowRevision>
</PropertyGroup>
-->
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
<DebugSymbols>True</DebugSymbols>
<DebugType>full</DebugType>
Expand Down Expand Up @@ -201,7 +203,9 @@
<Name>Aaru.Checksums</Name>
</ProjectReference>
<ProjectReference Include="..\Aaru.Database\Aaru.Database.csproj" />
<!--
<ProjectReference Include="..\Aaru.Gui\Aaru.Gui.csproj" />
-->
<ProjectReference Include="..\Aaru.Helpers\Aaru.Helpers.csproj">
<Project>{F8BDF57B-1571-4CD0-84B3-B422088D359A}</Project>
<Name>Aaru.Helpers</Name>
Expand Down Expand Up @@ -274,7 +278,9 @@
<PackageReference Include="System.CommandLine" Version="2.0.0-beta1.20104.2" />
<PackageReference Include="System.Text.Encoding.CodePages" Version="4.7.1" />
<PackageReference Include="System.ValueTuple" Version="4.5.0" />
<!--
<PackageReference Include="Unclassified.NetRevisionTask" Version="0.3.0" />
-->
<PackageReference Include="System.Collections" Version="4.3.0" />
<PackageReference Include="System.Diagnostics.Debug" Version="4.3.0" />
<PackageReference Include="System.IO.FileSystem.Primitives" Version="4.3.0" />
Expand All @@ -300,7 +306,7 @@
</PropertyGroup>

<PropertyGroup>
<PackageVersion>5.0.99.2991-1</PackageVersion>
<PackageVersion>5.1.0.3214-1</PackageVersion>
<PackagePrefix>aaru</PackagePrefix>
<Authors>Natalia Portillo &lt;[email protected]&gt;</Authors>
<Section>net</Section>
Expand Down
3 changes: 1 addition & 2 deletions Aaru/Commands/Device/List.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
using Aaru.Console;
using Aaru.Core;
using Aaru.Devices;
using JetBrains.Annotations;

namespace Aaru.Commands.Device
{
Expand All @@ -55,7 +54,7 @@ public ListDevicesCommand() : base("list", "Lists all connected devices.")
Handler = CommandHandler.Create(GetType().GetMethod(nameof(Invoke)));
}

public static int Invoke(bool debug, bool verbose, [CanBeNull] string aaruRemoteHost)
public static int Invoke(bool debug, bool verbose, string aaruRemoteHost)
{
MainClass.PrintCopyright();

Expand Down
5 changes: 2 additions & 3 deletions Aaru/Commands/Filesystem/ExtractFiles.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@
using Aaru.CommonTypes.Structs;
using Aaru.Console;
using Aaru.Core;
using JetBrains.Annotations;
using FileAttributes = Aaru.CommonTypes.Structs.FileAttributes;

namespace Aaru.Commands.Filesystem
Expand Down Expand Up @@ -337,8 +336,8 @@ public static int Invoke(bool debug, bool verbose, string encoding, bool xattrs,
return (int)ErrorNumber.NoError;
}

static void ExtractFilesInDir(string path, [NotNull] IReadOnlyFilesystem fs, string volumeName,
string outputDir, bool doXattrs)
static void ExtractFilesInDir(string path, IReadOnlyFilesystem fs, string volumeName, string outputDir,
bool doXattrs)
{
if(path.StartsWith('/'))
path = path.Substring(1);
Expand Down
3 changes: 1 addition & 2 deletions Aaru/Commands/Filesystem/Ls.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@
using Aaru.CommonTypes.Structs;
using Aaru.Console;
using Aaru.Core;
using JetBrains.Annotations;

namespace Aaru.Commands.Filesystem
{
Expand Down Expand Up @@ -310,7 +309,7 @@ public static int Invoke(bool debug, bool verbose, string encoding, string image
return (int)ErrorNumber.NoError;
}

static void ListFilesInDir(string path, [NotNull] IReadOnlyFilesystem fs, bool longFormat)
static void ListFilesInDir(string path, IReadOnlyFilesystem fs, bool longFormat)
{
if(path.StartsWith('/'))
path = path.Substring(1);
Expand Down
4 changes: 1 addition & 3 deletions Aaru/Commands/Filesystem/Options.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
using Aaru.CommonTypes.Interfaces;
using Aaru.Console;
using Aaru.Core;
using JetBrains.Annotations;

namespace Aaru.Commands.Filesystem
{
Expand Down Expand Up @@ -87,8 +86,7 @@ public static int Invoke(bool debug, bool verbose)
return (int)ErrorNumber.NoError;
}

[NotNull]
static string TypeToString([NotNull] Type type)
static string TypeToString(Type type)
{
if(type == typeof(bool))
return "boolean";
Expand Down
5 changes: 2 additions & 3 deletions Aaru/Commands/Image/CreateSidecar.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
using Aaru.CommonTypes.Interfaces;
using Aaru.Console;
using Aaru.Core;
using JetBrains.Annotations;
using Schemas;

namespace Aaru.Commands.Image
Expand Down Expand Up @@ -91,8 +90,8 @@ public CreateSidecarCommand() : base("create-sidecar", "Creates CICM Metadata XM
Handler = CommandHandler.Create(GetType().GetMethod(nameof(Invoke)));
}

public static int Invoke(bool debug, bool verbose, uint blockSize, [CanBeNull] string encodingName,
string imagePath, bool tape)
public static int Invoke(bool debug, bool verbose, uint blockSize, string encodingName, string imagePath,
bool tape)
{
MainClass.PrintCopyright();

Expand Down
4 changes: 1 addition & 3 deletions Aaru/Commands/Image/Options.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
using Aaru.CommonTypes.Interfaces;
using Aaru.Console;
using Aaru.Core;
using JetBrains.Annotations;

namespace Aaru.Commands.Image
{
Expand Down Expand Up @@ -89,8 +88,7 @@ public static int Invoke(bool debug, bool verbose)
return (int)ErrorNumber.NoError;
}

[NotNull]
static string TypeToString([NotNull] Type type)
static string TypeToString(Type type)
{
if(type == typeof(bool))
return "boolean";
Expand Down
2 changes: 1 addition & 1 deletion Aaru/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundleIdentifier</key>
<string>app.aaru</string>
<key>CFBundleShortVersionString</key>
<string>5.99.0.2990-alpha2</string>
<string>5.99.0.3214-alpha3</string>
<key>CFBundleExecutable</key>
<string>aaru</string>
<key>LSExecutableArchitectures</key>
Expand Down
4 changes: 2 additions & 2 deletions Aaru/Main.cs
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,13 @@ public static int Main(string[] args)
as AssemblyInformationalVersionAttribute;

_assemblyCopyright = ((AssemblyCopyrightAttribute)attributes[0]).Copyright;

/*
if(args.Length == 1 &&
args[0].ToLowerInvariant() == "gui")
{
return Gui.Main.Start(args);
}

*/
AaruConsole.WriteLineEvent += System.Console.WriteLine;
AaruConsole.WriteEvent += System.Console.Write;
AaruConsole.ErrorWriteLineEvent += System.Console.Error.WriteLine;
Expand Down
3 changes: 2 additions & 1 deletion Changelog.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# [5.1.0.xxxx] - 2020-07-xx
# [5.1.0.3214] - 2020-07-25
## Added
### - Aaru Image Format
- Save Compact Disc track indexes in.
Expand Down Expand Up @@ -1355,6 +1355,7 @@ Aaru.Server (previously DiscImageChef.Server), aaruformat (previously dicformat)
- Master Boot Record (aka MBR).
- NeXT disklabels.

[5.1.0.3214]: https://github.com/aaru-dps/Aaru/releases/tag/v5.1.0.3214
[5.0.1.2884]: https://github.com/aaru-dps/Aaru/releases/tag/v5.0.1.2884
[5.0.0.2879]: https://github.com/aaru-dps/Aaru/releases/tag/v5.0.0.2879
[4.5.1.1692]: https://github.com/aaru-dps/Aaru/releases/tag/v4.5.1.1692
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Aaru Data Preservation Suite v5.0.99.2991
Aaru Data Preservation Suite v5.1.0.3214

Aaru

Expand Down
2 changes: 1 addition & 1 deletion build.sh
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
AARU_VERSION=5.0.99.2991
AARU_VERSION=5.1.0.3214
OS_NAME=`uname`

mkdir -p build
Expand Down
11 changes: 4 additions & 7 deletions pkg/pacman/rolling/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ _aarubase='Aaru'
packager='Natalia Portillo <[email protected]>'
pkgbase='aaru-git'
pkgname=('aaru-git')
pkgver=v5.1.99.2967.r1190.g4decb6d4
pkgver=v5.1.99.3214.r1190.g4decb6d4
pkgrel=1
pkgdesc='Disc image management and creation tool for disks, tapes, optical and solid state media'
arch=('x86_64' 'armv7h' 'aarch64')
Expand Down Expand Up @@ -39,18 +39,16 @@ prepare() {

build() {
cd "${srcdir}"/"${_aarubase}"
dotnet restore Aaru.sln
dotnet build -f ${_netcoretarget} -c Debug Aaru.sln
dotnet publish -f ${_netcoretarget} -c Debug --self-contained -r ${dotnet_rid} Aaru.sln
dotnet publish -f ${_netcoretarget} -c Debug --self-contained -r ${dotnet_rid}
}

package() {
# Install MIME database file
cd "${srcdir}"/Aaru
cd "${srcdir}"/"${_aarubase}"
install -d -m0755 -g 0 "${pkgdir}"/usr/share/mime/packages
install -m0755 -g 0 -t "${pkgdir}"/usr/share/mime/packages aaruformat.xml

cd "${srcdir}"/"${_aarubase}"/Aaru/bin/Debug/${_netcoretarget}/${dotnet_rid}/publish
cd "${srcdir}"/"${_aarubase}"/bin/Debug/${_netcoretarget}/${dotnet_rid}/publish

# Create destination directory
install -d -m0755 -g 0 "${pkgdir}"/opt/Aaru
Expand All @@ -62,7 +60,6 @@ package() {
install -m0755 -g 0 -t "${pkgdir}"/opt/Aaru *.so
install -m0755 -g 0 -t "${pkgdir}"/opt/Aaru *.a
install -m0755 -g 0 -t "${pkgdir}"/opt/Aaru createdump
install -m0755 -g 0 -t "${pkgdir}"/opt/Aaru sosdocsunix.txt

# Copy .NET dependencies
install -m0755 -g 0 -t "${pkgdir}"/opt/Aaru *.dll
Expand Down
Loading

0 comments on commit 8548a16

Please sign in to comment.