Compare commits
5 Commits
Author | SHA1 | Date | |
---|---|---|---|
b2d5118615
|
|||
|
783baf464b | ||
6df007636e | |||
bfcd2a9471 | |||
|
0f94ee13ed |
@@ -1,7 +1,7 @@
|
|||||||
### CMakeLists automatically created with AutoVala
|
### CMakeLists automatically created with AutoVala
|
||||||
### Do not edit
|
### Do not edit
|
||||||
|
|
||||||
project (pamac-classic)
|
project (pamac)
|
||||||
cmake_minimum_required (VERSION 2.6)
|
cmake_minimum_required (VERSION 2.6)
|
||||||
cmake_policy (VERSION 2.8)
|
cmake_policy (VERSION 2.8)
|
||||||
list (APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake)
|
list (APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake)
|
||||||
@@ -55,9 +55,27 @@ set(MODULES_TO_CHECK ${MODULES_TO_CHECK} gobject-2.0)
|
|||||||
pkg_check_modules(DEPS REQUIRED ${MODULES_TO_CHECK})
|
pkg_check_modules(DEPS REQUIRED ${MODULES_TO_CHECK})
|
||||||
|
|
||||||
|
|
||||||
find_program ( WHERE_GRESOURCE glib-compile-resources )
|
find_program ( WHERE_glib_compile_resources glib-compile-resources )
|
||||||
if ( NOT WHERE_GRESOURCE )
|
if ( NOT WHERE_glib_compile_resources )
|
||||||
MESSAGE(FATAL_ERROR "Error! GLIB-COMPILE-RESOURCES is not installed.")
|
MESSAGE(FATAL_ERROR "Error! external program 'glib-compile-resources' is not installed.")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
find_program ( WHERE_gtk_update_icon_cache gtk-update-icon-cache )
|
||||||
|
if ( NOT WHERE_gtk_update_icon_cache )
|
||||||
|
find_program ( WHERE_gtk_update_icon_cache gtk-update-icon-cache.3.0 )
|
||||||
|
if ( NOT WHERE_gtk_update_icon_cache )
|
||||||
|
MESSAGE(FATAL_ERROR "Error! none of the external programs 'gtk-update-icon-cache', 'gtk-update-icon-cache.3.0', are installed.")
|
||||||
|
endif()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
find_program ( WHERE_glib_compile_schemas glib-compile-schemas )
|
||||||
|
if ( NOT WHERE_glib_compile_schemas )
|
||||||
|
MESSAGE(FATAL_ERROR "Error! external program 'glib-compile-schemas' is not installed.")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
find_program ( WHERE_g_ir_compiler g-ir-compiler )
|
||||||
|
if ( NOT WHERE_g_ir_compiler )
|
||||||
|
MESSAGE(FATAL_ERROR "Error! external program 'g-ir-compiler' is not installed.")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
add_subdirectory(src/vapis)
|
add_subdirectory(src/vapis)
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
### CMakeLists automatically created with AutoVala
|
### CMakeLists automatically created with AutoVala
|
||||||
### Do not edit
|
### Do not edit
|
||||||
|
|
||||||
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/package-generic.png DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/pamac-classic/ )
|
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/package-generic.png DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/pamac/ )
|
||||||
|
@@ -6,6 +6,7 @@
|
|||||||
<icon_name>package-x-generic</icon_name>
|
<icon_name>package-x-generic</icon_name>
|
||||||
<action id="org.pamac.commit">
|
<action id="org.pamac.commit">
|
||||||
<message>Authentication is required</message>
|
<message>Authentication is required</message>
|
||||||
|
<message xml:lang="es">Se necesita autenticación</message>
|
||||||
<message xml:lang="az_AZ">Kimlik tÉlÉb olunur</message>
|
<message xml:lang="az_AZ">Kimlik tÉlÉb olunur</message>
|
||||||
<message xml:lang="id">Membutuhkan Otentifikasi</message>
|
<message xml:lang="id">Membutuhkan Otentifikasi</message>
|
||||||
<message xml:lang="nl_NL">Authenticatie vereist</message>
|
<message xml:lang="nl_NL">Authenticatie vereist</message>
|
||||||
@@ -44,7 +45,6 @@
|
|||||||
<message xml:lang="el">ĪĻαιĻείĻαι ĻιĻĻĪæĻοίηĻĪ·</message>
|
<message xml:lang="el">ĪĻαιĻείĻαι ĻιĻĻĪæĻοίηĻĪ·</message>
|
||||||
<message xml:lang="fr">Authentification nƩcessaire</message>
|
<message xml:lang="fr">Authentification nƩcessaire</message>
|
||||||
<message xml:lang="sr@latin">Autentifikacija je neophodna</message>
|
<message xml:lang="sr@latin">Autentifikacija je neophodna</message>
|
||||||
<message xml:lang="es">Se necesita autenticación</message>
|
|
||||||
<message xml:lang="sl">Zahtevana je overitev</message>
|
<message xml:lang="sl">Zahtevana je overitev</message>
|
||||||
<message xml:lang="zh_TW">éč¦ęę¬</message>
|
<message xml:lang="zh_TW">éč¦ęę¬</message>
|
||||||
<message xml:lang="gl">A autenticación é necesaria</message>
|
<message xml:lang="gl">A autenticación é necesaria</message>
|
||||||
|
15
meson.build
15
meson.build
@@ -1,12 +1,16 @@
|
|||||||
project('pamac-classic',['c','vala'])
|
project('pamac',['c','vala'])
|
||||||
|
|
||||||
ENABLE_UPDATE_ICON = (get_option('ENABLE_UPDATE_ICON') != '')
|
ENABLE_UPDATE_ICON = (get_option('ENABLE_UPDATE_ICON') != '')
|
||||||
ENABLE_HAMBURGER = (get_option('ENABLE_HAMBURGER') != '')
|
ENABLE_HAMBURGER = (get_option('ENABLE_HAMBURGER') != '')
|
||||||
KDE_TRAY = (get_option('KDE_TRAY') != '')
|
KDE_TRAY = (get_option('KDE_TRAY') != '')
|
||||||
DISABLE_AUR = (get_option('DISABLE_AUR') != '')
|
DISABLE_AUR = (get_option('DISABLE_AUR') != '')
|
||||||
|
|
||||||
add_global_arguments('-DGETTEXT_PACKAGE="pamac-classic"',language: 'c')
|
add_global_arguments('-DGETTEXT_PACKAGE="pamac"',language: 'c')
|
||||||
|
|
||||||
|
find_program ('glib-compile-resources')
|
||||||
|
find_program ('gtk-update-icon-cache', 'gtk-update-icon-cache.3.0')
|
||||||
|
find_program ('glib-compile-schemas')
|
||||||
|
find_program ('g-ir-compiler')
|
||||||
gdk_3_0_dep = dependency('gdk-3.0')
|
gdk_3_0_dep = dependency('gdk-3.0')
|
||||||
gtk_3_0_dep = dependency('gtk+-3.0')
|
gtk_3_0_dep = dependency('gtk+-3.0')
|
||||||
json_glib_1_0_dep = dependency('json-glib-1.0')
|
json_glib_1_0_dep = dependency('json-glib-1.0')
|
||||||
@@ -26,6 +30,7 @@ gobject_2_0_dep = dependency('gobject-2.0')
|
|||||||
subdir('po')
|
subdir('po')
|
||||||
cfg_dbus_data = configuration_data()
|
cfg_dbus_data = configuration_data()
|
||||||
cfg_dbus_data.set ('DBUS_PREFIX',get_option('prefix'))
|
cfg_dbus_data.set ('DBUS_PREFIX',get_option('prefix'))
|
||||||
|
meson.add_install_script('meson_scripts/update_icon.sh')
|
||||||
meson.add_install_script(join_paths(meson.current_source_dir(),'meson_scripts','install_data.sh'),'/usr/lib/systemd/system',join_paths(meson.current_source_dir(),'data/systemd','pamac-system.service'))
|
meson.add_install_script(join_paths(meson.current_source_dir(),'meson_scripts','install_data.sh'),'/usr/lib/systemd/system',join_paths(meson.current_source_dir(),'data/systemd','pamac-system.service'))
|
||||||
|
|
||||||
meson.add_install_script(join_paths(meson.current_source_dir(),'meson_scripts','install_data.sh'),'/usr/lib/systemd/system',join_paths(meson.current_source_dir(),'data/systemd','pamac-cleancache.service'))
|
meson.add_install_script(join_paths(meson.current_source_dir(),'meson_scripts','install_data.sh'),'/usr/lib/systemd/system',join_paths(meson.current_source_dir(),'data/systemd','pamac-cleancache.service'))
|
||||||
@@ -72,16 +77,16 @@ dbus_cfg_org_pamac_user_service = configure_file(input: 'data/dbus/org.pamac.use
|
|||||||
install_data(dbus_cfg_org_pamac_user_service,install_dir: join_paths(get_option('prefix'),get_option('datadir'),'dbus-1','services'))
|
install_data(dbus_cfg_org_pamac_user_service,install_dir: join_paths(get_option('prefix'),get_option('datadir'),'dbus-1','services'))
|
||||||
install_data( 'data/dbus/org.pamac.system.conf',install_dir: join_paths(get_option('prefix'),get_option('datadir'),'dbus-1','system.d'))
|
install_data( 'data/dbus/org.pamac.system.conf',install_dir: join_paths(get_option('prefix'),get_option('datadir'),'dbus-1','system.d'))
|
||||||
install_data('data/org.pamac.main.gschema.xml', install_dir: join_paths(get_option('prefix'),get_option('datadir'), 'glib-2.0', 'schemas'))
|
install_data('data/org.pamac.main.gschema.xml', install_dir: join_paths(get_option('prefix'),get_option('datadir'), 'glib-2.0', 'schemas'))
|
||||||
meson.add_install_script('meson_scripts/install_schemas.py')
|
meson.add_install_script('meson_scripts/install_schemas.sh')
|
||||||
if not DISABLE_AUR
|
if not DISABLE_AUR
|
||||||
install_data('data/org.pamac.aur.gschema.xml', install_dir: join_paths(get_option('prefix'),get_option('datadir'), 'glib-2.0', 'schemas'))
|
install_data('data/org.pamac.aur.gschema.xml', install_dir: join_paths(get_option('prefix'),get_option('datadir'), 'glib-2.0', 'schemas'))
|
||||||
meson.add_install_script('meson_scripts/install_schemas.py')
|
meson.add_install_script('meson_scripts/install_schemas.sh')
|
||||||
endif
|
endif
|
||||||
install_data('data/icons/16x16/apps/system-software-install.png',install_dir: join_paths(get_option('prefix'),get_option('datadir'),'icons','hicolor/16x16/apps'))
|
install_data('data/icons/16x16/apps/system-software-install.png',install_dir: join_paths(get_option('prefix'),get_option('datadir'),'icons','hicolor/16x16/apps'))
|
||||||
install_data('data/icons/24x24/status/pamac-tray-no-update.png',install_dir: join_paths(get_option('prefix'),get_option('datadir'),'icons','hicolor/24x24/apps'))
|
install_data('data/icons/24x24/status/pamac-tray-no-update.png',install_dir: join_paths(get_option('prefix'),get_option('datadir'),'icons','hicolor/24x24/apps'))
|
||||||
install_data('data/icons/24x24/status/pamac-tray-update.png',install_dir: join_paths(get_option('prefix'),get_option('datadir'),'icons','hicolor/24x24/apps'))
|
install_data('data/icons/24x24/status/pamac-tray-update.png',install_dir: join_paths(get_option('prefix'),get_option('datadir'),'icons','hicolor/24x24/apps'))
|
||||||
install_data('data/icons/32x32/apps/system-software-install.png',install_dir: join_paths(get_option('prefix'),get_option('datadir'),'icons','hicolor/32x32/apps'))
|
install_data('data/icons/32x32/apps/system-software-install.png',install_dir: join_paths(get_option('prefix'),get_option('datadir'),'icons','hicolor/32x32/apps'))
|
||||||
install_data('data/pixmaps/package-generic.png',install_dir: join_paths(get_option('prefix'),get_option('datadir'),'pamac-classic'))
|
install_data('data/pixmaps/package-generic.png',install_dir: join_paths(get_option('prefix'),get_option('datadir'),'pamac'))
|
||||||
install_data( 'data/polkit/org.pamac.policy',install_dir: join_paths(get_option('prefix'),get_option('datadir'),'polkit-1','actions'))
|
install_data( 'data/polkit/org.pamac.policy',install_dir: join_paths(get_option('prefix'),get_option('datadir'),'polkit-1','actions'))
|
||||||
install_data( 'data/mime/x-alpm-package.xml',install_dir: join_paths(get_option('prefix'),get_option('datadir'),'mime','packages'))
|
install_data( 'data/mime/x-alpm-package.xml',install_dir: join_paths(get_option('prefix'),get_option('datadir'),'mime','packages'))
|
||||||
subdir('src')
|
subdir('src')
|
||||||
|
@@ -1,7 +1,9 @@
|
|||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
|
|
||||||
|
shopt -s extglob
|
||||||
mkdir -p $DESTDIR/$1
|
mkdir -p $DESTDIR/$1
|
||||||
if [ -d "$2" ]; then
|
if [ -d "$2" ]; then
|
||||||
cp -a $2/* $DESTDIR/$1
|
cp -a $2/!(CMakeLists.txt) $DESTDIR/$1
|
||||||
else
|
else
|
||||||
cp -a $2 $DESTDIR/$1
|
cp -a $2 $DESTDIR/$1
|
||||||
fi
|
fi
|
||||||
|
@@ -1,9 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
mkdir -p "${DESTDIR}${MESON_INSTALL_PREFIX}/share/vala/vapi"
|
|
||||||
mkdir -p "${DESTDIR}${MESON_INSTALL_PREFIX}/share/gir-1.0"
|
|
||||||
mkdir -p "${DESTDIR}${MESON_INSTALL_PREFIX}/include"
|
|
||||||
|
|
||||||
install -m 644 "${MESON_BUILD_ROOT}/$1/$2.vapi" "${DESTDIR}${MESON_INSTALL_PREFIX}/share/vala/vapi"
|
|
||||||
install -m 644 "${MESON_BUILD_ROOT}/$1/$2.h" "${DESTDIR}${MESON_INSTALL_PREFIX}/include"
|
|
||||||
install -m 644 "${MESON_BUILD_ROOT}/$1/$2@sha/$3" "${DESTDIR}${MESON_INSTALL_PREFIX}/share/gir-1.0"
|
|
@@ -1,10 +0,0 @@
|
|||||||
#!/usr/bin/env python3
|
|
||||||
|
|
||||||
import os
|
|
||||||
import subprocess
|
|
||||||
|
|
||||||
schemadir = os.path.join(os.environ['MESON_INSTALL_PREFIX'], 'share', 'glib-2.0', 'schemas')
|
|
||||||
|
|
||||||
if not os.environ.get('DESTDIR'):
|
|
||||||
print('Compiling gsettings schemas...')
|
|
||||||
subprocess.call(['glib-compile-schemas', schemadir])
|
|
6
meson_scripts/install_schemas.sh
Executable file
6
meson_scripts/install_schemas.sh
Executable file
@@ -0,0 +1,6 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if [[ -z "${DESTDIR}" ]]; then
|
||||||
|
echo Compiling gsettings schemas...
|
||||||
|
glib-compile-schemas ${MESON_INSTALL_PREFIX}/share/glib-2.0/schemas
|
||||||
|
fi
|
12
meson_scripts/update_icon.sh
Executable file
12
meson_scripts/update_icon.sh
Executable file
@@ -0,0 +1,12 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if [[ -z "${DESTDIR}" ]]; then
|
||||||
|
if [[ -z "${MESON_INSTALL_PREFIX}" ]]; then
|
||||||
|
prefix=/usr/local
|
||||||
|
else
|
||||||
|
prefix="${MESON_INSTALL_PREFIX}"
|
||||||
|
fi
|
||||||
|
datadir="${prefix}/share"
|
||||||
|
echo Updating icon cache at ${datadir}/icons/hicolor...
|
||||||
|
gtk-update-icon-cache -qtf "${datadir}/icons/hicolor"
|
||||||
|
fi
|
25
pamac.avprj
25
pamac.avprj
@@ -1,7 +1,7 @@
|
|||||||
### AutoVala Project ###
|
### AutoVala Project ###
|
||||||
autovala_version: 27
|
autovala_version: 30
|
||||||
project_name: pamac-classic
|
project_name: pamac
|
||||||
project_version: 6.6.2
|
project_version: 6.7.1
|
||||||
vala_version: 0.38
|
vala_version: 0.38
|
||||||
|
|
||||||
custom: data/systemd/pamac-system.service /usr/lib/systemd/system
|
custom: data/systemd/pamac-system.service /usr/lib/systemd/system
|
||||||
@@ -22,7 +22,7 @@ define: KDE_TRAY
|
|||||||
vapidir: src/vapis
|
vapidir: src/vapis
|
||||||
|
|
||||||
vala_binary: src/pamac-clean-cache/pamac-clean-cache
|
vala_binary: src/pamac-clean-cache/pamac-clean-cache
|
||||||
*version: 6.6.2
|
*version: 6.7.1
|
||||||
vala_local_package: pamacclassic
|
vala_local_package: pamacclassic
|
||||||
vala_package: posix
|
vala_package: posix
|
||||||
vala_check_package: gtk+-3.0
|
vala_check_package: gtk+-3.0
|
||||||
@@ -33,7 +33,7 @@ vala_check_package: json-glib-1.0
|
|||||||
*vala_source: pamac_config.vala
|
*vala_source: pamac_config.vala
|
||||||
|
|
||||||
vala_binary: src/pamac-install/pamac-install
|
vala_binary: src/pamac-install/pamac-install
|
||||||
*version: 6.6.2
|
*version: 6.7.1
|
||||||
use_gresource: pamac_installer_gresource_xml
|
use_gresource: pamac_installer_gresource_xml
|
||||||
vala_local_package: pamacclassic
|
vala_local_package: pamacclassic
|
||||||
vala_check_package: gtk+-3.0
|
vala_check_package: gtk+-3.0
|
||||||
@@ -45,7 +45,7 @@ vala_check_package: json-glib-1.0
|
|||||||
*vala_source: progress_dialog.vala
|
*vala_source: progress_dialog.vala
|
||||||
|
|
||||||
vala_binary: src/pamac-manager/pamac-manager
|
vala_binary: src/pamac-manager/pamac-manager
|
||||||
*version: 6.6.2
|
*version: 6.7.1
|
||||||
alias: pamac-updater
|
alias: pamac-updater
|
||||||
use_gresource: pamac_manager_gresource_xml
|
use_gresource: pamac_manager_gresource_xml
|
||||||
vala_local_package: pamacclassic
|
vala_local_package: pamacclassic
|
||||||
@@ -59,7 +59,7 @@ vala_check_package: json-glib-1.0
|
|||||||
*vala_source: manager_window.vala
|
*vala_source: manager_window.vala
|
||||||
|
|
||||||
vala_binary: src/pamac-system-daemon/pamac-system-daemon
|
vala_binary: src/pamac-system-daemon/pamac-system-daemon
|
||||||
*version: 6.6.2
|
*version: 6.7.1
|
||||||
vala_local_package: pamacclassic
|
vala_local_package: pamacclassic
|
||||||
vala_package: posix
|
vala_package: posix
|
||||||
vala_check_package: gtk+-3.0
|
vala_check_package: gtk+-3.0
|
||||||
@@ -77,7 +77,7 @@ vala_check_package: polkit-gobject-1
|
|||||||
*vala_source: system_daemon.vala
|
*vala_source: system_daemon.vala
|
||||||
|
|
||||||
vala_binary: src/pamac-tray/pamac-tray
|
vala_binary: src/pamac-tray/pamac-tray
|
||||||
*version: 6.6.2
|
*version: 6.7.1
|
||||||
vala_local_package: pamacclassic
|
vala_local_package: pamacclassic
|
||||||
vala_package: posix
|
vala_package: posix
|
||||||
vala_check_package: json-glib-1.0
|
vala_check_package: json-glib-1.0
|
||||||
@@ -101,7 +101,7 @@ end
|
|||||||
*vala_source: tray.vala
|
*vala_source: tray.vala
|
||||||
|
|
||||||
vala_binary: src/pamac-user-daemon/pamac-user-daemon
|
vala_binary: src/pamac-user-daemon/pamac-user-daemon
|
||||||
*version: 6.6.2
|
*version: 6.7.1
|
||||||
vala_local_package: pamacclassic
|
vala_local_package: pamacclassic
|
||||||
vala_package: posix
|
vala_package: posix
|
||||||
vala_check_package: gtk+-3.0
|
vala_check_package: gtk+-3.0
|
||||||
@@ -117,7 +117,7 @@ vala_check_package: libsoup-2.4
|
|||||||
|
|
||||||
|
|
||||||
vala_library: src/pamac-classic
|
vala_library: src/pamac-classic
|
||||||
*version: 6.6.2
|
*version: 6.7.1
|
||||||
namespace: pamacclassic
|
namespace: pamacclassic
|
||||||
use_gresource: pamac_transaction_gresource_xml
|
use_gresource: pamac_transaction_gresource_xml
|
||||||
vala_package: posix
|
vala_package: posix
|
||||||
@@ -223,6 +223,11 @@ end
|
|||||||
|
|
||||||
*pixmap: data/pixmaps/package-generic.png
|
*pixmap: data/pixmaps/package-generic.png
|
||||||
|
|
||||||
|
*build_external_program: glib-compile-resources
|
||||||
|
*build_external_program: gtk-update-icon-cache gtk-update-icon-cache.3.0
|
||||||
|
*build_external_program: glib-compile-schemas
|
||||||
|
*build_external_program: g-ir-compiler
|
||||||
|
|
||||||
*polkit: data/polkit/org.pamac.policy
|
*polkit: data/polkit/org.pamac.policy
|
||||||
|
|
||||||
*mimetype: data/mime/x-alpm-package.xml
|
*mimetype: data/mime/x-alpm-package.xml
|
||||||
|
@@ -2,5 +2,5 @@
|
|||||||
### Do not edit
|
### Do not edit
|
||||||
|
|
||||||
include (Translations)
|
include (Translations)
|
||||||
add_translations_directory("pamac-classic")
|
add_translations_directory("pamac")
|
||||||
add_translations_catalog("pamac-classic" ../src/pamac-clean-cache ../src/pamac-install ../src/pamac-manager ../src/pamac-system-daemon ../src/pamac-tray ../src/pamac-user-daemon ../src ../data/interface )
|
add_translations_catalog("pamac" ../src/pamac-clean-cache ../src/pamac-install ../src/pamac-manager ../src/pamac-system-daemon ../src/pamac-tray ../src/pamac-user-daemon ../src ../data/interface )
|
||||||
|
@@ -1 +1 @@
|
|||||||
af ar es_ES nn sl_SI cs_CZ is gl be sr_RS zh_TW pl_PL uz fi is_IS sr_RS@latin sl es sr@latin fr ro sr el eu ml ur_PK ko el_GR de_DE cs bs si zh da ca_ES sv it_IT vi eo es_AR zh_CN pl hi pt en_GB es_419 es_MX fa nl hu bn hr_HR nb ja pt_BR pt_PT nl_BE ca tr he hi_IN et lt fo it fa_IR de_CH de ka bs_BA ru ms sk bg ast uk hr es_SV nl_NL cy id az_AZ
|
af ar ast az_AZ be bg bn bs bs_BA ca ca_ES cs cs_CZ cy da de de_CH de_DE el el_GR en_GB eo es es_419 es_AR es_ES es_MX es_SV et eu fa fa_IR fi fo fr gl he hi hi_IN hr hr_HR hu id is is_IS it it_IT ja ka ko lt ml ms nb nl nl_BE nl_NL nn pl pl_PL pt pt_BR pt_PT ro ru si sk sl sl_SI sr sr@latin sr_RS sr_RS@latin sv tr uk ur_PK uz vi zh zh_CN zh_TW
|
||||||
|
46
po/it.po
46
po/it.po
@@ -88,17 +88,17 @@ msgstr "il pacchetto %s non ha un'architettura valida"
|
|||||||
#: ../src/pamac-system-daemon/system_daemon.vala
|
#: ../src/pamac-system-daemon/system_daemon.vala
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "unable to satisfy dependency '%s' required by %s"
|
msgid "unable to satisfy dependency '%s' required by %s"
|
||||||
msgstr ""
|
msgstr "impossibile soddisfare la dipendenza '%s' richiesto da %s"
|
||||||
|
|
||||||
#: ../src/pamac-system-daemon/system_daemon.vala
|
#: ../src/pamac-system-daemon/system_daemon.vala
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "installing %s (%s) breaks dependency '%s' required by %s"
|
msgid "installing %s (%s) breaks dependency '%s' required by %s"
|
||||||
msgstr ""
|
msgstr "installazione %s (%s) interrompe la dipendeza '%s' richiesto da %s"
|
||||||
|
|
||||||
#: ../src/pamac-system-daemon/system_daemon.vala
|
#: ../src/pamac-system-daemon/system_daemon.vala
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "removing %s breaks dependency '%s' required by %s"
|
msgid "removing %s breaks dependency '%s' required by %s"
|
||||||
msgstr ""
|
msgstr "rimozione %s interrompe la dipendeza '%s' richiesto da %s"
|
||||||
|
|
||||||
#: ../src/pamac-system-daemon/system_daemon.vala
|
#: ../src/pamac-system-daemon/system_daemon.vala
|
||||||
#, c-format
|
#, c-format
|
||||||
@@ -186,7 +186,7 @@ msgstr "Da reinstallare"
|
|||||||
|
|
||||||
#: ../src/transaction.vala
|
#: ../src/transaction.vala
|
||||||
msgid "To upgrade"
|
msgid "To upgrade"
|
||||||
msgstr ""
|
msgstr "Da aggiornare"
|
||||||
|
|
||||||
#: ../src/transaction.vala ../src/pamac-manager/manager_window.vala
|
#: ../src/transaction.vala ../src/pamac-manager/manager_window.vala
|
||||||
msgid "Total download size"
|
msgid "Total download size"
|
||||||
@@ -244,7 +244,7 @@ msgstr "Rimozione %s"
|
|||||||
|
|
||||||
#: ../src/transaction.vala
|
#: ../src/transaction.vala
|
||||||
msgid "Checking integrity"
|
msgid "Checking integrity"
|
||||||
msgstr "Verifico l'integritĆ dei pacchetti"
|
msgstr "Verifica dell'integritĆ dei pacchetti"
|
||||||
|
|
||||||
#: ../src/transaction.vala
|
#: ../src/transaction.vala
|
||||||
msgid "Loading packages files"
|
msgid "Loading packages files"
|
||||||
@@ -256,7 +256,7 @@ msgstr "Controllo dell'integritĆ dei delta"
|
|||||||
|
|
||||||
#: ../src/transaction.vala
|
#: ../src/transaction.vala
|
||||||
msgid "Applying deltas"
|
msgid "Applying deltas"
|
||||||
msgstr "Applicando deltas"
|
msgstr "Applicazione dei delta"
|
||||||
|
|
||||||
#: ../src/transaction.vala
|
#: ../src/transaction.vala
|
||||||
#, c-format
|
#, c-format
|
||||||
@@ -269,7 +269,7 @@ msgstr "Generazione riuscita"
|
|||||||
|
|
||||||
#: ../src/transaction.vala
|
#: ../src/transaction.vala
|
||||||
msgid "Generation failed"
|
msgid "Generation failed"
|
||||||
msgstr "Generazione non riuscita"
|
msgstr "Generazione fallita"
|
||||||
|
|
||||||
#: ../src/transaction.vala
|
#: ../src/transaction.vala
|
||||||
#, c-format
|
#, c-format
|
||||||
@@ -365,7 +365,7 @@ msgstr "Transazione completata con successo"
|
|||||||
|
|
||||||
#: ../src/pamac-install/installer.vala
|
#: ../src/pamac-install/installer.vala
|
||||||
msgid "Unable to lock database!"
|
msgid "Unable to lock database!"
|
||||||
msgstr ""
|
msgstr "Impossibile bloccare il database!"
|
||||||
|
|
||||||
#: ../src/pamac-tray/tray.vala ../src/pamac-manager/manager_window.vala
|
#: ../src/pamac-tray/tray.vala ../src/pamac-manager/manager_window.vala
|
||||||
msgid "Your system is up-to-date"
|
msgid "Your system is up-to-date"
|
||||||
@@ -397,7 +397,7 @@ msgstr "Pamac ĆØ giĆ in esecuzione"
|
|||||||
|
|
||||||
#: ../src/pamac-manager/manager.vala
|
#: ../src/pamac-manager/manager.vala
|
||||||
msgid "Refresh Databases"
|
msgid "Refresh Databases"
|
||||||
msgstr ""
|
msgstr "Aggiorna i database"
|
||||||
|
|
||||||
#: ../src/pamac-manager/manager.vala ../data/interface/manager_window.ui
|
#: ../src/pamac-manager/manager.vala ../data/interface/manager_window.ui
|
||||||
msgid "View History"
|
msgid "View History"
|
||||||
@@ -418,7 +418,7 @@ msgstr "Informazioni"
|
|||||||
|
|
||||||
#: ../src/pamac-manager/manager.vala
|
#: ../src/pamac-manager/manager.vala
|
||||||
msgid "Quit"
|
msgid "Quit"
|
||||||
msgstr ""
|
msgstr "Esci"
|
||||||
|
|
||||||
#: ../src/pamac-manager/manager_window.vala
|
#: ../src/pamac-manager/manager_window.vala
|
||||||
msgid "Deselect"
|
msgid "Deselect"
|
||||||
@@ -426,7 +426,7 @@ msgstr "Deseleziona"
|
|||||||
|
|
||||||
#: ../src/pamac-manager/manager_window.vala
|
#: ../src/pamac-manager/manager_window.vala
|
||||||
msgid "Upgrade"
|
msgid "Upgrade"
|
||||||
msgstr ""
|
msgstr "Aggiorna"
|
||||||
|
|
||||||
#: ../src/pamac-manager/manager_window.vala ../data/interface/manager_window.ui
|
#: ../src/pamac-manager/manager_window.vala ../data/interface/manager_window.ui
|
||||||
msgid "Install"
|
msgid "Install"
|
||||||
@@ -438,7 +438,7 @@ msgstr "Rimuovi"
|
|||||||
|
|
||||||
#: ../src/pamac-manager/manager_window.vala
|
#: ../src/pamac-manager/manager_window.vala
|
||||||
msgid "Waiting for another package manager to quit"
|
msgid "Waiting for another package manager to quit"
|
||||||
msgstr "Aspettando l'uscita da un altro gestore di pacchetti"
|
msgstr "In attesa che un altro gestore di pacchetti si chiuda"
|
||||||
|
|
||||||
#: ../src/pamac-manager/manager_window.vala
|
#: ../src/pamac-manager/manager_window.vala
|
||||||
#, c-format
|
#, c-format
|
||||||
@@ -465,7 +465,7 @@ msgstr "In attesa"
|
|||||||
|
|
||||||
#: ../src/pamac-manager/manager_window.vala
|
#: ../src/pamac-manager/manager_window.vala
|
||||||
msgid "Install Reason"
|
msgid "Install Reason"
|
||||||
msgstr "Motivo della installazione"
|
msgstr "Motivo dell' installazione"
|
||||||
|
|
||||||
#: ../src/pamac-manager/manager_window.vala
|
#: ../src/pamac-manager/manager_window.vala
|
||||||
msgid "Mark as explicitly installed"
|
msgid "Mark as explicitly installed"
|
||||||
@@ -481,11 +481,11 @@ msgstr "Repository"
|
|||||||
|
|
||||||
#: ../src/pamac-manager/manager_window.vala
|
#: ../src/pamac-manager/manager_window.vala
|
||||||
msgid "Download size"
|
msgid "Download size"
|
||||||
msgstr ""
|
msgstr "Dimensioni di scaricamento"
|
||||||
|
|
||||||
#: ../src/pamac-manager/manager_window.vala
|
#: ../src/pamac-manager/manager_window.vala
|
||||||
msgid "Installed size"
|
msgid "Installed size"
|
||||||
msgstr ""
|
msgstr "Dimensioni di installazione"
|
||||||
|
|
||||||
#: ../src/pamac-manager/manager_window.vala ../data/interface/manager_window.ui
|
#: ../src/pamac-manager/manager_window.vala ../data/interface/manager_window.ui
|
||||||
msgid "Groups"
|
msgid "Groups"
|
||||||
@@ -592,7 +592,7 @@ msgstr "Pacchetto Alpm"
|
|||||||
|
|
||||||
#: ../src/pamac-manager/manager_window.vala
|
#: ../src/pamac-manager/manager_window.vala
|
||||||
msgid "A Gtk3 frontend for libalpm"
|
msgid "A Gtk3 frontend for libalpm"
|
||||||
msgstr "Frontend gtk3 per libalpm"
|
msgstr "Un frontend gtk3 per libalpm"
|
||||||
|
|
||||||
#: ../src/preferences_dialog.vala ../data/interface/preferences_dialog.ui
|
#: ../src/preferences_dialog.vala ../data/interface/preferences_dialog.ui
|
||||||
msgid "How often to check for updates, value in hours"
|
msgid "How often to check for updates, value in hours"
|
||||||
@@ -604,7 +604,7 @@ msgstr "Numero di versioni di ogni pacchetto da conservare nella cache"
|
|||||||
|
|
||||||
#: ../src/preferences_dialog.vala
|
#: ../src/preferences_dialog.vala
|
||||||
msgid "Build directory"
|
msgid "Build directory"
|
||||||
msgstr ""
|
msgstr "Cartella di costruzione"
|
||||||
|
|
||||||
#: ../src/preferences_dialog.vala
|
#: ../src/preferences_dialog.vala
|
||||||
msgid "Worldwide"
|
msgid "Worldwide"
|
||||||
@@ -665,7 +665,7 @@ msgstr "Repository"
|
|||||||
|
|
||||||
#: ../data/interface/manager_window.ui
|
#: ../data/interface/manager_window.ui
|
||||||
msgid "Updates"
|
msgid "Updates"
|
||||||
msgstr ""
|
msgstr "Aggiornamenti"
|
||||||
|
|
||||||
#: ../data/interface/manager_window.ui
|
#: ../data/interface/manager_window.ui
|
||||||
msgid "Version"
|
msgid "Version"
|
||||||
@@ -725,7 +725,7 @@ msgstr "Cerca aggiornamenti"
|
|||||||
|
|
||||||
#: ../data/interface/preferences_dialog.ui
|
#: ../data/interface/preferences_dialog.ui
|
||||||
msgid "Update files databases (more details but slower)"
|
msgid "Update files databases (more details but slower)"
|
||||||
msgstr ""
|
msgstr "Aggiorna i database dei file (maggiori dettagli ma più lento)"
|
||||||
|
|
||||||
#: ../data/interface/preferences_dialog.ui
|
#: ../data/interface/preferences_dialog.ui
|
||||||
msgid "Hide tray icon when no update available"
|
msgid "Hide tray icon when no update available"
|
||||||
@@ -741,19 +741,19 @@ msgstr "Generale"
|
|||||||
|
|
||||||
#: ../data/interface/preferences_dialog.ui
|
#: ../data/interface/preferences_dialog.ui
|
||||||
msgid "Background color:"
|
msgid "Background color:"
|
||||||
msgstr ""
|
msgstr "Colore di sfondo"
|
||||||
|
|
||||||
#: ../data/interface/preferences_dialog.ui
|
#: ../data/interface/preferences_dialog.ui
|
||||||
msgid "Text color:"
|
msgid "Text color:"
|
||||||
msgstr ""
|
msgstr "Colore del testo"
|
||||||
|
|
||||||
#: ../data/interface/preferences_dialog.ui
|
#: ../data/interface/preferences_dialog.ui
|
||||||
msgid "Font:"
|
msgid "Font:"
|
||||||
msgstr ""
|
msgstr "Carattere"
|
||||||
|
|
||||||
#: ../data/interface/preferences_dialog.ui
|
#: ../data/interface/preferences_dialog.ui
|
||||||
msgid "Terminal"
|
msgid "Terminal"
|
||||||
msgstr ""
|
msgstr "Terminale"
|
||||||
|
|
||||||
#: ../data/interface/preferences_dialog.ui
|
#: ../data/interface/preferences_dialog.ui
|
||||||
msgid "Use mirrors from:"
|
msgid "Use mirrors from:"
|
||||||
|
@@ -1,2 +1,2 @@
|
|||||||
i18n = import('i18n')
|
i18n = import('i18n')
|
||||||
i18n.gettext('pamac-classic', languages: ['af', 'ar', 'es_ES', 'nn', 'sl_SI', 'cs_CZ', 'is', 'gl', 'be', 'sr_RS', 'zh_TW', 'pl_PL', 'uz', 'fi', 'is_IS', 'sr_RS@latin', 'sl', 'es', 'sr@latin', 'fr', 'ro', 'sr', 'el', 'eu', 'ml', 'ur_PK', 'ko', 'el_GR', 'de_DE', 'cs', 'bs', 'si', 'zh', 'da', 'ca_ES', 'sv', 'it_IT', 'vi', 'eo', 'es_AR', 'zh_CN', 'pl', 'hi', 'pt', 'en_GB', 'es_419', 'es_MX', 'fa', 'nl', 'hu', 'bn', 'hr_HR', 'nb', 'ja', 'pt_BR', 'pt_PT', 'nl_BE', 'ca', 'tr', 'he', 'hi_IN', 'et', 'lt', 'fo', 'it', 'fa_IR', 'de_CH', 'de', 'ka', 'bs_BA', 'ru', 'ms', 'sk', 'bg', 'ast', 'uk', 'hr', 'es_SV', 'nl_NL', 'cy', 'id', 'az_AZ'])
|
i18n.gettext('pamac', languages: ['af', 'ar', 'ast', 'az_AZ', 'be', 'bg', 'bn', 'bs', 'bs_BA', 'ca', 'ca_ES', 'cs', 'cs_CZ', 'cy', 'da', 'de', 'de_CH', 'de_DE', 'el', 'el_GR', 'en_GB', 'eo', 'es', 'es_419', 'es_AR', 'es_ES', 'es_MX', 'es_SV', 'et', 'eu', 'fa', 'fa_IR', 'fi', 'fo', 'fr', 'gl', 'he', 'hi', 'hi_IN', 'hr', 'hr_HR', 'hu', 'id', 'is', 'is_IS', 'it', 'it_IT', 'ja', 'ka', 'ko', 'lt', 'ml', 'ms', 'nb', 'nl', 'nl_BE', 'nl_NL', 'nn', 'pl', 'pl_PL', 'pt', 'pt_BR', 'pt_PT', 'ro', 'ru', 'si', 'sk', 'sl', 'sl_SI', 'sr', 'sr@latin', 'sr_RS', 'sr_RS@latin', 'sv', 'tr', 'uk', 'ur_PK', 'uz', 'vi', 'zh', 'zh_CN', 'zh_TW'])
|
||||||
|
@@ -8,7 +8,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: Pamac\n"
|
"Project-Id-Version: Pamac\n"
|
||||||
"Report-Msgid-Bugs-To: cromer@cromnix.org\n"
|
"Report-Msgid-Bugs-To: cromer@cromnix.org\n"
|
||||||
"POT-Creation-Date: 2017-11-11 23:04-0300\n"
|
"POT-Creation-Date: 2019-06-29 12:05-0400\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
|
@@ -2,12 +2,12 @@
|
|||||||
### Do not edit
|
### Do not edit
|
||||||
|
|
||||||
set (DATADIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATAROOTDIR}")
|
set (DATADIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATAROOTDIR}")
|
||||||
set (PKGDATADIR "${DATADIR}/pamac-classic")
|
set (PKGDATADIR "${DATADIR}/pamac")
|
||||||
set (GETTEXT_PACKAGE "pamac-classic")
|
set (GETTEXT_PACKAGE "pamac")
|
||||||
set (RELEASE_NAME "pamac-classic")
|
set (RELEASE_NAME "pamac")
|
||||||
set (CMAKE_C_FLAGS "")
|
set (CMAKE_C_FLAGS "")
|
||||||
set (PREFIX ${CMAKE_INSTALL_PREFIX})
|
set (PREFIX ${CMAKE_INSTALL_PREFIX})
|
||||||
set (VERSION "6.6.2")
|
set (VERSION "6.7.1")
|
||||||
set (TESTSRCDIR "${CMAKE_SOURCE_DIR}")
|
set (TESTSRCDIR "${CMAKE_SOURCE_DIR}")
|
||||||
set (DOLLAR "$")
|
set (DOLLAR "$")
|
||||||
|
|
||||||
@@ -15,7 +15,7 @@ configure_file (${CMAKE_SOURCE_DIR}/src/Config.vala.base ${CMAKE_BINARY_DIR}/src
|
|||||||
add_definitions(-DGETTEXT_PACKAGE=\"${GETTEXT_PACKAGE}\")
|
add_definitions(-DGETTEXT_PACKAGE=\"${GETTEXT_PACKAGE}\")
|
||||||
configure_file (${CMAKE_CURRENT_SOURCE_DIR}/pamacclassic.pc ${CMAKE_CURRENT_BINARY_DIR}/pamacclassic.pc)
|
configure_file (${CMAKE_CURRENT_SOURCE_DIR}/pamacclassic.pc ${CMAKE_CURRENT_BINARY_DIR}/pamacclassic.pc)
|
||||||
configure_file (${CMAKE_CURRENT_SOURCE_DIR}/pamacclassic.deps ${CMAKE_CURRENT_BINARY_DIR}/pamacclassic.deps)
|
configure_file (${CMAKE_CURRENT_SOURCE_DIR}/pamacclassic.deps ${CMAKE_CURRENT_BINARY_DIR}/pamacclassic.deps)
|
||||||
set (VERSION "6.6.2")
|
set (VERSION "6.7.1")
|
||||||
add_definitions (${DEPS_CFLAGS})
|
add_definitions (${DEPS_CFLAGS})
|
||||||
link_libraries ( ${DEPS_LIBRARIES} )
|
link_libraries ( ${DEPS_LIBRARIES} )
|
||||||
link_directories ( ${DEPS_LIBRARY_DIRS} )
|
link_directories ( ${DEPS_LIBRARY_DIRS} )
|
||||||
@@ -78,7 +78,7 @@ if ((${CMAKE_BUILD_TYPE} STREQUAL "Debug") OR (${CMAKE_BUILD_TYPE} STREQUAL "Rel
|
|||||||
set(COMPILE_OPTIONS ${COMPILE_OPTIONS} "-g")
|
set(COMPILE_OPTIONS ${COMPILE_OPTIONS} "-g")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
set (COMPILE_OPTIONS ${COMPILE_OPTIONS} --library=pamacclassic --gir pamacclassic-6.0.gir )
|
set (COMPILE_OPTIONS ${COMPILE_OPTIONS} --library=pamacclassic --gir pamacclassic-1.0.gir )
|
||||||
set (COMPILE_OPTIONS ${COMPILE_OPTIONS} --gresources=${CMAKE_SOURCE_DIR}/data/pamac.transaction.gresource.xml )
|
set (COMPILE_OPTIONS ${COMPILE_OPTIONS} --gresources=${CMAKE_SOURCE_DIR}/data/pamac.transaction.gresource.xml )
|
||||||
|
|
||||||
vala_precompile(VALA_C pamacclassic
|
vala_precompile(VALA_C pamacclassic
|
||||||
@@ -101,10 +101,16 @@ add_dependencies( pamacclassic ${pamacclassic_DEPENDENCIES} )
|
|||||||
target_link_libraries( pamacclassic m )
|
target_link_libraries( pamacclassic m )
|
||||||
set_target_properties( pamacclassic PROPERTIES
|
set_target_properties( pamacclassic PROPERTIES
|
||||||
VERSION
|
VERSION
|
||||||
6.6.2
|
6.7.1
|
||||||
SOVERSION
|
SOVERSION
|
||||||
6 )
|
6 )
|
||||||
|
|
||||||
|
add_custom_command (
|
||||||
|
TARGET pamacclassic
|
||||||
|
POST_BUILD
|
||||||
|
COMMAND g-ir-compiler --shared-library=libpamacclassic "${CMAKE_CURRENT_BINARY_DIR}/pamacclassic-1.0.gir" --output="${CMAKE_CURRENT_BINARY_DIR}/pamacclassic-1.0.typelib"
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
install(TARGETS
|
install(TARGETS
|
||||||
pamacclassic
|
pamacclassic
|
||||||
@@ -127,10 +133,15 @@ DESTINATION
|
|||||||
${CMAKE_INSTALL_DATAROOTDIR}/vala/vapi/
|
${CMAKE_INSTALL_DATAROOTDIR}/vala/vapi/
|
||||||
)
|
)
|
||||||
install(FILES
|
install(FILES
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/pamacclassic-6.0.gir
|
${CMAKE_CURRENT_BINARY_DIR}/pamacclassic-1.0.gir
|
||||||
DESTINATION
|
DESTINATION
|
||||||
${CMAKE_INSTALL_DATAROOTDIR}/gir-1.0/
|
${CMAKE_INSTALL_DATAROOTDIR}/gir-1.0/
|
||||||
)
|
)
|
||||||
|
install(FILES
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}/pamacclassic-1.0.typelib
|
||||||
|
DESTINATION
|
||||||
|
lib/girepository-1.0/
|
||||||
|
)
|
||||||
install(FILES
|
install(FILES
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/pamacclassic.pc
|
${CMAKE_CURRENT_BINARY_DIR}/pamacclassic.pc
|
||||||
DESTINATION
|
DESTINATION
|
||||||
@@ -148,7 +159,7 @@ if(HAVE_VALADOC)
|
|||||||
install(DIRECTORY
|
install(DIRECTORY
|
||||||
${CMAKE_BINARY_DIR}/valadoc
|
${CMAKE_BINARY_DIR}/valadoc
|
||||||
DESTINATION
|
DESTINATION
|
||||||
${CMAKE_INSTALL_DATAROOTDIR}/doc/pamac-classic
|
${CMAKE_INSTALL_DATAROOTDIR}/doc/pamac
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
namespace pamacclassicConstants {
|
namespace pamacclassic {
|
||||||
public const string DATADIR = "@DATADIR@";
|
public const string DATADIR = "@DATADIR@";
|
||||||
public const string PKGDATADIR = "@PKGDATADIR@";
|
public const string PKGDATADIR = "@PKGDATADIR@";
|
||||||
public const string GETTEXT_PACKAGE = "@GETTEXT_PACKAGE@";
|
public const string GETTEXT_PACKAGE = "@GETTEXT_PACKAGE@";
|
||||||
|
@@ -1,13 +1,16 @@
|
|||||||
cfg_pamac_classic = configuration_data()
|
cfg_pamac_classic = configuration_data()
|
||||||
cfg_pamac_classic.set('DATADIR', join_paths(get_option('prefix'),get_option('datadir')))
|
cfg_pamac_classic.set('DATADIR', join_paths(get_option('prefix'),get_option('datadir')))
|
||||||
cfg_pamac_classic.set('PKGDATADIR', join_paths(get_option('prefix'),get_option('datadir'),'pamac-classic'))
|
cfg_pamac_classic.set('PKGDATADIR', join_paths(get_option('prefix'),get_option('datadir'),'pamac'))
|
||||||
cfg_pamac_classic.set('GETTEXT_PACKAGE', 'pamac-classic')
|
cfg_pamac_classic.set('GETTEXT_PACKAGE', 'pamac')
|
||||||
cfg_pamac_classic.set('RELEASE_NAME', 'pamac-classic')
|
cfg_pamac_classic.set('RELEASE_NAME', 'pamac')
|
||||||
cfg_pamac_classic.set('PREFIX', get_option('prefix'))
|
cfg_pamac_classic.set('PREFIX', get_option('prefix'))
|
||||||
cfg_pamac_classic.set('VERSION', '6.6.2')
|
cfg_pamac_classic.set('VERSION', '6.7.1')
|
||||||
cfg_pamac_classic.set('TESTSRCDIR', meson.source_root())
|
cfg_pamac_classic.set('TESTSRCDIR', meson.source_root())
|
||||||
|
|
||||||
cfgfile_1 = configure_file(input: 'Config.vala.base',output: 'Config.vala',configuration: cfg_pamac_classic)
|
cfgfile_1 = configure_file(
|
||||||
|
input: 'Config.vala.base',
|
||||||
|
output: 'Config.vala',
|
||||||
|
configuration: cfg_pamac_classic)
|
||||||
|
|
||||||
pamac_classic_deps = [gdk_3_0_dep]
|
pamac_classic_deps = [gdk_3_0_dep]
|
||||||
pamac_classic_deps += [gtk_3_0_dep]
|
pamac_classic_deps += [gtk_3_0_dep]
|
||||||
@@ -56,10 +59,17 @@ if DISABLE_AUR
|
|||||||
pamac_classic_c_args += ['-DDISABLE_AUR']
|
pamac_classic_c_args += ['-DDISABLE_AUR']
|
||||||
endif
|
endif
|
||||||
pamac_classic_deps += [meson.get_compiler('c').find_library('m', required : false)]
|
pamac_classic_deps += [meson.get_compiler('c').find_library('m', required : false)]
|
||||||
pamac_classic_vala_args += ['--gir=pamacclassic-6.0.gir']
|
pamac_classic_link_args = ['-rdynamic']
|
||||||
|
|
||||||
|
pamacclassic_library = shared_library('pamacclassic', pamac_classic_sources,
|
||||||
pamacclassic_library = shared_library('pamacclassic',pamac_classic_sources,dependencies: pamac_classic_deps,vala_args: pamac_classic_vala_args,c_args: pamac_classic_c_args,version: '6.6.2',soversion: '6',install: true)
|
dependencies: pamac_classic_deps,
|
||||||
|
vala_args: pamac_classic_vala_args,
|
||||||
|
c_args: pamac_classic_c_args,
|
||||||
|
link_args: pamac_classic_link_args,
|
||||||
|
version: '6.7.1',
|
||||||
|
soversion: '6',
|
||||||
|
install: true,
|
||||||
|
install_dir: [true, true, true])
|
||||||
|
|
||||||
pamac_classic_requires = []
|
pamac_classic_requires = []
|
||||||
pamac_classic_requires += ['gdk-3.0']
|
pamac_classic_requires += ['gdk-3.0']
|
||||||
@@ -74,12 +84,10 @@ pamac_classic_requires += ['glib-2.0']
|
|||||||
pamac_classic_requires += ['gobject-2.0']
|
pamac_classic_requires += ['gobject-2.0']
|
||||||
pkg_mod = import('pkgconfig')
|
pkg_mod = import('pkgconfig')
|
||||||
pkg_mod.generate(libraries : pamacclassic_library,
|
pkg_mod.generate(libraries : pamacclassic_library,
|
||||||
version : '6.6.2',
|
version : '6.7.1',
|
||||||
name : 'pamacclassic',
|
name : 'pamacclassic',
|
||||||
filebase : 'pamacclassic',
|
filebase : 'pamacclassic',
|
||||||
description : 'pamacclassic',
|
description : 'pamacclassic',
|
||||||
requires : pamac_classic_requires)
|
requires : pamac_classic_requires)
|
||||||
|
|
||||||
install_data(join_paths(meson.current_source_dir(),'pamacclassic.deps'),install_dir: join_paths(get_option('prefix'),'share','vala','vapi'))
|
install_data(join_paths(meson.current_source_dir(),'pamacclassic.deps'),install_dir: join_paths(get_option('prefix'),'share','vala','vapi'))
|
||||||
meson.add_install_script(join_paths(meson.source_root(),'meson_scripts','install_library.sh'),'src','pamacclassic','pamacclassic-6.0.gir')
|
|
||||||
|
|
||||||
|
@@ -2,18 +2,18 @@
|
|||||||
### Do not edit
|
### Do not edit
|
||||||
|
|
||||||
set (DATADIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATAROOTDIR}")
|
set (DATADIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATAROOTDIR}")
|
||||||
set (PKGDATADIR "${DATADIR}/pamac-classic")
|
set (PKGDATADIR "${DATADIR}/pamac")
|
||||||
set (GETTEXT_PACKAGE "pamac-classic")
|
set (GETTEXT_PACKAGE "pamac")
|
||||||
set (RELEASE_NAME "pamac-classic")
|
set (RELEASE_NAME "pamac")
|
||||||
set (CMAKE_C_FLAGS "")
|
set (CMAKE_C_FLAGS "")
|
||||||
set (PREFIX ${CMAKE_INSTALL_PREFIX})
|
set (PREFIX ${CMAKE_INSTALL_PREFIX})
|
||||||
set (VERSION "6.6.2")
|
set (VERSION "6.7.1")
|
||||||
set (TESTSRCDIR "${CMAKE_SOURCE_DIR}")
|
set (TESTSRCDIR "${CMAKE_SOURCE_DIR}")
|
||||||
set (DOLLAR "$")
|
set (DOLLAR "$")
|
||||||
|
|
||||||
configure_file (${CMAKE_SOURCE_DIR}/src/pamac-clean-cache/Config.vala.base ${CMAKE_BINARY_DIR}/src/pamac-clean-cache/Config.vala)
|
configure_file (${CMAKE_SOURCE_DIR}/src/pamac-clean-cache/Config.vala.base ${CMAKE_BINARY_DIR}/src/pamac-clean-cache/Config.vala)
|
||||||
add_definitions(-DGETTEXT_PACKAGE=\"${GETTEXT_PACKAGE}\")
|
add_definitions(-DGETTEXT_PACKAGE=\"${GETTEXT_PACKAGE}\")
|
||||||
set (VERSION "6.6.2")
|
set (VERSION "6.7.1")
|
||||||
add_definitions (${DEPS_CFLAGS})
|
add_definitions (${DEPS_CFLAGS})
|
||||||
include_directories ( ${CMAKE_BINARY_DIR}/src )
|
include_directories ( ${CMAKE_BINARY_DIR}/src )
|
||||||
link_libraries ( ${DEPS_LIBRARIES} -lpamacclassic )
|
link_libraries ( ${DEPS_LIBRARIES} -lpamacclassic )
|
||||||
@@ -94,6 +94,6 @@ if(HAVE_VALADOC)
|
|||||||
install(DIRECTORY
|
install(DIRECTORY
|
||||||
${CMAKE_BINARY_DIR}/valadoc
|
${CMAKE_BINARY_DIR}/valadoc
|
||||||
DESTINATION
|
DESTINATION
|
||||||
${CMAKE_INSTALL_DATAROOTDIR}/doc/pamac-classic
|
${CMAKE_INSTALL_DATAROOTDIR}/doc/pamac
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
@@ -1,13 +1,16 @@
|
|||||||
cfg_pamac_clean_cache = configuration_data()
|
cfg_pamac_clean_cache = configuration_data()
|
||||||
cfg_pamac_clean_cache.set('DATADIR', join_paths(get_option('prefix'),get_option('datadir')))
|
cfg_pamac_clean_cache.set('DATADIR', join_paths(get_option('prefix'),get_option('datadir')))
|
||||||
cfg_pamac_clean_cache.set('PKGDATADIR', join_paths(get_option('prefix'),get_option('datadir'),'pamac-classic'))
|
cfg_pamac_clean_cache.set('PKGDATADIR', join_paths(get_option('prefix'),get_option('datadir'),'pamac'))
|
||||||
cfg_pamac_clean_cache.set('GETTEXT_PACKAGE', 'pamac-classic')
|
cfg_pamac_clean_cache.set('GETTEXT_PACKAGE', 'pamac')
|
||||||
cfg_pamac_clean_cache.set('RELEASE_NAME', 'pamac-classic')
|
cfg_pamac_clean_cache.set('RELEASE_NAME', 'pamac')
|
||||||
cfg_pamac_clean_cache.set('PREFIX', get_option('prefix'))
|
cfg_pamac_clean_cache.set('PREFIX', get_option('prefix'))
|
||||||
cfg_pamac_clean_cache.set('VERSION', '6.6.2')
|
cfg_pamac_clean_cache.set('VERSION', '6.7.1')
|
||||||
cfg_pamac_clean_cache.set('TESTSRCDIR', meson.source_root())
|
cfg_pamac_clean_cache.set('TESTSRCDIR', meson.source_root())
|
||||||
|
|
||||||
cfgfile_4 = configure_file(input: 'Config.vala.base',output: 'Config.vala',configuration: cfg_pamac_clean_cache)
|
cfgfile_4 = configure_file(
|
||||||
|
input: 'Config.vala.base',
|
||||||
|
output: 'Config.vala',
|
||||||
|
configuration: cfg_pamac_clean_cache)
|
||||||
|
|
||||||
pamac_clean_cache_deps = [gtk_3_0_dep]
|
pamac_clean_cache_deps = [gtk_3_0_dep]
|
||||||
pamac_clean_cache_deps += [json_glib_1_0_dep]
|
pamac_clean_cache_deps += [json_glib_1_0_dep]
|
||||||
@@ -36,7 +39,15 @@ if DISABLE_AUR
|
|||||||
pamac_clean_cache_vala_args += ['-D', 'DISABLE_AUR']
|
pamac_clean_cache_vala_args += ['-D', 'DISABLE_AUR']
|
||||||
pamac_clean_cache_c_args += ['-DDISABLE_AUR']
|
pamac_clean_cache_c_args += ['-DDISABLE_AUR']
|
||||||
endif
|
endif
|
||||||
|
pamac_clean_cache_link_args = ['-rdynamic']
|
||||||
pamac_clean_cache_hfolders = ['../../src']
|
pamac_clean_cache_hfolders = ['../../src']
|
||||||
|
|
||||||
executable('pamac-clean-cache',pamac_clean_cache_sources,dependencies: pamac_clean_cache_deps,vala_args: pamac_clean_cache_vala_args,c_args: pamac_clean_cache_c_args,link_with: pamac_clean_cache_dependencies,include_directories: include_directories(pamac_clean_cache_hfolders),install: true)
|
executable('pamac-clean-cache',pamac_clean_cache_sources,
|
||||||
|
dependencies: pamac_clean_cache_deps,
|
||||||
|
vala_args: pamac_clean_cache_vala_args,
|
||||||
|
c_args: pamac_clean_cache_c_args,
|
||||||
|
link_args: pamac_clean_cache_link_args,
|
||||||
|
link_with: pamac_clean_cache_dependencies,
|
||||||
|
include_directories: include_directories(pamac_clean_cache_hfolders),
|
||||||
|
install: true)
|
||||||
|
|
||||||
|
@@ -2,18 +2,18 @@
|
|||||||
### Do not edit
|
### Do not edit
|
||||||
|
|
||||||
set (DATADIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATAROOTDIR}")
|
set (DATADIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATAROOTDIR}")
|
||||||
set (PKGDATADIR "${DATADIR}/pamac-classic")
|
set (PKGDATADIR "${DATADIR}/pamac")
|
||||||
set (GETTEXT_PACKAGE "pamac-classic")
|
set (GETTEXT_PACKAGE "pamac")
|
||||||
set (RELEASE_NAME "pamac-classic")
|
set (RELEASE_NAME "pamac")
|
||||||
set (CMAKE_C_FLAGS "")
|
set (CMAKE_C_FLAGS "")
|
||||||
set (PREFIX ${CMAKE_INSTALL_PREFIX})
|
set (PREFIX ${CMAKE_INSTALL_PREFIX})
|
||||||
set (VERSION "6.6.2")
|
set (VERSION "6.7.1")
|
||||||
set (TESTSRCDIR "${CMAKE_SOURCE_DIR}")
|
set (TESTSRCDIR "${CMAKE_SOURCE_DIR}")
|
||||||
set (DOLLAR "$")
|
set (DOLLAR "$")
|
||||||
|
|
||||||
configure_file (${CMAKE_SOURCE_DIR}/src/pamac-install/Config.vala.base ${CMAKE_BINARY_DIR}/src/pamac-install/Config.vala)
|
configure_file (${CMAKE_SOURCE_DIR}/src/pamac-install/Config.vala.base ${CMAKE_BINARY_DIR}/src/pamac-install/Config.vala)
|
||||||
add_definitions(-DGETTEXT_PACKAGE=\"${GETTEXT_PACKAGE}\")
|
add_definitions(-DGETTEXT_PACKAGE=\"${GETTEXT_PACKAGE}\")
|
||||||
set (VERSION "6.6.2")
|
set (VERSION "6.7.1")
|
||||||
add_definitions (${DEPS_CFLAGS})
|
add_definitions (${DEPS_CFLAGS})
|
||||||
include_directories ( ${CMAKE_BINARY_DIR}/src )
|
include_directories ( ${CMAKE_BINARY_DIR}/src )
|
||||||
link_libraries ( ${DEPS_LIBRARIES} -lpamacclassic )
|
link_libraries ( ${DEPS_LIBRARIES} -lpamacclassic )
|
||||||
@@ -97,6 +97,6 @@ if(HAVE_VALADOC)
|
|||||||
install(DIRECTORY
|
install(DIRECTORY
|
||||||
${CMAKE_BINARY_DIR}/valadoc
|
${CMAKE_BINARY_DIR}/valadoc
|
||||||
DESTINATION
|
DESTINATION
|
||||||
${CMAKE_INSTALL_DATAROOTDIR}/doc/pamac-classic
|
${CMAKE_INSTALL_DATAROOTDIR}/doc/pamac
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
@@ -1,13 +1,16 @@
|
|||||||
cfg_pamac_install = configuration_data()
|
cfg_pamac_install = configuration_data()
|
||||||
cfg_pamac_install.set('DATADIR', join_paths(get_option('prefix'),get_option('datadir')))
|
cfg_pamac_install.set('DATADIR', join_paths(get_option('prefix'),get_option('datadir')))
|
||||||
cfg_pamac_install.set('PKGDATADIR', join_paths(get_option('prefix'),get_option('datadir'),'pamac-classic'))
|
cfg_pamac_install.set('PKGDATADIR', join_paths(get_option('prefix'),get_option('datadir'),'pamac'))
|
||||||
cfg_pamac_install.set('GETTEXT_PACKAGE', 'pamac-classic')
|
cfg_pamac_install.set('GETTEXT_PACKAGE', 'pamac')
|
||||||
cfg_pamac_install.set('RELEASE_NAME', 'pamac-classic')
|
cfg_pamac_install.set('RELEASE_NAME', 'pamac')
|
||||||
cfg_pamac_install.set('PREFIX', get_option('prefix'))
|
cfg_pamac_install.set('PREFIX', get_option('prefix'))
|
||||||
cfg_pamac_install.set('VERSION', '6.6.2')
|
cfg_pamac_install.set('VERSION', '6.7.1')
|
||||||
cfg_pamac_install.set('TESTSRCDIR', meson.source_root())
|
cfg_pamac_install.set('TESTSRCDIR', meson.source_root())
|
||||||
|
|
||||||
cfgfile_5 = configure_file(input: 'Config.vala.base',output: 'Config.vala',configuration: cfg_pamac_install)
|
cfgfile_5 = configure_file(
|
||||||
|
input: 'Config.vala.base',
|
||||||
|
output: 'Config.vala',
|
||||||
|
configuration: cfg_pamac_install)
|
||||||
|
|
||||||
pamac_install_deps = [gtk_3_0_dep]
|
pamac_install_deps = [gtk_3_0_dep]
|
||||||
pamac_install_deps += [json_glib_1_0_dep]
|
pamac_install_deps += [json_glib_1_0_dep]
|
||||||
@@ -38,7 +41,15 @@ if DISABLE_AUR
|
|||||||
pamac_install_vala_args += ['-D', 'DISABLE_AUR']
|
pamac_install_vala_args += ['-D', 'DISABLE_AUR']
|
||||||
pamac_install_c_args += ['-DDISABLE_AUR']
|
pamac_install_c_args += ['-DDISABLE_AUR']
|
||||||
endif
|
endif
|
||||||
|
pamac_install_link_args = ['-rdynamic']
|
||||||
pamac_install_hfolders = ['../../src']
|
pamac_install_hfolders = ['../../src']
|
||||||
|
|
||||||
executable('pamac-install',pamac_install_sources,dependencies: pamac_install_deps,vala_args: pamac_install_vala_args,c_args: pamac_install_c_args,link_with: pamac_install_dependencies,include_directories: include_directories(pamac_install_hfolders),install: true)
|
executable('pamac-install',pamac_install_sources,
|
||||||
|
dependencies: pamac_install_deps,
|
||||||
|
vala_args: pamac_install_vala_args,
|
||||||
|
c_args: pamac_install_c_args,
|
||||||
|
link_args: pamac_install_link_args,
|
||||||
|
link_with: pamac_install_dependencies,
|
||||||
|
include_directories: include_directories(pamac_install_hfolders),
|
||||||
|
install: true)
|
||||||
|
|
||||||
|
@@ -2,18 +2,18 @@
|
|||||||
### Do not edit
|
### Do not edit
|
||||||
|
|
||||||
set (DATADIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATAROOTDIR}")
|
set (DATADIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATAROOTDIR}")
|
||||||
set (PKGDATADIR "${DATADIR}/pamac-classic")
|
set (PKGDATADIR "${DATADIR}/pamac")
|
||||||
set (GETTEXT_PACKAGE "pamac-classic")
|
set (GETTEXT_PACKAGE "pamac")
|
||||||
set (RELEASE_NAME "pamac-classic")
|
set (RELEASE_NAME "pamac")
|
||||||
set (CMAKE_C_FLAGS "")
|
set (CMAKE_C_FLAGS "")
|
||||||
set (PREFIX ${CMAKE_INSTALL_PREFIX})
|
set (PREFIX ${CMAKE_INSTALL_PREFIX})
|
||||||
set (VERSION "6.6.2")
|
set (VERSION "6.7.1")
|
||||||
set (TESTSRCDIR "${CMAKE_SOURCE_DIR}")
|
set (TESTSRCDIR "${CMAKE_SOURCE_DIR}")
|
||||||
set (DOLLAR "$")
|
set (DOLLAR "$")
|
||||||
|
|
||||||
configure_file (${CMAKE_SOURCE_DIR}/src/pamac-manager/Config.vala.base ${CMAKE_BINARY_DIR}/src/pamac-manager/Config.vala)
|
configure_file (${CMAKE_SOURCE_DIR}/src/pamac-manager/Config.vala.base ${CMAKE_BINARY_DIR}/src/pamac-manager/Config.vala)
|
||||||
add_definitions(-DGETTEXT_PACKAGE=\"${GETTEXT_PACKAGE}\")
|
add_definitions(-DGETTEXT_PACKAGE=\"${GETTEXT_PACKAGE}\")
|
||||||
set (VERSION "6.6.2")
|
set (VERSION "6.7.1")
|
||||||
add_definitions (${DEPS_CFLAGS})
|
add_definitions (${DEPS_CFLAGS})
|
||||||
include_directories ( ${CMAKE_BINARY_DIR}/src )
|
include_directories ( ${CMAKE_BINARY_DIR}/src )
|
||||||
link_libraries ( ${DEPS_LIBRARIES} -lpamacclassic )
|
link_libraries ( ${DEPS_LIBRARIES} -lpamacclassic )
|
||||||
@@ -104,6 +104,6 @@ if(HAVE_VALADOC)
|
|||||||
install(DIRECTORY
|
install(DIRECTORY
|
||||||
${CMAKE_BINARY_DIR}/valadoc
|
${CMAKE_BINARY_DIR}/valadoc
|
||||||
DESTINATION
|
DESTINATION
|
||||||
${CMAKE_INSTALL_DATAROOTDIR}/doc/pamac-classic
|
${CMAKE_INSTALL_DATAROOTDIR}/doc/pamac
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
@@ -1580,13 +1580,19 @@ namespace Pamac {
|
|||||||
if (pkg.name != "") {
|
if (pkg.name != "") {
|
||||||
selected_pkgs.append (pkgname);
|
selected_pkgs.append (pkgname);
|
||||||
// there is for sure a pkg to remove
|
// there is for sure a pkg to remove
|
||||||
remove_item.sensitive = true;
|
if (filters_stack.visible_child_name == "search"
|
||||||
|
&& !transaction.to_remove.contains (pkgname)
|
||||||
|
&& !transaction.to_build.contains (pkgname)
|
||||||
|
&& !transaction.to_update.contains (pkgname)) {
|
||||||
|
remove_item.sensitive = true;
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
selected_aur.append (pkgname);
|
selected_aur.append (pkgname);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
foreach (unowned string pkgname in selected_aur) {
|
foreach (unowned string pkgname in selected_aur) {
|
||||||
if (transaction.to_build.contains (pkgname)) {
|
if (transaction.to_remove.contains (pkgname)
|
||||||
|
|| transaction.to_build.contains (pkgname)) {
|
||||||
deselect_item.sensitive = true;
|
deselect_item.sensitive = true;
|
||||||
} else {
|
} else {
|
||||||
install_item.sensitive = true;
|
install_item.sensitive = true;
|
||||||
|
@@ -1,13 +1,16 @@
|
|||||||
cfg_pamac_manager = configuration_data()
|
cfg_pamac_manager = configuration_data()
|
||||||
cfg_pamac_manager.set('DATADIR', join_paths(get_option('prefix'),get_option('datadir')))
|
cfg_pamac_manager.set('DATADIR', join_paths(get_option('prefix'),get_option('datadir')))
|
||||||
cfg_pamac_manager.set('PKGDATADIR', join_paths(get_option('prefix'),get_option('datadir'),'pamac-classic'))
|
cfg_pamac_manager.set('PKGDATADIR', join_paths(get_option('prefix'),get_option('datadir'),'pamac'))
|
||||||
cfg_pamac_manager.set('GETTEXT_PACKAGE', 'pamac-classic')
|
cfg_pamac_manager.set('GETTEXT_PACKAGE', 'pamac')
|
||||||
cfg_pamac_manager.set('RELEASE_NAME', 'pamac-classic')
|
cfg_pamac_manager.set('RELEASE_NAME', 'pamac')
|
||||||
cfg_pamac_manager.set('PREFIX', get_option('prefix'))
|
cfg_pamac_manager.set('PREFIX', get_option('prefix'))
|
||||||
cfg_pamac_manager.set('VERSION', '6.6.2')
|
cfg_pamac_manager.set('VERSION', '6.7.1')
|
||||||
cfg_pamac_manager.set('TESTSRCDIR', meson.source_root())
|
cfg_pamac_manager.set('TESTSRCDIR', meson.source_root())
|
||||||
|
|
||||||
cfgfile_6 = configure_file(input: 'Config.vala.base',output: 'Config.vala',configuration: cfg_pamac_manager)
|
cfgfile_6 = configure_file(
|
||||||
|
input: 'Config.vala.base',
|
||||||
|
output: 'Config.vala',
|
||||||
|
configuration: cfg_pamac_manager)
|
||||||
|
|
||||||
pamac_manager_deps = [gtk_3_0_dep]
|
pamac_manager_deps = [gtk_3_0_dep]
|
||||||
pamac_manager_deps += [json_glib_1_0_dep]
|
pamac_manager_deps += [json_glib_1_0_dep]
|
||||||
@@ -39,8 +42,16 @@ if DISABLE_AUR
|
|||||||
pamac_manager_vala_args += ['-D', 'DISABLE_AUR']
|
pamac_manager_vala_args += ['-D', 'DISABLE_AUR']
|
||||||
pamac_manager_c_args += ['-DDISABLE_AUR']
|
pamac_manager_c_args += ['-DDISABLE_AUR']
|
||||||
endif
|
endif
|
||||||
|
pamac_manager_link_args = ['-rdynamic']
|
||||||
pamac_manager_hfolders = ['../../src']
|
pamac_manager_hfolders = ['../../src']
|
||||||
|
|
||||||
executable('pamac-manager',pamac_manager_sources,dependencies: pamac_manager_deps,vala_args: pamac_manager_vala_args,c_args: pamac_manager_c_args,link_with: pamac_manager_dependencies,include_directories: include_directories(pamac_manager_hfolders),install: true)
|
executable('pamac-manager',pamac_manager_sources,
|
||||||
|
dependencies: pamac_manager_deps,
|
||||||
|
vala_args: pamac_manager_vala_args,
|
||||||
|
c_args: pamac_manager_c_args,
|
||||||
|
link_args: pamac_manager_link_args,
|
||||||
|
link_with: pamac_manager_dependencies,
|
||||||
|
include_directories: include_directories(pamac_manager_hfolders),
|
||||||
|
install: true)
|
||||||
|
|
||||||
meson.add_install_script('sh', '-c', 'ln -sf pamac-manager ${DESTDIR}/${MESON_INSTALL_PREFIX}/bin/pamac-updater')
|
meson.add_install_script('sh', '-c', 'ln -sf pamac-manager ${DESTDIR}/${MESON_INSTALL_PREFIX}/bin/pamac-updater')
|
||||||
|
@@ -2,18 +2,18 @@
|
|||||||
### Do not edit
|
### Do not edit
|
||||||
|
|
||||||
set (DATADIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATAROOTDIR}")
|
set (DATADIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATAROOTDIR}")
|
||||||
set (PKGDATADIR "${DATADIR}/pamac-classic")
|
set (PKGDATADIR "${DATADIR}/pamac")
|
||||||
set (GETTEXT_PACKAGE "pamac-classic")
|
set (GETTEXT_PACKAGE "pamac")
|
||||||
set (RELEASE_NAME "pamac-classic")
|
set (RELEASE_NAME "pamac")
|
||||||
set (CMAKE_C_FLAGS "")
|
set (CMAKE_C_FLAGS "")
|
||||||
set (PREFIX ${CMAKE_INSTALL_PREFIX})
|
set (PREFIX ${CMAKE_INSTALL_PREFIX})
|
||||||
set (VERSION "6.6.2")
|
set (VERSION "6.7.1")
|
||||||
set (TESTSRCDIR "${CMAKE_SOURCE_DIR}")
|
set (TESTSRCDIR "${CMAKE_SOURCE_DIR}")
|
||||||
set (DOLLAR "$")
|
set (DOLLAR "$")
|
||||||
|
|
||||||
configure_file (${CMAKE_SOURCE_DIR}/src/pamac-system-daemon/Config.vala.base ${CMAKE_BINARY_DIR}/src/pamac-system-daemon/Config.vala)
|
configure_file (${CMAKE_SOURCE_DIR}/src/pamac-system-daemon/Config.vala.base ${CMAKE_BINARY_DIR}/src/pamac-system-daemon/Config.vala)
|
||||||
add_definitions(-DGETTEXT_PACKAGE=\"${GETTEXT_PACKAGE}\")
|
add_definitions(-DGETTEXT_PACKAGE=\"${GETTEXT_PACKAGE}\")
|
||||||
set (VERSION "6.6.2")
|
set (VERSION "6.7.1")
|
||||||
add_definitions (${DEPS_CFLAGS})
|
add_definitions (${DEPS_CFLAGS})
|
||||||
include_directories ( ${CMAKE_BINARY_DIR}/src )
|
include_directories ( ${CMAKE_BINARY_DIR}/src )
|
||||||
link_libraries ( ${DEPS_LIBRARIES} -lpamacclassic )
|
link_libraries ( ${DEPS_LIBRARIES} -lpamacclassic )
|
||||||
@@ -101,6 +101,6 @@ if(HAVE_VALADOC)
|
|||||||
install(DIRECTORY
|
install(DIRECTORY
|
||||||
${CMAKE_BINARY_DIR}/valadoc
|
${CMAKE_BINARY_DIR}/valadoc
|
||||||
DESTINATION
|
DESTINATION
|
||||||
${CMAKE_INSTALL_DATAROOTDIR}/doc/pamac-classic
|
${CMAKE_INSTALL_DATAROOTDIR}/doc/pamac
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
@@ -1,13 +1,16 @@
|
|||||||
cfg_pamac_system_daemon = configuration_data()
|
cfg_pamac_system_daemon = configuration_data()
|
||||||
cfg_pamac_system_daemon.set('DATADIR', join_paths(get_option('prefix'),get_option('datadir')))
|
cfg_pamac_system_daemon.set('DATADIR', join_paths(get_option('prefix'),get_option('datadir')))
|
||||||
cfg_pamac_system_daemon.set('PKGDATADIR', join_paths(get_option('prefix'),get_option('datadir'),'pamac-classic'))
|
cfg_pamac_system_daemon.set('PKGDATADIR', join_paths(get_option('prefix'),get_option('datadir'),'pamac'))
|
||||||
cfg_pamac_system_daemon.set('GETTEXT_PACKAGE', 'pamac-classic')
|
cfg_pamac_system_daemon.set('GETTEXT_PACKAGE', 'pamac')
|
||||||
cfg_pamac_system_daemon.set('RELEASE_NAME', 'pamac-classic')
|
cfg_pamac_system_daemon.set('RELEASE_NAME', 'pamac')
|
||||||
cfg_pamac_system_daemon.set('PREFIX', get_option('prefix'))
|
cfg_pamac_system_daemon.set('PREFIX', get_option('prefix'))
|
||||||
cfg_pamac_system_daemon.set('VERSION', '6.6.2')
|
cfg_pamac_system_daemon.set('VERSION', '6.7.1')
|
||||||
cfg_pamac_system_daemon.set('TESTSRCDIR', meson.source_root())
|
cfg_pamac_system_daemon.set('TESTSRCDIR', meson.source_root())
|
||||||
|
|
||||||
cfgfile_7 = configure_file(input: 'Config.vala.base',output: 'Config.vala',configuration: cfg_pamac_system_daemon)
|
cfgfile_7 = configure_file(
|
||||||
|
input: 'Config.vala.base',
|
||||||
|
output: 'Config.vala',
|
||||||
|
configuration: cfg_pamac_system_daemon)
|
||||||
|
|
||||||
pamac_system_daemon_deps = [gtk_3_0_dep]
|
pamac_system_daemon_deps = [gtk_3_0_dep]
|
||||||
pamac_system_daemon_deps += [json_glib_1_0_dep]
|
pamac_system_daemon_deps += [json_glib_1_0_dep]
|
||||||
@@ -43,7 +46,15 @@ if DISABLE_AUR
|
|||||||
pamac_system_daemon_vala_args += ['-D', 'DISABLE_AUR']
|
pamac_system_daemon_vala_args += ['-D', 'DISABLE_AUR']
|
||||||
pamac_system_daemon_c_args += ['-DDISABLE_AUR']
|
pamac_system_daemon_c_args += ['-DDISABLE_AUR']
|
||||||
endif
|
endif
|
||||||
|
pamac_system_daemon_link_args = ['-rdynamic']
|
||||||
pamac_system_daemon_hfolders = ['../../src']
|
pamac_system_daemon_hfolders = ['../../src']
|
||||||
|
|
||||||
executable('pamac-system-daemon',pamac_system_daemon_sources,dependencies: pamac_system_daemon_deps,vala_args: pamac_system_daemon_vala_args,c_args: pamac_system_daemon_c_args,link_with: pamac_system_daemon_dependencies,include_directories: include_directories(pamac_system_daemon_hfolders),install: true)
|
executable('pamac-system-daemon',pamac_system_daemon_sources,
|
||||||
|
dependencies: pamac_system_daemon_deps,
|
||||||
|
vala_args: pamac_system_daemon_vala_args,
|
||||||
|
c_args: pamac_system_daemon_c_args,
|
||||||
|
link_args: pamac_system_daemon_link_args,
|
||||||
|
link_with: pamac_system_daemon_dependencies,
|
||||||
|
include_directories: include_directories(pamac_system_daemon_hfolders),
|
||||||
|
install: true)
|
||||||
|
|
||||||
|
@@ -2,18 +2,18 @@
|
|||||||
### Do not edit
|
### Do not edit
|
||||||
|
|
||||||
set (DATADIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATAROOTDIR}")
|
set (DATADIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATAROOTDIR}")
|
||||||
set (PKGDATADIR "${DATADIR}/pamac-classic")
|
set (PKGDATADIR "${DATADIR}/pamac")
|
||||||
set (GETTEXT_PACKAGE "pamac-classic")
|
set (GETTEXT_PACKAGE "pamac")
|
||||||
set (RELEASE_NAME "pamac-classic")
|
set (RELEASE_NAME "pamac")
|
||||||
set (CMAKE_C_FLAGS "")
|
set (CMAKE_C_FLAGS "")
|
||||||
set (PREFIX ${CMAKE_INSTALL_PREFIX})
|
set (PREFIX ${CMAKE_INSTALL_PREFIX})
|
||||||
set (VERSION "6.6.2")
|
set (VERSION "6.7.1")
|
||||||
set (TESTSRCDIR "${CMAKE_SOURCE_DIR}")
|
set (TESTSRCDIR "${CMAKE_SOURCE_DIR}")
|
||||||
set (DOLLAR "$")
|
set (DOLLAR "$")
|
||||||
|
|
||||||
configure_file (${CMAKE_SOURCE_DIR}/src/pamac-tray/Config.vala.base ${CMAKE_BINARY_DIR}/src/pamac-tray/Config.vala)
|
configure_file (${CMAKE_SOURCE_DIR}/src/pamac-tray/Config.vala.base ${CMAKE_BINARY_DIR}/src/pamac-tray/Config.vala)
|
||||||
add_definitions(-DGETTEXT_PACKAGE=\"${GETTEXT_PACKAGE}\")
|
add_definitions(-DGETTEXT_PACKAGE=\"${GETTEXT_PACKAGE}\")
|
||||||
set (VERSION "6.6.2")
|
set (VERSION "6.7.1")
|
||||||
add_definitions (${DEPS_CFLAGS})
|
add_definitions (${DEPS_CFLAGS})
|
||||||
include_directories ( ${CMAKE_BINARY_DIR}/src )
|
include_directories ( ${CMAKE_BINARY_DIR}/src )
|
||||||
link_libraries ( ${DEPS_LIBRARIES} -lpamacclassic )
|
link_libraries ( ${DEPS_LIBRARIES} -lpamacclassic )
|
||||||
@@ -107,6 +107,6 @@ if(HAVE_VALADOC)
|
|||||||
install(DIRECTORY
|
install(DIRECTORY
|
||||||
${CMAKE_BINARY_DIR}/valadoc
|
${CMAKE_BINARY_DIR}/valadoc
|
||||||
DESTINATION
|
DESTINATION
|
||||||
${CMAKE_INSTALL_DATAROOTDIR}/doc/pamac-classic
|
${CMAKE_INSTALL_DATAROOTDIR}/doc/pamac
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
@@ -1,13 +1,16 @@
|
|||||||
cfg_pamac_tray = configuration_data()
|
cfg_pamac_tray = configuration_data()
|
||||||
cfg_pamac_tray.set('DATADIR', join_paths(get_option('prefix'),get_option('datadir')))
|
cfg_pamac_tray.set('DATADIR', join_paths(get_option('prefix'),get_option('datadir')))
|
||||||
cfg_pamac_tray.set('PKGDATADIR', join_paths(get_option('prefix'),get_option('datadir'),'pamac-classic'))
|
cfg_pamac_tray.set('PKGDATADIR', join_paths(get_option('prefix'),get_option('datadir'),'pamac'))
|
||||||
cfg_pamac_tray.set('GETTEXT_PACKAGE', 'pamac-classic')
|
cfg_pamac_tray.set('GETTEXT_PACKAGE', 'pamac')
|
||||||
cfg_pamac_tray.set('RELEASE_NAME', 'pamac-classic')
|
cfg_pamac_tray.set('RELEASE_NAME', 'pamac')
|
||||||
cfg_pamac_tray.set('PREFIX', get_option('prefix'))
|
cfg_pamac_tray.set('PREFIX', get_option('prefix'))
|
||||||
cfg_pamac_tray.set('VERSION', '6.6.2')
|
cfg_pamac_tray.set('VERSION', '6.7.1')
|
||||||
cfg_pamac_tray.set('TESTSRCDIR', meson.source_root())
|
cfg_pamac_tray.set('TESTSRCDIR', meson.source_root())
|
||||||
|
|
||||||
cfgfile_3 = configure_file(input: 'Config.vala.base',output: 'Config.vala',configuration: cfg_pamac_tray)
|
cfgfile_3 = configure_file(
|
||||||
|
input: 'Config.vala.base',
|
||||||
|
output: 'Config.vala',
|
||||||
|
configuration: cfg_pamac_tray)
|
||||||
|
|
||||||
pamac_tray_deps = [json_glib_1_0_dep]
|
pamac_tray_deps = [json_glib_1_0_dep]
|
||||||
pamac_tray_deps += [libalpm_dep]
|
pamac_tray_deps += [libalpm_dep]
|
||||||
@@ -49,7 +52,15 @@ if DISABLE_AUR
|
|||||||
pamac_tray_vala_args += ['-D', 'DISABLE_AUR']
|
pamac_tray_vala_args += ['-D', 'DISABLE_AUR']
|
||||||
pamac_tray_c_args += ['-DDISABLE_AUR']
|
pamac_tray_c_args += ['-DDISABLE_AUR']
|
||||||
endif
|
endif
|
||||||
|
pamac_tray_link_args = ['-rdynamic']
|
||||||
pamac_tray_hfolders = ['../../src']
|
pamac_tray_hfolders = ['../../src']
|
||||||
|
|
||||||
executable('pamac-tray',pamac_tray_sources,dependencies: pamac_tray_deps,vala_args: pamac_tray_vala_args,c_args: pamac_tray_c_args,link_with: pamac_tray_dependencies,include_directories: include_directories(pamac_tray_hfolders),install: true)
|
executable('pamac-tray',pamac_tray_sources,
|
||||||
|
dependencies: pamac_tray_deps,
|
||||||
|
vala_args: pamac_tray_vala_args,
|
||||||
|
c_args: pamac_tray_c_args,
|
||||||
|
link_args: pamac_tray_link_args,
|
||||||
|
link_with: pamac_tray_dependencies,
|
||||||
|
include_directories: include_directories(pamac_tray_hfolders),
|
||||||
|
install: true)
|
||||||
|
|
||||||
|
@@ -2,18 +2,18 @@
|
|||||||
### Do not edit
|
### Do not edit
|
||||||
|
|
||||||
set (DATADIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATAROOTDIR}")
|
set (DATADIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATAROOTDIR}")
|
||||||
set (PKGDATADIR "${DATADIR}/pamac-classic")
|
set (PKGDATADIR "${DATADIR}/pamac")
|
||||||
set (GETTEXT_PACKAGE "pamac-classic")
|
set (GETTEXT_PACKAGE "pamac")
|
||||||
set (RELEASE_NAME "pamac-classic")
|
set (RELEASE_NAME "pamac")
|
||||||
set (CMAKE_C_FLAGS "")
|
set (CMAKE_C_FLAGS "")
|
||||||
set (PREFIX ${CMAKE_INSTALL_PREFIX})
|
set (PREFIX ${CMAKE_INSTALL_PREFIX})
|
||||||
set (VERSION "6.6.2")
|
set (VERSION "6.7.1")
|
||||||
set (TESTSRCDIR "${CMAKE_SOURCE_DIR}")
|
set (TESTSRCDIR "${CMAKE_SOURCE_DIR}")
|
||||||
set (DOLLAR "$")
|
set (DOLLAR "$")
|
||||||
|
|
||||||
configure_file (${CMAKE_SOURCE_DIR}/src/pamac-user-daemon/Config.vala.base ${CMAKE_BINARY_DIR}/src/pamac-user-daemon/Config.vala)
|
configure_file (${CMAKE_SOURCE_DIR}/src/pamac-user-daemon/Config.vala.base ${CMAKE_BINARY_DIR}/src/pamac-user-daemon/Config.vala)
|
||||||
add_definitions(-DGETTEXT_PACKAGE=\"${GETTEXT_PACKAGE}\")
|
add_definitions(-DGETTEXT_PACKAGE=\"${GETTEXT_PACKAGE}\")
|
||||||
set (VERSION "6.6.2")
|
set (VERSION "6.7.1")
|
||||||
add_definitions (${DEPS_CFLAGS})
|
add_definitions (${DEPS_CFLAGS})
|
||||||
include_directories ( ${CMAKE_BINARY_DIR}/src )
|
include_directories ( ${CMAKE_BINARY_DIR}/src )
|
||||||
link_libraries ( ${DEPS_LIBRARIES} -lpamacclassic )
|
link_libraries ( ${DEPS_LIBRARIES} -lpamacclassic )
|
||||||
@@ -98,6 +98,6 @@ if(HAVE_VALADOC)
|
|||||||
install(DIRECTORY
|
install(DIRECTORY
|
||||||
${CMAKE_BINARY_DIR}/valadoc
|
${CMAKE_BINARY_DIR}/valadoc
|
||||||
DESTINATION
|
DESTINATION
|
||||||
${CMAKE_INSTALL_DATAROOTDIR}/doc/pamac-classic
|
${CMAKE_INSTALL_DATAROOTDIR}/doc/pamac
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
@@ -1,13 +1,16 @@
|
|||||||
cfg_pamac_user_daemon = configuration_data()
|
cfg_pamac_user_daemon = configuration_data()
|
||||||
cfg_pamac_user_daemon.set('DATADIR', join_paths(get_option('prefix'),get_option('datadir')))
|
cfg_pamac_user_daemon.set('DATADIR', join_paths(get_option('prefix'),get_option('datadir')))
|
||||||
cfg_pamac_user_daemon.set('PKGDATADIR', join_paths(get_option('prefix'),get_option('datadir'),'pamac-classic'))
|
cfg_pamac_user_daemon.set('PKGDATADIR', join_paths(get_option('prefix'),get_option('datadir'),'pamac'))
|
||||||
cfg_pamac_user_daemon.set('GETTEXT_PACKAGE', 'pamac-classic')
|
cfg_pamac_user_daemon.set('GETTEXT_PACKAGE', 'pamac')
|
||||||
cfg_pamac_user_daemon.set('RELEASE_NAME', 'pamac-classic')
|
cfg_pamac_user_daemon.set('RELEASE_NAME', 'pamac')
|
||||||
cfg_pamac_user_daemon.set('PREFIX', get_option('prefix'))
|
cfg_pamac_user_daemon.set('PREFIX', get_option('prefix'))
|
||||||
cfg_pamac_user_daemon.set('VERSION', '6.6.2')
|
cfg_pamac_user_daemon.set('VERSION', '6.7.1')
|
||||||
cfg_pamac_user_daemon.set('TESTSRCDIR', meson.source_root())
|
cfg_pamac_user_daemon.set('TESTSRCDIR', meson.source_root())
|
||||||
|
|
||||||
cfgfile_2 = configure_file(input: 'Config.vala.base',output: 'Config.vala',configuration: cfg_pamac_user_daemon)
|
cfgfile_2 = configure_file(
|
||||||
|
input: 'Config.vala.base',
|
||||||
|
output: 'Config.vala',
|
||||||
|
configuration: cfg_pamac_user_daemon)
|
||||||
|
|
||||||
pamac_user_daemon_deps = [gtk_3_0_dep]
|
pamac_user_daemon_deps = [gtk_3_0_dep]
|
||||||
pamac_user_daemon_deps += [json_glib_1_0_dep]
|
pamac_user_daemon_deps += [json_glib_1_0_dep]
|
||||||
@@ -40,7 +43,15 @@ if DISABLE_AUR
|
|||||||
pamac_user_daemon_vala_args += ['-D', 'DISABLE_AUR']
|
pamac_user_daemon_vala_args += ['-D', 'DISABLE_AUR']
|
||||||
pamac_user_daemon_c_args += ['-DDISABLE_AUR']
|
pamac_user_daemon_c_args += ['-DDISABLE_AUR']
|
||||||
endif
|
endif
|
||||||
|
pamac_user_daemon_link_args = ['-rdynamic']
|
||||||
pamac_user_daemon_hfolders = ['../../src']
|
pamac_user_daemon_hfolders = ['../../src']
|
||||||
|
|
||||||
executable('pamac-user-daemon',pamac_user_daemon_sources,dependencies: pamac_user_daemon_deps,vala_args: pamac_user_daemon_vala_args,c_args: pamac_user_daemon_c_args,link_with: pamac_user_daemon_dependencies,include_directories: include_directories(pamac_user_daemon_hfolders),install: true)
|
executable('pamac-user-daemon',pamac_user_daemon_sources,
|
||||||
|
dependencies: pamac_user_daemon_deps,
|
||||||
|
vala_args: pamac_user_daemon_vala_args,
|
||||||
|
c_args: pamac_user_daemon_c_args,
|
||||||
|
link_args: pamac_user_daemon_link_args,
|
||||||
|
link_with: pamac_user_daemon_dependencies,
|
||||||
|
include_directories: include_directories(pamac_user_daemon_hfolders),
|
||||||
|
install: true)
|
||||||
|
|
||||||
|
@@ -4,7 +4,7 @@ includedir=@DOLLAR@{prefix}/${CMAKE_INSTALL_INCLUDEDIR}
|
|||||||
|
|
||||||
Name: pamacclassic
|
Name: pamacclassic
|
||||||
Description: pamacclassic
|
Description: pamacclassic
|
||||||
Version: 6.6.2
|
Version: 6.7.1
|
||||||
Libs: -L@DOLLAR@{libdir} -lpamacclassic
|
Libs: -L@DOLLAR@{libdir} -lpamacclassic
|
||||||
Cflags: -I@DOLLAR@{includedir}
|
Cflags: -I@DOLLAR@{includedir}
|
||||||
Requires: gdk-3.0 gtk+-3.0 json-glib-1.0 libalpm libnotify libsoup-2.4 vte-2.91 gio-2.0 glib-2.0 gobject-2.0
|
Requires: gdk-3.0 gtk+-3.0 json-glib-1.0 libalpm libnotify libsoup-2.4 vte-2.91 gio-2.0 glib-2.0 gobject-2.0
|
||||||
|
@@ -36,11 +36,11 @@ namespace Alpm {
|
|||||||
DOWNLOADER = (1 << 1),
|
DOWNLOADER = (1 << 1),
|
||||||
SIGNATURES = (1 << 2)
|
SIGNATURES = (1 << 2)
|
||||||
}
|
}
|
||||||
public Capabilities capabilities();
|
public int capabilities();
|
||||||
|
|
||||||
public unowned Package? find_satisfier(Alpm.List<Package> pkgs, string depstring);
|
public unowned Package? find_satisfier(Alpm.List<weak Package> pkgs, string depstring);
|
||||||
|
|
||||||
public unowned Package? pkg_find(Alpm.List<Package> haystack, string needle);
|
public unowned Package? pkg_find(Alpm.List<weak Package> haystack, string needle);
|
||||||
|
|
||||||
public int pkg_vercmp(string a, string b);
|
public int pkg_vercmp(string a, string b);
|
||||||
|
|
||||||
@@ -90,6 +90,15 @@ namespace Alpm {
|
|||||||
[CCode (cname = "alpm_option_remove_hookdir")]
|
[CCode (cname = "alpm_option_remove_hookdir")]
|
||||||
public int remove_hookdir(string hookdir);
|
public int remove_hookdir(string hookdir);
|
||||||
|
|
||||||
|
public unowned Alpm.List<unowned string> overwrite_files {
|
||||||
|
[CCode (cname = "alpm_option_get_overwrite_files")] get;
|
||||||
|
[CCode (cname = "alpm_option_set_overwrite_files")] set;
|
||||||
|
}
|
||||||
|
[CCode (cname = "alpm_option_add_overwrite_file")]
|
||||||
|
public int add_overwrite_file(string overwrite_file);
|
||||||
|
[CCode (cname = "alpm_option_remove_overwrite_file")]
|
||||||
|
public int remove_overwrite_file(string overwrite_file);
|
||||||
|
|
||||||
public unowned string logfile {
|
public unowned string logfile {
|
||||||
[CCode (cname = "alpm_option_get_logfile")] get;
|
[CCode (cname = "alpm_option_get_logfile")] get;
|
||||||
[CCode (cname = "alpm_option_set_logfile")] set;
|
[CCode (cname = "alpm_option_set_logfile")] set;
|
||||||
@@ -168,15 +177,15 @@ namespace Alpm {
|
|||||||
[CCode (cname = "alpm_option_set_dbext")] set;
|
[CCode (cname = "alpm_option_set_dbext")] set;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Signature.Level defaultsiglevel {
|
public int defaultsiglevel {
|
||||||
[CCode (cname = "alpm_option_get_default_siglevel")] get;
|
[CCode (cname = "alpm_option_get_default_siglevel")] get;
|
||||||
[CCode (cname = "alpm_option_set_default_siglevel")] set;
|
[CCode (cname = "alpm_option_set_default_siglevel")] set;
|
||||||
}
|
}
|
||||||
public Signature.Level localfilesiglevel {
|
public int localfilesiglevel {
|
||||||
[CCode (cname = "alpm_option_get_local_file_siglevel")] get;
|
[CCode (cname = "alpm_option_get_local_file_siglevel")] get;
|
||||||
[CCode (cname = "alpm_option_set_local_file_siglevel")] set;
|
[CCode (cname = "alpm_option_set_local_file_siglevel")] set;
|
||||||
}
|
}
|
||||||
public Signature.Level remotefilesiglevel {
|
public int remotefilesiglevel {
|
||||||
[CCode (cname = "alpm_option_get_remote_file_siglevel")] get;
|
[CCode (cname = "alpm_option_get_remote_file_siglevel")] get;
|
||||||
[CCode (cname = "alpm_option_set_remote_file_siglevel")] set;
|
[CCode (cname = "alpm_option_set_remote_file_siglevel")] set;
|
||||||
}
|
}
|
||||||
@@ -184,7 +193,7 @@ namespace Alpm {
|
|||||||
public unowned DB localdb {
|
public unowned DB localdb {
|
||||||
[CCode (cname = "alpm_get_localdb")] get;
|
[CCode (cname = "alpm_get_localdb")] get;
|
||||||
}
|
}
|
||||||
public unowned Alpm.List<unowned DB> syncdbs {
|
public unowned Alpm.List<weak DB> syncdbs {
|
||||||
[CCode (cname = "alpm_get_syncdbs")] get;
|
[CCode (cname = "alpm_get_syncdbs")] get;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -221,14 +230,14 @@ namespace Alpm {
|
|||||||
public int unlock();
|
public int unlock();
|
||||||
|
|
||||||
[CCode (cname = "alpm_register_syncdb")]
|
[CCode (cname = "alpm_register_syncdb")]
|
||||||
public unowned DB register_syncdb(string treename, Signature.Level level);
|
public unowned DB register_syncdb(string treename, int siglevel);
|
||||||
[CCode (cname = "alpm_unregister_all_syncdbs")]
|
[CCode (cname = "alpm_unregister_all_syncdbs")]
|
||||||
public int unregister_all_syncdbs();
|
public int unregister_all_syncdbs();
|
||||||
|
|
||||||
// the return package can be freed except if it is added to a transaction,
|
// the return package can be freed except if it is added to a transaction,
|
||||||
// it will be freed upon Handle.trans_release() invocation.
|
// it will be freed upon Handle.trans_release() invocation.
|
||||||
[CCode (cname = "alpm_pkg_load")]
|
[CCode (cname = "alpm_pkg_load")]
|
||||||
public int load_tarball(string filename, int full, Signature.Level level, out Package pkg);
|
public int load_tarball(string filename, int full, int siglevel, out Package pkg);
|
||||||
|
|
||||||
/** Test if a package should be ignored.
|
/** Test if a package should be ignored.
|
||||||
* Checks if the package is ignored via IgnorePkg, or if the package is
|
* Checks if the package is ignored via IgnorePkg, or if the package is
|
||||||
@@ -251,7 +260,7 @@ namespace Alpm {
|
|||||||
|
|
||||||
/** Returns the bitfield of flags for the current transaction.*/
|
/** Returns the bitfield of flags for the current transaction.*/
|
||||||
[CCode (cname = "alpm_trans_get_flags")]
|
[CCode (cname = "alpm_trans_get_flags")]
|
||||||
public TransFlag trans_get_flags();
|
public int trans_get_flags();
|
||||||
|
|
||||||
/** Returns a list of packages added by the transaction.*/
|
/** Returns a list of packages added by the transaction.*/
|
||||||
[CCode (cname = "alpm_trans_get_add")]
|
[CCode (cname = "alpm_trans_get_add")]
|
||||||
@@ -266,7 +275,7 @@ namespace Alpm {
|
|||||||
* @return 0 on success, -1 on error (Errno is set accordingly)
|
* @return 0 on success, -1 on error (Errno is set accordingly)
|
||||||
*/
|
*/
|
||||||
[CCode (cname = "alpm_trans_init")]
|
[CCode (cname = "alpm_trans_init")]
|
||||||
public int trans_init(TransFlag transflags);
|
public int trans_init(int transflags);
|
||||||
|
|
||||||
/** Prepare a transaction.
|
/** Prepare a transaction.
|
||||||
* @param an alpm_list where detailed description of an error
|
* @param an alpm_list where detailed description of an error
|
||||||
@@ -332,7 +341,7 @@ namespace Alpm {
|
|||||||
[CCode (cname = "alpm_db_get_name")] get;
|
[CCode (cname = "alpm_db_get_name")] get;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Signature.Level siglevel {
|
public int siglevel {
|
||||||
[CCode (cname = "alpm_db_get_siglevel")] get;
|
[CCode (cname = "alpm_db_get_siglevel")] get;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -349,7 +358,7 @@ namespace Alpm {
|
|||||||
[CCode (cname = "alpm_db_get_groupcache")] get;
|
[CCode (cname = "alpm_db_get_groupcache")] get;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Usage usage {
|
public int usage {
|
||||||
[CCode (cname = "alpm_db_get_usage")] get;
|
[CCode (cname = "alpm_db_get_usage")] get;
|
||||||
[CCode (cname = "alpm_db_set_usage")] set;
|
[CCode (cname = "alpm_db_set_usage")] set;
|
||||||
}
|
}
|
||||||
@@ -371,7 +380,7 @@ namespace Alpm {
|
|||||||
|
|
||||||
public unowned Package? get_pkg(string name);
|
public unowned Package? get_pkg(string name);
|
||||||
public unowned Group? get_group(string name);
|
public unowned Group? get_group(string name);
|
||||||
public Alpm.List<unowned Package> search(Alpm.List<string> needles);
|
public Alpm.List<weak Package> search(Alpm.List<weak string> needles);
|
||||||
|
|
||||||
public int check_pgp_signature(out SigList siglist);
|
public int check_pgp_signature(out SigList siglist);
|
||||||
}
|
}
|
||||||
@@ -455,6 +464,12 @@ namespace Alpm {
|
|||||||
public unowned Alpm.List<unowned Depend> optdepends {
|
public unowned Alpm.List<unowned Depend> optdepends {
|
||||||
[CCode (cname = "alpm_pkg_get_optdepends")] get;
|
[CCode (cname = "alpm_pkg_get_optdepends")] get;
|
||||||
}
|
}
|
||||||
|
public unowned Alpm.List<unowned Depend> checkdepends {
|
||||||
|
[CCode (cname = "alpm_pkg_get_depends")] get;
|
||||||
|
}
|
||||||
|
public unowned Alpm.List<unowned Depend> makedepends {
|
||||||
|
[CCode (cname = "alpm_pkg_get_optdepends")] get;
|
||||||
|
}
|
||||||
public unowned Alpm.List<unowned Depend> conflicts {
|
public unowned Alpm.List<unowned Depend> conflicts {
|
||||||
[CCode (cname = "alpm_pkg_get_conflicts")] get;
|
[CCode (cname = "alpm_pkg_get_conflicts")] get;
|
||||||
}
|
}
|
||||||
@@ -482,7 +497,7 @@ namespace Alpm {
|
|||||||
public unowned string base64_sig {
|
public unowned string base64_sig {
|
||||||
[CCode (cname = "alpm_pkg_get_base64_sig")] get;
|
[CCode (cname = "alpm_pkg_get_base64_sig")] get;
|
||||||
}
|
}
|
||||||
public Validation validation {
|
public int validation {
|
||||||
[CCode (cname = "alpm_pkg_get_validation")] get;
|
[CCode (cname = "alpm_pkg_get_validation")] get;
|
||||||
}
|
}
|
||||||
// TODO: changelog functions
|
// TODO: changelog functions
|
||||||
@@ -535,7 +550,7 @@ namespace Alpm {
|
|||||||
public Alpm.List<string> compute_optionalfor();
|
public Alpm.List<string> compute_optionalfor();
|
||||||
|
|
||||||
[CCode (cname = "alpm_sync_newversion")]
|
[CCode (cname = "alpm_sync_newversion")]
|
||||||
public unowned Package? sync_newversion(Alpm.List<DB> dbs);
|
public unowned Package? sync_newversion(Alpm.List<weak DB> dbs);
|
||||||
|
|
||||||
public int check_pgp_signature(out SigList siglist);
|
public int check_pgp_signature(out SigList siglist);
|
||||||
}
|
}
|
||||||
@@ -721,7 +736,7 @@ namespace Alpm {
|
|||||||
DATABASE_MARGINAL_OK = (1 << 12),
|
DATABASE_MARGINAL_OK = (1 << 12),
|
||||||
DATABASE_UNKNOWN_OK = (1 << 13),
|
DATABASE_UNKNOWN_OK = (1 << 13),
|
||||||
|
|
||||||
USE_DEFAULT = (1 << 31)
|
USE_DEFAULT = (1 << 30)
|
||||||
}
|
}
|
||||||
|
|
||||||
/** PGP signature verification status return codes */
|
/** PGP signature verification status return codes */
|
||||||
@@ -875,7 +890,7 @@ namespace Alpm {
|
|||||||
HOOK_DONE,
|
HOOK_DONE,
|
||||||
/** A hook is starting */
|
/** A hook is starting */
|
||||||
HOOK_RUN_START,
|
HOOK_RUN_START,
|
||||||
/** A hook has finnished runnning */
|
/** A hook has finished running */
|
||||||
HOOK_RUN_DONE
|
HOOK_RUN_DONE
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1317,7 +1332,8 @@ namespace Alpm {
|
|||||||
*/
|
*/
|
||||||
[CCode (cname = "alpm_errno_t", cprefix = "ALPM_ERR_")]
|
[CCode (cname = "alpm_errno_t", cprefix = "ALPM_ERR_")]
|
||||||
public enum Errno {
|
public enum Errno {
|
||||||
MEMORY = 1,
|
OK = 0,
|
||||||
|
MEMORY,
|
||||||
SYSTEM,
|
SYSTEM,
|
||||||
BADPERMS,
|
BADPERMS,
|
||||||
NOT_A_FILE,
|
NOT_A_FILE,
|
||||||
|
Reference in New Issue
Block a user