Skip to content

Commit

Permalink
implement build functions
Browse files Browse the repository at this point in the history
  • Loading branch information
guinux committed Feb 18, 2017
1 parent fb4827a commit deda820
Show file tree
Hide file tree
Showing 11 changed files with 791 additions and 377 deletions.
37 changes: 22 additions & 15 deletions po/pamac.pot
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,16 @@ msgstr ""
msgid "%s: requires %s"
msgstr ""

#: ../src/daemon.vala
#, c-format
msgid "%s: installing %s (%s) breaks dependency '%s'"
msgstr ""

#: ../src/daemon.vala
#, c-format
msgid "%s: removing %s breaks dependency '%s'"
msgstr ""

#: ../src/daemon.vala
#, c-format
msgid "%s and %s are in conflict"
Expand Down Expand Up @@ -119,6 +129,10 @@ msgstr ""
msgid "A Gtk3 frontend for libalpm"
msgstr ""

#: ../src/transaction.vala
msgid "Copy"
msgstr ""

#: ../src/transaction.vala
msgid "Refreshing mirrors list"
msgstr ""
Expand Down Expand Up @@ -169,7 +183,8 @@ msgid "Total download size"
msgstr ""

#: ../src/transaction.vala
msgid "Building packages"
#, c-format
msgid "Building %s"
msgstr ""

#: ../src/transaction.vala
Expand Down Expand Up @@ -349,11 +364,11 @@ msgstr ""
msgid "Your system is up-to-date"
msgstr ""

#: ../src/tray.vala
#: ../src/tray.vala ../src/updater_window.vala
msgid "Update Manager"
msgstr ""

#: ../src/tray.vala
#: ../src/tray.vala ../src/manager_window.vala
msgid "Package Manager"
msgstr ""

Expand Down Expand Up @@ -536,6 +551,10 @@ msgstr ""
msgid "How often to check for updates, value in hours"
msgstr ""

#: ../src/preferences_dialog.vala ../resources/preferences_dialog.ui
msgid "Number of versions of each package to keep in the cache"
msgstr ""

#: ../src/preferences_dialog.vala
msgid "Worldwide"
msgstr ""
Expand Down Expand Up @@ -593,10 +612,6 @@ msgstr ""
msgid "Search"
msgstr ""

#: ../resources/manager_window.ui
msgid "Search in AUR"
msgstr ""

#: ../resources/manager_window.ui ../resources/updater_window.ui
msgid "State"
msgstr ""
Expand Down Expand Up @@ -711,14 +726,6 @@ msgstr ""
msgid "Check for updates from AUR"
msgstr ""

#: ../resources/preferences_dialog.ui
msgid "Do not ask for confirmation when building packages"
msgstr ""

#: ../resources/preferences_dialog.ui
msgid "Number of versions of each package to keep in the cache"
msgstr ""

#: ../resources/preferences_dialog.ui
msgid "Remove only the versions of uninstalled packages"
msgstr ""
Expand Down
18 changes: 0 additions & 18 deletions resources/preferences_dialog.ui
Original file line number Diff line number Diff line change
Expand Up @@ -638,24 +638,6 @@ All AUR users should be familiar with the build process.</property>
<property name="position">3</property>
</packing>
</child>
<child>
<object class="GtkCheckButton" id="no_confirm_build_checkbutton">
<property name="label" translatable="yes">Do not ask for confirmation when building packages</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="halign">start</property>
<property name="margin_left">24</property>
<property name="margin_start">24</property>
<property name="hexpand">True</property>
<property name="draw_indicator">True</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">4</property>
</packing>
</child>
</object>
<packing>
<property name="name">aur</property>
Expand Down
3 changes: 3 additions & 0 deletions src/common.vala
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ namespace Pamac {
public UpdateInfos[] to_downgrade;
public UpdateInfos[] to_reinstall;
public UpdateInfos[] to_remove;
public UpdateInfos[] to_build;
public UpdateInfos[] aur_conflicts_to_remove;
public string[] aur_pkgbases_to_build;
}

public struct Updates {
Expand Down
Loading

2 comments on commit deda820

@philmmanjaro
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@guinux: which dependencies do we use? Are there any additional ones we may need?

@guinux
Copy link
Collaborator Author

@guinux guinux commented on deda820 Feb 18, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No new deps, just removed yaourt one.

Please sign in to comment.