Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d0927f5c45 | ||
|
|
9ca8ba43fa | ||
|
|
49b3d2b992 | ||
|
|
35c8efa686 | ||
|
|
3788c0f3f3 | ||
|
|
f2f9e6939a | ||
|
|
21bb4cf58a | ||
|
|
b73b813eba | ||
|
|
95db883018 | ||
|
|
08c8026fde | ||
|
|
48bef0f50b | ||
|
|
a459490e8d | ||
|
|
98b0c8a22d | ||
|
|
be8fd896da | ||
|
|
5f4d7883eb | ||
|
|
faa1d1f296 | ||
|
|
61d84eebbe | ||
|
|
bc321ec7eb | ||
|
|
9852b4de81 | ||
|
|
d508db41c3 | ||
|
|
50e8464ecf | ||
|
|
e8494efb5f | ||
|
|
3e5588229b | ||
|
|
4c00270d09 | ||
|
|
b5dc08eee6 | ||
|
|
d6ebc54ab8 | ||
|
|
19ffb580af | ||
|
|
fc90686903 | ||
|
|
3c031b4ee9 | ||
|
|
fdcdba1731 | ||
|
|
12da26e47a | ||
|
|
de2b93d990 | ||
|
|
1cbc491003 | ||
|
|
26a2fd9dde | ||
|
|
7e0a8a2b62 | ||
|
|
ca974f3dfa | ||
|
|
850c18b25b | ||
|
|
2ca024237d | ||
|
|
939914a5ab | ||
|
|
0fedc62c25 | ||
|
|
defdb35655 | ||
|
|
e3ee616acc | ||
|
|
37fb4dc096 | ||
|
|
1637a39577 | ||
|
|
142b458aeb | ||
|
|
7cccb06950 | ||
|
|
bcc2ef5a06 | ||
|
|
40eacbbb90 | ||
|
|
ff4b9abf27 | ||
|
|
e9662d800f | ||
|
|
71273f9021 | ||
|
|
235f79c88f | ||
|
|
b2c0fe2190 | ||
|
|
66822e5900 | ||
|
|
2bb98a4ebe | ||
|
|
8a5b411057 | ||
|
|
0531c20e7d |
@@ -0,0 +1,3 @@
|
|||||||
|
|
||||||
|
# Make sure github recognizes header files as C++, not C.
|
||||||
|
*.h linguist-language=C++
|
||||||
@@ -0,0 +1,171 @@
|
|||||||
|
name: Build - 1.1 Branch (Tier 1 platforms)
|
||||||
|
|
||||||
|
on:
|
||||||
|
# Triggers the workflow on push or pull request events but only for the branch
|
||||||
|
push:
|
||||||
|
branches: [ release/1.1 ]
|
||||||
|
pull_request:
|
||||||
|
branches: [ release/1.1 ]
|
||||||
|
# Allows you to run this workflow manually from the Actions tab
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
|
||||||
|
env:
|
||||||
|
SMARTMONTOOLS_INSTALLER: smartmontools-7.2-1.win32-setup.exe
|
||||||
|
SMARTMONTOOLS_URL: https://nav.dl.sourceforge.net/project/smartmontools/smartmontools/7.2/smartmontools-7.2-1.win32-setup.exe
|
||||||
|
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
|
||||||
|
linux-ubuntu:
|
||||||
|
runs-on: ubuntu-20.04
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
ref: release/1.1
|
||||||
|
|
||||||
|
- name: Install Dependencies
|
||||||
|
run: sudo apt-get install libpcre3-dev libgtkmm-3.0-dev gettext autoconf automake
|
||||||
|
|
||||||
|
- name: Run Autogen
|
||||||
|
shell: bash
|
||||||
|
working-directory: ${{runner.workspace}}/gsmartcontrol
|
||||||
|
run: ./autogen.sh
|
||||||
|
|
||||||
|
- name: Create Build Directory
|
||||||
|
shell: bash
|
||||||
|
run: mkdir -p ${{runner.workspace}}/build
|
||||||
|
|
||||||
|
- name: Configure
|
||||||
|
shell: bash
|
||||||
|
working-directory: ${{runner.workspace}}/build
|
||||||
|
run: >
|
||||||
|
$GITHUB_WORKSPACE/configure --prefix=/usr --enable-tests
|
||||||
|
|
||||||
|
- name: Build
|
||||||
|
shell: bash
|
||||||
|
working-directory: ${{runner.workspace}}/build
|
||||||
|
run: make
|
||||||
|
|
||||||
|
- name: Test
|
||||||
|
working-directory: ${{runner.workspace}}/build
|
||||||
|
shell: bash
|
||||||
|
run: make check
|
||||||
|
|
||||||
|
- name: Pack Source
|
||||||
|
shell: bash
|
||||||
|
working-directory: ${{runner.workspace}}/build
|
||||||
|
run: make dist
|
||||||
|
|
||||||
|
- name: Upload artifacts
|
||||||
|
uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: Source Packages (1.1 Branch)
|
||||||
|
path: ${{runner.workspace}}/build/gsmartcontrol-*.tar.bz2
|
||||||
|
|
||||||
|
|
||||||
|
windows-msys2:
|
||||||
|
# Disable for now, as the configure stage errors out with "The directory name is invalid."
|
||||||
|
if: ${{ false }}
|
||||||
|
|
||||||
|
runs-on: windows-latest
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
include: [
|
||||||
|
{ msystem: MINGW64, arch: x86_64, root: /mingw64 },
|
||||||
|
{ msystem: MINGW32, arch: i686, root: /mingw32 }
|
||||||
|
]
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
ref: release/1.1
|
||||||
|
|
||||||
|
- uses: msys2/setup-msys2@v2
|
||||||
|
# p7zip is needed to extract smartmontools
|
||||||
|
# fontconfig owns /etc/fonts
|
||||||
|
with:
|
||||||
|
msystem: ${{ matrix.msystem }}
|
||||||
|
update: true
|
||||||
|
install: >-
|
||||||
|
mingw-w64-${{ matrix.arch }}-gtkmm3
|
||||||
|
mingw-w64-${{ matrix.arch }}-pkg-config
|
||||||
|
autoconf
|
||||||
|
automake
|
||||||
|
mingw-w64-${{ matrix.arch }}-gcc
|
||||||
|
mingw-w64-${{ matrix.arch }}-fontconfig
|
||||||
|
make
|
||||||
|
p7zip
|
||||||
|
|
||||||
|
- name: Run Autogen
|
||||||
|
shell: msys2 {0}
|
||||||
|
working-directory: ${{runner.workspace}}/gsmartcontrol
|
||||||
|
run: ./autogen.sh
|
||||||
|
|
||||||
|
- name: Create Build Directory
|
||||||
|
shell: cmd
|
||||||
|
working-directory: ${{runner.workspace}}
|
||||||
|
run: md build
|
||||||
|
|
||||||
|
- name: Configure
|
||||||
|
shell: msys2 {0}
|
||||||
|
working-directory: ${{runner.workspace}}/build
|
||||||
|
run: ../gsmartcontrol/configure --enable-tests
|
||||||
|
|
||||||
|
- name: Build
|
||||||
|
shell: msys2 {0}
|
||||||
|
working-directory: ${{runner.workspace}}/build
|
||||||
|
run: make
|
||||||
|
|
||||||
|
- name: Test
|
||||||
|
working-directory: ${{runner.workspace}}/build
|
||||||
|
shell: msys2 {0}
|
||||||
|
run: make check
|
||||||
|
|
||||||
|
- name: Download Package Requirements
|
||||||
|
shell: msys2 {0}
|
||||||
|
working-directory: ${{runner.workspace}}/build
|
||||||
|
run: |
|
||||||
|
mkdir smartmontools
|
||||||
|
cd smartmontools
|
||||||
|
wget $SMARTMONTOOLS_URL
|
||||||
|
|
||||||
|
- name: Extract Package Requirements (64-bit)
|
||||||
|
if: ${{ matrix.msystem == 'MINGW64' }}
|
||||||
|
shell: msys2 {0}
|
||||||
|
working-directory: ${{runner.workspace}}/build/smartmontools
|
||||||
|
run: >
|
||||||
|
7z -bb1 e $SMARTMONTOOLS_INSTALLER
|
||||||
|
bin64/smartctl.exe
|
||||||
|
bin64/smartctl-nc.exe
|
||||||
|
bin/update-smart-drivedb.exe
|
||||||
|
bin/drivedb.h
|
||||||
|
|
||||||
|
- name: Extract Package Requirements (32-bit)
|
||||||
|
if: ${{ matrix.msystem == 'MINGW32' }}
|
||||||
|
shell: msys2 {0}
|
||||||
|
working-directory: ${{runner.workspace}}/build/smartmontools
|
||||||
|
run: >
|
||||||
|
7z -bb1 e $SMARTMONTOOLS_INSTALLER
|
||||||
|
bin/smartctl.exe
|
||||||
|
bin/smartctl-nc.exe
|
||||||
|
bin/update-smart-drivedb.exe
|
||||||
|
bin/drivedb.h
|
||||||
|
|
||||||
|
- name: Package ZIP
|
||||||
|
shell: msys2 {0}
|
||||||
|
working-directory: ${{runner.workspace}}/build
|
||||||
|
run: make win-zip-dist
|
||||||
|
|
||||||
|
- name: Package NSIS
|
||||||
|
shell: msys2 {0}
|
||||||
|
working-directory: ${{runner.workspace}}/build
|
||||||
|
run: make win-dist
|
||||||
|
|
||||||
|
- name: Upload artifacts
|
||||||
|
uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: Windows Packages (1.1 Branch)
|
||||||
|
path: ${{runner.workspace}}/build/gsmartcontrol-*-win*.*
|
||||||
|
|
||||||
@@ -0,0 +1,88 @@
|
|||||||
|
name: Build - 1.1 Branch (Tier 2 platforms)
|
||||||
|
|
||||||
|
on:
|
||||||
|
# Triggers the workflow on push or pull request events but only for the branch
|
||||||
|
push:
|
||||||
|
branches: [ release/1.1 ]
|
||||||
|
pull_request:
|
||||||
|
branches: [ release/1.1 ]
|
||||||
|
# Allows you to run this workflow manually from the Actions tab.
|
||||||
|
# This does not work for non-default branches, that's why we use the push / pull_request triggers above.
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
env:
|
||||||
|
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
|
||||||
|
BUILD_TYPE: RelWithDebInfo
|
||||||
|
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
|
||||||
|
macos-homebrew:
|
||||||
|
runs-on: macos-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
ref: release/1.1
|
||||||
|
|
||||||
|
- name: Install Dependencies
|
||||||
|
run: brew install pkg-config gtkmm3 pcre automake autoconf
|
||||||
|
|
||||||
|
- name: Run Autogen
|
||||||
|
shell: bash
|
||||||
|
working-directory: ${{runner.workspace}}/gsmartcontrol
|
||||||
|
run: ./autogen.sh
|
||||||
|
|
||||||
|
- name: Create Build Directory
|
||||||
|
shell: bash
|
||||||
|
run: mkdir -p ${{runner.workspace}}/build
|
||||||
|
|
||||||
|
- name: Configure
|
||||||
|
shell: bash
|
||||||
|
working-directory: ${{runner.workspace}}/build
|
||||||
|
run: >
|
||||||
|
$GITHUB_WORKSPACE/configure --prefix=/usr --enable-tests
|
||||||
|
|
||||||
|
- name: Build
|
||||||
|
shell: bash
|
||||||
|
working-directory: ${{runner.workspace}}/build
|
||||||
|
run: make
|
||||||
|
|
||||||
|
- name: Test
|
||||||
|
working-directory: ${{runner.workspace}}/build
|
||||||
|
shell: bash
|
||||||
|
run: make check
|
||||||
|
|
||||||
|
|
||||||
|
freebsd:
|
||||||
|
# Disable for now, make cannot find file2csource.sh for some reason.
|
||||||
|
if: ${{ false }} # disable for now
|
||||||
|
|
||||||
|
runs-on: macos-10.15
|
||||||
|
# env:
|
||||||
|
# variables to pass to VM
|
||||||
|
# MYTOKEN : ${{ secrets.MYTOKEN }}
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
ref: release/1.1
|
||||||
|
|
||||||
|
- name: Build and test in FreeBSD
|
||||||
|
id: test
|
||||||
|
uses: vmactions/freebsd-vm@v0.1.5
|
||||||
|
with:
|
||||||
|
usesh: true
|
||||||
|
mem: 2048
|
||||||
|
prepare: >
|
||||||
|
pkg install -y pkgconf gtkmm30 gettext pcre libiconv autoconf automake
|
||||||
|
|
||||||
|
run: >
|
||||||
|
./autogen.sh
|
||||||
|
|
||||||
|
mkdir build && cd build
|
||||||
|
|
||||||
|
../configure --prefix=/usr --enable-tests
|
||||||
|
|
||||||
|
make
|
||||||
|
|
||||||
|
make check
|
||||||
@@ -0,0 +1,80 @@
|
|||||||
|
|
||||||
|
# Builds
|
||||||
|
/0*
|
||||||
|
/doxygen_doc*
|
||||||
|
/win32*
|
||||||
|
/win64*
|
||||||
|
/cmake-build-*
|
||||||
|
|
||||||
|
# Build system artifacts
|
||||||
|
/autom4te.cache
|
||||||
|
/aclocal.m4
|
||||||
|
/ar-lib
|
||||||
|
/compilation_flags
|
||||||
|
/compile
|
||||||
|
/config.guess
|
||||||
|
/config.h
|
||||||
|
/config.h.in
|
||||||
|
/config.log
|
||||||
|
/config.status
|
||||||
|
/config.sub
|
||||||
|
/configure
|
||||||
|
/depcomp
|
||||||
|
/gsmartcontrol.spec
|
||||||
|
/install-sh
|
||||||
|
Makefile
|
||||||
|
Makefile.in
|
||||||
|
/missing
|
||||||
|
/stamp-h1
|
||||||
|
/version.txt
|
||||||
|
*.glade.cpp
|
||||||
|
*.ui.cpp
|
||||||
|
*.txt.cpp
|
||||||
|
/data/gsmartcontrol.appdata.xml
|
||||||
|
/data/gsmartcontrol.desktop
|
||||||
|
/data/gsmartcontrol-root
|
||||||
|
/data/nsis/distribution.txt
|
||||||
|
/data/nsis/gsmartcontrol.nsi
|
||||||
|
/debian.dist/changelog
|
||||||
|
/src/gsc_winres.rc
|
||||||
|
/src/gsmartcontrol.exe.manifest
|
||||||
|
.deps
|
||||||
|
|
||||||
|
|
||||||
|
# Non-project files
|
||||||
|
/TODO
|
||||||
|
|
||||||
|
# Doxygen generated
|
||||||
|
/doxygen_doc
|
||||||
|
|
||||||
|
# OS-generated files
|
||||||
|
.DS_Store
|
||||||
|
.DS_Store?
|
||||||
|
._*
|
||||||
|
.Spotlight-V100
|
||||||
|
.Trashes
|
||||||
|
Icon?
|
||||||
|
ehthumbs.db
|
||||||
|
Thumbs.db
|
||||||
|
|
||||||
|
# IDE
|
||||||
|
/.vs
|
||||||
|
/*.pcs
|
||||||
|
/.idea
|
||||||
|
/CMakeLists.txt.user
|
||||||
|
/.kdev4
|
||||||
|
|
||||||
|
# Translations
|
||||||
|
/po/boldquot.sed
|
||||||
|
/po/en@boldquot.header
|
||||||
|
/po/en@quot.header
|
||||||
|
/po/insert-header.sin
|
||||||
|
/po/Makevars.template
|
||||||
|
/po/quot.sed
|
||||||
|
/po/remove-potcdate.sin
|
||||||
|
/po/Rules-quot
|
||||||
|
/po/gsmartcontrol.pot
|
||||||
|
/po/*.gmo
|
||||||
|
|
||||||
|
# Backup files
|
||||||
|
*~
|
||||||
@@ -0,0 +1,306 @@
|
|||||||
|
|
||||||
|
# Add autoconf.m4 directory to local macro search path
|
||||||
|
ACLOCAL_AMFLAGS = -I autoconf.m4
|
||||||
|
|
||||||
|
SUBDIRS = data debian.dist src
|
||||||
|
|
||||||
|
|
||||||
|
# These files are actually needed for compilation.
|
||||||
|
noinst_DATA = AUTHORS.txt LICENSE_gsmartcontrol.txt
|
||||||
|
|
||||||
|
|
||||||
|
# For the files to be bundled with the distribution, specify them in
|
||||||
|
# one of the following.
|
||||||
|
|
||||||
|
# These will be installed into docdir.
|
||||||
|
# Some of these files are actually needed for compilation (see src/res/Makefile.am).
|
||||||
|
dist_doc_DATA = AUTHORS.txt ChangeLog NEWS README.txt \
|
||||||
|
LICENSE_boost_1_0.txt \
|
||||||
|
LICENSE_bsd-ac.txt \
|
||||||
|
LICENSE_bsd-ucb.txt \
|
||||||
|
LICENSE_gpl2.txt \
|
||||||
|
LICENSE_gpl3.txt \
|
||||||
|
LICENSE_gsmartcontrol.txt \
|
||||||
|
LICENSE_hz.txt \
|
||||||
|
LICENSE_unlicense.txt \
|
||||||
|
LICENSE_zlib.txt
|
||||||
|
|
||||||
|
|
||||||
|
# nobase_ preserves their directory names.
|
||||||
|
nobase_dist_doc_DATA = contrib/cron-based_noadmin/README \
|
||||||
|
contrib/cron-based_noadmin/cron_gather_smart.sh \
|
||||||
|
contrib/cron-based_noadmin/crontab.example \
|
||||||
|
contrib/cron-based_noadmin/smartctl_subst.sh
|
||||||
|
|
||||||
|
|
||||||
|
# Extra files bundled with distribution.
|
||||||
|
# file2csource.sh is needed for building but not installed.
|
||||||
|
EXTRA_DIST = COPYING INSTALL configure autogen.sh \
|
||||||
|
gsmartcontrol.kdev4 \
|
||||||
|
file2csource.sh \
|
||||||
|
gsmartcontrol.spec
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# rpm support
|
||||||
|
|
||||||
|
src-rpm: dist
|
||||||
|
rpmbuild -ts $(distdir).tar.bz2
|
||||||
|
|
||||||
|
|
||||||
|
# NSIS installer support.
|
||||||
|
# Requires installed NSIS, smartctl-nc.exe, smartctl.exe, update-smart-drivedb.exe.
|
||||||
|
# Gtkmm and pcre dlls are required if linking against them.
|
||||||
|
# dos2unix on build machine.
|
||||||
|
# Execute only with win32 build present.
|
||||||
|
|
||||||
|
WIN_ZIP_NAME = $(PACKAGE)-$(VERSION)-@WINDOWS_SUFFIX@
|
||||||
|
|
||||||
|
|
||||||
|
win-dist: win-dist-nocleanup win-dist-cleanup
|
||||||
|
|
||||||
|
win-dist-nocleanup: win-dist-prepare nsis-dist-nocleanup win-zip-dist-nocleanup
|
||||||
|
|
||||||
|
win-dist-cleanup: win-zip-dist-cleanup nsis-dist-cleanup
|
||||||
|
rm -rf win-dist
|
||||||
|
|
||||||
|
win-dist-clean: win-dist-cleanup
|
||||||
|
rm -f gsmartcontrol-*.exe gsmartcontrol-*.zip
|
||||||
|
|
||||||
|
|
||||||
|
win-dist-prepare-all: nsis-dist-prepare win-zip-dist-prepare
|
||||||
|
|
||||||
|
|
||||||
|
# All of GTK+.
|
||||||
|
# This includes both MSYS and OpenSUSE/mingw patterns.
|
||||||
|
GTK_BIN_FILES = gdk-pixbuf-query-loaders.exe \
|
||||||
|
gspawn-win32-helper-console.exe \
|
||||||
|
gspawn-win32-helper.exe \
|
||||||
|
gspawn-win64-helper-console.exe \
|
||||||
|
gspawn-win64-helper.exe \
|
||||||
|
gtk-query-immodules-3.0.exe \
|
||||||
|
gtk-update-icon-cache-3.0.exe \
|
||||||
|
libatk-1.*.dll \
|
||||||
|
libatkmm-1.*.dll \
|
||||||
|
libbrotlidec.dll \
|
||||||
|
libbrotlicommon.dll \
|
||||||
|
libbz2-*.dll \
|
||||||
|
libcairo-*.dll \
|
||||||
|
libcairomm-1*.dll \
|
||||||
|
libdatrie-*.dll \
|
||||||
|
libepoxy-*.dll \
|
||||||
|
libffi-*.dll \
|
||||||
|
libexpat-*.dll \
|
||||||
|
libfontconfig-*.dll \
|
||||||
|
libfreetype-*.dll \
|
||||||
|
libfribidi-*.dll \
|
||||||
|
libgdk-3*.dll \
|
||||||
|
libgdk_pixbuf-2.*.dll \
|
||||||
|
libgdkmm-3.*.dll \
|
||||||
|
libgio-2.*.dll \
|
||||||
|
libgiomm-2.*.dll \
|
||||||
|
libglib-2.*.dll \
|
||||||
|
libglibmm*2.*.dll \
|
||||||
|
libgmodule-2.*.dll \
|
||||||
|
libgobject-2.*.dll \
|
||||||
|
libgraphite*.dll \
|
||||||
|
libgthread-2.*.dll \
|
||||||
|
libgtk-3*.dll \
|
||||||
|
libgtkmm-3*.dll \
|
||||||
|
libharfbuzz*.dll \
|
||||||
|
libiconv-*.dll \
|
||||||
|
libintl*.dll \
|
||||||
|
libjasper*.dll \
|
||||||
|
libjpeg*.dll \
|
||||||
|
liblzma*.dll \
|
||||||
|
libpango*-1.*.dll \
|
||||||
|
libpixman*.dll \
|
||||||
|
libpng16-*.dll \
|
||||||
|
libsigc-2.*.dll \
|
||||||
|
libssp-*.dll \
|
||||||
|
libstdc++-*.dll \
|
||||||
|
libthai-*.dll \
|
||||||
|
libtiff-*.dll \
|
||||||
|
libwinpthread-*.dll \
|
||||||
|
libxml2-*.dll \
|
||||||
|
zlib1.dll \
|
||||||
|
libz.dll
|
||||||
|
|
||||||
|
|
||||||
|
# Don't strip smartctl (it will only change the header), and
|
||||||
|
# don't strip update-smart-drivedb (it will break its CRC check).
|
||||||
|
win-dist-prepare: all
|
||||||
|
$(MKDIR_P) win-dist
|
||||||
|
cp $(top_srcdir)/data/icon_*.png win-dist/
|
||||||
|
|
||||||
|
$(MKDIR_P) win-dist/doc
|
||||||
|
cp data/nsis/distribution.txt win-dist/doc/
|
||||||
|
cp $(top_srcdir)/AUTHORS.txt $(top_srcdir)/LICENSE_* $(top_srcdir)/README.txt win-dist/doc/
|
||||||
|
cp $(top_srcdir)/NEWS win-dist/doc/NEWS.txt
|
||||||
|
|
||||||
|
# The manifest is already embedded in exe
|
||||||
|
# cp src/gsmartcontrol.exe src/gsmartcontrol.exe.manifest win-dist/
|
||||||
|
cp src/gsmartcontrol.exe win-dist/
|
||||||
|
|
||||||
|
unix2dos win-dist/doc/*.txt
|
||||||
|
|
||||||
|
cp -p "@WINDOWS_SYSROOT@"/bin/drivedb.h win-dist/
|
||||||
|
cp -p "@WINDOWS_SYSROOT@"/bin/smartctl-nc.exe win-dist/
|
||||||
|
cp -p "@WINDOWS_SYSROOT@"/bin/smartctl.exe win-dist/
|
||||||
|
cp -p "@WINDOWS_SYSROOT@"/bin/update-smart-drivedb.exe win-dist/
|
||||||
|
|
||||||
|
for file in $(GTK_BIN_FILES); do for f in "@WINDOWS_SYSROOT@/bin/"$$file; do if test -f "$${f}"; then cp -p "$${f}" win-dist/; fi; done; done
|
||||||
|
|
||||||
|
# <prefix>/etc/gtk-3.0/ should contain settings.ini with a win32 theme.
|
||||||
|
$(MKDIR_P) win-dist/etc
|
||||||
|
$(MKDIR_P) win-dist/etc/fonts
|
||||||
|
$(MKDIR_P) win-dist/etc/gtk-3.0
|
||||||
|
cp -p "@WINDOWS_SYSROOT@"/etc/fonts/fonts.conf win-dist/etc/fonts/
|
||||||
|
# cp -p "@WINDOWS_SYSROOT@"/etc/gtk-3.0/im-multipress.conf win-dist/etc/gtk-3.0/
|
||||||
|
# cp -p "@WINDOWS_SYSROOT@"/etc/gtk-3.0/settings.ini win-dist/etc/gtk-3.0/
|
||||||
|
|
||||||
|
# Without loaders, images and native file dialog do not work.
|
||||||
|
$(MKDIR_P) win-dist/lib
|
||||||
|
$(MKDIR_P) win-dist/lib/gdk-pixbuf-2.0
|
||||||
|
cp -p -r "@WINDOWS_SYSROOT@"/lib/gdk-pixbuf-2.0/2.10.0 win-dist/lib/gdk-pixbuf-2.0
|
||||||
|
|
||||||
|
$(MKDIR_P) win-dist/share
|
||||||
|
cp -p -r "@WINDOWS_SYSROOT@"/share/themes win-dist/share
|
||||||
|
|
||||||
|
# needed for file chooser
|
||||||
|
$(MKDIR_P) win-dist/share/glib-2.0
|
||||||
|
cp -p -r "@WINDOWS_SYSROOT@"/share/glib-2.0/schemas win-dist/share/glib-2.0
|
||||||
|
|
||||||
|
# $(MKDIR_P) win-dist/share/icons
|
||||||
|
# cp -p "@WINDOWS_SYSROOT@"/share/icons/hicolor win-dist/share/icons
|
||||||
|
|
||||||
|
# Needed for window titlebar (if using client-side decorations),
|
||||||
|
# tree sorting indicators, GUI icons.
|
||||||
|
# Note that the current Adwaita uses "ui" directory, while win32 theme expects "actions".
|
||||||
|
$(MKDIR_P) win-dist/share/icons/Adwaita
|
||||||
|
cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/index.theme win-dist/share/icons/Adwaita
|
||||||
|
$(MKDIR_P) win-dist/share/icons/Adwaita/16x16/actions
|
||||||
|
cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/16x16/ui/window-close-symbolic.symbolic.png win-dist/share/icons/Adwaita/16x16/actions
|
||||||
|
cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/16x16/ui/window-maximize-symbolic.symbolic.png win-dist/share/icons/Adwaita/16x16/actions
|
||||||
|
cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/16x16/ui/window-minimize-symbolic.symbolic.png win-dist/share/icons/Adwaita/16x16/actions
|
||||||
|
cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/16x16/ui/window-restore-symbolic.symbolic.png win-dist/share/icons/Adwaita/16x16/actions
|
||||||
|
cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/16x16/ui/pan-down-symbolic.symbolic.png win-dist/share/icons/Adwaita/16x16/actions
|
||||||
|
cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/16x16/ui/pan-up-symbolic.symbolic.png win-dist/share/icons/Adwaita/16x16/actions
|
||||||
|
$(MKDIR_P) win-dist/share/icons/Adwaita/16x16/status
|
||||||
|
cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/16x16/status/dialog-information-symbolic.symbolic.png win-dist/share/icons/Adwaita/16x16/status
|
||||||
|
$(MKDIR_P) win-dist/share/icons/Adwaita/16x16/devices
|
||||||
|
cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/16x16/devices/drive-harddisk.png win-dist/share/icons/Adwaita/16x16/devices
|
||||||
|
cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/16x16/devices/media-optical.png win-dist/share/icons/Adwaita/16x16/devices
|
||||||
|
# $(MKDIR_P) win-dist/share/icons/Adwaita/22x22/status
|
||||||
|
# cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/22x22/status/dialog-information-symbolic.symbolic.png win-dist/share/icons/Adwaita/22x22/status
|
||||||
|
$(MKDIR_P) win-dist/share/icons/Adwaita/24x24/actions
|
||||||
|
cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/24x24/ui/window-close-symbolic.symbolic.png win-dist/share/icons/Adwaita/24x24/actions
|
||||||
|
cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/24x24/ui/window-maximize-symbolic.symbolic.png win-dist/share/icons/Adwaita/24x24/actions
|
||||||
|
cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/24x24/ui/window-minimize-symbolic.symbolic.png win-dist/share/icons/Adwaita/24x24/actions
|
||||||
|
cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/24x24/ui/window-restore-symbolic.symbolic.png win-dist/share/icons/Adwaita/24x24/actions
|
||||||
|
cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/24x24/ui/pan-down-symbolic.symbolic.png win-dist/share/icons/Adwaita/24x24/actions
|
||||||
|
cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/24x24/ui/pan-up-symbolic.symbolic.png win-dist/share/icons/Adwaita/24x24/actions
|
||||||
|
$(MKDIR_P) win-dist/share/icons/Adwaita/24x24/devices
|
||||||
|
cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/24x24/devices/drive-harddisk.png win-dist/share/icons/Adwaita/24x24/devices
|
||||||
|
cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/24x24/devices/media-optical.png win-dist/share/icons/Adwaita/24x24/devices
|
||||||
|
$(MKDIR_P) win-dist/share/icons/Adwaita/24x24/status
|
||||||
|
cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/24x24/status/dialog-information-symbolic.symbolic.png win-dist/share/icons/Adwaita/24x24/status
|
||||||
|
$(MKDIR_P) win-dist/share/icons/Adwaita/32x32/actions
|
||||||
|
cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/32x32/ui/window-close-symbolic.symbolic.png win-dist/share/icons/Adwaita/32x32/actions
|
||||||
|
cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/32x32/ui/window-maximize-symbolic.symbolic.png win-dist/share/icons/Adwaita/32x32/actions
|
||||||
|
cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/32x32/ui/window-minimize-symbolic.symbolic.png win-dist/share/icons/Adwaita/32x32/actions
|
||||||
|
cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/32x32/ui/window-restore-symbolic.symbolic.png win-dist/share/icons/Adwaita/32x32/actions
|
||||||
|
cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/32x32/ui/pan-down-symbolic.symbolic.png win-dist/share/icons/Adwaita/32x32/actions
|
||||||
|
cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/32x32/ui/pan-up-symbolic.symbolic.png win-dist/share/icons/Adwaita/32x32/actions
|
||||||
|
$(MKDIR_P) win-dist/share/icons/Adwaita/32x32/devices
|
||||||
|
cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/32x32/devices/drive-harddisk.png win-dist/share/icons/Adwaita/32x32/devices
|
||||||
|
cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/32x32/devices/media-optical.png win-dist/share/icons/Adwaita/32x32/devices
|
||||||
|
$(MKDIR_P) win-dist/share/icons/Adwaita/32x32/status
|
||||||
|
cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/32x32/status/dialog-information-symbolic.symbolic.png win-dist/share/icons/Adwaita/32x32/status
|
||||||
|
$(MKDIR_P) win-dist/share/icons/Adwaita/48x48/actions
|
||||||
|
cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/48x48/ui/window-close-symbolic.symbolic.png win-dist/share/icons/Adwaita/48x48/actions
|
||||||
|
cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/48x48/ui/window-maximize-symbolic.symbolic.png win-dist/share/icons/Adwaita/48x48/actions
|
||||||
|
cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/48x48/ui/window-minimize-symbolic.symbolic.png win-dist/share/icons/Adwaita/48x48/actions
|
||||||
|
cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/48x48/ui/window-restore-symbolic.symbolic.png win-dist/share/icons/Adwaita/48x48/actions
|
||||||
|
cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/48x48/ui/pan-down-symbolic.symbolic.png win-dist/share/icons/Adwaita/48x48/actions
|
||||||
|
cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/48x48/ui/pan-up-symbolic.symbolic.png win-dist/share/icons/Adwaita/48x48/actions
|
||||||
|
$(MKDIR_P) win-dist/share/icons/Adwaita/48x48/devices
|
||||||
|
cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/48x48/devices/drive-harddisk.png win-dist/share/icons/Adwaita/48x48/devices
|
||||||
|
cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/48x48/devices/media-optical.png win-dist/share/icons/Adwaita/48x48/devices
|
||||||
|
$(MKDIR_P) win-dist/share/icons/Adwaita/48x48/status
|
||||||
|
cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/48x48/status/dialog-information-symbolic.symbolic.png win-dist/share/icons/Adwaita/48x48/status
|
||||||
|
$(MKDIR_P) win-dist/share/icons/Adwaita/64x64/actions
|
||||||
|
cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/64x64/ui/window-close-symbolic.symbolic.png win-dist/share/icons/Adwaita/64x64/actions
|
||||||
|
cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/64x64/ui/window-maximize-symbolic.symbolic.png win-dist/share/icons/Adwaita/64x64/actions
|
||||||
|
cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/64x64/ui/window-minimize-symbolic.symbolic.png win-dist/share/icons/Adwaita/64x64/actions
|
||||||
|
cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/64x64/ui/window-restore-symbolic.symbolic.png win-dist/share/icons/Adwaita/64x64/actions
|
||||||
|
cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/64x64/ui/pan-down-symbolic.symbolic.png win-dist/share/icons/Adwaita/64x64/actions
|
||||||
|
cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/64x64/ui/pan-up-symbolic.symbolic.png win-dist/share/icons/Adwaita/64x64/actions
|
||||||
|
# $(MKDIR_P) win-dist/share/icons/Adwaita/64x64/devices
|
||||||
|
# cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/64x64/devices/drive-harddisk.png win-dist/share/icons/Adwaita/64x64/devices
|
||||||
|
# cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/64x64/devices/media-optical.png win-dist/share/icons/Adwaita/64x64/devices
|
||||||
|
$(MKDIR_P) win-dist/share/icons/Adwaita/64x64/status
|
||||||
|
cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/64x64/status/dialog-information-symbolic.symbolic.png win-dist/share/icons/Adwaita/64x64/status
|
||||||
|
$(MKDIR_P) win-dist/share/icons/Adwaita/96x96/actions
|
||||||
|
cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/96x96/ui/window-close-symbolic.symbolic.png win-dist/share/icons/Adwaita/96x96/actions
|
||||||
|
cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/96x96/ui/window-maximize-symbolic.symbolic.png win-dist/share/icons/Adwaita/96x96/actions
|
||||||
|
cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/96x96/ui/window-minimize-symbolic.symbolic.png win-dist/share/icons/Adwaita/96x96/actions
|
||||||
|
cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/96x96/ui/window-restore-symbolic.symbolic.png win-dist/share/icons/Adwaita/96x96/actions
|
||||||
|
cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/96x96/ui/pan-down-symbolic.symbolic.png win-dist/share/icons/Adwaita/96x96/actions
|
||||||
|
cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/96x96/ui/pan-up-symbolic.symbolic.png win-dist/share/icons/Adwaita/96x96/actions
|
||||||
|
# $(MKDIR_P) win-dist/share/icons/Adwaita/96x96/devices
|
||||||
|
# cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/96x96/devices/drive-harddisk.png win-dist/share/icons/Adwaita/96x96/devices
|
||||||
|
# cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/96x96/devices/media-optical.png win-dist/share/icons/Adwaita/96x96/devices
|
||||||
|
$(MKDIR_P) win-dist/share/icons/Adwaita/96x96/status
|
||||||
|
cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/96x96/status/dialog-information-symbolic.symbolic.png win-dist/share/icons/Adwaita/96x96/status
|
||||||
|
# $(MKDIR_P) win-dist/share/icons/Adwaita/256x256/devices
|
||||||
|
# cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/256x256/devices/drive-harddisk.png win-dist/share/icons/Adwaita/256x256/devices
|
||||||
|
# cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/256x256/devices/media-optical.png win-dist/share/icons/Adwaita/256x256/devices
|
||||||
|
# $(MKDIR_P) win-dist/share/icons/Adwaita/256x256/status
|
||||||
|
# cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/256x256/status/dialog-information-symbolic.symbolic.png win-dist/share/icons/Adwaita/256x256/status
|
||||||
|
$(MKDIR_P) win-dist/share/icons/Adwaita/512x512/devices
|
||||||
|
cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/512x512/devices/drive-harddisk.png win-dist/share/icons/Adwaita/512x512/devices
|
||||||
|
cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/512x512/devices/media-optical.png win-dist/share/icons/Adwaita/512x512/devices
|
||||||
|
|
||||||
|
# other
|
||||||
|
cp -p "@WINDOWS_SYSROOT@"/bin/libgcc_s_*.dll win-dist/
|
||||||
|
cp -p "@WINDOWS_SYSROOT@"/bin/libpcre-1.dll win-dist/
|
||||||
|
cp -p "@WINDOWS_SYSROOT@"/bin/libpcrecpp-0.dll win-dist/
|
||||||
|
|
||||||
|
|
||||||
|
nsis-dist-prepare: win-dist-prepare
|
||||||
|
cp -a win-dist nsis-dist
|
||||||
|
cp $(top_srcdir)/data/gsmartcontrol.ico nsis-dist/
|
||||||
|
cp data/nsis/*.nsi $(top_srcdir)/data/nsis/nsi_* nsis-dist/
|
||||||
|
unix2dos nsis-dist/*.nsi
|
||||||
|
|
||||||
|
nsis-dist-nocleanup: nsis-dist-prepare
|
||||||
|
cd nsis-dist && @NSIS_EXEC@ gsmartcontrol.nsi
|
||||||
|
mv nsis-dist/$(PACKAGE)-$(VERSION)-@WINDOWS_SUFFIX@.exe .
|
||||||
|
|
||||||
|
nsis-dist-cleanup:
|
||||||
|
rm -rf nsis-dist
|
||||||
|
|
||||||
|
nsis-dist: nsis-dist-prepare nsis-dist-nocleanup nsis-dist-cleanup
|
||||||
|
|
||||||
|
|
||||||
|
win-zip-dist-prepare: win-dist-prepare
|
||||||
|
cp -a win-dist $(WIN_ZIP_NAME)
|
||||||
|
|
||||||
|
win-zip-dist-nocleanup: win-zip-dist-prepare
|
||||||
|
zip -9r $(WIN_ZIP_NAME).zip $(WIN_ZIP_NAME)
|
||||||
|
# Only when cross-compiling:
|
||||||
|
# zip -K -9r $(WIN_ZIP_NAME).zip $(WIN_ZIP_NAME)
|
||||||
|
|
||||||
|
win-zip-dist-cleanup:
|
||||||
|
rm -rf $(WIN_ZIP_NAME)
|
||||||
|
|
||||||
|
win-zip-dist: win-zip-dist-prepare win-zip-dist-nocleanup win-zip-dist-cleanup
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
distclean-local: win-dist-clean
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,3 +1,23 @@
|
|||||||
|
Version 1.1.4, released on 2022-02-04
|
||||||
|
Fixed a crash when trying to render main window icons which have incomplete
|
||||||
|
data; this fixes a rare crash when scanning devices (#13).
|
||||||
|
Fixed rendering compatibility issues with newer GTK3 versions.
|
||||||
|
Fixed build system conflict with C++20 version header (#14).
|
||||||
|
Fixed "Running command ..." dialog floating above windows of other
|
||||||
|
applications (#17).
|
||||||
|
Fixed a crash when system locale is set to invalid locale.
|
||||||
|
Support Finnish decimal separator (backported from the Debian package)
|
||||||
|
(#23).
|
||||||
|
Set LC_NUMERIC=C for smartctl process to avoid locale-dependent number
|
||||||
|
formatting (#23).
|
||||||
|
Fixed printing all GTK messages as warnings; the messages are sorted by
|
||||||
|
severity now.
|
||||||
|
Add current time to default filename in Save Output dialog.
|
||||||
|
Support macos stat command in file2csource.sh.
|
||||||
|
Fixed a few typos (backported from the Debian package).
|
||||||
|
Windows port now uses Adwaita theme due to issues with win32 theme.
|
||||||
|
Windows port is dpi-aware now.
|
||||||
|
|
||||||
Version 1.1.3, released on 2017-11-12
|
Version 1.1.3, released on 2017-11-12
|
||||||
Fixed gsmartcontrol-root not launching if GDK_* variables are not set.
|
Fixed gsmartcontrol-root not launching if GDK_* variables are not set.
|
||||||
|
|
||||||
@@ -25,7 +25,7 @@ behind such controllers can be manually added to GSmartControl using
|
|||||||
"Add Device..." functionality or --add-device command-line option.
|
"Add Device..." functionality or --add-device command-line option.
|
||||||
See https://www.smartmontools.org/wiki/Supported_RAID-Controllers .
|
See https://www.smartmontools.org/wiki/Supported_RAID-Controllers .
|
||||||
|
|
||||||
https://gsmartcontrol.sourceforge.io/
|
https://gsmartcontrol.shaduri.dev
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -48,6 +48,7 @@ case $type in
|
|||||||
--enable-optimize-options --enable-tests --host=i686-w64-mingw32" ;;
|
--enable-optimize-options --enable-tests --host=i686-w64-mingw32" ;;
|
||||||
win32-cross-debug)
|
win32-cross-debug)
|
||||||
flags="PATH=\"/usr/i686-w64-mingw32/bin:/usr/i686-w64-mingw32/sys-root/mingw/bin:$PATH\" \
|
flags="PATH=\"/usr/i686-w64-mingw32/bin:/usr/i686-w64-mingw32/sys-root/mingw/bin:$PATH\" \
|
||||||
|
--with-windows-sysroot=/usr/i686-w64-mingw32/sys-root/mingw \
|
||||||
--enable-debug-options --enable-tests --host=i686-w64-mingw32" ;;
|
--enable-debug-options --enable-tests --host=i686-w64-mingw32" ;;
|
||||||
win64-cross)
|
win64-cross)
|
||||||
flags="PATH=\"/usr/x86_64-w64-mingw32/bin:/usr/x86_64-w64-mingw32/sys-root/mingw/bin:$PATH\" \
|
flags="PATH=\"/usr/x86_64-w64-mingw32/bin:/usr/x86_64-w64-mingw32/sys-root/mingw/bin:$PATH\" \
|
||||||
@@ -55,6 +56,7 @@ case $type in
|
|||||||
--enable-optimize-options --enable-tests --host=x86_64-w64-mingw32" ;;
|
--enable-optimize-options --enable-tests --host=x86_64-w64-mingw32" ;;
|
||||||
win64-cross-debug)
|
win64-cross-debug)
|
||||||
flags="PATH=\"/usr/x86_64-w64-mingw32/bin:/usr/x86_64-w64-mingw32/sys-root/mingw/bin:$PATH\" \
|
flags="PATH=\"/usr/x86_64-w64-mingw32/bin:/usr/x86_64-w64-mingw32/sys-root/mingw/bin:$PATH\" \
|
||||||
|
--with-windows-sysroot=/usr/x86_64-w64-mingw32/sys-root/mingw \
|
||||||
--enable-debug-options --enable-tests --host=x86_64-w64-mingw32" ;;
|
--enable-debug-options --enable-tests --host=x86_64-w64-mingw32" ;;
|
||||||
|
|
||||||
win32-msys)
|
win32-msys)
|
||||||
@@ -63,6 +65,7 @@ case $type in
|
|||||||
--enable-optimize-options --enable-tests --host=i686-w64-mingw32" ;;
|
--enable-optimize-options --enable-tests --host=i686-w64-mingw32" ;;
|
||||||
win32-msys-debug)
|
win32-msys-debug)
|
||||||
flags="PATH=\"/mingw32/i686-w64-mingw32:/mingw32/bin:$PATH\" \
|
flags="PATH=\"/mingw32/i686-w64-mingw32:/mingw32/bin:$PATH\" \
|
||||||
|
--with-windows-sysroot=/mingw32 \
|
||||||
--enable-debug-options --enable-tests --host=i686-w64-mingw32" ;;
|
--enable-debug-options --enable-tests --host=i686-w64-mingw32" ;;
|
||||||
win64-msys)
|
win64-msys)
|
||||||
flags="PATH=\"/mingw64/x86_64-w64-mingw32:/mingw64/bin:$PATH\" \
|
flags="PATH=\"/mingw64/x86_64-w64-mingw32:/mingw64/bin:$PATH\" \
|
||||||
@@ -70,6 +73,7 @@ case $type in
|
|||||||
--enable-optimize-options --enable-tests --host=x86_64-w64-mingw32" ;;
|
--enable-optimize-options --enable-tests --host=x86_64-w64-mingw32" ;;
|
||||||
win64-msys-debug)
|
win64-msys-debug)
|
||||||
flags="PATH=\"/mingw64/x86_64-w64-mingw32:/mingw64/bin:$PATH\" \
|
flags="PATH=\"/mingw64/x86_64-w64-mingw32:/mingw64/bin:$PATH\" \
|
||||||
|
--with-windows-sysroot=/mingw64 \
|
||||||
--enable-debug-options --enable-tests --host=x86_64-w64-mingw32" ;;
|
--enable-debug-options --enable-tests --host=x86_64-w64-mingw32" ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
AC_INIT([GSmartControl],[1.1.3],[],[gsmartcontrol])
|
AC_INIT([GSmartControl],[1.1.4],[],[gsmartcontrol])
|
||||||
|
|
||||||
AC_CONFIG_SRCDIR([configure.ac])
|
AC_CONFIG_SRCDIR([configure.ac])
|
||||||
AC_CONFIG_HEADERS([config.h])
|
AC_CONFIG_HEADERS([config.h])
|
||||||
@@ -474,11 +474,7 @@ AC_SUBST(AUTODIRS)
|
|||||||
# -------------------------------------------------------------------------------------
|
# -------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
AC_CONFIG_FILES([ data/gsmartcontrol.desktop data/gsmartcontrol.appdata.xml \
|
AC_CONFIG_FILES([data/gsmartcontrol.desktop data/gsmartcontrol.appdata.xml data/nsis/distribution.txt data/nsis/gsmartcontrol.nsi debian.dist/changelog src/gsc_winres.rc src/gsmartcontrol.exe.manifest gsmartcontrol.spec version.txt compilation_flags])
|
||||||
data/nsis/distribution.txt data/nsis/gsmartcontrol.nsi \
|
|
||||||
debian.dist/changelog \
|
|
||||||
src/gsc_winres.rc src/gsmartcontrol.exe.manifest \
|
|
||||||
gsmartcontrol.spec version compilation_flags ])
|
|
||||||
|
|
||||||
|
|
||||||
AC_CONFIG_FILES([data/gsmartcontrol-root], [chmod +x data/gsmartcontrol-root])
|
AC_CONFIG_FILES([data/gsmartcontrol-root], [chmod +x data/gsmartcontrol-root])
|
||||||
@@ -486,11 +482,7 @@ AC_CONFIG_FILES([data/gsmartcontrol-root], [chmod +x data/gsmartcontrol-root])
|
|||||||
|
|
||||||
# these are all the makefiles to generate
|
# these are all the makefiles to generate
|
||||||
|
|
||||||
AC_CONFIG_FILES([Makefile src/Makefile src/applib/Makefile src/res/Makefile src/hz/Makefile \
|
AC_CONFIG_FILES([Makefile src/Makefile src/applib/Makefile src/res/Makefile src/hz/Makefile src/libdebug/Makefile src/rconfig/Makefile src/rmn/Makefile data/Makefile data/16/Makefile data/22/Makefile data/24/Makefile data/32/Makefile data/48/Makefile data/64/Makefile data/128/Makefile data/256/Makefile data/nsis/Makefile debian.dist/Makefile])
|
||||||
src/libdebug/Makefile src/rconfig/Makefile src/rmn/Makefile \
|
|
||||||
data/Makefile data/16/Makefile data/22/Makefile data/24/Makefile data/32/Makefile \
|
|
||||||
data/48/Makefile data/64/Makefile data/128/Makefile data/256/Makefile data/nsis/Makefile \
|
|
||||||
debian.dist/Makefile])
|
|
||||||
|
|
||||||
|
|
||||||
AC_OUTPUT
|
AC_OUTPUT
|
||||||
|
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 3.4 KiB |
|
Before Width: | Height: | Size: 4.0 KiB After Width: | Height: | Size: 4.0 KiB |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 45 KiB After Width: | Height: | Size: 45 KiB |
|
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 3.8 KiB |
|
Before Width: | Height: | Size: 5.8 KiB After Width: | Height: | Size: 5.8 KiB |
@@ -1,5 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!-- Copyright 2017 GSmartControl developers -->
|
<!-- Copyright 2017 - 2022 GSmartControl developers -->
|
||||||
<component type="desktop">
|
<component type="desktop">
|
||||||
<id>gsmartcontrol</id>
|
<id>gsmartcontrol</id>
|
||||||
<metadata_license>CC0-1.0</metadata_license>
|
<metadata_license>CC0-1.0</metadata_license>
|
||||||
@@ -16,7 +16,7 @@
|
|||||||
</p>
|
</p>
|
||||||
</description>
|
</description>
|
||||||
<launchable type="desktop-id">gsmartcontrol.desktop</launchable>
|
<launchable type="desktop-id">gsmartcontrol.desktop</launchable>
|
||||||
<url type="homepage">https://gsmartcontrol.sourceforge.io</url>
|
<url type="homepage">https://gsmartcontrol.shaduri.dev</url>
|
||||||
<screenshots>
|
<screenshots>
|
||||||
<screenshot type="default">
|
<screenshot type="default">
|
||||||
<caption>Main window</caption>
|
<caption>Main window</caption>
|
||||||
|
Before Width: | Height: | Size: 95 KiB After Width: | Height: | Size: 95 KiB |
|
Before Width: | Height: | Size: 5.0 KiB After Width: | Height: | Size: 5.0 KiB |
|
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 3.2 KiB |
@@ -4,7 +4,7 @@ Version @VERSION@
|
|||||||
|
|
||||||
The latest version of this distribution, as well as the source code of
|
The latest version of this distribution, as well as the source code of
|
||||||
GSmartControl, can be found at
|
GSmartControl, can be found at
|
||||||
https://gsmartcontrol.sourceforge.io
|
https://gsmartcontrol.shaduri.dev
|
||||||
and
|
and
|
||||||
https://sourceforge.net/projects/gsmartcontrol/files/
|
https://sourceforge.net/projects/gsmartcontrol/files/
|
||||||
|
|
||||||
@@ -4,11 +4,13 @@
|
|||||||
; Compatible with NSIS Unicode 2.45.
|
; Compatible with NSIS Unicode 2.45.
|
||||||
; Public Domain
|
; Public Domain
|
||||||
|
|
||||||
|
Unicode True
|
||||||
|
|
||||||
!define PRODUCT_VERSION "@VERSION@"
|
!define PRODUCT_VERSION "@VERSION@"
|
||||||
!define PRODUCT_NAME "GSmartControl"
|
!define PRODUCT_NAME "GSmartControl"
|
||||||
!define PRODUCT_NAME_SMALL "gsmartcontrol"
|
!define PRODUCT_NAME_SMALL "gsmartcontrol"
|
||||||
!define PRODUCT_PUBLISHER "Alexander Shaduri"
|
!define PRODUCT_PUBLISHER "Alexander Shaduri"
|
||||||
!define PRODUCT_WEB_SITE "https://gsmartcontrol.sourceforge.io"
|
!define PRODUCT_WEB_SITE "https://gsmartcontrol.shaduri.dev"
|
||||||
|
|
||||||
;!define PRODUCT_DIR_REGKEY "Software\Microsoft\Windows\CurrentVersion\App Paths\AppMainExe.exe"
|
;!define PRODUCT_DIR_REGKEY "Software\Microsoft\Windows\CurrentVersion\App Paths\AppMainExe.exe"
|
||||||
!define PRODUCT_UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}"
|
!define PRODUCT_UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}"
|
||||||
@@ -134,7 +136,6 @@ SectionIn 1 RO
|
|||||||
SetOverwrite On
|
SetOverwrite On
|
||||||
File *.exe
|
File *.exe
|
||||||
File *.dll
|
File *.dll
|
||||||
File gsmartcontrol.exe.manifest
|
|
||||||
File gsmartcontrol.ico
|
File gsmartcontrol.ico
|
||||||
File icon_*.png
|
File icon_*.png
|
||||||
File drivedb.h
|
File drivedb.h
|
||||||
@@ -145,6 +146,7 @@ SectionIn 1 RO
|
|||||||
; GTK and stuff
|
; GTK and stuff
|
||||||
File /r etc
|
File /r etc
|
||||||
File /r share
|
File /r share
|
||||||
|
File /r lib
|
||||||
|
|
||||||
; Add Shortcuts (this inherits the exe's run permissions)
|
; Add Shortcuts (this inherits the exe's run permissions)
|
||||||
CreateShortCut "$SMPROGRAMS\GSmartControl.lnk" "$INSTDIR\gsmartcontrol.exe" "" \
|
CreateShortCut "$SMPROGRAMS\GSmartControl.lnk" "$INSTDIR\gsmartcontrol.exe" "" \
|
||||||
@@ -226,7 +228,6 @@ Section Uninstall
|
|||||||
|
|
||||||
Delete "$INSTDIR\*.exe"
|
Delete "$INSTDIR\*.exe"
|
||||||
Delete "$INSTDIR\*.dll"
|
Delete "$INSTDIR\*.dll"
|
||||||
Delete "$INSTDIR\gsmartcontrol.exe.manifest"
|
|
||||||
Delete "$INSTDIR\gsmartcontrol.ico"
|
Delete "$INSTDIR\gsmartcontrol.ico"
|
||||||
Delete "$INSTDIR\icon_*.png"
|
Delete "$INSTDIR\icon_*.png"
|
||||||
|
|
||||||
@@ -239,6 +240,7 @@ Section Uninstall
|
|||||||
; GTK and stuff
|
; GTK and stuff
|
||||||
RMDir /r "$INSTDIR\etc"
|
RMDir /r "$INSTDIR\etc"
|
||||||
RMDir /r "$INSTDIR\share"
|
RMDir /r "$INSTDIR\share"
|
||||||
|
RMDir /r "$INSTDIR\lib"
|
||||||
|
|
||||||
; clean up generated stuff
|
; clean up generated stuff
|
||||||
Delete "$INSTDIR\*stdout.txt"
|
Delete "$INSTDIR\*stdout.txt"
|
||||||
|
Before Width: | Height: | Size: 766 B After Width: | Height: | Size: 766 B |
|
Before Width: | Height: | Size: 766 B After Width: | Height: | Size: 766 B |
@@ -0,0 +1 @@
|
|||||||
|
9
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
Source: gsmartcontrol
|
Source: gsmartcontrol
|
||||||
Section: utils
|
Section: utils
|
||||||
Priority: extra
|
Priority: extra
|
||||||
Homepage: https://gsmartcontrol.sourceforge.io/
|
Homepage: https://gsmartcontrol.shaduri.dev
|
||||||
Maintainer: Alexander Shaduri <ashaduriREMOVETHIS@gmail.com>
|
Maintainer: Alexander Shaduri <ashaduriREMOVETHIS@gmail.com>
|
||||||
Build-Depends: debhelper (>= 5), autotools-dev,
|
Build-Depends: debhelper (>= 5), autotools-dev,
|
||||||
libpcre3-dev, libgtkmm-3.0-dev (>= 3.4.0)
|
libpcre3-dev, libgtkmm-3.0-dev (>= 3.4.0)
|
||||||
@@ -1,11 +1,11 @@
|
|||||||
This package was debianized by Alexander Shaduri <ashaduri 'at' gmail.com> on
|
This package was debianized by Alexander Shaduri <ashaduri 'at' gmail.com> on
|
||||||
Sat, 15 Nov 2008 00:12:04 +0400.
|
Sat, 15 Nov 2008 00:12:04 +0400.
|
||||||
|
|
||||||
It was downloaded from <https://gsmartcontrol.sourceforge.io/>
|
It was downloaded from <https://gsmartcontrol.shaduri.dev>
|
||||||
|
|
||||||
Copyright:
|
Copyright:
|
||||||
|
|
||||||
Copyright (C) 2008 - 2017 Alexander Shaduri <ashaduri 'at' gmail.com>
|
Copyright (C) 2008 - 2022 Alexander Shaduri <ashaduri 'at' gmail.com>
|
||||||
|
|
||||||
License:
|
License:
|
||||||
|
|
||||||
@@ -27,6 +27,6 @@ On Debian systems, the complete text of the GNU General
|
|||||||
Public Licenses can be found in `/usr/share/common-licenses/GPL-2' and
|
Public Licenses can be found in `/usr/share/common-licenses/GPL-2' and
|
||||||
`/usr/share/common-licenses/GPL-3'.
|
`/usr/share/common-licenses/GPL-3'.
|
||||||
|
|
||||||
The Debian packaging is (C) 2008 - 2017 Alexander Shaduri <ashaduri 'at' gmail.com> and
|
The Debian packaging is (C) 2008 - 2022 Alexander Shaduri <ashaduri 'at' gmail.com> and
|
||||||
is licensed under the GPLv2 and GPLv3, see above.
|
is licensed under the GPLv2 and GPLv3, see above.
|
||||||
|
|
||||||
@@ -24,7 +24,12 @@ fi
|
|||||||
in_file="$1";
|
in_file="$1";
|
||||||
out_file="$2";
|
out_file="$2";
|
||||||
sym_name="$3";
|
sym_name="$3";
|
||||||
size=`stat -c "%s" "$in_file"`
|
size="";
|
||||||
|
if [[ $OSTYPE == 'darwin'* ]]; then
|
||||||
|
size=`stat "-f%z" "$in_file"`
|
||||||
|
else
|
||||||
|
size=`stat -c "%s" "$in_file"`
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
# header. extern means "global" in this context (needed because const
|
# header. extern means "global" in this context (needed because const
|
||||||
@@ -6,7 +6,7 @@ Name: gsmartcontrol
|
|||||||
Version: @VERSION@
|
Version: @VERSION@
|
||||||
Release: 0
|
Release: 0
|
||||||
License: GPL-2.0 AND GPL-3.0
|
License: GPL-2.0 AND GPL-3.0
|
||||||
Url: https://gsmartcontrol.sourceforge.io/
|
Url: https://gsmartcontrol.shaduri.dev
|
||||||
Vendor: Alexander Shaduri <ashaduri 'at' gmail.com>
|
Vendor: Alexander Shaduri <ashaduri 'at' gmail.com>
|
||||||
# Packager: Alexander Shaduri <ashaduri 'at' gmail.com>
|
# Packager: Alexander Shaduri <ashaduri 'at' gmail.com>
|
||||||
Source: http://sourceforge.net/projects/gsmartcontrol/files/%{version}/%{name}-%{version}.tar.bz2
|
Source: http://sourceforge.net/projects/gsmartcontrol/files/%{version}/%{name}-%{version}.tar.bz2
|
||||||
@@ -1,18 +0,0 @@
|
|||||||
0*
|
|
||||||
*.pcs
|
|
||||||
autom4te.cache
|
|
||||||
Makefile.in
|
|
||||||
configure
|
|
||||||
depcomp
|
|
||||||
config.guess
|
|
||||||
config.sub
|
|
||||||
aclocal.m4
|
|
||||||
config.h.in
|
|
||||||
compile
|
|
||||||
ar-lib
|
|
||||||
missing
|
|
||||||
install-sh
|
|
||||||
*.glade.cpp
|
|
||||||
*.ui.cpp
|
|
||||||
*.txt.cpp
|
|
||||||
.kdev4
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
svn propset svn:ignore -F .svnignore.txt .
|
|
||||||
@@ -1,262 +0,0 @@
|
|||||||
|
|
||||||
# Add autoconf.m4 directory to local macro search path
|
|
||||||
ACLOCAL_AMFLAGS = -I autoconf.m4
|
|
||||||
|
|
||||||
SUBDIRS = data debian.dist src
|
|
||||||
|
|
||||||
|
|
||||||
# These files are actually needed for compilation.
|
|
||||||
noinst_DATA = AUTHORS.txt LICENSE_gsmartcontrol.txt
|
|
||||||
|
|
||||||
|
|
||||||
# For the files to be bundled with the distribution, specify them in
|
|
||||||
# one of the following.
|
|
||||||
|
|
||||||
# These will be installed into docdir.
|
|
||||||
# Some of these files are actually needed for compilation (see src/res/Makefile.am).
|
|
||||||
dist_doc_DATA = AUTHORS.txt ChangeLog NEWS README.txt \
|
|
||||||
LICENSE_boost_1_0.txt \
|
|
||||||
LICENSE_bsd-ac.txt \
|
|
||||||
LICENSE_bsd-ucb.txt \
|
|
||||||
LICENSE_gpl2.txt \
|
|
||||||
LICENSE_gpl3.txt \
|
|
||||||
LICENSE_gsmartcontrol.txt \
|
|
||||||
LICENSE_hz.txt \
|
|
||||||
LICENSE_unlicense.txt \
|
|
||||||
LICENSE_zlib.txt
|
|
||||||
|
|
||||||
|
|
||||||
# nobase_ preserves their directory names.
|
|
||||||
nobase_dist_doc_DATA = contrib/cron-based_noadmin/README \
|
|
||||||
contrib/cron-based_noadmin/cron_gather_smart.sh \
|
|
||||||
contrib/cron-based_noadmin/crontab.example \
|
|
||||||
contrib/cron-based_noadmin/smartctl_subst.sh
|
|
||||||
|
|
||||||
|
|
||||||
# Extra files bundled with distribution.
|
|
||||||
# file2csource.sh is needed for building but not installed.
|
|
||||||
EXTRA_DIST = COPYING INSTALL configure autogen.sh \
|
|
||||||
gsmartcontrol.kdev4 \
|
|
||||||
file2csource.sh \
|
|
||||||
gsmartcontrol.spec
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# rpm support
|
|
||||||
|
|
||||||
src-rpm: dist
|
|
||||||
rpmbuild -ts $(distdir).tar.bz2
|
|
||||||
|
|
||||||
|
|
||||||
# NSIS installer support.
|
|
||||||
# Requires installed NSIS, smartctl-nc.exe, smartctl.exe, update-smart-drivedb.exe.
|
|
||||||
# Gtkmm and pcre dlls are required if linking against them.
|
|
||||||
# dos2unix on build machine.
|
|
||||||
# Execute only with win32 build present.
|
|
||||||
|
|
||||||
WIN_ZIP_NAME = $(PACKAGE)-$(VERSION)-@WINDOWS_SUFFIX@
|
|
||||||
|
|
||||||
|
|
||||||
win-dist: win-dist-nocleanup win-dist-cleanup
|
|
||||||
|
|
||||||
win-dist-nocleanup: win-dist-prepare nsis-dist-nocleanup win-zip-dist-nocleanup
|
|
||||||
|
|
||||||
win-dist-cleanup: win-zip-dist-cleanup nsis-dist-cleanup
|
|
||||||
rm -rf win-dist
|
|
||||||
|
|
||||||
win-dist-clean: win-dist-cleanup
|
|
||||||
rm -f gsmartcontrol-*.exe gsmartcontrol-*.zip
|
|
||||||
|
|
||||||
|
|
||||||
win-dist-prepare-all: nsis-dist-prepare win-zip-dist-prepare
|
|
||||||
|
|
||||||
|
|
||||||
# All of GTK+
|
|
||||||
GTK_BIN_FILES = gdk-pixbuf-query-loaders.exe \
|
|
||||||
gspawn-win32-helper-console.exe \
|
|
||||||
gspawn-win32-helper.exe \
|
|
||||||
gspawn-win64-helper-console.exe \
|
|
||||||
gspawn-win64-helper.exe \
|
|
||||||
gtk-query-immodules-3.0.exe \
|
|
||||||
gtk-update-icon-cache-3.0.exe \
|
|
||||||
libatk-1.*.dll \
|
|
||||||
libatkmm-1.*.dll \
|
|
||||||
libbz2-*.dll \
|
|
||||||
libcairo-*.dll \
|
|
||||||
libcairomm-1*.dll \
|
|
||||||
libepoxy-*.dll \
|
|
||||||
libffi-*.dll \
|
|
||||||
libexpat-*.dll \
|
|
||||||
libfontconfig-*.dll \
|
|
||||||
libfreetype-*.dll \
|
|
||||||
libgdk-3*.dll \
|
|
||||||
libgdk_pixbuf-2.*.dll \
|
|
||||||
libgdkmm-3.*.dll \
|
|
||||||
libgio-2.*.dll \
|
|
||||||
libgiomm-2.*.dll \
|
|
||||||
libglib-2.*.dll \
|
|
||||||
libglibmm*2.*.dll \
|
|
||||||
libgmodule-2.*.dll \
|
|
||||||
libgobject-2.*.dll \
|
|
||||||
libgraphite*.dll \
|
|
||||||
libgthread-2.*.dll \
|
|
||||||
libgtk-3*.dll \
|
|
||||||
libgtkmm-3*.dll \
|
|
||||||
libharfbuzz*.dll \
|
|
||||||
libiconv*.dll \
|
|
||||||
libintl*.dll \
|
|
||||||
libjasper*.dll \
|
|
||||||
libjpeg*.dll \
|
|
||||||
liblzma*.dll \
|
|
||||||
libpango*-1.*.dll \
|
|
||||||
libpixman*.dll \
|
|
||||||
libpng16-*.dll \
|
|
||||||
libsigc-2.*.dll \
|
|
||||||
libstdc++-*.dll \
|
|
||||||
libtiff-*.dll \
|
|
||||||
libwinpthread-*.dll \
|
|
||||||
libxml2-*.dll \
|
|
||||||
zlib1.dll
|
|
||||||
|
|
||||||
|
|
||||||
# Don't strip smartctl (it will only change the header), and
|
|
||||||
# don't strip update-smart-drivedb (it will break its CRC check).
|
|
||||||
win-dist-prepare: all
|
|
||||||
$(MKDIR_P) win-dist
|
|
||||||
cp $(top_srcdir)/data/icon_*.png win-dist/
|
|
||||||
|
|
||||||
$(MKDIR_P) win-dist/doc
|
|
||||||
cp data/nsis/distribution.txt win-dist/doc/
|
|
||||||
cp $(top_srcdir)/AUTHORS.txt $(top_srcdir)/LICENSE_* $(top_srcdir)/README.txt win-dist/doc/
|
|
||||||
cp $(top_srcdir)/NEWS win-dist/doc/NEWS.txt
|
|
||||||
|
|
||||||
cp src/gsmartcontrol.exe src/gsmartcontrol.exe.manifest win-dist/
|
|
||||||
|
|
||||||
unix2dos win-dist/doc/*.txt
|
|
||||||
|
|
||||||
cp -p "@WINDOWS_SYSROOT@"/bin/drivedb.h win-dist/
|
|
||||||
cp -p "@WINDOWS_SYSROOT@"/bin/smartctl-nc.exe win-dist/
|
|
||||||
cp -p "@WINDOWS_SYSROOT@"/bin/smartctl.exe win-dist/
|
|
||||||
cp -p "@WINDOWS_SYSROOT@"/bin/update-smart-drivedb.exe win-dist/
|
|
||||||
|
|
||||||
for file in $(GTK_BIN_FILES); do for f in "@WINDOWS_SYSROOT@/bin/"$$file; do if test -f "$${f}"; then cp -p "$${f}" win-dist/; fi; done; done
|
|
||||||
|
|
||||||
# <prefix>/etc/gtk-3.0/ should contain settings.ini with a win32 theme.
|
|
||||||
$(MKDIR_P) win-dist/etc
|
|
||||||
$(MKDIR_P) win-dist/etc/fonts
|
|
||||||
$(MKDIR_P) win-dist/etc/gtk-3.0
|
|
||||||
cp -p "@WINDOWS_SYSROOT@"/etc/fonts/fonts.conf win-dist/etc/fonts/
|
|
||||||
# cp -p "@WINDOWS_SYSROOT@"/etc/gtk-3.0/im-multipress.conf win-dist/etc/gtk-3.0/
|
|
||||||
cp -p "@WINDOWS_SYSROOT@"/etc/gtk-3.0/settings.ini win-dist/etc/gtk-3.0/
|
|
||||||
|
|
||||||
$(MKDIR_P) win-dist/share
|
|
||||||
cp -p -r "@WINDOWS_SYSROOT@"/share/themes win-dist/share
|
|
||||||
|
|
||||||
# needed for file chooser
|
|
||||||
$(MKDIR_P) win-dist/share/glib-2.0
|
|
||||||
cp -p -r "@WINDOWS_SYSROOT@"/share/glib-2.0/schemas win-dist/share/glib-2.0
|
|
||||||
|
|
||||||
# $(MKDIR_P) win-dist/share/icons
|
|
||||||
# cp -p "@WINDOWS_SYSROOT@"/share/icons/hicolor win-dist/share/icons
|
|
||||||
|
|
||||||
# needed for window titlebar (if using client-side decorations),
|
|
||||||
# tree sorting indicators, GUI icons.
|
|
||||||
$(MKDIR_P) win-dist/share/icons/Adwaita/16x16/actions
|
|
||||||
# cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/16x16/actions/window-close-symbolic.symbolic.png win-dist/share/icons/Adwaita/16x16/actions
|
|
||||||
# cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/16x16/actions/window-maximize-symbolic.symbolic.png win-dist/share/icons/Adwaita/16x16/actions
|
|
||||||
# cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/16x16/actions/window-minimize-symbolic.symbolic.png win-dist/share/icons/Adwaita/16x16/actions
|
|
||||||
# cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/16x16/actions/window-restore-symbolic.symbolic.png win-dist/share/icons/Adwaita/16x16/actions
|
|
||||||
cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/16x16/actions/pan-down-symbolic.symbolic.png win-dist/share/icons/Adwaita/16x16/actions
|
|
||||||
cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/16x16/actions/pan-up-symbolic.symbolic.png win-dist/share/icons/Adwaita/16x16/actions
|
|
||||||
$(MKDIR_P) win-dist/share/icons/Adwaita/16x16/status
|
|
||||||
cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/16x16/status/dialog-information.png win-dist/share/icons/Adwaita/16x16/status
|
|
||||||
$(MKDIR_P) win-dist/share/icons/Adwaita/22x22/status
|
|
||||||
cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/22x22/status/dialog-information.png win-dist/share/icons/Adwaita/22x22/status
|
|
||||||
$(MKDIR_P) win-dist/share/icons/Adwaita/24x24/actions
|
|
||||||
# cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/24x24/actions/window-close-symbolic.symbolic.png win-dist/share/icons/Adwaita/24x24/actions
|
|
||||||
# cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/24x24/actions/window-maximize-symbolic.symbolic.png win-dist/share/icons/Adwaita/24x24/actions
|
|
||||||
# cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/24x24/actions/window-minimize-symbolic.symbolic.png win-dist/share/icons/Adwaita/24x24/actions
|
|
||||||
# cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/24x24/actions/window-restore-symbolic.symbolic.png win-dist/share/icons/Adwaita/24x24/actions
|
|
||||||
cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/24x24/actions/pan-down-symbolic.symbolic.png win-dist/share/icons/Adwaita/24x24/actions
|
|
||||||
cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/24x24/actions/pan-up-symbolic.symbolic.png win-dist/share/icons/Adwaita/24x24/actions
|
|
||||||
$(MKDIR_P) win-dist/share/icons/Adwaita/24x24/status
|
|
||||||
cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/24x24/status/dialog-information.png win-dist/share/icons/Adwaita/24x24/status
|
|
||||||
$(MKDIR_P) win-dist/share/icons/Adwaita/32x32/actions
|
|
||||||
# cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/32x32/actions/window-close-symbolic.symbolic.png win-dist/share/icons/Adwaita/32x32/actions
|
|
||||||
# cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/32x32/actions/window-maximize-symbolic.symbolic.png win-dist/share/icons/Adwaita/32x32/actions
|
|
||||||
# cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/32x32/actions/window-minimize-symbolic.symbolic.png win-dist/share/icons/Adwaita/32x32/actions
|
|
||||||
# cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/32x32/actions/window-restore-symbolic.symbolic.png win-dist/share/icons/Adwaita/32x32/actions
|
|
||||||
cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/32x32/actions/pan-down-symbolic.symbolic.png win-dist/share/icons/Adwaita/32x32/actions
|
|
||||||
cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/32x32/actions/pan-up-symbolic.symbolic.png win-dist/share/icons/Adwaita/32x32/actions
|
|
||||||
$(MKDIR_P) win-dist/share/icons/Adwaita/32x32/status
|
|
||||||
cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/32x32/status/dialog-information.png win-dist/share/icons/Adwaita/32x32/status
|
|
||||||
$(MKDIR_P) win-dist/share/icons/Adwaita/48x48/actions
|
|
||||||
# cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/48x48/actions/window-close-symbolic.symbolic.png win-dist/share/icons/Adwaita/48x48/actions
|
|
||||||
# cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/48x48/actions/window-maximize-symbolic.symbolic.png win-dist/share/icons/Adwaita/48x48/actions
|
|
||||||
# cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/48x48/actions/window-minimize-symbolic.symbolic.png win-dist/share/icons/Adwaita/48x48/actions
|
|
||||||
# cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/48x48/actions/window-restore-symbolic.symbolic.png win-dist/share/icons/Adwaita/48x48/actions
|
|
||||||
cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/48x48/actions/pan-down-symbolic.symbolic.png win-dist/share/icons/Adwaita/48x48/actions
|
|
||||||
cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/48x48/actions/pan-up-symbolic.symbolic.png win-dist/share/icons/Adwaita/48x48/actions
|
|
||||||
$(MKDIR_P) win-dist/share/icons/Adwaita/48x48/status
|
|
||||||
cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/48x48/status/dialog-information.png win-dist/share/icons/Adwaita/48x48/status
|
|
||||||
$(MKDIR_P) win-dist/share/icons/Adwaita/64x64/actions
|
|
||||||
# cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/64x64/actions/window-close-symbolic.symbolic.png win-dist/share/icons/Adwaita/64x64/actions
|
|
||||||
# cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/64x64/actions/window-maximize-symbolic.symbolic.png win-dist/share/icons/Adwaita/64x64/actions
|
|
||||||
# cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/64x64/actions/window-minimize-symbolic.symbolic.png win-dist/share/icons/Adwaita/64x64/actions
|
|
||||||
# cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/64x64/actions/window-restore-symbolic.symbolic.png win-dist/share/icons/Adwaita/64x64/actions
|
|
||||||
cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/64x64/actions/pan-down-symbolic.symbolic.png win-dist/share/icons/Adwaita/64x64/actions
|
|
||||||
cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/64x64/actions/pan-up-symbolic.symbolic.png win-dist/share/icons/Adwaita/64x64/actions
|
|
||||||
# $(MKDIR_P) win-dist/share/icons/Adwaita/64x64/status
|
|
||||||
# cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/64x64/status/dialog-information.png win-dist/share/icons/Adwaita/64x64/status
|
|
||||||
$(MKDIR_P) win-dist/share/icons/Adwaita/96x96/actions
|
|
||||||
# cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/96x96/actions/window-close-symbolic.symbolic.png win-dist/share/icons/Adwaita/96x96/actions
|
|
||||||
# cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/96x96/actions/window-maximize-symbolic.symbolic.png win-dist/share/icons/Adwaita/96x96/actions
|
|
||||||
# cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/96x96/actions/window-minimize-symbolic.symbolic.png win-dist/share/icons/Adwaita/96x96/actions
|
|
||||||
# cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/96x96/actions/window-restore-symbolic.symbolic.png win-dist/share/icons/Adwaita/96x96/actions
|
|
||||||
cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/96x96/actions/pan-down-symbolic.symbolic.png win-dist/share/icons/Adwaita/96x96/actions
|
|
||||||
cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/96x96/actions/pan-up-symbolic.symbolic.png win-dist/share/icons/Adwaita/96x96/actions
|
|
||||||
# $(MKDIR_P) win-dist/share/icons/Adwaita/96x96/status
|
|
||||||
# cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/96x96/status/dialog-information.png win-dist/share/icons/Adwaita/96x96/status
|
|
||||||
$(MKDIR_P) win-dist/share/icons/Adwaita/256x256/status
|
|
||||||
cp -p "@WINDOWS_SYSROOT@"/share/icons/Adwaita/256x256/status/dialog-information.png win-dist/share/icons/Adwaita/256x256/status
|
|
||||||
|
|
||||||
# other
|
|
||||||
cp -p "@WINDOWS_SYSROOT@"/bin/libgcc_s_*.dll win-dist/
|
|
||||||
cp -p "@WINDOWS_SYSROOT@"/bin/libpcre-1.dll win-dist/
|
|
||||||
cp -p "@WINDOWS_SYSROOT@"/bin/libpcrecpp-0.dll win-dist/
|
|
||||||
|
|
||||||
|
|
||||||
nsis-dist-prepare: win-dist-prepare
|
|
||||||
cp -a win-dist nsis-dist
|
|
||||||
cp $(top_srcdir)/data/gsmartcontrol.ico nsis-dist/
|
|
||||||
cp data/nsis/*.nsi $(top_srcdir)/data/nsis/nsi_* nsis-dist/
|
|
||||||
unix2dos nsis-dist/*.nsi
|
|
||||||
|
|
||||||
nsis-dist-nocleanup: nsis-dist-prepare
|
|
||||||
cd nsis-dist && @NSIS_EXEC@ gsmartcontrol.nsi
|
|
||||||
mv nsis-dist/$(PACKAGE)-$(VERSION)-@WINDOWS_SUFFIX@.exe .
|
|
||||||
|
|
||||||
nsis-dist-cleanup:
|
|
||||||
rm -rf nsis-dist
|
|
||||||
|
|
||||||
nsis-dist: nsis-dist-prepare nsis-dist-nocleanup nsis-dist-cleanup
|
|
||||||
|
|
||||||
|
|
||||||
win-zip-dist-prepare: win-dist-prepare
|
|
||||||
cp -a win-dist $(WIN_ZIP_NAME)
|
|
||||||
|
|
||||||
win-zip-dist-nocleanup: win-zip-dist-prepare
|
|
||||||
zip -K -9r $(WIN_ZIP_NAME).zip $(WIN_ZIP_NAME)
|
|
||||||
|
|
||||||
win-zip-dist-cleanup:
|
|
||||||
rm -rf $(WIN_ZIP_NAME)
|
|
||||||
|
|
||||||
win-zip-dist: win-zip-dist-prepare win-zip-dist-nocleanup win-zip-dist-cleanup
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
distclean-local: win-dist-clean
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
5
|
|
||||||