Needs update for Pamac 8.0 support #6

Closed
opened 2019-06-30 08:32:50 +00:00 by philm · 10 comments
philm commented 2019-06-30 08:32:50 +00:00 (Migrated from gitlab2.manjaro.org)

@fhdk: we need to update this util for pamac 8.0.

@fhdk: we need to update this util for **pamac** 8.0.
philm commented 2019-06-30 08:34:50 +00:00 (Migrated from gitlab2.manjaro.org)

Followed error we have:

$ manjaro-hello
Traceback (most recent call last):
  File "/usr/bin/manjaro-hello", line 14, in <module>
    from application_utility.browser.application_browser import ApplicationBrowser
  File "/usr/lib/python3.7/site-packages/application_utility/browser/application_browser.py", line 26, in <module>
    from .hello_config import HelloConfig
  File "/usr/lib/python3.7/site-packages/application_utility/browser/hello_config.py", line 25, in <module>
    from .config import Config
  File "/usr/lib/python3.7/site-packages/application_utility/browser/config.py", line 27, in <module>
    from .data import Data
  File "/usr/lib/python3.7/site-packages/application_utility/browser/data.py", line 30, in <module>
    gi.require_version('Pamac', '1.0')
  File "/usr/lib/python3.7/site-packages/gi/__init__.py", line 133, in require_version
    (namespace, version))
ValueError: Namespace Pamac not available for version 1.0
Followed error we have: ``` $ manjaro-hello Traceback (most recent call last): File "/usr/bin/manjaro-hello", line 14, in <module> from application_utility.browser.application_browser import ApplicationBrowser File "/usr/lib/python3.7/site-packages/application_utility/browser/application_browser.py", line 26, in <module> from .hello_config import HelloConfig File "/usr/lib/python3.7/site-packages/application_utility/browser/hello_config.py", line 25, in <module> from .config import Config File "/usr/lib/python3.7/site-packages/application_utility/browser/config.py", line 27, in <module> from .data import Data File "/usr/lib/python3.7/site-packages/application_utility/browser/data.py", line 30, in <module> gi.require_version('Pamac', '1.0') File "/usr/lib/python3.7/site-packages/gi/__init__.py", line 133, in require_version (namespace, version)) ValueError: Namespace Pamac not available for version 1.0 ```
papajoke commented 2019-06-30 09:58:31 +00:00 (Migrated from gitlab2.manjaro.org)
@fhdk yes now GIR version is 8 ... https://gitlab.manjaro.org/applications/pamac/commit/e8537e17ef0ac10d41df10ef15a2422d26d3d1a3#17867de5076d50e87826675d7ed81840420e4676_39_39
philm commented 2019-06-30 10:02:37 +00:00 (Migrated from gitlab2.manjaro.org)

I try to push it to 8.0. Most likely it might start then. I don't see any API changes.

I try to push it to 8.0. Most likely it might start then. I don't see any API changes.
ghost commented 2019-06-30 10:49:57 +00:00 (Migrated from gitlab2.manjaro.org)

I will look at it.

I will look at it.
philm commented 2019-06-30 10:50:47 +00:00 (Migrated from gitlab2.manjaro.org)
https://gitlab.manjaro.org/applications/pamac/issues/608#note_12543
philm commented 2019-06-30 10:50:49 +00:00 (Migrated from gitlab2.manjaro.org)

closed

closed
papajoke commented 2019-06-30 11:12:59 +00:00 (Migrated from gitlab2.manjaro.org)

me i view some changes (if ignore "gint64->guint64" and new "writable='1'") ... ?

diff Pamac-1.0.gir Pamac-8.0.gir | grep "<method"                                                                                            
<               <method name="get_size" c:identifier="pamac_package_get_size">
>               <method name="get_installed_size" c:identifier="pamac_package_get_installed_size">
>               <method name="get_builddate" c:identifier="pamac_package_get_builddate">
>               <method name="get_installdate" c:identifier="pamac_package_get_installdate">
>               <method name="get_launchable" c:identifier="pamac_package_details_get_launchable">
<               <method name="get_size" c:identifier="pamac_package_details_get_size">
>               <method name="get_installed_size" c:identifier="pamac_package_details_get_installed_size">
>               <method name="get_lastmodified" c:identifier="pamac_aur_package_get_lastmodified">
<               <method name="get_aur_conflicts_to_remove" c:identifier="pamac_transaction_summary_get_aur_conflicts_to_remove">
<               <method name="get_lock" c:identifier="pamac_transaction_get_lock">
<               <method name="unlock" c:identifier="pamac_transaction_unlock">

but only one ? to control : replace get_size by get_installed_size

me i view some changes (if ignore "gint64->guint64" and new "writable='1'") ... ? ``` diff Pamac-1.0.gir Pamac-8.0.gir | grep "<method" < <method name="get_size" c:identifier="pamac_package_get_size"> > <method name="get_installed_size" c:identifier="pamac_package_get_installed_size"> > <method name="get_builddate" c:identifier="pamac_package_get_builddate"> > <method name="get_installdate" c:identifier="pamac_package_get_installdate"> > <method name="get_launchable" c:identifier="pamac_package_details_get_launchable"> < <method name="get_size" c:identifier="pamac_package_details_get_size"> > <method name="get_installed_size" c:identifier="pamac_package_details_get_installed_size"> > <method name="get_lastmodified" c:identifier="pamac_aur_package_get_lastmodified"> < <method name="get_aur_conflicts_to_remove" c:identifier="pamac_transaction_summary_get_aur_conflicts_to_remove"> < <method name="get_lock" c:identifier="pamac_transaction_get_lock"> < <method name="unlock" c:identifier="pamac_transaction_unlock"> ``` but only one ? to control : replace `get_size` by `get_installed_size`
philm commented 2019-06-30 21:44:48 +00:00 (Migrated from gitlab2.manjaro.org)

@guinux, may you check this?

@guinux, may you check this?
philm commented 2019-06-30 21:46:13 +00:00 (Migrated from gitlab2.manjaro.org)

mentioned in issue applications/pamac#608

mentioned in issue applications/pamac#608
guinux commented 2019-07-01 06:12:19 +00:00 (Migrated from gitlab2.manjaro.org)

@papajoke is right :)

@papajoke is right :)
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
applications/application-utility#6
No description provided.